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

Jonas Smedegaard dr at jones.dk
Wed Aug 3 17:30:47 BST 2022


Package: pkg-js-tools
Version: 0.14.32
Severity: wishlist
Tags: upstream

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

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

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAmLqorMACgkQLHwxRsGg
ASH3nQ/9E+KfSv+hRQMIarOJOYRlM4JuyBc2Es+N5U7OO03rBqncTW0bOfxYRrfJ
5gdXwHUE6gpTX5+EqI7zJPRV27S3pZUbU+tUKADk8k5NP3rpuVIXyEGitBxwXwf3
674hRbIUGgl/P0AkWpxcfi2H7hcTBJHOcBTi081xjtrr/e6psC5q659rHUpGp1Vq
roHEl1/pFXRpGIZyw7F+yuWc4qT2W1aaZItkCZPFyk7LNJIDAiGkZj+CMU3YiFKC
3CZDyprSJ1RANoLRhvJKunT9f9wR6viCL5h0ZVaBZ+GIKcadXG/i0d9Cfw1ut5J1
4cG5oqooJJHnSaGcSOEMwLifU8SkOr6iEMoKIUn+tKOaRtVJeEO5FAJ+OCQyLXL2
YRTKudQHR7Yl2sg2QOD9mpP2FMvT9I+VmgSbap9beA4uX+E/N39PzjtRJt5StLdv
1cju0STxHbaTwcoc0hFiafErzunyZOG0pPd9yPoUppYMv8C4bJDFHrPsq8dR8x7a
5HnEtiHK88kjurovHguL2vO82+YMGB6SaED/JWkAqQmtJWzm6AaBNYAzTC7dLToA
n56sW9J9dvIdEkMmR7xgP1kMCrm9MDg7DV2Xlw6wdSVSZ2VpnbXiBeWQwjjl2qsX
VjmUIAijWtU2p2ovhelOYCCOAwOY+/OFkp5tF3d+ZAgsC54wKqU=
=abM5
-----END PGP SIGNATURE-----



More information about the Pkg-javascript-devel mailing list