RFR: more FC4 Requests
Jeff Johnson
n3npq at nc.rr.com
Sun Nov 21 02:23:14 UTC 2004
Panu Matilainen wrote:
>On Sat, 2004-11-20 at 19:36 -0500, Jeff Johnson wrote:
>
>
>
>Sure, people love and use it (for example the Lua-interface is a killer
>feature which yum currently lacks) but it's starting to seem like a dead
>end to me.
>
So how should lua be made available to yum?
Current implementation of lua in rpm is through %{lua: ...} macro
constructs,
grotesque mainly because of the necessity to preserver a "stable" and
constant
rpm-python interface. E.g. there is no way to simply expand a macro, one
has to
go through the baggage of hdr.sprintf() where rpmExpand() to invoke lua
happens
as side effect. That's obscure enough to pass for "stable", sigh.
Easy enough to rip several layers off the above, what stops is no need
to do so yet.
Hum a few notes about what you'ld like to see lua used for in yum,
please. I think
lua has definite and positive benefits for rpm packaging, becuase for
the first time
rpmlib can run scripts without the baggage of scriptlet dependencies.
Lots of dependencies
would (will imho) simply melt away if lua rather than shell were used
for the 20 or so
common operations performed by package scriptlets.
73 de Jeff
More information about the fedora-devel-list
mailing list