Control: found -1 2.17.6

Le 13/10/2018 à 12:18, Mattia Rizzolo a écrit :
> Package: devscripts
> Version: 2.18.6
> Severity: important
> User: [email protected]
> Usertas: uscan
> 
> using the watchfile:
> 
> ~~~~~~
> version=4
> 
> # main tarball
> opts="\
> uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)[\-\.]?\d*)$/$1~$2/,
>  \
> dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//, \
> pgpmode=next" \
> https://launchpad.net/inkscape/+download \
> (?:.*/)?inkscape[_\-\.]?(\d\S+)\.(?:tgz|txz|tar\.(?:bz2|gz|z2|xz)) debian
> 
> # find the signature
> opts=pgpmode=previous \
> https://launchpad.net/inkscape/+download \
> (?:.*/)?inkscape[_\-\.]?(\d\S+)\.(?:tgz|txz|tar\.(?:bz2|gz|z2|xz)).(?:asc|pgp|gpg|sig)
>  previous
> ~~~~~
> 
> I get:
> 
> mattia@warren ~/devel/debian/inkscape/inkscape (git)-[master] % uscan --report
> uscan warn: Unable to set versionmode=prev for the line without 
> opts=pgpmode=prev
>   in debian/watch, skipping:
>   https://launchpad.net/inkscape/+download 
> (?:.*/)?inkscape[_\-\.]?(\d\S+)\.(?:tgz|txz|tar\.(?:bz2|gz|z2|xz)).(?:asc|pgp|gpg|sig)
>  previous [Devscripts::Uscan::WatchLine: 773]
> uscan info: Scan finished
> 1 mattia@warren ~/devel/debian/inkscape/inkscape (git)-[master] %
> 
> Note the "Use of uninitialized value" message, and how the second
> WatchLine actually failed to be parsed.
> 
> I think I can nowadays redo this watchfile using pgpmode=auto (wasn't
> there when I wrote this watcfile), but still :)

Hello,

same behavior with 2.17.6 (stable) except $lastversion warning which
comes with 2.18.1. Previous versions not tested due to dependencies.

Reply via email to