-
Notifications
You must be signed in to change notification settings - Fork 25
Update PVP specification to mention non-leading zeros #38
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
Conversation
|
Sounds good to me. Who has perms ? |
|
@gbaz ? |
|
There are two general issues with PVP changes.
|
|
@Bodigrim Since this PR involves a clarification of a behaviour that was already enacted by tooling like Cabal, I don't think we should concern ourselves with version changes. Regarding 2), it feels very muddied, but from what I can see nobody is in charge, but the website falls under haskell.org |
|
@Kleidukos nevertheless this is still a (breaking) change (which I’m fully in favor of). |
|
Its not a breaking change in the sense that it documents what the cabal library is capable of parsing more accurately. Versioning that did not follow this rule would simply have not worked, regardless. I think historically the hackage trustees managed this repo. |
Assuming Cabal is the only user of PVP. |
|
For the purpose of (1) it is not really important whether this change is breaking or not. It is a change, it should be reflected in a version/revision number of the specification. |
|
Well there is no version number of the specification, because it is not a specification of a grammar, it is a version policy. It sort of incidentally discusses the grammar along the way. This document has not evolved as a spec, has not had an approvals process as a spec, and has not had versioning numbers. shrug |
This repository has v1.0 and v1.1 folders. With v1.1 being still draft, IIRC. https://groups.google.com/g/haskell-core-libraries/c/BKu8iSKnIyo/m/fQ74w736AgAJ
https://github.com/haskell/pvp#proposing-changes says
https://groups.google.com/g/haskell-core-libraries/c/xkJT8HEh7tM |
|
Thanks for the clarifying links Oleg! I guess the CLC can take this up at their next meeting. |
|
@gbaz would you be happy for CLC to claim PVP maintainership alone? Or would you like to setup a decision-making process, involving Hackage Trustees in a formal way? Given that Trustees are unelected and somewhat amorphous body, I'm hesitant to make them in full an integral part of decision making. Maybe we can have a joint committee of CLC and Hackage Admins (essentially embodied in @gbaz)? |
|
I think that the CLC could take responsibility on its own, with the caveat that no significant (non-bug) changes should be made without consultation with and approval of the hackage admins. |
|
Sounds good. Is it possible to clarify who are current hackage admins? https://hackage.haskell.org/users/admins/ does not look fully up to date. (Not that I have any appetite for significant changes, just to future-proof the decision-making structure) |
|
Afaik everyone except Ben is considered an admin, though only Erik and myself are at all active. |
|
@psilospore could you please retarget this to |
|
Side-track, but thanks for letting me know about v1.1. Great change! |
|
Updated sorry about the delay! |
|
Dear CLC members, let's vote on this change to (yet unreleased) PVP 1.1 specification. It codifies a long-standing practice of Cabal, see https://hackage.haskell.org/package/Cabal-3.6.2.0/docs/Distribution-Types-Version.html#v:validVersion, and as such is a minor change. @tomjaguarpaw @chessai @emilypi @cigsender @cgibbard +1 from me. |
|
Can't see why a sane implementation of version parsing would allow negative numbers. +1 from me. |
|
+1 |
| (in this case, *A*=2, *B*=1, *C=0*). This policy defines the meaning of | ||
| the first three components *A-C*, the other components can be used in | ||
| any way the package maintainer sees fit. | ||
| any way the package maintainer sees fit. Components are non-negative |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that we defined a minBound... how about defining a maxBound?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's leave this for a separate discussion please.
|
+1 |
1 similar comment
|
+1 |
Wasn't sure where to put this. Feel free to suggest moving it elsewhere. It didn't seem like it fit in the bullet points. Based on a conversation in the Haskell Foundation slack: https://haskell-foundation.slack.com/archives/C01PKJ9QKJ8/p1640106505142800