-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Publish package list in repology #25288
Comments
@vsoch @tldahlgren might be interested in this. |
Why are the only packages for spack different versions of spack? https://repology.org/project/spack/packages if it helps I keep a list of packages that updates automatically nightly: |
Do y'all just need this format? https://repology.org/addrepo |
Leaving a comment to get email notifications, since this issue is quite interesting. |
It shows that some distros have an out of date version of spack, and Mageia Cauldron is using an unreleased git based version.
That is the first step - publishing JSON with whatever metadata per package is possible, with roughly that structure. Then spack needs to contribute a parser, like those in https://github.com/repology/repology-updater/tree/master/repology/parsers/parsers , to consume that JSON into the structure Repology needs. https://github.com/repology/repology-updater/blob/master/repology/parsers/parsers/ravenports.py is a good example. Some other minor additions elsewhere in repology are needed to describe "spack" as a repository. |
cool thanks! That looks relatively straight forward - I'll start putting together those files for spack. |
@jayvdb I have the basic files ready - could you show me how to use repology-update.py (or some other basic Python command) so I can test my parser class? I see there is a database - ideally I'd want to just disable that or use sqlite. |
Just to ping others here, I did work for this yesterday repology/repology-updater#1173 and there is something in the parsing that is not detecting/registering the package. If someone with experience with repology could take a look it would be very helpful! |
This is published: https://repology.org/repository/spack, and I've opened a PR to address a bulk of the list of problems #25491 |
I think we can close this - if any further tweaks, etc. are needed we can open new issues. Thanks everyone! |
Summary
Adding spack package list to https://repology.org/ allows library maintainers an easy place to see the library in all packaging systems, especially identifying which are out of date and the maintainer to contact.
Rationale
https://github.com/repology/ is a meta-repo of packages in various packaging systems.
The list of supported repositories is at https://repology.org/repositories/ , and includes conan, vcpkg and Buckaroo.
Here is the entry for spack, showing the repositories
https://repology.org/project/spack/versions
repology/repology-updater#706 was closed as there wasnt buy-in from spack developers.
Description
https://repology.org/addrepo for the process.
Either spack emits the package list in a format Repology already can support, or a more custom parser is needed.
All existing parsers are at https://github.com/repology/repology-updater/tree/master/repology/parsers/parsers
Additional information
No response
General information
spack --version
and reported the version of SpackThe text was updated successfully, but these errors were encountered: