[Rpm-maint] [rpm-software-management/rpm] Add deltarpm support (#433)

Jeff Johnson notifications at github.com
Wed Apr 25 21:53:45 UTC 2018


AFAICT the ancient sanity check on sizeof lead+sigh+metah+payload has been ripped out in RPM4 (but I'm on an iPad without grep, sigh). Likely eliminated as part of implementing rpmarchive and uint64_t payload size replacement, but that is just a savvy guess, ICBW.

Either way: using magic instead of payload format/compression flags makes a lot of sense for deltarpm recompression/decompression overhead elimination.

At worst, deltarpm would need to fiddle up a new file size shanty check by replacing a tag in the signature header when switching a reconstructed package to no (or lzo if you must minimize disk space usage but improve performance) in deltarpm.

There is also (IMHO) a need to convert payload compressions, and augment verifications of header/payload digests: the header/payload digests in the package are the definitions of what was originally used when the package was built no matter what funky transport (I.e. deltarpm) transforms on the original package content have been introduced as part of downloading and reconstruction.

-- 
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/433#issuecomment-384446417
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20180425/a0c247a9/attachment.html>


More information about the Rpm-maint mailing list