This tool analyze Golang dependencies between repositories in multi-repo project and report the current state of the dependencies.
go install github.com/mfojtik/deptrack
The first parameter is path to the YAML configuration. Second parameter is root directory for Git repositories. Last parameter is a path where to write the reports.
$ ./deptrack config/openshift.yaml /tmp/test .
Analyzing release "master" ("/tmp/test")...
* Processing github.com/openshift/api ...
* Processing github.com/openshift/client-go ...
-> Dependency github.com/openshift/api@master is currently b5570061 and desired a25bb2ad (8 commits behind) ...
* Processing github.com/openshift/library-go ...
-> Dependency github.com/openshift/api@master is currently a94e9149 and desired a25bb2ad (6 commits behind) ...
-> Dependency github.com/openshift/client-go@master is currently 5a550832 and desired 5a550832 (0 commits behind) ...
* Processing github.com/openshift/apiserver-library-go ...
-> Dependency github.com/openshift/api@master is currently 0922aa5a and desired a25bb2ad (14 commits behind) ...
-> Dependency github.com/openshift/library-go@master is currently 9fac0f4c and desired 7d4acc01 (23 commits behind) ...
-> Dependency github.com/openshift/client-go@master is currently a85ea6a6 and desired 5a550832 (2 commits behind) ...
* Processing github.com/openshift/openshift-apiserver ...
-> Dependency github.com/openshift/api@master is currently d2972510 and desired a25bb2ad (12 commits behind) ...
-> Dependency github.com/openshift/client-go@master is currently e9678e3b and desired 5a550832 (1 commits behind) ...
-> Dependency github.com/openshift/library-go@master is currently 4d03f355 and desired 7d4acc01 (14 commits behind) ...
-> Dependency github.com/openshift/apiserver-library-go@master is currently 4d81e8c4 and desired 4d81e8c4 (0 commits behind) ...
* Processing github.com/openshift/openshift-controller-manager ...
-> Dependency github.com/openshift/api@master is currently a25bb2ad and desired a25bb2ad (0 commits behind) ...
-> Dependency github.com/openshift/client-go@master is currently 5a550832 and desired 5a550832 (0 commits behind) ...
-> Dependency github.com/openshift/library-go@master is currently 7d4acc01 and desired 7d4acc01 (0 commits behind) ...
* Processing github.com/openshift/cluster-openshift-apiserver-operator ...
-> Dependency github.com/openshift/api@master is currently 58aab288 and desired a25bb2ad (2 commits behind) ...
-> Dependency github.com/openshift/client-go@master is currently 5a550832 and desired 5a550832 (0 commits behind) ...
-> Dependency github.com/openshift/library-go@master is currently 75915019 and desired 7d4acc01 (5 commits behind) ...
* Processing github.com/openshift/cluster-kube-apiserver-operator ...
-> Dependency github.com/openshift/api@master is currently b5570061 and desired a25bb2ad (8 commits behind) ...
-> Dependency github.com/openshift/client-go@master is currently e9678e3b and desired 5a550832 (1 commits behind) ...
-> Dependency github.com/openshift/library-go@master is currently 1eb11315 and desired 7d4acc01 (11 commits behind) ...
* Processing github.com/openshift/cluster-kube-controller-manager-operator ...
-> Dependency github.com/openshift/api@master is currently 0922aa5a and desired a25bb2ad (14 commits behind) ...
-> Dependency github.com/openshift/client-go@master is currently a85ea6a6 and desired 5a550832 (2 commits behind) ...
-> Dependency github.com/openshift/library-go@master is currently cab1b771 and desired 7d4acc01 (15 commits behind) ...
* Processing github.com/openshift/cluster-kube-scheduler-operator ...
-> Dependency github.com/openshift/api@master is currently b5570061 and desired a25bb2ad (8 commits behind) ...
-> Dependency github.com/openshift/client-go@master is currently e9678e3b and desired 5a550832 (1 commits behind) ...
-> Dependency github.com/openshift/library-go@master is currently 1eb11315 and desired 7d4acc01 (11 commits behind) ...
* Processing github.com/openshift/cluster-authentication-operator ...
-> Dependency github.com/openshift/api@master is currently 58aab288 and desired a25bb2ad (2 commits behind) ...
-> Dependency github.com/openshift/client-go@master is currently 5a550832 and desired 5a550832 (0 commits behind) ...
-> Dependency github.com/openshift/library-go@master is currently 8ad35d15 and desired 7d4acc01 (3 commits behind) ...