pavedroad-io / roadctl

A kubectl compatible CLI for managing and creating applications and defining/managing CI/CD environments. The roadctl command uses blueprints based on provent design patterns driven by produciton metrics.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix dependancy graphs to work with Go Modules

jscharber opened this issue · comments

This broken when we moved from dep to mods

godepgraph

This has two parts
-1 roadctl has been converted
For roadctl, godepgraph seems to work. I requires a list of exception for libraries that do not support go modules yet.
-p ignores entire prefixes, in this case hashicorp seems a lager
-i ignores import paths
-s ignores standard libraries

$ go get github.com/kisielk/godepgraph
$ godepgraph -s -i github.com/spf13/afero,github.com/google/go-querystring/query -p github.com/hashicorp . | dot -Tpng -o godepgraph.png

-2 templates are still using dep
Can use existing make file code