[Pkg-javascript-devel] Bug#935824: Bug#935824: add an option to choose git tarballs instead of npm registry tarballs in add-node-components

Xavier yadd at debian.org
Mon Aug 26 17:32:15 BST 2019


Le 26/08/2019 à 18:19, Pirate Praveen a écrit :
> Package: pkg-js-tools
> Severity: wishlist
> 
> When we have to add a module with generated files, git tarballs is
> better suited. I think -g option can be added for it.

Yes, pkg-js-tools laready choose git when npmjs version exists in tags,
else it fallbacks to npm registry (DD has to fill an issue to upstream
to ask for tags). Same behavior than npm2deb.

NB: debcheck-node-repo (which is launched automatically with
`lintian --profile pkg-js-extra`) verifies that and propose to switch to
git tag if tags are OK

If we force to use git tags, we may have an outdated version of
component. That's why I choose this algorithm.

Cheers,
Xavier



More information about the Pkg-javascript-devel mailing list