[Pkg-javascript-devel] Bug#1009233: Bug#1009233: node-d3: depends on nodejs

2022-04-09 Thread Jonas Smedegaard
Quoting Jérémy Lal (2022-04-09 16:07:50)
> On Sat, Apr 9, 2022 at 2:21 PM Jonas Smedegaard  wrote:
> > The binary package node-d3 depends on nodejs.
> >
> > Dependencies are directional: Packages with code that _calls_ other 
> > code should depend on the package providing that other code, but 
> > packages providing code _called_ from other code should *not* 
> > declare a dependency.
> >
> > It seems the package node-d3 contains only library code, no 
> > executables, and it is therefore highly unlikely that the dependency 
> > is needed.
> >
> > Concretely the depenency is painful when using the library code with 
> > other JavaScript interpreters, most notably loading the code int a 
> > web browser.
> >
> > Please drop the dependency unless really needed.
> >
> > (...and do so for all other node-d3* packages as well)
> >
> 
> node-d3 is supposed to be required from nodejs,
> isn't libjs-d3 meant to be used for browsers ?

A node-* package can provide a libjs-* package.

Regardless of interpreters the code is usable for, it is still wrong to 
declare a dependency on the/an interpreter: Wrong direction!

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

signature.asc
Description: signature
-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel


[Pkg-javascript-devel] Bug#1009233: Bug#1009233: node-d3: depends on nodejs

2022-04-09 Thread Jérémy Lal
On Sat, Apr 9, 2022 at 2:21 PM Jonas Smedegaard  wrote:

> Package: node-d3
> Version: 5.16.0-4
> Severity: normal
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
>
> The binary package node-d3 depends on nodejs.
>
> Dependencies are directional: Packages with code that _calls_ other code
> should depend on the package providing that other code, but packages
> providing code _called_ from other code should *not* declare a
> dependency.
>
> It seems the package node-d3 contains only library code, no executables,
> and it is therefore highly unlikely that the dependency is needed.
>
> Concretely the depenency is painful when using the library code with
> other JavaScript interpreters, most notably loading the code int a
> web browser.
>
> Please drop the dependency unless really needed.
>
> (...and do so for all other node-d3* packages as well)
>

node-d3 is supposed to be required from nodejs,
isn't libjs-d3 meant to be used for browsers ?

Jérémy
-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel