Package: git-buildpackage
Version: 0.6.15
Severity: normal
File: /usr/bin/git-import-orig

$ git-import-orig --verbose --uscan
gbp:info: Launching uscan...
gbp:error: Couldn't find tarball at '../v1.06'
$ cat debian/watch 
version=3
opts="downloadurlmangle=s/shortlog/snapshot/,filenamemangle=s/^.*h=refs\/tags\/v?(\d.*)/lpctools_$1.orig.tar.gz/"
 \
http://git.techno-innov.fr/?p=lpctools;a=tags .*;a=shortlog;h=refs/tags/v?(\d.*)
$ uscan --dehs
<dehs>
<package>lpctools</package>
<debian-uversion>1.05</debian-uversion>
<debian-mangled-uversion>1.05</debian-mangled-uversion>
<upstream-version>1.06</upstream-version>
<upstream-url>http://git.techno-innov.fr/?p=lpctools;a=snapshot;h=refs/tags/v1.06</upstream-url>
</dehs>

It would be better to rely on the fact that we have
../<package>_<upstream-version>.orig.tar.* because uscan creates the
appropriate symlink.

Whenever filenamemangle is used, git-import-orig will fail to use the
correct file.

At least it would be nice to try the official names as fallback when
the guessed name didn't work out. Even better would be for uscan to report
back the filename it would use...

Cheers,

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages git-buildpackage depends on:
ii  devscripts            2.14.5
ii  git                   1:2.0.1-1
ii  man-db                2.6.7.1-1
ii  python                2.7.6-2
ii  python-dateutil       1.5+dfsg-1
ii  python-pkg-resources  5.3-1

Versions of packages git-buildpackage recommends:
ii  cowbuilder    0.73
ii  pristine-tar  1.32

Versions of packages git-buildpackage suggests:
ii  python-notify  0.1.1-3
ii  unzip          6.0-12

-- no debconf information


-- 
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