Re:Golang: Don't be afraid of makefiles
by fpoling on Wednesday September 20, 2017 @12:33PM
(#15295644)
For my personal project [1] I use vendoring. But as of Go 1.8 it is still inconvenient as the main package has to be on GOPATH/GOROOT or the compiler will not find it.
To maintain it I use git-subrepo [2], a very convenient tool to embed the code into own tree.
Re:Golang: Don't be afraid of makefiles
by kensey on Wednesday September 20, 2017 @01:35PM
(#15296294)
Have a look at /coreos on GitHub -- flannel, dex and prometheus-operator all use vendoring, just looking at what's pinned. matchbox does also.
For versioning? Also:
1. I haven't seen projects on github using vendoring
2. It doesn't look like `go get` allows you to download a package directly into your vendor file