[Pkg-javascript-devel] New autodep8/pkg-js-tools features

Nilesh Patra npatra974 at gmail.com
Thu May 28 21:51:37 BST 2020


Hi,

On Thu, 28 May 2020, 21:18 Xavier, <yadd at debian.org> wrote:

> Hi all,
>
> autodep8 0.23 permits to add some additional restrictions or additional
> package in pkg-js-tools autopkgtest without having to set a manual
> debian/tests/control
>
> Additional dependencies: for a package which has circular dependency,
> you can
>  * remove test during build (and its dependencies)
>  * write test in debian/tests/pkg-js/test as usual
>  * write a debian/tests/autopkgtest-pkg-nodejs.conf with test
>    dependencies:
>
>      pkg_nodejs_extra_depends=node-tap,node-tape
>
>    NB1: this will be concatenated with default dependencies:
>         "@, @builddeps@, pkg-js-autopkgtest
>    NB2: this additional dependencies will also be added to "require"
>         test (concatenated with "@, nodejs, pkg-js-autopkgtest"
>
> Additional restrictions: autopkgtest will disable network access except
> if "needs-internet" is set. To add it (for npm, yarnpkg,...):
>  * write test in debian/tests/pkg-js/test as usual
>  * write a debian/tests/autopkgtest-pkg-nodejs.conf with
>    additional restrictions:
>
>      pkg_nodejs_extra_restrictions=needs-internet
>
>    Default:
>     * require: superficial, skippable
>     * test   : allow-stderr, skippable
>
> Other feature (not in autodep8 but in pkg-js-tools): if build and
> autopkgtest tests differ, you can use debian/nodejs/test to overwrite
> debian/tests/pkg-js/test during build
>

The additional features are very cool!
Thanks a lot for your work on this :-)

Regards,
Nilesh

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20200529/4c77d949/attachment.html>


More information about the Pkg-javascript-devel mailing list