[Rpm-maint] [rpm-software-management/rpm] Add deltarpm support (#433)
Florian Festi
notifications at github.com
Tue Apr 24 11:14:38 UTC 2018
The lmitations of delta rpms are well known.
My idea is that instead of building the new rpm package from the delta rpm and the data on disk a separate tool would create the altered files on disk with a suffix. This would be done before the rpm transaction by the updater. If this fails the files would be cleaned up and the full package would need to be downloaded - just as if the construction of the new rpm package had failed.
The rpm part of this would just add the header from the delta rpm to the transaction. But instead of putting the files to disk from the payload it would leave the unchanged files in place and use the previously placed files for the others. So the changes needed in rpm are probably pretty small. But it would save moving all the unchanged data around which makes delta rpms very unattractive right now. Especially as network traffic has become so cheap compared with local IO.
--
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-383894161
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20180424/25e45b0c/attachment-0001.html>
More information about the Rpm-maint
mailing list