Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
missing feature for version notation
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
ulenrich
Veteran
Veteran


Joined: 10 Oct 2010
Posts: 1483

PostPosted: Mon Feb 13, 2023 10:56 am    Post subject: missing feature for version notation Reply with quote

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
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1958

PostPosted: Mon Feb 13, 2023 8:49 pm    Post subject: Reply with quote

I'm not sure what you mean but there was a mistake with an extra digit in the version number.
Back to top
View user's profile Send private message
ulenrich
Veteran
Veteran


Joined: 10 Oct 2010
Posts: 1483

PostPosted: Thu Feb 16, 2023 9:31 am    Post subject: Reply with quote

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
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9263

PostPosted: Thu Feb 16, 2023 10:53 am    Post subject: Reply with quote

Unless they wouldn't.

x.y.z version numbers are following a different logic than yyyymmdd notation.
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9608
Location: beyond the rim

PostPosted: Thu Feb 16, 2023 3:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum