#978626 uscan: matches more files than specified

Package:
devscripts
Source:
devscripts
Description:
scripts to make the life of a Debian Package maintainer easier
Submitter:
Pirate Praveen
Date:
2020-12-29 11:39:06 UTC
Severity:
normal
#978626#5
Date:
2020-12-29 11:32:41 UTC
From:
To:
Example package to reproduce this issue: node-rollup-plugin-node-resolve

This package is a monoropo and included multiple node modules in a
single git repo, but we only want to include a single directory in the
orig.tar.

I added the following lines to debian/copyright,

Files-Excluded: *
Files-Included: packages/node-resolve shared util

expecting only util and shared in the root directory to be included.

https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/#files-field

say  Thus, “Makefile.in” matches only the file at the root of the
tree, but “*/Makefile.in” matches at any depth.

But packages/babel/src/utils.js and many more were included.

#978626#10
Date:
2020-12-29 11:37:31 UTC
From:
To:
lintian reports these errors, so it looks like a bug in
mk-origtargz/uscan

E: node-rollup-plugin-node-resolve source:
source-includes-file-in-files-excluded util/test.js