[Pkg-javascript-devel] Basic pkg-js-tools example

Xavier yadd at debian.org
Sat Aug 10 12:18:55 BST 2019


Le 10/08/2019 à 13:06, Utkarsh Gupta a écrit :
> Hey,
> 
> On Wed, Aug 7, 2019 at 1:29 PM Xavier <yadd at debian.org
> <mailto:yadd at debian.org>> wrote:
> 
>     Hi all,
> 
>     for most of node-* packages, you can simplify packaging like this:
>     https://salsa.debian.org/js-team/node-pumpify/commit/416495cd
> 
> 
> What if the package requires xo and ava for tests?
> In the case, we previously didn't create a directory for tests under
> debain/.

Easy to replace by node-tape with a patch, an example:
https://salsa.debian.org/js-team/node-cosmiconfig/blob/master/debian/patches/switch-test-from-ava-to-tape.diff

> But now, if there's no directory, lintian gives a warning. Do we ignore
> those warnings?

It depends. Many package have this warning, try to patch test to use
tape. Else keep the warning.

Never override this warning

> Best,
> Utkarsh
> 



More information about the Pkg-javascript-devel mailing list