rawlingsj / dag

Generate DAGs of Melange packages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dag

ci

dag generates Graphviz digraphs for Melange package dependencies.

To generate the full dag.svg of all build-time dependencies, run this inside the root of the Wolfi OS repo:

go run ./

full example dependency graph

Subgraphs

dag can also generate subgraphs for only some packages.

To generate a graph for only one package:

go run ./ brotli

To generate a graph for only some packages:

go run ./ brotli git-lfs attr

partial dependency graph

Output

dag writes a file called dag.svg by default.

To change this, pass -f before any positional args.

go run ./ -f brotli.svg brotli

It will only generate SVG.

About

Generate DAGs of Melange packages

License:Apache License 2.0


Languages

Language:Go 100.0%