Bugzilla – Bug 155442
rsyncable gzip
Last modified: 2006-11-02 16:23:13 UTC
What about adding rsyncable gzip support (http://rsync.samba.org/ftp/unpacked/rsync/patches/gzip-rsyncable.diff) to gzip? This would be especially useful for creating ARCHIVES.gz, the repodata and stuff like that in factory because it should decrease rsync times considerably when syncing the factory repository (or any other one). Debian is using this for their packages as well to increase rsync performance.
we are not using gzip in our binary rpms but bzip2 for syncing rpms we supply drpmsync reassigning to maintainer of gzip
I was _not_ talking about RPM packages but of files like ARCHIVES.gz and likewise!
Just to give some numbers: I rsynced an ARCHIVES.gz from a factory-Snapshot to another one one day later: Without the patch: 40792412 bytes transfered With the patch: 6675978 bytes transfered This is a saving of 84%!
Fixed.
Now it's up to you Ruediger to use this feature with the gzip files synced out to public. Before just closing this bug again please read comment #2 because your comment #1 made me think that you misunderstood my initial comment in the first place.
already done by now, the servers creating "factory" have the patched gzip installed.
Hmm, does not work yet. It is still compressed in non-rsyncable format. Did you forget to add the --rsyncable switch to the gzip call? If you don't gzip will not change its behaviour.
should be fixed by now (at least for ARCHIVES/INDEX/ls-lR files)
Could we add this to the repodata files as well?
ok, tried something for the install trees, update repos maybe some other time might take a bit to show up on the servers
should work