[Pkg-javascript-devel] Bug#867295: npm2deb: please automatically exclude certain files from debian/install

Pirate Praveen praveen at debian.org
Sun Jul 16 16:54:03 UTC 2017


Control: severity -1 grave

On Wed, 05 Jul 2017 17:12:32 +0200 Johannes Schauer <josch at debian.org>
wrote:
> Currently, npm2deb puts lots of files into debian/install including
> files which definitely do not belong into /usr/lib/nodejs/*/ like:
> 
> Hidden files like .travis.yml, .gitattribute, .npmignore, .jshintrc as
> well as files that clearly belong to /usr/share/doc/*/ like
> changelog.md, license.md or readme.md. Also certain buildsystem specific
> files could be excluded like gulpfile.js, karma.conf.js, Gruntfile.js or
> bower.json.
> 
> There are probably many more files that always have the same name but
> should never be shipped inside /usr/share/doc/*/ or at all.
> 
> 

This is a regression introduced in 0.2.7, previous versions did not have
this behavior. I think only *.js and *.json files should be included by
default.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 862 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20170716/31ae33ba/attachment.sig>


More information about the Pkg-javascript-devel mailing list