[Rpm-maint] [rpm-software-management/rpm] Implement a table-like shortcut to rpm macros in Lua (#1398)

Panu Matilainen notifications at github.com
Wed Oct 14 10:04:55 UTC 2020


This is starting to spin out of scope...

This PR is not about changing parametric macro semantics at all, it's about making them more accessible from Lua, and basically I think results need to be identical between `rpm.expand('%foo [...])` and `macro.foo([...])` or everybody will go crazy. Which is why I'm starting to think the automatic quoting is a bad idea, because it causes a deviation, and where there's one... it's easy to end up with more, whether due to side-effect pileup or otherwise.

We "just" changed the macro arguments to be expanded in 4.14 and it took multiple attempts to get the worst kinks out, I'm not all that eager to experiment in that area but if people want to discuss that, please open a separate ticket.

-- 
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-708300274
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20201014/c2b98723/attachment.html>


More information about the Rpm-maint mailing list