[Pkg-javascript-devel] Bug#837929: npm: Should suggest nodejs-legacy

2016-09-16 Thread Matijs van Zuijlen
On 16/09/16 10:24, Jérémy Lal wrote:
> 
> 
> 2016-09-16 10:22 GMT+02:00 Jonas Smedegaard  <mailto:d...@jones.dk>>:
> 
> Quoting Matijs van Zuijlen (2016-09-16 09:57:52)
> > I read through bug 614907, and I think the very best solution would be
> > for npm to ensure the correct node executable is referenced in each
> > package's executable. I don't know how feasible that would be.
> 
> Arguably the "very best" would be to drop npm from Debian ;-)
> 
> More to the point, however: Do npm work at all without nodejs-legacy?
> If not, then npm itself should be moved to contrib!
> 
> 
> Actually i believe most modules just work without nodejs-legacy, and npm
> itself
> has some uses without installing it either.

Yes, it seems it's mainly the modules that provide an executable script
that need nodejs-legacy (In my case, coffeelint).

Regards,
Matijs



signature.asc
Description: OpenPGP digital 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

[Pkg-javascript-devel] Bug#837929: npm: Should suggest nodejs-legacy

2016-09-16 Thread Matijs van Zuijlen
I read through bug 614907, and I think the very best solution would be
for npm to ensure the correct node executable is referenced in each
package's executable. I don't know how feasible that would be.

Regards,
Matijs

On 15/09/16 19:22, Jonas Smedegaard wrote:
> Quoting Jérémy Lal (2016-09-15 17:21:30)
>> 2016-09-15 17:12 GMT+02:00 Matijs van Zuijlen :
>>
>>> Package: npm
>>> Version: 1.4.21+ds-2
>>> Severity: wishlist
>>>
>>> Executables installed with npm need the /usr/bin/node executable, which
>>> is provided in the nodejs-legacy package. This information is currently
>>> only in the README.Debian file. I think it would be really helpful to
>>> add nodejs-legacy to the npm package's Suggests:, or even Recommends:.
>>>
>>>
>> Well, re-reading
>> https://lists.debian.org/debian-devel-announce/2012/07/msg2.html
>> paragraph 2 says
>>
>>> No package in the archive may depend on or recommend
>>> the nodejs-legacy package, which is provided solely for upstream
>> compatibility.
>>
>> Taken literally, it doesn't forbid Suggest. Does it ?
> 
> I agree we are not forbidden from suggesting: Seems to me the choice of 
> words by the Technical Committee was deliberate, as that matches how 
> packages outside of Debian (i.e. non-free stuff) is allowed to be 
> suggested only.
> 
> 
>  - Jonas
> 



signature.asc
Description: OpenPGP digital 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

[Pkg-javascript-devel] Bug#837929: npm: Should suggest nodejs-legacy

2016-09-15 Thread Matijs van Zuijlen
Package: npm
Version: 1.4.21+ds-2
Severity: wishlist

Executables installed with npm need the /usr/bin/node executable, which
is provided in the nodejs-legacy package. This information is currently
only in the README.Debian file. I think it would be really helpful to
add nodejs-legacy to the npm package's Suggests:, or even Recommends:. 

Regards,
Matijs

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_IE.utf8, LC_CTYPE=en_IE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages npm depends on:
ii  node-abbrev   1.0.9-1
ii  node-ansi 0.3.0-2
ii  node-ansi-color-table 1.0.0-1
ii  node-archy0.0.2-1
ii  node-block-stream 0.0.7-1
ii  node-fstream  0.1.24-1
ii  node-fstream-ignore   0.0.6-2
ii  node-github-url-from-git  1.4.0-1
ii  node-glob 4.0.5-1
ii  node-graceful-fs  3.0.2-1
ii  node-gyp  3.4.0-1
ii  node-inherits 2.0.1-3
ii  node-ini  1.1.0-1
ii  node-lockfile 0.4.1-1
ii  node-lru-cache2.3.1-1
ii  node-minimatch1.0.0-1
ii  node-mkdirp   0.5.0-1
ii  node-nopt 3.0.1-1
ii  node-npmlog   0.0.4-1
ii  node-once 1.1.1-1
ii  node-osenv0.1.0-1
ii  node-read 1.0.5-1
ii  node-read-package-json1.2.4-1
ii  node-request  2.26.1-1
ii  node-retry0.6.0-1
ii  node-rimraf   2.2.8-1
ii  node-semver   2.1.0-2
ii  node-sha  1.2.3-1
ii  node-slide1.1.4-1
ii  node-tar  1.0.3-2
ii  node-underscore   1.8.3~dfsg-1
ii  node-which1.0.5-2
ii  nodejs4.4.7~dfsg-2+b1

npm recommends no packages.

npm suggests no packages.

-- no debconf information

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