[Rpm-maint] [rpm-software-management/rpm] Proposal for default init.lua (#321)

Neal Gompa (ニール・ゴンパ) notifications at github.com
Sun Sep 24 13:39:46 UTC 2017


I think this is an excellent idea, but I'm not sure of the semantics of what happens when something is redefined in another lua file.

For example, if `/usr/lib/rpm/lua.d/foo.lua` ships function `do_foo` and `/usr/lib/rpm/<RPMCANONVENDOR>/lua.d/bar.lua` (in Fedora's case, the `RPMCANONVENDOR` is `redhat`) ships a function `do_foo` and it's initialized later, what happens?

In regular RPM macros, the former is clobbered by the latter. If there's a different behavior, things get really tricky very quickly.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/321#issuecomment-331710715
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170924/4d848b4a/attachment.html>


More information about the Rpm-maint mailing list