RPM Community Forums

Mailing List Message of <rpm-devel>

Re: Implementing EVR comparisons using *RE's ?

From: devzero2000 <pinto.elia@gmail.com>
Date: Thu 07 May 2009 - 18:15:39 CEST
Message-ID: <b086760e0905070915l6ad117dep14041f9fa1370bb4@mail.gmail.com>
On Thu, May 7, 2009 at 3:12 PM, Mark Hatle <mark.hatle@windriver.com> wrote:
> While I don't have an answer for you, my concern with any change to
> rpmvercmp is around compatibility.. bugs become features....
>
> What I've never seen well documented is the actual algorithm that
rpmvercmp
> uses for it's comparison (in a human readable form).  I attempted to write
> one once and I can dig it up if it will help... but I'm not even 100% sure
> it's really correct.
>

Look here, for an example description

https://fedorahosted.org/pyrpm/browser/doc/pyrpm-devel.txt
Received on Thu May 7 18:16:10 2009
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.