View previous topic :: View next topic |
Author |
Message |
ulenrich Veteran
Joined: 10 Oct 2010 Posts: 1483
|
Posted: Mon Feb 13, 2023 10:56 am Post subject: missing feature for version notation |
|
|
What feature of a version notation do we sadly miss today?
Code: | # emerge -auvD world
These are the packages that would be merged, in order:
Calculating dependencies ... ........... .... done!
[ebuild N ] acct-group/floppy-0::gentoo 0 KiB
[ebuild N ] acct-group/usb-0-r1::gentoo 0 KiB
[ebuild UD ] sec-keys/openpgp-keys-lassecollin-20230213::gentoo [202204066::gentoo] 5 KiB
| Please, come to the point! |
|
Back to top |
|
|
sam_ Developer
Joined: 14 Aug 2020 Posts: 1962
|
Posted: Mon Feb 13, 2023 8:49 pm Post subject: |
|
|
I'm not sure what you mean but there was a mistake with an extra digit in the version number. |
|
Back to top |
|
|
ulenrich Veteran
Joined: 10 Oct 2010 Posts: 1483
|
Posted: Thu Feb 16, 2023 9:31 am Post subject: |
|
|
Yes, sam_
and that error with an extra digit was due to not using a single point in a long version number. I was astonished by that downgrade and needed some extra time to see the issue was only an extra digit.
I like dates as versions if the upgrades don't represent features but some function in our time progressing. You could use a notation with points, for example "-23.02.13" (2000 not needed until 77 years in the future). The maintainer of the ebuild would have easily noticed an error on his side with "-22.04.066" |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9279
|
Posted: Thu Feb 16, 2023 10:53 am Post subject: |
|
|
Unless they wouldn't.
x.y.z version numbers are following a different logic than yyyymmdd notation. |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9609 Location: beyond the rim
|
Posted: Thu Feb 16, 2023 3:14 pm Post subject: |
|
|
ulenrich wrote: | You could use a notation with points, for example "-23.02.13" (2000 not needed until 77 years in the future). The maintainer of the ebuild would have easily noticed an error on his side with "-22.04.066" |
Typos will always happen, no matter how easy or hard they are to spot.
Plus I don't see what new feature you're talking about, your example is just using standard dotted notation unless I miss something. Maintainer could have used that if he wanted to (but may have resulted in added complexity somewhere else). And the obvious downside is that you no longer see straight away that it is supposed to be a date scheme (esp. when you omit the century for no reason).
Switching version schemes mid-flight however is always problematic, you want a really good reason to endure that pain. |
|
Back to top |
|
|
|