On Wed, Jul 09, 2014 at 03:21:45PM +0200, Raphaël Hertzog wrote: > 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.
We do that and look for ../%(package)s_%(upstream-version)s.orig.tar%(ext)s" and the root cause is the last part not being the right extension. (the error you're seeing is only from the fallback to the upstream URL). The best solution would be if uscan would put out the full path to the generated tarball so we'd wouldn't need to do any guessing. I'll try to take this to the uscan maintainers once I have some time for Debian again (which might not be in the near future). Cheers, -- Guido -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org