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 _______________________________________________ devscripts-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel
