Closed Bug 1302783 Opened 8 years ago Closed 8 years ago

Support dot output from task-graph generation

Categories

(Firefox Build System :: Task Configuration, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: dustin, Unassigned, Mentored)

Details

(Keywords: good-first-bug)

The `./mach taskgraph <subcommand>` commands all output task graphs, but they do so in a textual format that doesn't show the interconnections between tasks.

The graphviz project provides a utility called "dot" which can take a text file as input and produce an image file showing that graph.  In fact, it's the tool bugzilla uses to create dependency graphs.

It would be great to have an option for all of these `./mach taskgraph` subcommands that would output the graph in dot format, so that it could then be fed to dot to create an actual graph.  Note that there's an `altgraph` package in-tree (`python/altgraph`) that may be useful for this purpose.
I've never actually wanted to see this.  I think it would be easy enough to translate the JSON to dot if someone was interested (and maybe at that point they add the support to the taskgraph).
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Product: TaskCluster → Firefox Build System
You need to log in before you can comment on or make changes to this bug.