Control: tags -1 - moreinfo Hi Xavier,
On Mon, Mar 09, 2020 at 09:42:37PM +0100, Xavier wrote: > I'm unable to reproduce this bug: Yes, it looks like two things happened: - first, I got confused and gave you a watch file that did *not* exhibit the bug, instead of my package's original d/watch ; - second, when I looked at the bug since, I couldn't reproduce either... because the watch file was pointed at git.vuxu.org, which implemented git's “smart” HTTP transport since. Sorry for the super-slow reply, it took be a good while to realise what happened So, here is a script that's a reproducing testcase; it relies on having a copy of the xe repo (git.vuxu.org/xe) on a “dumb” HTTP remote, here just https://nicolas.braud-santoni.eu/tmp/xe.bare This is the output I get from it here: $ git clone https://salsa.debian.org/Debian/xe.git Cloning into 'xe'... remote: Enumerating objects: 642, done. remote: Counting objects: 100% (642/642), done. remote: Compressing objects: 100% (277/277), done. remote: Total 642 (delta 374), reused 616 (delta 355), pack-reused 0 Receiving objects: 100% (642/642), 136.34 KiB | 293.00 KiB/s, done. Resolving deltas: 100% (374/374), done. $ cd xe $ sed -i s,git\.vuxu\.org/xe/,nicolas.braud-santoni.eu/tmp/xe.bare/, debian/watch $ cat debian/watch version=4 opts="mode=git, pgpmode=gittag" \ https://nicolas.braud-santoni.eu/tmp/xe.bare/ refs/tags/v(\d\S+) $ uscan --force-download -v uscan info: uscan (version 2.20.5) See uscan(1) for help uscan info: Scan watch files in . uscan info: Check debian/watch and debian/changelog in . uscan info: package="xe" version="0.11-5" (as seen in debian/changelog) uscan info: package="xe" version="0.11" (no epoch/revision) uscan info: ./debian/changelog sets package="xe" version="0.11" uscan info: Found upstream signing keyring: debian/upstream/signing-key.asc uscan info: Process watch file at: debian/watch package = xe version = 0.11 pkg_dir = . uscan info: opts: mode=git, pgpmode=gittag uscan info: line: https://nicolas.braud-santoni.eu/tmp/xe.bare/ refs/tags/v(\d\S+) uscan info: Parsing mode=git uscan info: Parsing pgpmode=gittag uscan info: line: https://nicolas.braud-santoni.eu/tmp/xe.bare/ refs/tags/v(\d\S+) uscan info: Last orig.tar.* tarball version (from debian/changelog): 0.11 uscan info: Last orig.tar.* tarball version (dversionmangled): 0.11 uscan info: Execute: git ls-remote https://nicolas.braud-santoni.eu/tmp/xe.bare/ uscan info: Found the following matching refs: refs/tags/v0.11 (0.11) refs/tags/v0.10 (0.10) refs/tags/v0.9 (0.9) refs/tags/v0.8 (0.8) refs/tags/v0.7.0 (0.7.0) refs/tags/v0.6.1 (0.6.1) refs/tags/v0.6 (0.6) refs/tags/v0.5 (0.5) refs/tags/v0.4 (0.4) refs/tags/v0.3 (0.3) refs/tags/v0.2 (0.2) refs/tags/v0.1 (0.1) HEAD () refs/heads/debian/sid () refs/heads/pristine-tar () refs/heads/upstream () refs/heads/v0.11-5 () refs/tags/debian/0.11-2 () refs/tags/debian/0.11-3 () refs/tags/debian/0.11-4 () refs/tags/debian/0.11-5 () refs/tags/debian/v0.10-1 () refs/tags/debian/v0.11-1 () uscan info: Looking at $base = https://nicolas.braud-santoni.eu/tmp/xe.bare/ with $filepattern = refs/tags/v(\d\S+) found $newfile = refs/tags/v0.11 $newversion = 0.11 $lastversion = 0.11 uscan info: Upstream URL(+tag) to download is identified as https://nicolas.braud-santoni.eu/tmp/xe.bare/ refs/tags/v0.11 uscan info: Filename (filenamemangled) for downloaded file: xe-0.11.tar.xz uscan info: Newest version of xe on remote site is 0.11, local version is 0.11 uscan info: => Package is up to date from: => https://nicolas.braud-santoni.eu/tmp/xe.bare/ refs/tags/v0.11 uscan info: => Forcing download as requested uscan info: Downloading upstream package: xe-0.11.tar.xz Cloning into bare repository '../xe-temporary.21614.git'... fatal: dumb http transport does not support shallow capabilities uscan error: Command failed (git clone --bare --depth=1 -b v0.11 https://nicolas.braud-santoni.eu/tmp/xe.bare/ ../xe-temporary.21614.git) $ rm -rf /tmp/tmp.FFg74iljuz
test.sh
Description: Bourne shell script
signature.asc
Description: PGP signature