-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SR-1168] Deal with dependency name collisions #5464
Comments
as of now swiftpm cannot handle such collisions, there has been some discussions about handling such cases on mailing list. |
Perhaps we can get some context here so that we can be sure about our solutions. Are these forks? Or completely different packages with the same name? |
These are forks... maybe it is possible to allow automatic reconciliation of this when SwiftPM can pick an appropriate tag that exists and is equal in both versions? |
^ sounds good to me |
@ddunbar nice idea. Certainly we could do that, and maybe we should. However someone made a fork for a reason, a bug fix perhaps, or a feature addition. Really the end-user should pick one, and hopefully they will have compatible API (it's likely). Whatever: we need a proper proposal. |
I ran into this recently as well. We need to:
|
I think we shouldn't automatically merge the forks. We do plan to do a fork support feature at some point, I'll dupe this report to that bug. |
Attachment: Download
Additional Detail from JIRA
md5: b5e97af43958077ed19803a950fcccf8
relates to:
Issue Description:
I'm using two modules qutheory / steam and PlanTeam / MongoKitten in my Package.swift being so configured:
dependencies: [
.package (Url "https://github.com/qutheory/vapor.git," majorVersion: 0, minor: 5),
.package (Url: "https://github.com/PlanTeam/MongoKitten.git" Version (0, 5, 9))
]
The MongoKitten depends on:
.package (Url: "https://github.com/CryptoKitten/CryptoEssentials.git" majorVersion: 0, minor: 2)
And steam depends on:
.package (Url: "https://github.com/qutheory/CryptoEssentials.git" majorVersion: 0, minor: 2)
During the build happens the error:
error: Failed to clone https://github.com/CryptoKitten/CryptoEssentials.git to /home/andre/workspace/businesscard/Packages/CryptoEssentials
The text was updated successfully, but these errors were encountered: