Bug#814049: /usr/bin/uscan: uscan gives invalid example in manpage for github tags

Adam D. Barratt adam at adam-barratt.org.uk
Sun Feb 7 23:00:40 UTC 2016


On Sun, 2016-02-07 at 23:41 +0100, Ximin Luo wrote:
> In uscan's manpage, it gives this example for github tags:
> 
>          version=4
>          opts="filenamemangle="s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%<project>-$1.tar.gz%" \
>              https://github.com/<user>/<project>/tags \
>              (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate
> 
> However when I actually use it:
[...]
> uscan warn: In debian/watch, potentially unsafe or malformed filenamemangle pattern:
>   '"s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%baka-mplayer-$1.tar.gz%' found. Skipping watchline
>   https://github.com/u8sand/Baka-MPlayer/tags (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate
> 1

There are (fairly clearly from visual inspection) too many quotes - the
ones surrounding the opts argument are correct, but there's an extra
incorrect one at the start of the mangle pattern.

Regards,

Adam



More information about the devscripts-devel mailing list