Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 4695

Summary: portage should compare version segments that are all integer as integers
Product: Portage Development Reporter: Jon Nelson (RETIRED) <jnelson>
Component: UnclassifiedAssignee: Daniel Robbins (RETIRED) <drobbins>
Status: RESOLVED FIXED    
Severity: normal CC: jnelson
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.