[Rpm-maint] [rpm-software-management/rpm] Fix ambiguous diagnostics output on file triggers (RhBug:1883338) (#1376)

Panu Matilainen notifications at github.com
Tue Sep 29 05:29:30 UTC 2020


All this time we've been logging file and transfile triggers with output
identical to that of regular triggers, confusing people for no good reason.

We know which of the three it is when creating so add a matching prefix
to the output at that point. All we need to do is move the '%' from
the scriptlet table to the printf() format string to make room for
the description prefix. Doh.

So now we get output using things with their proper names, such as:

  D: running post-transaction scripts
  D: %transfiletriggerin(glibc-common-2.31-4.fc32.x86_64): scriptlet start
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Fix ambiguous diagnostics output on file triggers (RhBug:1883338)

-- File Changes --

    M lib/rpmscript.c (34)

-- Patch Links --

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


More information about the Rpm-maint mailing list