Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 4695 - portage should compare version segments that are all integer as integers
Summary: portage should compare version segments that are all integer as integers
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-08 08:09 UTC by Jon Nelson (RETIRED)
Modified: 2011-10-30 22:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Nelson (RETIRED) 2002-07-08 08:09:58 UTC
Thus 1.100 is "newer" than 1.99.
Otherwise, a pure alphabetical sort would show (in order of oldest->newest)

1.100
1.2
1.250
1.30
1.550
1.90
1.99

Which is obviously wrong (or, at least, counter-intuitive).

If you can point me in the right direction, perhaps I'll take a stab at this.
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-07-09 12:28:23 UTC
This is exactly what Portage does.  This bug report doesn't list any specific
bug, so I'm closing it.