]> err.no Git - dak/commit
don't include filename or timestamp in gzipped files
authorEric Cooper <ecc@cmu.edu>
Fri, 13 May 2011 00:07:01 +0000 (20:07 -0400)
committerJoerg Jaspert <joerg@debian.org>
Fri, 13 May 2011 07:16:33 +0000 (09:16 +0200)
commite5c90f4b1b649a3ccbda2ff78c5acbd24ebfd6fc
tree0918136be02ecb1252e0926c963239208349fb14
parentbd07a0ed5414ac3a7303d6b2d10338bf3ce28ecc
don't include filename or timestamp in gzipped files

(optional: also compress at level 9)

Omitting the timestamp makes it possible to reconstruct an exact copy of the .gz
file given only the uncompressed contents.  The approx caching proxy relies on this
to apply pdiffs and generate compressed index files that correctly match their checksums.

Signed-off-by: Eric Cooper <ecc@cmu.edu>
daklib/filewriter.py