[Rpm-maint] [rpm-software-management/rpm] Proposal for default init.lua (#321)
notifications at github.com
Fri Oct 27 19:58:15 UTC 2017
My understanding is that the later definition simply overrides the former. But I would expect that conventions for namespacing would work to prevent accidental conflicts and if you can't redefine then you would just use functions in a namespace. I don't see why that would be mandatory, though of course actually documenting the behavior would be a great idea.
And, well, I certainly thought I was making a serious attempt to use it. And in any case why does it matter that "nobody" has tried to use it? RPM is esoteric and there are only a few people who even get down to this level.
I don't know how early init.lua is parsed but if it's after rpmrc files are parsed then it would certainly be possible to look in private directories. Should be easy to determine that in any case.
And sure, I'd love to see better Lua support. I'd really like to see more RPM state exposed in the Lua symbol table, but I'm not yet sure how to do alter things to make that happen.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rpm-maint