RPM Community Forums

Mailing List Message of <rpm-devel>

Re: Extending header extension tag syntax.

From: Ralf S. Engelschall <rse+rpm-devel@rpm5.org>
Date: Fri 09 May 2008 - 07:20:21 CEST
Message-ID: <20080509052021.GA90453@engelschall.com>
On Thu, May 08, 2008, Jeff Johnson wrote:

> [...]
> So any ideas about syntax? Off the top of my head, maybe
>     :foo(fooarg1,fooarg2):bar(bararg)
> L->R (or R->L, it really doesn't matter yet) serial application
> of parameterized header extensions.
> [...]

I think the ":foo(fooarg1,fooarg2):bar(bararg)" syntax plus a left to
right ("foo", then "bar") execution of the transformation makes both
sense and would be a good thing. Additionally, the transformator "foo"
should be searched both in an internal table of C-coded transformators
and as a Lua function so that one can easily hook into the processing.

                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com
Received on Fri May 9 07:33:12 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.