-
Notifications
You must be signed in to change notification settings - Fork 72
PR #414 broke displaying packages with different name from id #425
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
Comments
I supposed #414 to only allow more package to be displayed, and didn’t expect this. Will take some time to look into it. |
It is related to the Package.resolved v1 not having an identity field and it assuming it can use name instead as the identity. I was pretty sure this was working before #414 but maybe it was never working. |
See #435 |
Given the fix I believe the real cause is #382 – hopefully we can avoid this being broken by adding a new test case. |
@stevapple Can you think of a package I can use to test this with though? Needs to be something fairly small, but heavily used. Don't really want to use Realm as it takes ages to download. |
@adam-fowler Do you think apple/swift-syntax is a better choice? (~10MB download) |
I was a bit hesitated because SwiftSyntax is under heavy development and this is subject to change. SwiftProtobuf is another choice with ~25MB download. |
Wait, we need to support Swift 5.4 CI, right? Then SwiftSyntax and AsyncAlgorithms aren't applicable. Is SwiftProtobuf something acceptable? |
swift-cmark is fairly small. I'll use that |
Fixed with #435 |
Describe the bug
SwiftPM versions using
Package.resolved
format version 1 (ie 5.5 or earlier) do not deal with packages that have the different name and id. This appears to have been caused by PR#414To Reproduce
This package does not show the realm dependencies
cc @stevapple
The text was updated successfully, but these errors were encountered: