[Rpm-maint] [rpm-software-management/rpm] RPM with Copy on Write (#1470)

Panu Matilainen notifications at github.com
Thu Feb 4 11:36:46 UTC 2021


Based on a quick look at rpm2extents.c:
- In principle, the digest capability of rpm fd currently in rpmio_internal.h should in fact be public, it just needs a saner API (I don't recall the exact details but there was something in there that is not acceptable for a public API at all)
- Working with fundamental rpm package elements (lead, signature, header and payload) would seem like a fairly reasonable thing to be able to do with librpm. (Some of) the existing internal API's would not make sense to expose as-is, but in principle opening that up to a degree would be welcome. They were closed off back in the day because they exposed far too much crazy internals, but for example rpmlead.h is probably quite close to exposable again. 

... which AFAICS leaves just the hashing bits, which is something I don't see us exposing in the API (simply because it's a rather special piece and not just a header you'd make available), but that's also by far the easiest part to replace with something else.

-- 
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/pull/1470#issuecomment-773242323
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210204/7f14329c/attachment.html>


More information about the Rpm-maint mailing list