loud-laptop-17949
12/01/2021, 10:44 PM./pants filedeps
output as a graph?witty-crayon-22786
12/01/2021, 11:02 PMwitty-crayon-22786
12/01/2021, 11:02 PM./pants dependencies --transitive $something | xargs ./pants peek
, and to then render the lists of files as a graph…witty-crayon-22786
12/01/2021, 11:03 PMpeek
will emit each node with its sources and dependencies, which you can use as an adjacency listwitty-crayon-22786
12/01/2021, 11:06 PMpeek
a DOT
output format, which would get you 90% of the way there. but a small script can also spit out a dot file pretty easily, and would let you show only the source files, for exampleloud-laptop-17949
12/02/2021, 12:46 AMloud-laptop-17949
12/02/2021, 12:46 AMwitty-crayon-22786
12/02/2021, 12:47 AMloud-laptop-17949
12/02/2021, 12:51 AMwitty-crayon-22786
12/02/2021, 12:52 AMpeek
plus a script to render `DOT`… you’d just go straight to ./pants peek ::
witty-crayon-22786
12/02/2021, 12:52 AMDOT
becomes fairly useless past a few hundred nodes.witty-crayon-22786
12/02/2021, 12:54 AMwitty-crayon-22786
12/02/2021, 12:54 AMwitty-crayon-22786
12/02/2021, 12:58 AMwitty-crayon-22786
12/02/2021, 9:14 PMloud-laptop-17949
12/02/2021, 9:17 PMwitty-crayon-22786
12/02/2021, 9:18 PMloud-laptop-17949
12/02/2021, 11:24 PMhundreds-father-404
12/02/2021, 11:27 PM