RPM Community Forums

Mailing List Message of <rpm-devel>

Re: Generalizing EVR comparison precedence, preliminaries

From: Ralf S. Engelschall <rse+rpm-devel@rpm5.org>
Date: Thu 01 Jan 2009 - 18:18:49 CET
Message-ID: <20090101171849.GA3309@engelschall.com>
On Thu, Jan 01, 2009, Jeff Johnson wrote:

> [...]
> However a framework that permits extending the {E,V,R} triple as a
> tuple, and permuting the precedence order of the tuple members (in
> case left-to-right implicit precedence ordering is unsatisfying) is
> feasible within RPM.
> [...]

I fully second this approach!

For instance for OpenPKG I usually need to ignore "E" (as it is not
used) and compare "R" _before_ "V" -- as the "R" in OpenPKG follows
a strict and consistent scheme while the "V" is mostly arbitrary and
build/install decisions hence usually depend on "R" only. If something
like this permutation and filtering could be achieved via some little
macro settings this would be great ;-)

                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com
Received on Thu Jan 1 18:20:08 2009
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.