Re: [Pkg-javascript-devel] Bug#754462: Bug#862051: nodejs (6.11.2~dfsg-1) experimental; urgency=medium
- To: Ian Jackson <ijackson@chiark.greenend.org.uk>, 754462@bugs.debian.org
- Cc: Jérémy Lal <kapouer@melix.org>, Philip Hands <phil@hands.com>, Didier 'OdyX' Raboud <odyx@debian.org>, 862051@bugs.debian.org, Thorsten Glaser <t.glaser@tarent.de>, debian-ctte@lists.debian.org, Sam Hartman <hartmans@debian.org>
- Subject: Re: [Pkg-javascript-devel] Bug#754462: Bug#862051: nodejs (6.11.2~dfsg-1) experimental; urgency=medium
- From: Mattia Rizzolo <mattia@debian.org>
- Date: Fri, 1 Sep 2017 14:16:14 +0200
- Message-id: <[🔎] 20170901121612.vvdowqmp2cvpy3ac@mapreri.org>
- Mail-followup-to: Mattia Rizzolo <mattia@debian.org>, Ian Jackson <ijackson@chiark.greenend.org.uk>, 754462@bugs.debian.org, Jérémy Lal <kapouer@melix.org>, Philip Hands <phil@hands.com>, Didier 'OdyX' Raboud <odyx@debian.org>, 862051@bugs.debian.org, Thorsten Glaser <t.glaser@tarent.de>, debian-ctte@lists.debian.org, Sam Hartman <hartmans@debian.org>
- In-reply-to: <[🔎] 22953.14688.138973.865801@chiark.greenend.org.uk>
- References: <alpine.DEB.2.20.1708291745320.26188@tglase.lan.tarent.de> <149418480763.9984.10768213814782803643.reportbug@amoeba> <alpine.DEB.2.20.1708311356470.17279@tglase.lan.tarent.de> <CALxribo3tDs9wGo9rh9UunCf15A2DFZQnDEkTn=viJXFQFDH1A@mail.gmail.com> <38573744.aqfRkzDD8Z@ylum> <tslfuc7fyvp.fsf@suchdamage.org> <[🔎] CAJxTCxzThbQZYzQogchQbvuqwsj2SH8nTG5N0F6WxYpWydw+CA@mail.gmail.com> <CALxribo3tDs9wGo9rh9UunCf15A2DFZQnDEkTn=viJXFQFDH1A@mail.gmail.com> <[🔎] 22953.14688.138973.865801@chiark.greenend.org.uk>
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
Reply to: