[Rpm-maint] [rpm-software-management/rpm] Deal with SOURCEPKGID, PKGID and HDRID (Issue #3330)
Panu Matilainen
notifications at github.com
Wed Nov 20 10:37:44 UTC 2024
SOURCEPKGID needs to be dealt with along with PKGID because they are linked: SOURCEPKGID of a binary package equals the PKGID of its source package.
To make it all a little more entertaining, SOURCEPKGID is a distinct tag, whereas PKGID and HDRID are just tag aliases. So it indeed seems the only sane way to deal with this is to make PKGID and HDRID extensions that manage the compatibility. And to preserve at least some compatibility, SOURCEPKGID needs to remain binary format, we can use header SHA256 for the data itself in v6 packages, and the PKGID extension then converts SHA256 from hex to binary.
It's a pretty weird mess.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/3330#issuecomment-2488213589
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/3330/2488213589 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20241120/4a5a300e/attachment.htm>
More information about the Rpm-maint
mailing list