[Rpm-maint] [rpm-software-management/rpm] Add an alternative, enhanceable form of rpm.execute() (PR #3236)

Panu Matilainen notifications at github.com
Fri Aug 9 08:09:41 UTC 2024


The problem with the original rpm.execute() syntax is that it cannot be enhanced in any way, because all the arguments are treated as options to be passed to the command.

Add an alternative form where the command and it's options are passed as a single Lua table, thus allowing other types of (optional) arguments to be added later.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Add an alternative, enhanceable form of rpm.execute()

-- File Changes --

    M docs/manual/lua.md (10)
    M rpmio/rpmlua.c (30)
    M tests/rpmmacro.at (18)

-- Patch Links --

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

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3236
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/3236 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240809/dbd0327a/attachment.html>


More information about the Rpm-maint mailing list