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

2017-07-16 Thread Shanavas


On July 16, 2017 7:54:03 PM GMT+03:00, Pirate Praveen  
wrote:
>Control: severity -1 grave from wishlist
>
>This is a regression introduced in 0.2.7, previous versions did not
>have
>this behavior. 

Yes, the idea was to include all files that npm includes in tarball.

> I think only *.js and *.json files should be included by
>default.

Thats not enough. Executables mostly doesn't have an extension. *.js does 
include build configuration files.

Excluding a set of specific files would be better
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Bug#867295: npm2deb: please automatically exclude certain files from debian/install

2017-07-16 Thread Pirate Praveen
Control: severity -1 grave

On Wed, 05 Jul 2017 17:12:32 +0200 Johannes Schauer 
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.



signature.asc
Description: OpenPGP digital signature


Bug#867295: npm2deb: please automatically exclude certain files from debian/install

2017-07-05 Thread Johannes Schauer
Package: npm2deb
Version: 0.2.7-1
Severity: wishlist

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.