Ookkay, looks like the global "arg" convention used in rpm is a leftover from
olden days of Lua to work around lack of proper support for variadic arguments.
More than one way to do this, feedback on what people actually want would be
welcome. Possibilities include (but not limited to):
1) pass all macro arguments as variadic native Lua arguments without any option
etc processing (rpm's argument/option view can be retrieved via rpm.expand() as
presently)
2) pass processed macro arguments and options natively to Lua through two
tables (opt and arg)
3) something in between
1 has the benefit of handing all
--
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/1063#issuecomment-590930630
_______________________________________________
Rpm-maint mailing list
[email protected]
http://lists.rpm.org/mailman/listinfo/rpm-maint