Skip to content
/ dag Public
forked from wolfi-dev/dag

Generate DAGs of Melange packages

License

Notifications You must be signed in to change notification settings

rawlingsj/dag

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%