Package: devscripts
Version: 2.23.4
Severity: minor
Devscripts Maintainers,
The uscan(1) github.com example is:
version=4
opts="filenamemangle=s%(?:.*?)?v?@ANY_VERSION@(@ARCHIVE_EXT@)%@PACKAGE@-$1$2%" \
https://github.com/<user>/<project>/tags \
(?:.*?/)?v?@ANY_VERSION@@ARCHIVE_EXT@
The beginning of the pattern, which will be discarded, is:
(?:.*?)?v?
It should be simplified to:
.*?
or made to correspond to the matching pattern:
(?:.*?/)?v?
Also, the debian/watch wiki:
https://wiki.debian.org/debian/watch
seems to be not as good as uscan(1), which is confusing.
Of course, the best solution would be the following:
#1010604 Support commonly used providers like github.com and gitlab.com
within watch file:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010604
Thank you!
Daniel Lewart
Urbana, Illinois