Up to now, any communication with Lua scriptlets has required use of global 
tables. This PR adds support for real argument passing via the internal rpmlua 
API and converts the install scriptlet machinery to use that.
This appears more of a cleanup than new functionality as such, but is a 
pre-requisite for #1092 .
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/1383

-- Commit Summary --

  * Support passing true arguments to Lua scriptlets in the internal API
  * Pass install scriptlet arguments to Lua as real local arguments

-- File Changes --

    M lib/rpmscript.c (35)
    M rpmio/macro.c (2)
    M rpmio/rpmlua.c (24)
    M rpmio/rpmlua.h (2)
    M tests/rpmscript.at (2)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/1383.patch
https://github.com/rpm-software-management/rpm/pull/1383.diff

-- 
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/1383
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to