-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Incorrect package data for groue/GRDB.swift #1890
Comments
Thanks for the report, @groue ! You're right, two Xcode projects isn't a configuration we support. I've just tried and the package builds correctly if I move |
Hello @finestructure,
To be honest, I'm not thrilled. If SwiftPackageIndex requires library authors to adopt some ad-hoc convention (such as a specific file-system organization, as you suggest), then what if the library author wants to support another tool that requires another convention? Conflicts arise, and its impossible to give a chance to both SwiftPackageIndex and the other tool. Another reason that prevents me from moving the I already had a very unpleasant and similar experience with the Carthage package manager, and the final decision was simply to give up. That's a pity, because there was a much better possible outcome. When a project does not follow a convention, because reasons 1, convention is not enough. What is needed is configuration. That's why I would rather suggest defining a configuration file That would be a much better UX than requiring changes in the files organization (with indirect consequences such as file reference updates, documentation updates, test updates, major version bump, etc.) Footnotes
|
Thanks for the reply @groue
Of course, and I @finestructure suggested that as it may have been a quick way to work around this issue. We want the package index to be seen as a benefit to both people searching for packages and package authors alike. We don’t want to place unreasonable requirements on package authors, but the complexities of trying to build 5,000 open-source packages are significant and new edge cases such as this pop up all the time. We appreciate the time and effort that all package authors put into their work and we want to show them off in the very best way. The quickest way to get the package compatibility showing correctly would have been to remove/move one of the project files, but it’s not the only way.
Exactly, and we have dealt with all of the edge cases that have come up in this way with the configuration file that we already have. The same one we talked about when we chatted about opting in to documentation generation, the We don’t currently have a way to work around packages with multiple Xcode projects like this, but I just had a quick play with our build tool and it appears like it would be possible to resolve if we use the For example, this command builds your project without errors:
The reality of it is that we are a small team and have more work on our plates than we can get to, as all open-source maintainers do. I can’t give you a timeline for implementing this, but I think this is the next logical step. |
Thank you @daveverwer, I'm glad you already thought about it, and we're in perfect agreement 🙂 Please forgive my weak memory, we indeed talked about I have absolutely no time constraint. Please just consider this issue as a request for enhancement :-) |
Which package(s) are showing incorrect data?
Please explain what data is incorrect and what you expected to see
The page is telling that the package does not build on iOS, tvOS and watchOS. This is inexact.
If the problem relates to the compatibility matrix, does it apply to specific builds?
It looks like the "Build Command" does not support packages that contain two Xcode projects.
The text was updated successfully, but these errors were encountered: