[Rpm-maint] [rpm-software-management/rpm] Get rid of the Lua variable wrapper API (#1402)

Panu Matilainen notifications at github.com
Thu Oct 15 14:20:39 UTC 2020


See commits for details, the main point is getting rid of an unmaintained, undocumented and unloved intermediate Lua variable API. As an example, the sources/patches table manipulation is converted to use native Lua operations, and is actually less code and easier to understand that the "helper" layer.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Consolidate librpmbuild Lua code to one place
  * Add function for fetching the underlying Lua state from rpmlua
  * Convert sources/patches table manipulation to "native" Lua API
  * Lose the internal Lua variable API

-- File Changes --

    M build/Makefile.am (4)
    M build/parsePreamble.c (29)
    M build/rpmbuild_internal.h (11)
    M build/spec.c (15)
    A build/speclua.c (51)
    M rpmio/rpmlua.c (331)
    M rpmio/rpmlua.h (26)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/1402.patch
https://github.com/rpm-software-management/rpm/pull/1402.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/1402
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20201015/84adb22f/attachment.html>


More information about the Rpm-maint mailing list