golang / dep

Go dependency management tool experiment (deprecated)

Home Page:https://golang.github.io/dep/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dep is copying packages to vendor which it should not.

srinivas-kandula opened this issue · comments

This is related to the issue golang/go#34558 on RHEL 8

What version of dep are you using (dep version)?

v0.5.4

What dep command did you run?

dep ensure

What did you expect to see?

What did you see instead?

I was not expecting dep to copy packages already within my repo into its own vendor directory.

One thing worked for me is changing my path from upper to lowercase.
/go/src/github.com/wavefrontHQ/wavefront-kubernetes-collector/vendor/github.com/wavefronthq/wavefront-kubernetes-collector

to

/go/src/github.com/wavefronthq/wavefront-kubernetes-collector/vendor/github.com/wavefronthq/wavefront-kubernetes-collector

Probably documenting this issue in dep may be useful.

Dep was officially deprecated earlier this year, and the proposal to archive this repository was accepted. As such, I'm closing outstanding issues before archiving the repository. For any further comments, please use the proposal thread on the Go issue tracker. Thanks!