[Pkg-javascript-devel] Bug#1016587: Bug#1016587: pkgjs-depends: please add option to list inverse dependency trees

Yadd yadd at debian.org
Sat Aug 6 07:45:30 BST 2022


On 03/08/2022 18:30, Jonas Smedegaard wrote:
 > Package: pkg-js-tools
 > Version: 0.14.32
 > Severity: wishlist
 > Tags: upstream
 >
> pkgjs-depends resolves a dependency tree with the inspected package as
> root.
> 
> This results in reused dependencies always being listed multiple times.
> 
> I think it would be helpful to flip it around to resolve multiple trees,
> each with the "final leaf" as root and the inspected package (which
> would then be the final leaf) omitted.
> 
> Please consider providing this as an option - or perhaps do it by
> default.
> 
> It might also make sense to offer to output the internally computed
> graph structure (e.g. in graphviz "dot" format) to allow rendering the
> a multipgraph (which is hard to do in a console so more sensible to
> offload to other tools).
> 
>   - Jonas

Hi,

I just implemented a --graph option (0.14.33). Will see how to fix this 
issue later.

Cheers,
Yadd



More information about the Pkg-javascript-devel mailing list