On Fri, Jul 29, 2011 at 05:36:22PM +0200, Chris Butler wrote:
> Package: git-buildpackage
> Version: 0.5.26
> Severity: normal
> 
> When running "git-import-orig --uscan", with a watch file that specifies a
> repacking script, then git-import-orig will import the wrong file (it
> imports the original and not the repacked archive).
> 
> An example is the libpostscript-file-perl package[1], which includes the
> following watch file:
> 
> version=3
> opts="dversionmangle=s/\+dfsg//" \
>         http://search.cpan.org/dist/PostScript-File/ \
>         .*/PostScript-File-v?(\d[\d.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip) \
>         debian sh debian/repack.stub
> 
> 
> The "repack.stub" script repacks the tarball to remove some non-DFSG-free
> files, and renames the tarball to 
> libpostscript-file-perl_2.10+dfsg.orig.tar.gz.
> 
> Unfortunately, looking at the code I can't see an easy way of getting the
> filename of the repacked tarball, unless we define a standard way for
> repacking scripts to output the new filename. Or perhaps we should look at
> adding "native" repacking support to uscan?

I don't have a nice idea to fetch the filename either. An alternative
would be to use git-import-orig's repacking via the --filter-option
which is available since 0.5.27. I wonder if this is rather a uscan
issue not allowing us to fetch the right tarball?
Cheers,
 -- Guido

> 
> 1. git://git.debian.org/pkg-perl/packages/libpostscript-file-perl.git
> 
> -- System Information:
> Debian Release: wheezy/sid
>   APT prefers testing
>   APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 2.6.38-2-amd64 (SMP w/2 CPU cores)
> Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: 
> LC_ALL set to en_GB.UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 
> Versions of packages git-buildpackage depends on:
> ii  devscripts                   2.11.0      scripts to make the life of a 
> Debi
> ii  git [git-core]               1:1.7.5.4-1 fast, scalable, distributed 
> revisi
> ii  git-core                     1:1.7.5.4-1 fast, scalable, distributed 
> revisi
> ii  python                       2.6.6-14    interactive high-level 
> object-orie
> ii  python-dateutil              1.4.1-3     powerful extensions to the 
> standar
> ii  python-support               1.0.14      automated rebuilding support for 
> P
> 
> Versions of packages git-buildpackage recommends:
> ii  cowbuilder                    0.63       pbuilder running on cowdancer
> ii  pristine-tar                  1.13       regenerate pristine tarballs
> 
> Versions of packages git-buildpackage suggests:
> pn  git-load-dirs                 <none>     (no description available)
> ii  python-notify                 0.1.1-2+b3 Python bindings for libnotify
> 
> -- Configuration Files:
> /etc/git-buildpackage/gbp.conf changed [not included]
> 
> -- no debconf information
> 
> -- 
> Chris Butler <chr...@debian.org>
>   GnuPG Key ID: 4096R/49E3ACD3
> 
> 



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to