summaryrefslogtreecommitdiff
path: root/pristine-gz
AgeCommit message (Collapse)AuthorFilesLines
2013-05-11Fix display of unsupported param when paranoia check fails. Closes: #707820Joey Hess1-1/+1
2012-02-01releasing version 1.191.19Joey Hess1-11/+0
2011-08-06Add support for gzip --rsyncable output produced by gzip 1.4.Joey Hess1-1/+2
This differs from prior --rsyncable output, which was made by a debian specific patch and used a different rsync window size, and reset huffman encodings less often.
2011-03-15also try with -1 in perl mode1.13Joey Hess1-0/+1
This really fixes the bug.
2011-03-14pristine-tar: handle properly Perl gzipsFaidon Liambotis1-0/+8
Perl's Compress::Raw::Zlib interfaces directly with zlib and apparently is the only implementation out there which tunes a very specific parameter of zlib, memLevel, to 9, instead of 8 which is the default. The module is used, among others, by Compress::Gzip which in turn is used by IO::Zlib. It was found on the real world on tarballs generated by Perl 5.10's Module::Build (cf. #618284)
2010-08-17Remove environment variables used by tar, gz, and bzip2, to avoid local ↵Joey Hess1-0/+2
environment settings possibly breaking things. Closes: #498760 (probably; thanks Ralph Lange for analysis)
2010-07-24minorJoey Hess1-1/+0
2010-07-24refactored file format magic numbers codeJoey Hess1-14/+14
2010-07-23modularize the delta writing codeJoey Hess1-2/+2
This will make it easy to add support for flat deltas, etc.
2010-07-23pristine-gz gengz: Bugfix: Always remove uncompressed input file.Joey Hess1-0/+1
2010-07-23make pristine-gz use Delta libraryJoey Hess1-86/+24
2010-07-23factored out generic delta file reading/writing/checking codeJoey Hess1-2/+1
converted pristine-bz2 to use it so far
2010-07-23factor out constantsJoey Hess1-52/+10
2010-07-23factor out boilerplate common to the commandsJoey Hess1-57/+9
Should have done this a long time ago. TODO: installation; delta file handling
2009-12-25Document TMPDIR in man pages. Closes: #558266Joey Hess1-0/+10
2009-12-14Use italics in man pages to highlight which parts of command lines are file ↵Joey Hess1-10/+10
names. Closes: #561015
2009-12-12brace styleJoey Hess1-1/+2
2009-12-12add GZIP_OS_VFAT to listJoey Hess1-0/+1
Note that most of the stuff in this list is not used; the raw os flag value is passed to zgz. So this is just for completness/ future expansion.
2009-04-14doc updatesJoey Hess1-4/+3
2009-04-13Merge branch 'master' of ssh://joey@git.kitenet.net/srv/git/pristine-tarJoey Hess1-2/+3
2009-04-13pristine-gz: Fix generation of gz files that have a null filename field.Joey Hess1-3/+0
2009-04-13fix bug if input filename contains a pathJoey Hess1-2/+3
2009-04-13pristine-gz: Avoid passing -F to zgz if --original-name is passed. This bug ↵Joey Hess1-1/+5
prevented pristine-gz gengz from recreating the gz in some cases.
2009-04-13pristine-gz binary deltasJoey Hess1-21/+46
* pristine-gz: Fall back to storing a binary delta, in the rare cases where the file cannot be 100% reproduced. A warning message is printed if the binary delta is not relatively small. * Allows generating quite small deltas for php-geoip, xsupplicant, libgraphics-colornames-perl, and Ricoh-Aficio_2020D-Postscript.ppd.gz -- zgz gets very close to the originals for all of these. Closes: #518972, #506874 * For other things the deltas are not small, but only a few hundred known tarballs fail that badly, and the total space wasted by all of the oversized deltas for them would only be 100 mb. This seems an accepable tradeoff to be able to reliably use it on anything. Closes: #475778, #509703, #509707, #515256, #515331 * Increase gz delta version number to 3.0 if a binary delta file is included.
2009-04-13quell warnigns from xdeltaJoey Hess1-1/+1
It will often find there are no simularities and print a warning.
2009-04-13pristine-gz: use xdelta to check if a file was closely, but not completly, ↵Joey Hess1-3/+26
reproduced. This is not yet used except as a debugging aid when no variants succeed.
2009-04-13avoid redundancies in pristine-gzJoey Hess1-19/+15
Refactoring to avoid need to explicitly return the same args that were just tested.
2008-12-11Incorporate my cut-down GNU gzip into zgz and use it in pristine-gzJosh Triplett1-77/+38
With this change, zgz now provides support for explicitly setting the timestamp and original filename in both GNU gzip and zlib gzip. Use this support in pristine-gz to do all compression with -c, eliminating the complexity caused by gzip removing files after compressing them. The new pristine-gz requires the new zgz and vice-versa, but deltas generated with the new pristine-gz do not depend on the new zgz.
2008-12-03Document existing long options. Closes: #499488Joey Hess1-0/+6
2008-11-21pristine-gz: Avoid uncompressing the original file more than once. Closes: ↵Joey Hess1-14/+26
#506490
2008-07-04Correct -f order to come after --gnu.0.17Joey Hess1-1/+1
2008-07-04pristine-gz: Always pass -f to zgzJoey Hess1-1/+1
to support cases where the gzip header claims that the original input file had an extension that suggests it was itself already compressed. (Although it can't really be.) Not doing the same for gzip because -f doesn't cause it to ignore extensions. See #475778
2008-06-02add missing =back to option listsAnsgar Burchardt1-0/+2
2008-02-06* Send all debug and verbose prints to stderr, reserving stdout forJoey Hess1-2/+2
outputting deltas etc. * pristine-tar commit was not generating deltas against the specified upstream branch, but against the unpacked contents of the source tarball. Fix it to use the upstream branch, ensuring that no matter what branch is given, the delta that is created can always recreate the source tarball.
2008-01-31* Fix paranoia check in pristine-gz to correctly handle parametersJoey Hess1-0/+1
that take an option.
2007-11-24* Allow the delta file to be read or written from stdio.joeyh1-0/+23
* Fix man page synopses formatting.
2007-10-02* Quite a lot of testing (ie, on the entire Debian archive) and bugfixes.joeyh1-2/+2
* Put files in the generated tarball mode 0644 pre-delta, this is a much more likely file mode than the previous 0000 and thus makes the delta smaller. * File format version is up to 2.0 due to misc incompatible changes.
2007-10-02Move NTFS to the bottom since it's generating corrupted archives and is noisyparavoid1-6/+8
2007-10-02fixes to support tarballs with no subdirjoeyh1-3/+1
2007-10-02implement --keep flagjoeyh1-6/+15
2007-10-02dohjoeyh1-2/+2
2007-10-02fix issues with filename pathsjoeyh1-1/+1
2007-10-02oopsparavoid1-1/+0
2007-10-02fix 'file not found' errors on some gzipsparavoid1-13/+20
2007-10-02improve some doit callsjoeyh1-2/+2
2007-10-02oopsjoeyh1-5/+5
2007-10-02docsjoeyh1-1/+3
2007-10-02Remove temporary files on exitparavoid1-1/+1
2007-10-02add debuggingjoeyh1-0/+2
2007-10-02merge from paravoidjoeyh1-111/+90