[Rpm-maint] [rpm-software-management/rpm] Pass arg3 to regular and file trigger scripts (PR #3018)

Michal Domonkos notifications at github.com
Thu Apr 4 12:14:56 UTC 2024


Details in the commit messages (GH didn't populate the description automatically for some reason).
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Rename script->args to script->prog
  * Replace hacky "hge-style" array with ARGV_t
  * Pass scriptlet args via a new function internally
  * Pass arg2 (albeit -1) to transaction triggers too
  * Pass arg3 to regular and file trigger scripts

-- File Changes --

    M docs/manual/file_triggers.md (2)
    M docs/manual/triggers.md (9)
    M include/rpm/argv.h (9)
    M lib/psm.c (11)
    M lib/rpmscript.c (63)
    M lib/rpmscript.h (7)
    M lib/rpmtriggers.c (10)
    M lib/rpmts_internal.h (2)
    M lib/transaction.c (5)
    M rpmio/argv.c (27)
    M tests/data/SPECS/filetriggers.spec (2)
    M tests/rpmscript.at (74)

-- Patch Links --

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

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

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


More information about the Rpm-maint mailing list