package: devscripts
version: 2.19.5
severity: important
When using multiple tarballs, repacksuffix is not added to the
component tarballs and dpkg-source -b . cannot find the components. So
we have to rename it manually.
../node-lodash_4.17.11.orig-lodash-cli.tar.gz was created instead of
../node-lodash_4.17.11+dfsg.orig-lodash-cli.tar.gz
pravi@andhaka:~/forge/debian/git/js-team/node-lodash$ cat debian/watch
version=4
opts=\
repacksuffix=+dfsg,\
repack,\
filenamemangle=s/.*?v?(@ANY_VERSION@@ARCHIVE_EXT@)/@PACKAGE@-$1/,\
dversionmangle=auto \
https://github.com/lodash/lodash/tags .*/archive/v?(\d[\d\.]*).tar.gz
debian
opts="searchmode=plain,pgpmode=none,component=lodash-cli" \
https://registry.npmjs.org/lodash-cli \
https://registry.npmjs.org/lodash-cli/-/lodash-cli-(4.[\d\.]*)@ARCHIVE_EXT@
ignore
$ uscan -dd
Successfully repacked ../node-lodash-4.17.11.tar.gz as
../node-lodash_4.17.11.orig.tar.xz.
uscan: Newest version of node-lodash on remote site is 4.17.5, ignore
local version
Leaving ../node-lodash_4.17.11.orig-lodash-cli.tar.gz where it is.