-
Notifications
You must be signed in to change notification settings - Fork 176
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
New source: SageMath distribution #1118
Comments
Sure, but unfortunately it currently doesn't look very usable.
I'd very much prefer for avoid this. It introduces unwanted feedback loop and makes name normalization rules behave in unexpected ways which is hard to fix. Also it makes Repology dependent on the repository - I'll have less freedom in changing naming schemes and have to synchronize massive changes in repology and sagemath, which is impossible to do in a clean way, and would pollute histories/feeds. In fact, naming discrepancies are not a problem at all - there are not too many packages, most of them will match names with repology projects, and for others rules can be introduced on repology side as usual. It's even positive as these rules may be useful for other repositories. Distinguishing (python and other) modules is critical though, but if you're willing to introduce repology project names to your repository I don't think it would be too hard to introduce a flag which conveys this info instead. In fact, we can go on with introducing repology names, but I'll only use the fact that "python:" (or other) prefix is present. Summarizing show stoppers and possible ways to fix:
I'll write an experimental parser for SageMath for the time being. |
Thanks for the quick reaction!
That's right.
We are generating pages for each of the package at: Sage hosts the package tarballs at http://files.sagemath.org/spkg/upstream/ (and its mirrors). This uses the
That's right, we are adding
Python packages can be recognized by the file |
OK, let's ignore this at least for now. |
This is useful for another purpose, but Repology needs parsable upstream URLs to match related projects under different names and to split unrelated packages under the same name.
If there's an ongoing trend on adding these and these can be added proactively in certain cases it should be fine. For instance, these packages in sagemath need some kind of URL to be classified properly:
This doesn't seem to be true in all cases. For instance, these are python modules but lack install-requires.txt
In general the repository is parsed fine and produces tolerable amount of incorrect versions and unmatched packages so if these 9 cases are improved I can add it right away. |
Great! I'll work on this in https://trac.sagemath.org/ticket/31321 |
And https://trac.sagemath.org/ticket/29152 adds the missing upstream_url fields for |
https://trac.sagemath.org/ticket/30350 will remove |
Timeout. Please reopen when named issues are resolved. |
Quick update: This ticket has been merged in the latest beta (= HEAD of the I'll reopen when also https://trac.sagemath.org/ticket/31321 is merged. |
This ticket is now merged in the new beta just released (= HEAD of the develop branch). Might be worth taking another look. |
It looks mostly good now, so I'm deploying it today. |
Great, thanks a lot! |
Done. You might consider adding homepage/download information for remaining unclassified packages: |
Awesome. Yes, will do (most likely in the course of package upgrades). |
We now have the first stable version of the SageMath distribution (on the |
Done. |
Thank you! Note the "News highlights" link to SageMath is now broken |
Nice catch, fixed! |
Would there be interest in adding the SageMath distribution? https://www.sagemath.org/
About 300 packages, see https://github.com/sagemath/sage/tree/develop/build/pkgs
Continuously maintained for about 15 years. Releases 2-3 times a year. "develop" branch updates every 1-2 weeks.
Plain text metadata, trivial to parse. (Also, a python library that parses it is available at https://github.com/sagemath/sage/tree/develop/build/sage_bootstrap)
We are adding a mapping to repology's package names in plain text files named
distros/repology.txt
in https://trac.sagemath.org/ticket/31114The text was updated successfully, but these errors were encountered: