Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Mar 2017 13:18:58 -0400
From:      Vick Khera <vivek@khera.org>
To:        FreeBSD Ports List <ports@freebsd.org>
Subject:   dependency tree display
Message-ID:  <CALd%2Bdcfihykd0t4vHBpN8BQvFPx8qTGQe=_iJsOprbvNCfWduA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Is there a way to visualize the dependencies of a port in a tree-like
fashion? That is, if A depends on B, and B depends on C, show me A -> B ->
C.

When I upgrade something in node using npm, it gives this kind of nice tree=
:

hal@2.0.0 /u/lorax1/home/hubot/hal
=E2=94=9C=E2=94=80=E2=94=AC aws2js@0.8.3
=E2=94=82 =E2=94=94=E2=94=80=E2=94=AC libxml-to-js@0.3.11
=E2=94=82   =E2=94=94=E2=94=80=E2=94=AC libxmljs@0.18.4
=E2=94=82     =E2=94=94=E2=94=80=E2=94=AC node-pre-gyp@0.6.33
=E2=94=82       =E2=94=94=E2=94=80=E2=94=80 request@2.80.0
=E2=94=9C=E2=94=80=E2=94=80 hubot-jira-commands@1.1.0  (git://
github.com/khera/hubot-jira-commands.git#20b8792eeecf9cbdc1c36462fd42c44cdf=
7e926b
)
=E2=94=9C=E2=94=80=E2=94=AC hubot-s3-brain@0.1.0
=E2=94=82 =E2=94=94=E2=94=80=E2=94=80 aws-sdk@2.28.0
=E2=94=94=E2=94=80=E2=94=AC hubot-slack@4.3.3
  =E2=94=94=E2=94=80=E2=94=AC @slack/client@3.8.1
    =E2=94=9C=E2=94=80=E2=94=AC https-proxy-agent@1.0.0
    =E2=94=82 =E2=94=94=E2=94=80=E2=94=80 debug@2.6.3
    =E2=94=9C=E2=94=80=E2=94=AC request@2.81.0
    =E2=94=82 =E2=94=9C=E2=94=80=E2=94=AC har-validator@4.2.1
    =E2=94=82 =E2=94=82 =E2=94=94=E2=94=80=E2=94=80 ajv@4.11.5
    =E2=94=82 =E2=94=9C=E2=94=80=E2=94=AC http-signature@1.1.1
    =E2=94=82 =E2=94=82 =E2=94=94=E2=94=80=E2=94=AC jsprim@1.4.0
    =E2=94=82 =E2=94=82   =E2=94=94=E2=94=80=E2=94=80 assert-plus@1.0.0
    =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 qs@6.4.0
    =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 safe-buffer@5.0.1
    =E2=94=82 =E2=94=94=E2=94=80=E2=94=80 tunnel-agent@0.6.0
    =E2=94=94=E2=94=80=E2=94=80 ws@1.1.4

It would be so awesome to be able to see that for freebsd ports as well. I
was thinking that poudriere might be a good tool to start from, since it
has to build this dependency tree internally already. I think it would make
a great report to get out of pkg version as well to show existing installed
dependencies.

Has anyone built anything like this yet?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALd%2Bdcfihykd0t4vHBpN8BQvFPx8qTGQe=_iJsOprbvNCfWduA>