-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
[RFC] mkDerivation: support version suffix, which is part of derivation nam… #75813
Conversation
…e but is not part of meta.name.
@danbst Thanks for your effort. What is the goal of having a version suffix? The I don't like the Should the derivation name and meta.name differ? Might be less confusing if they don't. |
@davidak But I don't think this nuance should be reflected in Repology. Who even cares about explicit Git revision of a package in repology? That's why
I just stick to what
This is also kinda stadard https://calver.org/ . If repology can recognize this as date, it is awesome, as this is exactly what we want (
We have at least 1 case when |
The comment in #73228 (comment) states that it is not needed:
(or do i understand it wrong?)
In this case we are upstream and the pre release version is similar to an official release. So not good to generalize it.
I think that is very intuitive for a user. We could add the number of commits since the version ( I don't know if there is a consensus how to describe unreleased versions best. As always i would get in contact to other distros maintainers since they have the same challenges. @AMDmi3 might also have some good insights. But i think we had this discussion before, here or in repology.
Ah, yes. Might imply it's an official release. We still need some good word that it's an unstable package version. And it could cause problems when you compare it to a semver version. |
that is correct, however we have plenty of cases when hash changes, but package source - doesn't. If we have version (source version) and patches info in |
Can we please get rid of the dot stuff and use ISO-dates? calver looks like a BS standard, because it’s basically: “people use different things, so it’s fine to use whatever”. That’s counterproductive … |
Is this PR still relevant or is it abandoned? |
@uri-canva this proposal of change, it's definitely not about being merged as is. But yeah, given I don't have enough willpower to make it proper RFC, let's close |
mkDerivation: support version suffix, which is part of derivation name but is not part of meta.name.
Inspired by #73228
Helps with #74494
cc @AMDmi3 if this makes life easier for Repology.
cc @davidak
Previous
meta.name
(published to Repology):New
meta.name
:Previous names:
New names: