RPM Community Forums

Mailing List Message of <rpm-devel>

Re: Implementing EVR comparisons using *RE's ?

From: Michael Schroeder <mls@suse.de>
Date: Fri 08 May 2009 - 11:19:32 CEST
Message-ID: <20090508091932.GA3417@suse.de>
On Fri, May 08, 2009 at 10:21:48AM +0200, Ralf S. Engelschall wrote:
> This way the whole version comparing stuff is fully pluggable, as one
> can define how a version is parsed into its chunks and second how those
> chunks are compared.

Good luck with providing rpms for multiple distributions that use
different version comparision settings...

Having a fixed algorithm in place also has some benefits.

Cheers,
  Michael.

-- 
Michael Schroeder                                   mls@suse.de
SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
Received on Fri May 8 11:19:57 2009
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.