lp:ubuntu/lucid/pristine-tar

Created by James Westby and last modified
Get this branch:
bzr branch lp:ubuntu/lucid/pristine-tar
Members of Ubuntu branches can upload to this branch. Log in for directions.

Related bugs

Related blueprints

Branch information

Owner:
Ubuntu branches
Review team:
Ubuntu Development Team
Status:
Development

Recent revisions

6. By Joey Hess <email address hidden>

* 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,
  Ricoh-Aficio_2020D-Postscript.ppd.gz, and dozens on others
  that zgz can closely replicate. Closes: #518972, #506874
* For other things the deltas are not as small.
  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.
* pristine-tar: Avoid dying in corner case involving tar's filename
  encoding. Fixes several failures.
* pristine-tar: Avoid dying if tar tv exits nonzero. This makes
  reproducing star's tarball work, even though tar gets upset
  while listing it and decides to die at the end.
* pristine-gz: Avoid passing -F to zgz if --original-name
  is passed. This bug prevented pristine-gz gengz from
  recreating the gz in some cases.
* Add aliases ci and co for commit and checkout. Closes: #500388
* pristine-gz: Fix generation of gz files that have a null filename field.
* pristine-tar: Fix behavior in the corner case where the tarball
  puts all files in a subdir, but does not contain the subdir's directory
  entry.

Stats: Successfully generates deltas for all 14446 tarballs in the
Debian archive. Mean delta size: 19K Median: 2.6K Mode: 1.5K

5. By Joey Hess <email address hidden>

Add support for GIT_DIR. Closes: #512619

4. By Joey Hess <email address hidden>

Correct -f order to come after --gnu.

3. By Joey Hess <email address hidden>

* If a tarball contains files all in one subdirectory, and the source
  tree it's being generated 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.
* Add support for bz2 files (Cyril Brulebois)
* Recommends bzip2 and pbzip2, which both might be needed when dealing
  with bz2 files due to differences in their output.

2. By Joey Hess <email address hidden>

* Allow the delta file to be read or written from stdio.
* Fix man page synopses formatting.

1. By Joey Hess <email address hidden>

* pristine-tar sometimes got confused about tarballs that did not unpack
  all files into a subdir. Fixes sear-media and 30 others.
* tar was confused by files starting with ./ or / in the manifest, so
  strip it out. Fixes erlang-doc-html and 19 others, including doc-fdc,
  which is the only package to have files in / in its tarball.
* Some tarballs put files in a subdir, but don't show a "/" after the subdir
  name in a manifest. Stop relying on that. (example: streamtuner)

Current stats: Out of the whole debian archive, pristine-gz fails
on 132 files, and pristine-tar fails on 0. Success with 98.97% of
files.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:ubuntu/maverick/pristine-tar
This branch contains Public information 
Everyone can see this information.

Subscribers