[Rpm-maint] [rpm-software-management/rpm] RFE: Permit applications to append tags to headers simply (#432)

Jeff Johnson notifications at github.com
Tue Apr 17 14:29:24 UTC 2018


The discussions about AUTOINSTALL are the basis for this RFE.

The obscure callback to re-read a package header should be reworked to permit tags to be simply added (note added, not replaced) by applications when desired.

The simplest (I.e. least intrusive) interface I can think of is to save all tags appended to an immutable region when added to a transaction, including the renumbered merged signature tags, as well as any tags appended by an application, and re-appending those tags after the existing callback to reload a header.

Unlike the proposed patch to carry an additional "tag bag" container when a package is added to a transaction, the operation should be done internally to rpmlib to insure proper filtering (and possible renumbering as in signature tagnos) of values, and to avoid proliferating nearly redundant API's in rpmlib.

RPM is already carrying merged signature tags appended to the metadata header, so this RFE is proposing little more than using the header added to the transaction as a reference, rather than the package signature header, to determine what tags should be appended to the metadata header.



-- 
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/issues/432
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20180417/ce5d01d0/attachment.html>


More information about the Rpm-maint mailing list