tools/pristine-tar.git
12 years agoAdd --check=crc32 to list of allowed parameters
Mike Miller [Sun, 1 Apr 2012 14:55:34 +0000 (10:55 -0400)]
Add --check=crc32 to list of allowed parameters

Signed-off-by: Mike Miller <mtmiller@ieee.org>
12 years agoreleasing version 1.23 1.23
Joey Hess [Sat, 31 Mar 2012 23:03:21 +0000 (19:03 -0400)]
releasing version 1.23

12 years agoAdd cases to handle CRC32 files made with PylibLZMA
Mike Miller [Sat, 31 Mar 2012 21:50:41 +0000 (17:50 -0400)]
Add cases to handle CRC32 files made with PylibLZMA

Signed-off-by: Mike Miller <mtmiller@ieee.org>
12 years agoDetect git submodules procuded by recent git, where .git is a file, not a directory...
Joey Hess [Tue, 27 Mar 2012 23:42:49 +0000 (19:42 -0400)]
Detect git submodules procuded by recent git, where .git is a file, not a directory. Closes: #666033

12 years agomove zgz/pit to pit
Joey Hess [Tue, 20 Mar 2012 21:01:27 +0000 (17:01 -0400)]
move zgz/pit to pit

12 years agoadd list command to status
Joey Hess [Sun, 18 Mar 2012 16:58:24 +0000 (12:58 -0400)]
add list command to status

12 years agoreleasing version 1.22 1.22
Joey Hess [Sun, 11 Mar 2012 22:51:05 +0000 (18:51 -0400)]
releasing version 1.22

12 years agoStore the sha1 of the tree that is being committed, rather than a sha1 of a commit...
Joey Hess [Sun, 11 Mar 2012 22:49:10 +0000 (18:49 -0400)]
Store the sha1 of the tree that is being committed, rather than a sha1 of a commit or other object that points to the tree. This makes committed tarballs more resilient against git filter-branch when it's only used to change commit metadata. Closes: #467288

12 years agoreleasing version 1.21 1.21
Joey Hess [Fri, 2 Mar 2012 19:02:59 +0000 (15:02 -0400)]
releasing version 1.21

12 years agoFix bug in mtime resetting code, which caused delta files to be created that failed...
Joey Hess [Fri, 2 Mar 2012 18:56:25 +0000 (14:56 -0400)]
Fix bug in mtime resetting code, which caused delta files to be created that failed to regenerate the original tarball. Closes: #661902

Need to set mtime in a separate pass, after symlink replacement with
regular file is complete.

12 years agoupdated debian copyright format url
Joey Hess [Sat, 25 Feb 2012 14:54:35 +0000 (10:54 -0400)]
updated debian copyright format url

12 years agoreleasing version 1.20 1.20
Joey Hess [Sun, 12 Feb 2012 18:30:09 +0000 (14:30 -0400)]
releasing version 1.20

12 years agopristine-xz: Try --extreme too. While my corpus has no such xz files, Darren Salt...
Joey Hess [Sun, 12 Feb 2012 18:23:47 +0000 (14:23 -0400)]
pristine-xz: Try --extreme too. While my corpus has no such xz files, Darren Salt points out that automake 1.11.2 has started using extreme mode. Closes: #658666

12 years agoreleasing version 1.19 1.19
Joey Hess [Wed, 1 Feb 2012 15:03:14 +0000 (11:03 -0400)]
releasing version 1.19

12 years agoreleasing version 1.18 1.18
Joey Hess [Tue, 31 Jan 2012 20:36:28 +0000 (16:36 -0400)]
releasing version 1.18

12 years agoxz: try levels 6 and 9
Joey Hess [Tue, 31 Jan 2012 20:13:21 +0000 (16:13 -0400)]
xz: try levels 6 and 9

12 years agoadded makefile
Joey Hess [Mon, 9 Jan 2012 17:08:52 +0000 (13:08 -0400)]
added makefile

missed due to ignore

12 years agoxz stuff
Joey Hess [Mon, 9 Jan 2012 17:04:45 +0000 (13:04 -0400)]
xz stuff

12 years agopristine-xz
Joey Hess [Mon, 9 Jan 2012 16:20:59 +0000 (12:20 -0400)]
pristine-xz

works, at least minimally

12 years agorefactor and fix a minor bug
Joey Hess [Mon, 9 Jan 2012 16:20:46 +0000 (12:20 -0400)]
refactor and fix a minor bug

12 years agoreleasing version 1.17 1.17
Joey Hess [Mon, 9 Jan 2012 15:48:04 +0000 (11:48 -0400)]
releasing version 1.17

12 years agopristine-tar: Fail when the delta is excessively large, probably due to the tarball...
Joey Hess [Mon, 9 Jan 2012 15:42:52 +0000 (11:42 -0400)]
pristine-tar: Fail when the delta is excessively large, probably due to the tarball being compressed with something that tar x can  auto-extract, but that pristine-tar does not support.

It would be cleaner to test the tarball's magic to see if it's a regular,
non-compressed tarball. But, there are a lot of historical tar-like
formats, so implementing magic for tar is hard. (And I don't use file(1)
in pristine-tar).

Anyway, this also catches any other failure that can result in a delta >=
the size of the input. Completely failing to get any of the input files
right could also make this happen, perhaps.

12 years agooverrides needed due to auto-reject
Joey Hess [Thu, 5 Jan 2012 01:47:22 +0000 (21:47 -0400)]
overrides needed due to auto-reject

12 years agoreleasing version 1.16 1.16
Joey Hess [Thu, 5 Jan 2012 00:17:14 +0000 (20:17 -0400)]
releasing version 1.16

12 years agobugfix
Joey Hess [Wed, 4 Jan 2012 23:56:29 +0000 (19:56 -0400)]
bugfix

12 years agoadd --suse-pbzip2
Joey Hess [Wed, 4 Jan 2012 23:49:08 +0000 (19:49 -0400)]
add --suse-pbzip2

12 years agofix suse-bzip2
Joey Hess [Wed, 4 Jan 2012 23:28:54 +0000 (19:28 -0400)]
fix suse-bzip2

My hack job to remove the compressor changed its output (dunno how but it was
on byte 11 of the output file), so I am instead just copying in all of bzip2,
modified with suse's patch.

12 years agochangelog
Joey Hess [Wed, 4 Jan 2012 22:24:51 +0000 (18:24 -0400)]
changelog

12 years agoapply suse's maxlen patch
Joey Hess [Wed, 4 Jan 2012 22:09:09 +0000 (18:09 -0400)]
apply suse's maxlen patch

https://build.opensuse.org/package/view_file?file=bzip2-maxlen20.patch&package=bzip2&project=openSUSE%3AFactory&srcmd5=3ee4cf959e98e3ca50a881d1cdc13570

12 years agoMerge branch 'separate-suse'
Joey Hess [Wed, 4 Jan 2012 22:00:00 +0000 (18:00 -0400)]
Merge branch 'separate-suse'

Conflicts:
debian/copyright
zgz/pit/suse-bzip2/blocksort.c

12 years agorevert commits trying to add suse support into old-bzip2
Joey Hess [Wed, 4 Jan 2012 21:57:03 +0000 (17:57 -0400)]
revert commits trying to add suse support into old-bzip2

12 years agotry --quirk suse
Joey Hess [Wed, 4 Jan 2012 21:53:57 +0000 (17:53 -0400)]
try --quirk suse

12 years agocomment
Joey Hess [Wed, 4 Jan 2012 21:45:11 +0000 (17:45 -0400)]
comment

12 years agolicenses
Joey Hess [Wed, 4 Jan 2012 21:43:39 +0000 (17:43 -0400)]
licenses

12 years agoignores
Joey Hess [Wed, 4 Jan 2012 21:40:28 +0000 (17:40 -0400)]
ignores

12 years agoforgot to add main
Joey Hess [Wed, 4 Jan 2012 21:39:49 +0000 (17:39 -0400)]
forgot to add main

12 years agorun external program from zgz
Joey Hess [Wed, 4 Jan 2012 21:39:33 +0000 (17:39 -0400)]
run external program from zgz

12 years agogot it to compile standalone
Joey Hess [Wed, 4 Jan 2012 21:21:49 +0000 (17:21 -0400)]
got it to compile standalone

12 years agomoved to pit
Joey Hess [Wed, 4 Jan 2012 21:21:42 +0000 (17:21 -0400)]
moved to pit

13 years agoreleasing version 1.15 1.15
Joey Hess [Sat, 8 Oct 2011 21:58:37 +0000 (17:58 -0400)]
releasing version 1.15

13 years ago'pristine-tar list' displays a list of tarballs that are available for checkout.
Joey Hess [Sun, 18 Sep 2011 02:03:31 +0000 (22:03 -0400)]
'pristine-tar list' displays a list of tarballs that are available for checkout.

13 years agoseparate copy of bzip2 1.0.5 for suse quirk
Joey Hess [Mon, 12 Sep 2011 19:57:31 +0000 (15:57 -0400)]
separate copy of bzip2 1.0.5 for suse quirk

Doesn't work yet. Making two copies of bzip2 live in one program would
be hard. Might be better to have a helper program?

13 years agoupdate to reflect some newer code
Joey Hess [Mon, 12 Sep 2011 20:10:05 +0000 (16:10 -0400)]
update to reflect some newer code

13 years agoadd --quirk suse, which affects --old-bzip2 mode to inexactly replicate suse bzip2
Joey Hess [Mon, 12 Sep 2011 20:06:02 +0000 (16:06 -0400)]
add --quirk suse, which affects --old-bzip2 mode to inexactly replicate suse bzip2

Suse's bzip2 is modifed for some reason to use a huffman table of 17 bytes.

While suse has a newer bzip2 than the version in old-bzip2, it was most
expedient to keep only one copy of bzip2 in zgz, and parameterize it to
emulate suse's patched newer version. This is done by using the blocksort
code from bzip 1.0.5.

This does not 100% replicate the output of suse's bzip2, but the
differences seem to just be in some preliminary header info, and are
quite small. So this will be combined with using xdelta.

13 years agorename entry point
Joey Hess [Mon, 12 Sep 2011 19:18:36 +0000 (15:18 -0400)]
rename entry point

13 years agoadjust to use UInt16 for block in EState
Joey Hess [Mon, 12 Sep 2011 19:14:08 +0000 (15:14 -0400)]
adjust to use UInt16 for block in EState

This is a bit weird, but the old-bzip2 used a UInt16 rather than a UChar
in the data structire, and the new blocksort code seems to work fine
that way, which avoids needing two data structures.

13 years agoadded blocksort.c from bzip 1.0.5
Joey Hess [Mon, 12 Sep 2011 19:12:37 +0000 (15:12 -0400)]
added blocksort.c from bzip 1.0.5

13 years ago-Wall clean fixes with new gcc
Joey Hess [Mon, 12 Sep 2011 18:43:39 +0000 (14:43 -0400)]
-Wall clean fixes with new gcc

Remove unused variables. Set a few uninitialized variables.

13 years agoPropigate nonzero exit status from doit_redir. Closes: #600724
Joey Hess [Thu, 8 Sep 2011 18:28:40 +0000 (14:28 -0400)]
Propigate nonzero exit status from doit_redir. Closes: #600724

13 years agoFix Vcs-Browser url. Closes: #636926
Joey Hess [Sun, 7 Aug 2011 12:53:38 +0000 (08:53 -0400)]
Fix Vcs-Browser url. Closes: #636926

13 years agoreleasing version 1.14 1.14
Joey Hess [Sun, 7 Aug 2011 01:11:56 +0000 (21:11 -0400)]
releasing version 1.14

13 years agoAdd support for gzip --rsyncable output produced by gzip 1.4.
Joey Hess [Sun, 7 Aug 2011 01:02:59 +0000 (21:02 -0400)]
Add support for gzip --rsyncable output produced by gzip 1.4.

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.

13 years agoClarify man page.
Joey Hess [Thu, 7 Jul 2011 16:17:15 +0000 (12:17 -0400)]
Clarify man page.

13 years agoimprove program name in messages
Joey Hess [Fri, 25 Mar 2011 04:53:43 +0000 (00:53 -0400)]
improve program name in messages

13 years agoalso try with -1 in perl mode 1.13
Joey Hess [Tue, 15 Mar 2011 04:43:26 +0000 (00:43 -0400)]
also try with -1 in perl mode

This really fixes the bug.

13 years agotweak header info for perl quick mode
Joey Hess [Tue, 15 Mar 2011 04:43:06 +0000 (00:43 -0400)]
tweak header info for perl quick mode

avoids small xdelta

13 years agorelease prep
Joey Hess [Tue, 15 Mar 2011 04:36:24 +0000 (00:36 -0400)]
release prep

13 years agopristine-tar: handle properly Perl gzips
Faidon Liambotis [Mon, 14 Mar 2011 23:45:23 +0000 (01:45 +0200)]
pristine-tar: handle properly Perl gzips

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)

13 years agoreleasing version 1.12 1.12
Joey Hess [Sun, 6 Feb 2011 04:02:34 +0000 (00:02 -0400)]
releasing version 1.12

13 years agoDEP5
Joey Hess [Thu, 13 Jan 2011 22:57:34 +0000 (18:57 -0400)]
DEP5

13 years agoFix gzg building with --as-needed. Closes: #604030
Joey Hess [Sat, 20 Nov 2010 20:49:26 +0000 (16:49 -0400)]
Fix gzg building with --as-needed. Closes: #604030

14 years agoMerge branch 'master' of ssh://git.kitenet.net/srv/git/pristine-tar 1.11
Joey Hess [Fri, 12 Nov 2010 14:31:35 +0000 (10:31 -0400)]
Merge branch 'master' of ssh://git.kitenet.net/srv/git/pristine-tar

14 years agoreleasing version 1.11
Joey Hess [Fri, 12 Nov 2010 14:29:35 +0000 (10:29 -0400)]
releasing version 1.11

14 years agobugfix
Joey Hess [Fri, 12 Nov 2010 01:14:25 +0000 (21:14 -0400)]
bugfix

14 years agoAdd workaround for Debian's tar changing its output for tarballs containing filenames...
Joey Hess [Fri, 12 Nov 2010 01:05:45 +0000 (21:05 -0400)]
Add workaround for Debian's tar changing its output for tarballs containing filenames exactly 100 bytes long. Closes: #602907 (Needs a tar with #603231 fixed in order to work.)

14 years agoLintian fixes.
Joey Hess [Thu, 19 Aug 2010 20:41:24 +0000 (16:41 -0400)]
Lintian fixes.

14 years agofound a second bzip2 that cannot be reproduced
Joey Hess [Wed, 18 Aug 2010 16:35:24 +0000 (12:35 -0400)]
found a second bzip2 that cannot be reproduced

14 years agotypo
Joey Hess [Wed, 18 Aug 2010 00:35:03 +0000 (20:35 -0400)]
typo

14 years agostupid makemaker..
Joey Hess [Wed, 18 Aug 2010 00:33:13 +0000 (20:33 -0400)]
stupid makemaker..

14 years agoupdate
Joey Hess [Wed, 18 Aug 2010 00:30:55 +0000 (20:30 -0400)]
update

14 years agoRemove environment variables used by tar, gz, and bzip2, to avoid local environment...
Joey Hess [Tue, 17 Aug 2010 21:30:50 +0000 (17:30 -0400)]
Remove environment variables used by tar, gz, and bzip2, to avoid local environment settings possibly breaking things. Closes: #498760 (probably; thanks Ralph Lange for analysis)

14 years agoupdate ignores
Joey Hess [Sat, 24 Jul 2010 05:26:11 +0000 (01:26 -0400)]
update ignores

14 years agocopyright update for file move
Joey Hess [Sat, 24 Jul 2010 05:24:36 +0000 (01:24 -0400)]
copyright update for file move

14 years agomove zgz's gzip bits into a subdir
Joey Hess [Sat, 24 Jul 2010 05:23:15 +0000 (01:23 -0400)]
move zgz's gzip bits into a subdir

14 years agominor
Joey Hess [Sat, 24 Jul 2010 05:13:15 +0000 (01:13 -0400)]
minor

14 years agorefactored file format magic numbers code
Joey Hess [Sat, 24 Jul 2010 05:02:51 +0000 (01:02 -0400)]
refactored file format magic numbers code

14 years agosimplify
Joey Hess [Sat, 24 Jul 2010 04:21:30 +0000 (00:21 -0400)]
simplify

14 years agomodularize the delta writing code
Joey Hess [Sat, 24 Jul 2010 00:57:51 +0000 (20:57 -0400)]
modularize the delta writing code

This will make it easy to add support for flat deltas, etc.

14 years agopristine-tar commit takes varying number of parameters, fix checking
Joey Hess [Sat, 24 Jul 2010 00:27:04 +0000 (20:27 -0400)]
pristine-tar commit takes varying number of parameters, fix checking

14 years agoupdates
Joey Hess [Sat, 24 Jul 2010 00:21:45 +0000 (20:21 -0400)]
updates

14 years agonasty MakeMaker conversion for perl library support
Joey Hess [Sat, 24 Jul 2010 00:19:18 +0000 (20:19 -0400)]
nasty MakeMaker conversion for perl library support

Had to move zgz.pod to subdir because MakeMaker insisted in installing it
otherwise.

14 years agoconvert pristine-tar to use Delta library
Joey Hess [Fri, 23 Jul 2010 23:42:40 +0000 (19:42 -0400)]
convert pristine-tar to use Delta library

14 years agopristine-gz gengz: Bugfix: Always remove uncompressed input file.
Joey Hess [Fri, 23 Jul 2010 23:17:09 +0000 (19:17 -0400)]
pristine-gz gengz: Bugfix: Always remove uncompressed input file.

14 years agomake pristine-gz use Delta library
Joey Hess [Fri, 23 Jul 2010 23:13:53 +0000 (19:13 -0400)]
make pristine-gz use Delta library

14 years agofactored out generic delta file reading/writing/checking code
Joey Hess [Fri, 23 Jul 2010 23:01:23 +0000 (19:01 -0400)]
factored out generic delta file reading/writing/checking code

converted pristine-bz2 to use it so far

14 years agomode
Joey Hess [Fri, 23 Jul 2010 22:33:41 +0000 (18:33 -0400)]
mode

14 years agofactor out constants
Joey Hess [Fri, 23 Jul 2010 22:33:22 +0000 (18:33 -0400)]
factor out constants

14 years agofactor out boilerplate common to the commands
Joey Hess [Fri, 23 Jul 2010 21:56:48 +0000 (17:56 -0400)]
factor out boilerplate common to the commands

Should have done this a long time ago.

TODO: installation; delta file handling

14 years agoupdate
Joey Hess [Wed, 14 Jul 2010 17:55:40 +0000 (13:55 -0400)]
update

14 years agoupdates
Joey Hess [Wed, 14 Jul 2010 16:37:02 +0000 (12:37 -0400)]
updates

14 years agouse dpkg-mergechangelog
Joey Hess [Mon, 24 May 2010 15:12:47 +0000 (11:12 -0400)]
use dpkg-mergechangelog

14 years agodelink
Joey Hess [Thu, 13 May 2010 06:50:36 +0000 (02:50 -0400)]
delink

14 years agotweak
Joey Hess [Thu, 13 May 2010 06:48:04 +0000 (02:48 -0400)]
tweak

14 years agoreleasing version 1.03 1.03
Joey Hess [Thu, 13 May 2010 06:44:45 +0000 (02:44 -0400)]
releasing version 1.03

14 years agoAwesome new zgz man page!
Joey Hess [Thu, 13 May 2010 06:39:29 +0000 (02:39 -0400)]
Awesome new zgz man page!

14 years agoreleasing version 1.02 1.02
Joey Hess [Thu, 13 May 2010 06:26:42 +0000 (02:26 -0400)]
releasing version 1.02

14 years agofix paranoia check
Joey Hess [Thu, 13 May 2010 06:17:06 +0000 (02:17 -0400)]
fix paranoia check

14 years agouse zgz
Joey Hess [Thu, 13 May 2010 06:07:37 +0000 (02:07 -0400)]
use zgz

14 years agotweaks
Joey Hess [Thu, 13 May 2010 05:54:37 +0000 (01:54 -0400)]
tweaks

14 years agoWall clean (amazingly!!)
Joey Hess [Thu, 13 May 2010 05:52:05 +0000 (01:52 -0400)]
Wall clean (amazingly!!)