[Yum] Re: Recreating headers yields different files

seth vidal skvidal at phy.duke.edu
Mon Apr 28 20:58:40 UTC 2003


> 
> it uses the current time. If you ask google for
> http://www.google.com/search?q=gzip+modification+time
> you get as the first document
> http://www.ietf.org/rfc/rfc1952.txt
> which describes the gzip format:
> 


Right, so I looked at the gzip module in python and the zlib module and
I came shockingly to the conclusion that controlling or disabling time
stamping on the gzip call is not possible in those libraries.

so at first look it seems like you're out of luck.

having said that for 1.7GB worth of distro data the headers occupy 17M.

Not exactly a heavy load for an rsyncing host.

less than 2s at 100Mbps

If newer versions of python open up this option, or if I'm just missing
it and someone would like to point it out to me I'd be glad to just turn
off the timestamping addition for gzip entirely.

thanks,
-sv





More information about the Yum mailing list