[Rpm-maint] [rpm-software-management/rpm] Require all queriable tags to have a have a declared type, doh (PR #3793)

Panu Matilainen notifications at github.com
Fri Jun 6 12:42:36 UTC 2025


RPMTAG_HEADERIMAGE, RPMTAG_HEADERSIGNATURES and RPMTAG_HEADERREGIONS are low-level entities in the header struct and not something that can be queried as such and so, shouldn't be visible in --querytags. OTOH RPMTAG_HEADERIMMUTABLE *is* something you can query, rpm itself uses this functionality, but it was missing a type specification in the tags all these years.

Add a type for HEADERIMMUTABLE and tighten the gentagtable.sh match to require a type specification for inclusion to the tag table, adjust the tag test accordingly.

The type requirement will allow relaxing other aspects of the match which we'll need for other things. Which is how this was discovered, but no such changes here.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Require all queriable tags to have a have a declared type, doh

-- File Changes --

    M include/rpm/rpmtag.h (2)
    M lib/gentagtbl.sh (2)
    M tests/rpmgeneral.at (3)

-- Patch Links --

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

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

Message ID: <rpm-software-management/rpm/pull/3793 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250606/367c1e67/attachment.htm>


More information about the Rpm-maint mailing list