Package: devscripts Version: 2.19.6 Severity: normal Dear Maintainer,
Apparently, uscan cannot download tags with slashes in shallo mode. My watch file looks like this: version=4 opts="mode=git, pgpmode=none, repack, compression=xz, uversionmangle=s/^/0~/" \ https://github.com/JetBrains/intellij-community \ refs/tags/idea/([\d\.]+) Uscan fails with this error: uscan info: Looking at $base = https://github.com/JetBrains/intellij-community with $filepattern = refs/tags/idea/([\d\.]+) found $newfile = refs/tags/idea/183.5153.4 $newversion = 0~183.5153.4 $lastversion = 0~183.5429.1 uscan info: Upstream URL(+tag) to download is identified as https://github.com/JetBrains/intellij-community refs/tags/idea/183.5153.4 uscan info: Filename (filenamemangled) for downloaded file: intellij-community-idea-0~183.5153.4.tar.xz uscan: Newest version of intellij-community-idea on remote site is 0~183.5153.4, specified download version is 0~183.5153.4 uscan info: Downloading upstream package: intellij-community-idea-0~183.5153.4.tar.xz Cloning into bare repository '../intellij-community-idea-temporary.17224.git'... warning: Could not find remote branch 183.5153.4 to clone. fatal: Remote branch 183.5153.4 not found in upstream origin uscan error Command failed (git clone --bare --depth=1 -b 183.5153.4 https://github.com/JetBrains/intellij-community ../intellij-community-idea-temporary.17224.git) The bug, apparently, is in /usr/share/perl5/Devscripts/Uscan/Downloader.pm line 132. Replacing it with $tag =~ s|^refs/tags/||; does the thing here, but it may break something somewhere else, which is why I’m not submitting it as a patch. -- Cheers, Andrej