A graphical dependency tree viewer?

Victor Sudakov vas at mpeks.tomsk.su
Tue Jan 8 07:10:10 UTC 2019


Matthew Seaman wrote:
> > 
> > Is there a tool to view all the dependencies of a port/package
> > (including indirect ones) as a tree? A .dot format would be perfect, but
> > an ascii-art tree would do too.
> > 
> > It would be especially useful if this tool could extract information
> > from /var/db/pkg/*.sqlite without requiring a ports tree.
> > 
> 
> Does this suit your purposes?
> 
> https://github.com/freebsd/pkg/blob/master/scripts/pkg_tree.sh
> 

The author of the script has the right idea, but the visual presentation
of the graph is lacking: the vertical lines going down towards nowhere
are confusing: https://termbin.com/vf3u 

The tabbed view (-n) is a bit better.

Also, why is openjdk8-8.192.26_3 twice in the tree (see the link above),
is this intentional?


-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49 at fidonet http://vas.tomsk.ru/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-pkg/attachments/20190108/5eda9e52/attachment.sig>


More information about the freebsd-pkg mailing list