[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#923589: lintian: Add check to complain about <project> filename in debian/watch



* Chris Lamb:

> Is this not sufficiently caught by:
>
>   https://lintian.debian.org/tags/debian-watch-contains-dh_make-template.html

Please consider the watch file from kido/0.1.0+dfsg-6:

,----
| version=3
| opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/<project>-$1\.tar\.gz/,dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$// \
| https://github.com/dartsim/dart/tags .*/kido-(\d\S*)\.tar\.gz
`----

As far as I can tell, uscan in its default configuration would downlkoad
a new upstream tarball for version 0.1.1 to a file which it will call
literally "<project>-0.1.1.tar.gz" and then would create a symlink
kido_0.1.1.orig.tar.gz pointing to that file.

Cheers,
-Hilko


Reply to: