RPM Community Forums

Mailing List Message of <rpm-devel>

Re: Generalizing EVR comparison precedence, preliminaries

From: Jeff Johnson <n3npq@mac.com>
Date: Thu 01 Jan 2009 - 18:28:32 CET
Message-id: <BFDA90B6-F08E-4F6F-885F-562301344E50@mac.com>

On Jan 1, 2009, at 12:18 PM, Ralf S. Engelschall wrote:

> 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 ;-)

A little help vetting the RE's please ;-) My eyes are already tired
from writing the toy script, RE's are more effective than XML at eye  

Lemme see if I can get the framework together this week. Its not a hard
imnplementation at the mechanism level.

73 de Jeff

  • application/pkcs7-signature attachment: smime.p7s
Received on Thu Jan 1 18:28:36 2009
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.