[Rpm-maint] [rpm-software-management/rpm] rpm package header based db backend (PR #1959)
Panu Matilainen
notifications at github.com
Tue Mar 22 14:04:18 UTC 2022
I was about to say you can get the original, aka unmodified, header with `headerGet(h, RPMTAG_HEADERIMMUTABLE, ...)` but the term "header" is used ambiguously here, I guess you mean the lead+signature+header combo instead. "header" has a very specific meaning in rpm so that combo will need another name to be able to discuss stuff at all. I think it's better to just call them package files. They may be partial or not, this backend doesn't really care.
That out of the way, package files as the rpmdb is a wonderfully strange idea. Maybe an fs backend could support two modes: one like the traditional db (which I described in the earlier comment) and one which expects package files instead. There are different tradeoffs to each, the traditional way can properly support installs and carry state + use less space, except if you have the original package files laying around and can link to them.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1959#issuecomment-1075221767
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/1959/c1075221767 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220322/2a83587a/attachment.html>
More information about the Rpm-maint
mailing list