[pacman-dev] version number parsing broken(?), 3.1901-1 > 3.23-1

Dan McGee dpmcgee at gmail.com
Tue Mar 6 10:49:10 EST 2007


On 3/6/07, Tamas, Gergely <dice at mfa.kfki.hu> wrote:
> Hi!
>
>  > Are you telling me that isn't correct?
>  >
>  > Think like a computer here. Is 1901 > 23? Sure sounds like it to me.
>  > Version number schema changes like this are the packages deal, not
>  > pacman's.
>
> I was more thinking of floats here.
>   3.1901 < 3.23

Well we can think of this however we want, and there will be a package
that breaks it. In your case, Udev. is udev 99 < udev 100?

It isn't getting fixed, because frankly there is no 'right' way to fix
it. What should have happened is 3.1901 -> 3.19.01, instead of
confusing floating point version numbers.

Proof that version numbering is not always floating can be found with
CVS as well- it will increment straight from 1.99 to 1.100 without a
problem.

-Dan




More information about the pacman-dev mailing list