On Fri, Sep 01, 2017 at 11:41:36AM +0100, Ian Jackson wrote:
> One thing you I would consider is that it would be nice if scripts in
> Debian packages were made more portable to other distros.  So Debian
> packages should gradually change to use /usr/bin/node.  I am very
> conservative about these things because I like to keep backporting
> (within Debian) as easy as possible.  So if I were the maintainer of a
> node.js package which had scripts mentioning /usr/bin/nodejs, I would
> probably make that change in buster+1 rather than in buster.

It's enough to depend on
    nodejs (>= 6.11.2~dfsg-1) | nodejs-legacy
And then you can backport it to whatever debian release you like the
most.

> In buster+1 you should probably consider asking for a lintian warning
> about references to /usr/bin/nodejs.  Not because you intend to drop
> /usr/bin/nodejs ever (why do that - see previous emails) but because
> it would be better, as I've just discussed, for Debian packages to
> contain fewer hurdles to adoption elsewhere.

That's already done.
https://anonscm.debian.org/git/lintian/lintian.git/commit/?id=4ea7bdf953e1fb23bfc85830ad743efaf0ad0373
https://anonscm.debian.org/git/lintian/lintian.git/commit/?id=7d0c0732e792cf0a0cadeb583c9878463813e24a
(will be in the next lintian release)

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature

-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to