Package: devscripts
Version: 2.20.5

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.

Reply via email to