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

2018-08-21 Thread Jeff Johnson
Closed #432.

-- 
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#event-180005___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


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

2018-04-17 Thread Jeff Johnson
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___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint