science-computing / butido

Build Linux packages using Docker containers
Eclipse Public License 2.0
22 stars 8 forks source link

butido tree-of --dot #378

Closed christophprokop closed 2 days ago

christophprokop commented 4 months ago

butido tree-of currently only presents a tree view of the DAG with lots of duplicates

butido tree-of --dot to get a better overview over builds with a lot of deps we would be happy to have a graphical view (like dot files)

ammernico commented 1 month ago

Is there some prefered method for showing this dot graph?

Maybe the dot format which is used bu graphviz? ("https://en.wikipedia.org/wiki/DOT_(graph_description_language)") ("https://gitlab.com/graphviz/graphviz") ("https://graphviz.org/Gallery/directed/")

There would also be a crate available for this: ("https://crates.io/crates/graphviz-rust")

primeos-work commented 1 month ago

Yes, the issue description is a bit brief but --dot refers to the format so the intention was to output the graph using the text-based DOT format/language (https://en.wikipedia.org/wiki/DOT_(graph_description_language)).

It doesn't necessarily have to be DOT though but it makes sense as it's a common format.