Other random remarks of the day:
- We could of course put it into rpm namespace, and macro-heavy users can
declare their own shortcut, eg `m = rpm.macro; m._libdir = "foo"`, but then if
every Lua macro starts with that, we've failed somewhere
- This doesn't enable *anything* new, it's all just for convenience. And as
such, all this could be also implemented in pure Lua instead. Doing that might
open some other possibilities, OTOH keeping things in one place and one
language has other benefits.
- I realized this is missing the mapping for Lua native deletion, ie `m[key] =
nil` to undefine. Will add in a later version.
--
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/pull/1398#issuecomment-707708538
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint