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

Jonas Smedegaard jonas at jones.dk
Sat Aug 6 08:35:30 BST 2022


Quoting Yadd (2022-08-06 08:45:30)
> 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.

Thanks!

Thinking some more I am not so sure that an output reversing the order
is sensible after all: I suggest simply closing this bugreport, now that
the other suggestion (a graph output) has been implemented.

Thanks!

 - Jonas

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

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20220806/68afb5d8/attachment.sig>


More information about the Pkg-javascript-devel mailing list