Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

butido tree-of --dot #378

Closed
christophprokop opened this issue Apr 30, 2024 · 2 comments · Fixed by #407
Closed

butido tree-of --dot #378

christophprokop opened this issue Apr 30, 2024 · 2 comments · Fixed by #407

Comments

@christophprokop
Copy link
Collaborator

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
Copy link
Collaborator

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
Copy link
Member

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.

ammernico added a commit to ammernico/butido that referenced this issue Aug 22, 2024
- Add `petgraph` as a dependency
- New `--dot` argument for the `tree-of` command

Fixes science-computing#378

Signed-off-by: Nico Steinle <nico.steinle@eviden.com>
ammernico added a commit to ammernico/butido that referenced this issue Aug 23, 2024
- New `--dot` argument for the `tree-of` command
- Add `petgraph` as a dependency
  Decided to use Petgraph instead of graphviz-rust because it looks
  better maintained.

Fixes science-computing#378

Signed-off-by: Nico Steinle <nico.steinle@eviden.com>
ammernico added a commit to ammernico/butido that referenced this issue Aug 28, 2024
- New `--dot` argument for the `tree-of` command.
- Add `petgraph` as a dependency
  Decided to use Petgraph instead of graphviz-rust because it integrates
  with the daggy crate and looks better maintained.
- Using dotted lines for build dependencies.

Fixes science-computing#378

Signed-off-by: Nico Steinle <nico.steinle@eviden.com>
ammernico added a commit to ammernico/butido that referenced this issue Sep 11, 2024
- New `--dot` argument for the `tree-of` command.
- Add `petgraph` as a dependency
  Decided to use Petgraph instead of graphviz-rust because it integrates
  with the daggy crate and looks better maintained.
- Using dotted lines for build dependencies.

Fixes science-computing#378

Signed-off-by: Nico Steinle <nico.steinle@eviden.com>
primeos-work pushed a commit to primeos-work/butido that referenced this issue Sep 11, 2024
- New `--dot` argument for the `tree-of` command.
- Add `petgraph` as a dependency
  Decided to use Petgraph instead of graphviz-rust because it integrates
  with the daggy crate and looks better maintained.
- Using dotted lines for build dependencies.

Fixes science-computing#378

Signed-off-by: Nico Steinle <nico.steinle@eviden.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants