Bug#463352: pristine-tar: Please include empty directory info in deltas

2008-01-31 Thread Pierre Habouzit
On Thu, Jan 31, 2008 at 11:07:51PM +, Joey Hess wrote: > Cyril Brulebois wrote: > > since the second argument of commit would be a treeish, is that correct? > > Yes. > > (Although it looks like it won't be able to use the tarball created by > git-archive directly, since git-archive does not p

Bug#463352: pristine-tar: Please include empty directory info in deltas

2008-01-31 Thread Joey Hess
Cyril Brulebois wrote: > since the second argument of commit would be a treeish, is that correct? Yes. (Although it looks like it won't be able to use the tarball created by git-archive directly, since git-archive does not provide a way to order the files correctly. Also since I don't want to rel

Bug#463352: pristine-tar: Please include empty directory info in deltas

2008-01-31 Thread Cyril Brulebois
On 31/01/2008, Joey Hess wrote: > I've been considering adding support to pristine-tar for checking > deltas in and out of git directly. Ah, nice. > This provides a nice simple interface, and a uniform location for > where to keep the deltas. > > Interface would be something like this: > > pris

Bug#463352: pristine-tar: Please include empty directory info in deltas

2008-01-31 Thread Joey Hess
Cyril Brulebois wrote: > as you probably know, git is a content tracker, and (at the moment at > least) it completely ignores empty directories. Unfortunately, some > upstream tend to ship tarballs containing empty directories, which lead > to such problems while trying to re-use the delta generate

Bug#463352: pristine-tar: Please include empty directory info in deltas

2008-01-31 Thread Joey Hess
Cyril Brulebois wrote: > On 31/01/2008, Joey Hess wrote: > > My guess is that could be fixed as follows. If not, the bit in parens > > after the error message should tell more. > > It's not fixed. > > Error messages for the testsuite run: > | paranoia check failed on params file from delta (-n --

Bug#463352: pristine-tar: Please include empty directory info in deltas

2008-01-31 Thread Cyril Brulebois
On 31/01/2008, Joey Hess wrote: > My guess is that could be fixed as follows. Err, indeed, thanks. -- Cyril Brulebois pgpPFAuGbdVL0.pgp Description: PGP signature

Bug#463352: pristine-tar: Please include empty directory info in deltas

2008-01-31 Thread Cyril Brulebois
On 31/01/2008, Joey Hess wrote: > My guess is that could be fixed as follows. If not, the bit in parens > after the error message should tell more. It's not fixed. Error messages for the testsuite run: | paranoia check failed on params file from delta (-n --osflag 0) at /usr/bin/pristine-gz line

Bug#463352: pristine-tar: Please include empty directory info in deltas

2008-01-31 Thread Joey Hess
Cyril Brulebois wrote: > I didn't check yet why (remember, I'm very new to pristine-tar) but the > 5 above trigger: “paranoia check failed on params file from delta”. I'll > check that later. My guess is that could be fixed as follows. If not, the bit in parens after the error message should tell

Bug#463352: pristine-tar: Please include empty directory info in deltas

2008-01-31 Thread Cyril Brulebois
Cyril Brulebois <[EMAIL PROTECTED]> (31/01/2008): > Without having to modify the current format, one might want > pristine-tar to assume that all missing files are empty directories, > first patch. But one might want that only when an option is passed, > second patch. I've written a tiny testsuite

Bug#463352: pristine-tar: Please include empty directory info in deltas

2008-01-30 Thread Cyril Brulebois
Cyril Brulebois <[EMAIL PROTECTED]> (31/01/2008): > I guess the documentation could be adapted (as well as error messages) > to suggest the use of this option when gentar breaks the way I > mentioned in my original mail. Too late to git-commit --amend the second patch, but the SYNOPSIS needs an up

Bug#463352: pristine-tar: Please include empty directory info in deltas

2008-01-30 Thread Cyril Brulebois
tag 463352 patch thanks Cyril Brulebois <[EMAIL PROTECTED]> (31/01/2008): > - modify the format of deltas so as to support empty directories >there. Already-existing trees (upstream branches, and their tags) >wouldn't have to be modified, it would just be needed (if there are >some di

Bug#463352: pristine-tar: Please include empty directory info in deltas

2008-01-30 Thread Cyril Brulebois
Package: pristine-tar Version: 0.4 Severity: wishlist Hi, as you probably know, git is a content tracker, and (at the moment at least) it completely ignores empty directories. Unfortunately, some upstream tend to ship tarballs containing empty directories, which lead to such problems while trying