tools/pristine-tar.git
15 years agoFix syntax mistake that could cause pristine-tar to in some cases fail on tarballs...
Joey Hess [Sun, 12 Apr 2009 17:20:07 +0000 (13:20 -0400)]
Fix syntax mistake that could cause pristine-tar to in some cases fail on tarballs containing files named "0". Closes: #523773

15 years agoauto-update spec file version number
Joey Hess [Thu, 26 Feb 2009 19:03:00 +0000 (14:03 -0500)]
auto-update spec file version number

15 years agoadded spec file
Jimmy Tang [Wed, 25 Feb 2009 12:21:07 +0000 (12:21 +0000)]
added spec file

15 years agoreleasing version 0.21 0.21
Joey Hess [Thu, 22 Jan 2009 20:08:41 +0000 (15:08 -0500)]
releasing version 0.21

15 years agoAdd support for GIT_DIR. Closes: #512619
Joey Hess [Thu, 22 Jan 2009 19:18:37 +0000 (14:18 -0500)]
Add support for GIT_DIR. Closes: #512619

15 years agoreleasing version 0.20 0.20
Joey Hess [Mon, 29 Dec 2008 20:36:14 +0000 (15:36 -0500)]
releasing version 0.20

15 years agoAvoid littering .orig.tar.gz.tmp files around by building intermediate tarball in...
Joey Hess [Mon, 29 Dec 2008 20:33:21 +0000 (15:33 -0500)]
Avoid littering .orig.tar.gz.tmp files around by building intermediate tarball in the temp dir. Closes: #508965

15 years agoreleasing version 0.19 0.19
Joey Hess [Fri, 12 Dec 2008 21:17:06 +0000 (16:17 -0500)]
releasing version 0.19

15 years agomove zgz source into subdir
Joey Hess [Fri, 12 Dec 2008 00:13:08 +0000 (19:13 -0500)]
move zgz source into subdir

15 years agoadd bug closure
Joey Hess [Fri, 12 Dec 2008 00:12:07 +0000 (19:12 -0500)]
add bug closure

and todo item for the way-cool idea mentioned in the bug

15 years agolet's toss in a copy of the GPL
Joey Hess [Fri, 12 Dec 2008 00:04:12 +0000 (19:04 -0500)]
let's toss in a copy of the GPL

15 years agoRemove file support from zgz, leaving only standard input and standard output
Josh Triplett [Thu, 11 Dec 2008 13:57:45 +0000 (05:57 -0800)]
Remove file support from zgz, leaving only standard input and standard output

Now that pristine-gz no longer runs (and fights against) zgz
on files specified by name, remove support for compressing files,
allowing only standard input and standard output.  This removes large
quantities of complex code from zgz.c.

In the process, move several global variables to local variables in
main.

15 years agoIncorporate my cut-down GNU gzip into zgz and use it in pristine-gz
Josh Triplett [Thu, 11 Dec 2008 12:48:04 +0000 (04:48 -0800)]
Incorporate my cut-down GNU gzip into zgz and use it in pristine-gz

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.

15 years agoClarify bit in man page about what file formats are supported. Closes: #507322
Joey Hess [Wed, 3 Dec 2008 21:39:08 +0000 (16:39 -0500)]
Clarify bit in man page about what file formats are supported. Closes: #507322

15 years agoAvoid exposing tar file names to the shell. Closes: #500499
Joey Hess [Wed, 3 Dec 2008 20:26:55 +0000 (15:26 -0500)]
Avoid exposing tar file names to the shell. Closes: #500499

15 years agoDocument existing long options. Closes: #499488
Joey Hess [Wed, 3 Dec 2008 20:13:22 +0000 (15:13 -0500)]
Document existing long options. Closes: #499488

15 years agozgz: Avoid using uninitialized data as timestamp in -c mode. Closes: #507095
Joey Hess [Wed, 3 Dec 2008 19:56:45 +0000 (14:56 -0500)]
zgz: Avoid using uninitialized data as timestamp in -c mode. Closes: #507095

15 years agobug closure
Joey Hess [Wed, 3 Dec 2008 19:46:18 +0000 (14:46 -0500)]
bug closure

Assuming #507110 doesn't have wider scope than adding the flag (ie, it's
still not used..)

15 years agozgz: Add -T,--timestamp flag to explicitly set timestamp
Josh Triplett [Fri, 28 Nov 2008 03:09:16 +0000 (19:09 -0800)]
zgz: Add -T,--timestamp flag to explicitly set timestamp

15 years agozgz: Remove support for -S,--suffix flag
Josh Triplett [Fri, 28 Nov 2008 03:36:58 +0000 (19:36 -0800)]
zgz: Remove support for -S,--suffix flag

15 years agozgz: Fix usage message to stop identifying the program as gzip
Josh Triplett [Fri, 28 Nov 2008 03:10:56 +0000 (19:10 -0800)]
zgz: Fix usage message to stop identifying the program as gzip

15 years agozgz: Allow empty string as original name
Josh Triplett [Fri, 28 Nov 2008 02:26:33 +0000 (18:26 -0800)]
zgz: Allow empty string as original name

zgz treated an empty original name as no original name, but the gzip
format could potentially have the original name flag set with an
original name of "".  With this change, zgz -o "" will produce such a
file.

15 years agozgz: Remove support for -t,--test flag
Josh Triplett [Fri, 28 Nov 2008 00:42:43 +0000 (16:42 -0800)]
zgz: Remove support for -t,--test flag

15 years agozgz: Remove more decompression-only code
Josh Triplett [Fri, 28 Nov 2008 00:40:36 +0000 (16:40 -0800)]
zgz: Remove more decompression-only code

15 years agozgz: Remove support for the -v,--verbose flag
Josh Triplett [Fri, 28 Nov 2008 00:25:46 +0000 (16:25 -0800)]
zgz: Remove support for the -v,--verbose flag

15 years agozgz: Remove support for the -l,--list flag
Josh Triplett [Fri, 28 Nov 2008 00:22:19 +0000 (16:22 -0800)]
zgz: Remove support for the -l,--list flag

15 years agozgz: Fix printf format string warnings
Josh Triplett [Fri, 28 Nov 2008 00:15:25 +0000 (16:15 -0800)]
zgz: Fix printf format string warnings

Tested on both x86 and x86-64.

15 years agozgz: remove unused variable "gzip", fixing a warning
Josh Triplett [Fri, 28 Nov 2008 00:01:14 +0000 (16:01 -0800)]
zgz: remove unused variable "gzip", fixing a warning

15 years agoAdd a .gitignore file
Josh Triplett [Fri, 28 Nov 2008 00:00:13 +0000 (16:00 -0800)]
Add a .gitignore file

15 years agoreleasing version 0.18 0.18
Joey Hess [Sat, 22 Nov 2008 23:26:09 +0000 (18:26 -0500)]
releasing version 0.18

15 years agopristine-gz: Avoid uncompressing the original file more than once. Closes: #506490
Joey Hess [Sat, 22 Nov 2008 01:31:32 +0000 (20:31 -0500)]
pristine-gz: Avoid uncompressing the original file more than once. Closes: #506490

16 years agoCorrect -f order to come after --gnu. 0.17
Joey Hess [Fri, 4 Jul 2008 18:47:30 +0000 (14:47 -0400)]
Correct -f order to come after --gnu.

16 years agoreleasing version 0.16 0.16
Joey Hess [Fri, 4 Jul 2008 18:44:09 +0000 (14:44 -0400)]
releasing version 0.16

16 years agopristine-gz: Always pass -f to zgz
Joey Hess [Fri, 4 Jul 2008 18:29:47 +0000 (14:29 -0400)]
pristine-gz: Always pass -f to zgz

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

16 years agoreleasing version 0.15 0.15
Joey Hess [Wed, 2 Jul 2008 16:50:10 +0000 (12:50 -0400)]
releasing version 0.15

16 years agozgz: Remove support for a GZIP env variable. We don't need this in pristine-tar,...
Joey Hess [Wed, 2 Jul 2008 16:40:22 +0000 (12:40 -0400)]
zgz: Remove support for a GZIP env variable. We don't need this in pristine-tar, and if could screw things up if a user set it. Closes: #488986

16 years agochangelog
Joey Hess [Mon, 2 Jun 2008 19:38:06 +0000 (15:38 -0400)]
changelog

16 years agoadd missing =back to option lists
Ansgar Burchardt [Mon, 2 Jun 2008 19:21:10 +0000 (21:21 +0200)]
add missing =back to option lists

16 years agoreleasing version 0.14 0.14
Joey Hess [Sun, 4 May 2008 18:50:16 +0000 (14:50 -0400)]
releasing version 0.14

16 years agoPut in a workaround for bug #479317, an incompatability in perl 5.10 that causes...
Joey Hess [Sun, 4 May 2008 18:44:34 +0000 (14:44 -0400)]
Put in a workaround for bug #479317, an incompatability in perl 5.10 that causes nonzero exit if a program exits while chdired into a subdirectory of a File::Temp temp directory.

16 years agoAdd build and install targets to Makefile.
Joey Hess [Sun, 4 May 2008 18:08:20 +0000 (14:08 -0400)]
Add build and install targets to Makefile.

16 years agoUse debhelper v7; rules file minimisation.
Joey Hess [Thu, 24 Apr 2008 06:11:58 +0000 (02:11 -0400)]
Use debhelper v7; rules file minimisation.

16 years agoreleasing version 0.13 0.13
Joey Hess [Sat, 19 Apr 2008 20:53:35 +0000 (16:53 -0400)]
releasing version 0.13

16 years agoMan page typo fix. Closes: #475698
Joey Hess [Sat, 12 Apr 2008 15:46:23 +0000 (11:46 -0400)]
Man page typo fix. Closes: #475698

16 years agoreleasing version 0.12 0.12
Joey Hess [Wed, 2 Apr 2008 17:16:55 +0000 (13:16 -0400)]
releasing version 0.12

16 years agopristine-tar: Fix some bugs when run on an uncompressed tarball.
Joey Hess [Wed, 2 Apr 2008 17:14:43 +0000 (13:14 -0400)]
pristine-tar: Fix some bugs when run on an uncompressed tarball.

16 years agotypo
Joey Hess [Fri, 21 Mar 2008 18:55:23 +0000 (14:55 -0400)]
typo

16 years agoUnset $keep, don't keep temp dirs. Oops. 0.11
Joey Hess [Fri, 21 Mar 2008 18:50:44 +0000 (14:50 -0400)]
Unset $keep, don't keep temp dirs. Oops.

16 years agoreleasing version 0.10 0.10
Joey Hess [Mon, 10 Mar 2008 19:57:40 +0000 (15:57 -0400)]
releasing version 0.10

16 years agoclose bug, the other part I decided not to do
Joey Hess [Mon, 11 Feb 2008 17:45:09 +0000 (12:45 -0500)]
close bug, the other part I decided not to do

16 years ago* pristine-tar: Add -m option to specify a commit message.
Joey Hess [Mon, 11 Feb 2008 17:05:00 +0000 (12:05 -0500)]
* pristine-tar: Add -m option to specify a commit message.

16 years agoreleasing version 0.9 0.9
Joey Hess [Wed, 6 Feb 2008 19:32:56 +0000 (14:32 -0500)]
releasing version 0.9

16 years agorefactor
Joey Hess [Wed, 6 Feb 2008 18:40:09 +0000 (13:40 -0500)]
refactor

16 years ago* Send all debug and verbose prints to stderr, reserving stdout for
Joey Hess [Wed, 6 Feb 2008 18:37:59 +0000 (13:37 -0500)]
* Send all debug and verbose prints to stderr, reserving stdout for
  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.

16 years ago* Prefer to commit to the ref that exactly matches what is specified at the
Joey Hess [Tue, 5 Feb 2008 18:16:00 +0000 (13:16 -0500)]
* Prefer to commit to the ref that exactly matches what is specified at the
  command line.

16 years agochangelog
Joey Hess [Tue, 5 Feb 2008 17:54:48 +0000 (12:54 -0500)]
changelog

16 years agorefactor git branch code
Joey Hess [Tue, 5 Feb 2008 17:53:41 +0000 (12:53 -0500)]
refactor git branch code

16 years agoAdd smart pristine-tar branching for commits.
Cyril Brulebois [Tue, 5 Feb 2008 03:26:59 +0000 (04:26 +0100)]
Add smart pristine-tar branching for commits.

Operation “commit” will now:
 - Use the local pristine-tar branch if there's one.
 - Otherwise branch (and track) a remote pristine-tar branch if there's
   a single one.
 - Otherwise fail, suggesting running “git branch --track” on the
   appropriate remote branch.

16 years agoreleasing version 0.8 0.8
Joey Hess [Sat, 2 Feb 2008 22:29:30 +0000 (17:29 -0500)]
releasing version 0.8

16 years agotypo
Joey Hess [Sat, 2 Feb 2008 18:16:36 +0000 (13:16 -0500)]
typo

16 years agofix type extraction
Joey Hess [Sat, 2 Feb 2008 18:11:16 +0000 (13:11 -0500)]
fix type extraction

16 years agobump standards-version
Joey Hess [Sat, 2 Feb 2008 18:09:26 +0000 (13:09 -0500)]
bump standards-version

16 years agobz2 changes
Joey Hess [Sat, 2 Feb 2008 18:07:44 +0000 (13:07 -0500)]
bz2 changes

change bz2 format -- type is "bz2" and the wrapper is just "wrapper" --
pristine-tar will look at the wrapper type to dispatch the right program

also, compacted the code to generate wrappers somewhat, avoid reopening the
file

16 years ago* Recommends bzip2 and pbzip2, which both might be needed when dealing
Joey Hess [Sat, 2 Feb 2008 17:53:26 +0000 (12:53 -0500)]
* Recommends bzip2 and pbzip2, which both might be needed when dealing
  with bz2 files due to differences in their output.

16 years agogo ahead and use the supported_bzip2_programs in the test
Joey Hess [Sat, 2 Feb 2008 17:53:22 +0000 (12:53 -0500)]
go ahead and use the supported_bzip2_programs in the test

16 years agochangelog
Joey Hess [Sat, 2 Feb 2008 17:49:31 +0000 (12:49 -0500)]
changelog

16 years agoMerge branch 'bzip2-support' of git://git.debian.org/git/users/kibi-guest/pristine-tar
Joey Hess [Sat, 2 Feb 2008 17:47:06 +0000 (12:47 -0500)]
Merge branch 'bzip2-support' of git://git.debian.org/git/users/kibi-guest/pristine-tar

16 years agoAdd myself to the copyright file.
Cyril Brulebois [Sat, 2 Feb 2008 04:54:07 +0000 (05:54 +0100)]
Add myself to the copyright file.

16 years agoAvoid extra copy, move, removal.
Cyril Brulebois [Sat, 2 Feb 2008 04:51:18 +0000 (05:51 +0100)]
Avoid extra copy, move, removal.

16 years agoFix security hole: check $program is a supported one.
Cyril Brulebois [Sat, 2 Feb 2008 04:45:45 +0000 (05:45 +0100)]
Fix security hole: check $program is a supported one.

16 years agotypo
Joey Hess [Sat, 2 Feb 2008 04:22:25 +0000 (23:22 -0500)]
typo

16 years agoAdapt build system for pristine-bz2.
Cyril Brulebois [Sat, 2 Feb 2008 03:08:12 +0000 (03:08 +0000)]
Adapt build system for pristine-bz2.

16 years agoUpdate TODO and delta-format.txt for bzip2.
Cyril Brulebois [Sat, 2 Feb 2008 03:05:57 +0000 (03:05 +0000)]
Update TODO and delta-format.txt for bzip2.

16 years agoBranch pristine-bz2 from pristine-gz, and adapt to bzip2's case.
Cyril Brulebois [Fri, 1 Feb 2008 17:41:14 +0000 (18:41 +0100)]
Branch pristine-bz2 from pristine-gz, and adapt to bzip2's case.

16 years agoAdd bz2 detection, spawn pristine-bz2 when needed.
Cyril Brulebois [Fri, 1 Feb 2008 23:35:07 +0000 (23:35 +0000)]
Add bz2 detection, spawn pristine-bz2 when needed.

16 years ago* If a tarball contains files all in one subdirectory, and the source
Joey Hess [Sat, 2 Feb 2008 03:40:09 +0000 (22:40 -0500)]
* If a tarball contains files all in one subdirectory, and the source
  tree it's being generates from already has that subdirectory, don't
  try to create the subdir, which would fail. OTOH, if the subdirectory
  isn't there, proceed with creating it as before.

16 years agoreleasing version 0.7 0.7
Joey Hess [Sat, 2 Feb 2008 03:13:33 +0000 (22:13 -0500)]
releasing version 0.7

16 years ago* Add a newline to the .id files committed to git.
Joey Hess [Sat, 2 Feb 2008 03:13:01 +0000 (22:13 -0500)]
* Add a newline to the .id files committed to git.

16 years ago* Improve/fix handling when there is no local pristine-tar branch.
Joey Hess [Sat, 2 Feb 2008 03:11:59 +0000 (22:11 -0500)]
* Improve/fix handling when there is no local pristine-tar branch.

16 years agoreleasing version 0.6 0.6
Joey Hess [Sat, 2 Feb 2008 02:35:59 +0000 (21:35 -0500)]
releasing version 0.6

16 years agocopyright update, changelog type fix
Joey Hess [Fri, 1 Feb 2008 19:15:58 +0000 (14:15 -0500)]
copyright update, changelog type fix

16 years agotypo
Joey Hess [Fri, 1 Feb 2008 19:05:30 +0000 (14:05 -0500)]
typo

16 years agoadd note about branch
Joey Hess [Fri, 1 Feb 2008 19:05:09 +0000 (14:05 -0500)]
add note about branch

16 years agoimprove handling of upstream pristine-tar branch
Joey Hess [Fri, 1 Feb 2008 18:56:41 +0000 (13:56 -0500)]
improve handling of upstream pristine-tar branch

16 years agoExit with an explicit error when checkout'ing if pristine-tar doesn't exist.
Cyril Brulebois [Fri, 1 Feb 2008 13:28:50 +0000 (14:28 +0100)]
Exit with an explicit error when checkout'ing if pristine-tar doesn't exist.

16 years ago* Improve search for upstream branch. Default to looking for first
Joey Hess [Fri, 1 Feb 2008 18:35:08 +0000 (13:35 -0500)]
* Improve search for upstream branch. Default to looking for first
  refs/heads/upstream, and failing that, anything with "upstream" in its
  name. This way if there is a local upstream branch and a remote one, it
  will use the local one. If there's only a remote one, it'll use that.
  Closes: #463566

16 years agoadd debug message
Joey Hess [Fri, 1 Feb 2008 04:14:13 +0000 (23:14 -0500)]
add debug message

16 years agoreleasing version 0.5 0.5
Joey Hess [Fri, 1 Feb 2008 02:55:09 +0000 (21:55 -0500)]
releasing version 0.5

16 years agoremove debug code
Joey Hess [Fri, 1 Feb 2008 02:24:03 +0000 (21:24 -0500)]
remove debug code

16 years agoonly turn on create_missing in commit/checkout
Joey Hess [Fri, 1 Feb 2008 02:17:15 +0000 (21:17 -0500)]
only turn on create_missing in commit/checkout

16 years agoimplemented checkout subcommand
Joey Hess [Fri, 1 Feb 2008 02:09:15 +0000 (21:09 -0500)]
implemented checkout subcommand

16 years agoadded support for injecting deltas into git
Joey Hess [Fri, 1 Feb 2008 01:39:59 +0000 (20:39 -0500)]
added support for injecting deltas into git

16 years agocorrect version number
Joey Hess [Thu, 31 Jan 2008 21:23:48 +0000 (16:23 -0500)]
correct version number

16 years ago* Fix paranoia check in pristine-gz to correctly handle parameters
Joey Hess [Thu, 31 Jan 2008 19:41:39 +0000 (14:41 -0500)]
* Fix paranoia check in pristine-gz to correctly handle parameters
  that take an option.

16 years agoMoved (c) to proper © symbols.
Cyril Brulebois [Wed, 30 Jan 2008 16:15:04 +0000 (17:15 +0100)]
Moved (c) to proper © symbols.

16 years agoAdded a Vcs-Browser field.
Cyril Brulebois [Wed, 30 Jan 2008 16:14:19 +0000 (17:14 +0100)]
Added a Vcs-Browser field.

16 years agoReally moved to git.
Cyril Brulebois [Wed, 30 Jan 2008 15:04:52 +0000 (16:04 +0100)]
Really moved to git.

16 years ago* Moved to git.
Joey Hess [Sat, 24 Nov 2007 23:29:17 +0000 (18:29 -0500)]
* Moved to git.

16 years agotagging version 0.4
joeyh [Sat, 24 Nov 2007 21:47:45 +0000 (21:47 +0000)]
tagging version 0.4

16 years agoreleasing version 0.4 0.4
joeyh [Sat, 24 Nov 2007 21:47:41 +0000 (21:47 +0000)]
releasing version 0.4