Closed zerodeux closed 1 year ago
Hi @zerodeux hope you're doing well.
two things here
But I think I can discuss this internally.
About point 1 : I checked with Node 20.x, the situation is better but I think there are still a few dotfiles left which could be un-released : (source: https://deb.nodesource.com/node_20.x/pool/main/n/nodejs/)
$ dpkg-deb -x ../nodejs_20.3.0-deb-1nodesource1_amd64.deb .
$ find . -path '*/.*'
./usr/lib/node_modules/npm/node_modules/qrcode-terminal/.travis.yml
./usr/lib/node_modules/npm/node_modules/node-gyp/.github
./usr/lib/node_modules/npm/node_modules/node-gyp/.github/workflows
./usr/lib/node_modules/npm/node_modules/node-gyp/.github/workflows/release-please.yml
./usr/lib/node_modules/npm/node_modules/node-gyp/.github/workflows/visual-studio.yml
./usr/lib/node_modules/npm/node_modules/node-gyp/.github/workflows/tests.yml
./usr/lib/node_modules/npm/node_modules/node-gyp/gyp/.flake8
./usr/lib/node_modules/npm/node_modules/node-gyp/gyp/.github
./usr/lib/node_modules/npm/node_modules/node-gyp/gyp/.github/workflows
./usr/lib/node_modules/npm/node_modules/node-gyp/gyp/.github/workflows/release-please.yml
./usr/lib/node_modules/npm/node_modules/node-gyp/gyp/.github/workflows/Python_tests.yml
./usr/lib/node_modules/npm/node_modules/node-gyp/gyp/.github/workflows/node-gyp.yml
./usr/lib/node_modules/npm/node_modules/node-gyp/gyp/.github/workflows/nodejs-windows.yml
./usr/lib/node_modules/npm/node_modules/events/.airtap.yml
./usr/lib/node_modules/npm/.npmrc
Please re-ope this issue in the node repo. We do not add or remove files from the nodejs binaries distributed by https://nodejs.org/, we just package the software as it comes to be distributed with deb and rpm distros. https://github.com/nodejs/node
Describe your bug The 'nodejs' package from Nodesource contains many dotfiles which are :
.gitignore
and.npmignore
have specifically been designed to avoid this release problem, and seems... ignored :)Eg :
Distribution Information:
Node Version:
Expected behavior The Debian 'nodejs' package could exclude un-needed (release-wise) files by properly using
.gitignore
and.npmignore
hints.AFAIK this would only leave this strange file I cannot really classify but looks omitable from a release :