Bug#692401: git-import-orig: option to suppress orig.tar.* symlink

2012-11-07 Thread Russ Allbery
Guido Günther writes: > Understood. Since we ever only care about the basename I can just change > the code to create the symlink in a tempdir and remove it afterwards so > it never shows up. That would be perfect for me. Thanks! (I don't mind if it's an option, to mention; some people may wan

Bug#692401: git-import-orig: option to suppress orig.tar.* symlink

2012-11-07 Thread Guido Günther
On Wed, Nov 07, 2012 at 01:52:09PM -0800, Russ Allbery wrote: > Guido Günther writes: > > On Wed, Nov 07, 2012 at 12:36:37PM -0800, Russ Allbery wrote: > > >> The original tarball is foo-.tar.xz, so the symlink is > >> probably needed for the pristine-tar import so that the file name is > >> corr

Bug#692401: git-import-orig: option to suppress orig.tar.* symlink

2012-11-07 Thread Russ Allbery
Guido Günther writes: > On Wed, Nov 07, 2012 at 12:36:37PM -0800, Russ Allbery wrote: >> The original tarball is foo-.tar.xz, so the symlink is >> probably needed for the pristine-tar import so that the file name is >> correct (assuming that pristine-tar doesn't have a way of setting the >> file

Bug#692401: git-import-orig: option to suppress orig.tar.* symlink

2012-11-07 Thread Guido Günther
On Wed, Nov 07, 2012 at 12:36:37PM -0800, Russ Allbery wrote: > Guido Günther writes: > > > It only does so if the basename of the to be created symlink differs > > from the basename of the orig tarball since it's only purpose is to feed > > the right name to pristine-tar. So if wonder if the sym

Bug#692401: git-import-orig: option to suppress orig.tar.* symlink

2012-11-07 Thread Russ Allbery
Guido Günther writes: > It only does so if the basename of the to be created symlink differs > from the basename of the orig tarball since it's only purpose is to feed > the right name to pristine-tar. So if wonder if the symlink is really > created by git-import-orig? Could you provide a testcas

Bug#692401: git-import-orig: option to suppress orig.tar.* symlink

2012-11-07 Thread Guido Günther
Hi Russ, On Mon, Nov 05, 2012 at 11:16:53AM -0800, Russ Allbery wrote: > Package: git-buildpackage > Version: 0.6.0~git20120822 > Severity: wishlist > > git-import-orig currently always creates a symlink in the parent directory > of the Git repository for the _orig.tar.* name of the upstream tarba

Bug#692401: git-import-orig: option to suppress orig.tar.* symlink

2012-11-05 Thread Russ Allbery
Package: git-buildpackage Version: 0.6.0~git20120822 Severity: wishlist git-import-orig currently always creates a symlink in the parent directory of the Git repository for the _orig.tar.* name of the upstream tarball when importing a new upstream. However, since I use pristine-tar and use ../bui