[Development] Adding support for version number comparisons

Sune Vuorela nospam at vuorela.dk
Sat May 10 16:26:44 CEST 2014


On 2014-05-09, Keith Gardner <kreios4004 at gmail.com> wrote:
>    2. What semantics should be used for version comparisons?  Numerical
>    segments are more clearly defined but when introducing a non-null suffix,
>    many different methods are being proposed.
>       3. Are there any other versioning semantics that should be supported?

Please look at the version comparison rules that for example dpkg uses.
Especially tilde. [1]

And special strings (alpha, rc, ..) should not be treated special.

/Sune
[1]
https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Version




More information about the Development mailing list