Move dependencies to dep
What does this MR do?
replace govendor
with dep
.
$ dep status
PROJECT CONSTRAINT VERSION REVISION LATEST PKGS USED
cloud.google.com/go 05253f6 (override) 05253f6 2
github.com/Azure/go-ansiterm fa152c5 (override) fa152c5 2
github.com/BurntSushi/toml * a368813 1
github.com/Microsoft/go-winio ce2922f (override) ce2922f 1
github.com/Sirupsen/logrus * 4b6ea73 1
github.com/ayufan/golang-kardianos-service branch master branch master 0c8eb6d 0c8eb6d 1
github.com/beorn7/perks * branch master 4c0e845 4c0e845 1
github.com/blang/semver * (override) v3.3.0 60ec348 2ee8785 1
github.com/cloudfoundry-incubator/candiedyaml * branch master a41693b a41693b 1
github.com/coreos/go-oidc 1efe0e1 (override) 1efe0e1 5
github.com/coreos/pkg * v3 3ac0863 3ac0863 3
github.com/davecgh/go-spew * v1.1.0 346938d 346938d 1
github.com/docker/distribution * 325b080 13
github.com/docker/docker * 49bf474 51
github.com/docker/docker-credential-helpers b7c53e0 (override) b7c53e0 2
github.com/docker/engine-api 4290f40 (override) 4290f40 10
github.com/docker/go-connections ^0.3.0 v0.3.0 3ede32e 3ede32e 3
github.com/docker/go-units eb879ae (override) eb879ae 1
github.com/docker/machine * 7b7a141 4
github.com/docker/spdystream 449fdfc (override) 449fdfc 2
github.com/emicklei/go-restful 89ef8af (override) 89ef8af 3
github.com/getsentry/raven-go * dffeb57 1
github.com/ghodss/yaml aa0c862 (override) aa0c862 1
github.com/go-ini/ini 20b96f6 (override) 20b96f6 1
github.com/gogo/protobuf f20a144 (override) f20a144 1
github.com/golang/glog * branch master 23def4e 23def4e 1
github.com/golang/mock * 06883d9 1
github.com/golang/protobuf f592bd2 (override) f592bd2 1
github.com/google/cadvisor 2ed7198 (override) 2ed7198 1
github.com/google/gofuzz fd52762 (override) fd52762 1
github.com/gorhill/cronexpr * f098431 1
github.com/gorilla/context 08b5f42 (override) 08b5f42 1
github.com/gorilla/mux 599cba5 (override) 599cba5 1
github.com/hashicorp/go-version * 03c5bf6 1
github.com/imdario/mergo 50d4dbd (override) 50d4dbd 1
github.com/jonboulle/clockwork e3653ac (override) e3653ac 1
github.com/jpillora/backoff * 06c7a16 1
github.com/juju/ratelimit 77ed1c8 (override) 77ed1c8 1
github.com/kardianos/osext * c2c54e5 1
github.com/mattn/go-zglob * 4b74c24 2
github.com/matttproud/golang_protobuf_extensions * v1.0.0 3247c84 3247c84 1
github.com/minio/go-homedir 21304a9 (override) 21304a9 1
github.com/minio/minio-go ^3.0.3-nolith 3.0.3-nolith dadd8d2 4e0f567 7
github.com/opencontainers/runc 94dc520 (override) 94dc520 7
github.com/opencontainers/runtime-spec 313f40b (override) 313f40b 1
github.com/pborman/uuid c55201b (override) c55201b 1
github.com/pkg/errors * v0.8.0 645ef00 645ef00 1
github.com/pmezard/go-difflib * v1.0.0 792786c 792786c 1
github.com/prometheus/client_golang * 334af01 2
github.com/prometheus/client_model * branch master 99fa1f4 99fa1f4 1
github.com/prometheus/common ebdfc6d (override) ebdfc6d 3
github.com/prometheus/procfs abf152e (override) abf152e 1
github.com/spf13/pflag 4f91904 (override) 4f91904 1
github.com/stretchr/objx cbeaeb1 (override) cbeaeb1 1
github.com/stretchr/testify * b1f9894 3
github.com/tevino/abool * 3c25f2f 1
github.com/ugorji/go 4a1cb52 (override) 4a1cb52 1
github.com/urfave/cli * cfb3883 1
github.com/vbatts/tar-split bd4c5d6 (override) bd4c5d6 3
gitlab.com/ayufan/golang-cli-helpers branch master branch master a7cf72d a7cf72d 1
golang.org/x/crypto * 1f22c01 2
golang.org/x/net * f249948 8
golang.org/x/oauth2 3b966c7 (override) 3b966c7 5
golang.org/x/sys 042a8f5 (override) 042a8f5 6
google.golang.org/appengine e951d38 (override) e951d38 10
gopkg.in/inf.v0 * v0.9.0 3887ee9 3887ee9 1
gopkg.in/yaml.v2 * e4d366f 1
k8s.io/kubernetes * b0deb2e 111
Why was this MR needed?
This patch is the first step in a better dependency management
Are there points in the code the reviewer needs to double check?
govendor
used to strip unused packages, while dep
prefer to work on the whole repository.
Running rm -rf ./vendor && dep endure --vendor-only
will fetch all the missing packages, resulting in this huge commit tha I've omitted from this MR.
Reason beeing so big should be mostly due to the fact that we are vendoring the whole k8s repository instead og just the go-client.
What are the relevant issue numbers?
Edited by Alessio Caiazza (OOO until 2024-08-26)