[Development] Adding support for version number comparisons

Thiago Macieira thiago.macieira at intel.com
Sat May 10 19:57:07 CEST 2014


Em sáb 10 maio 2014, às 14:26:44, Sune Vuorela escreveu:
> 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.

How do you make 5.3.0-rc1 compare less than 5.3.0?
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list