Date: Tue, 8 Jan 2019 14:10:08 +0700 From: Victor Sudakov <vas@mpeks.tomsk.su> To: freebsd-pkg@freebsd.org Subject: Re: A graphical dependency tree viewer? Message-ID: <20190108071008.GA49490@admin.sibptus.ru> In-Reply-To: <4121f685-10b9-aab5-9c33-5356fb30a8d8@FreeBSD.org> References: <20190107100901.GA36925@admin.sibptus.ru> <4121f685-10b9-aab5-9c33-5356fb30a8d8@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--ibTvN161/egqYuK8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Matthew Seaman wrote: > >=20 > > 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. > >=20 > > It would be especially useful if this tool could extract information > > from /var/db/pkg/*.sqlite without requiring a ports tree. > >=20 >=20 > Does this suit your purposes? >=20 > https://github.com/freebsd/pkg/blob/master/scripts/pkg_tree.sh >=20 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=20 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? --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --ibTvN161/egqYuK8 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJcNEzQAAoJEA2k8lmbXsY0GwoH/2GmGBU1w1zNKTwAjCe2e+a7 GS5uwC8gQL+s16xZC/RsbuiNzy5NxCZTuWg0IDKjVeqtlWKXsg5pSJKcFDHceQSL TQYJzKTe2v8SzeCOVbwFuItve3ElxcTTu4vRpYC6pMbmtgaV8nNYufBrzsqWKWeS Qkn0FYSBZWIBcJrmA7ExzFyVH5hjQjErWXz9lr+K/ZYpxsvGJe2bqWZdPlFYK3km Ei4CgDN6jmGg06j2a/zjDvbz8wLZujxbkvvmgaI9jqNCRzoP5j+EB19OhnxVmJov cq/BXIqYPYd3kuTKgEmqh4pSK9kP/8DnlhWPfkiLuhp99IFUj/7bTPntqFz8xwI= =ITMR -----END PGP SIGNATURE----- --ibTvN161/egqYuK8--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190108071008.GA49490>