News for hackers. Stuff that matters.
Re:Golang: Don't be afraid of makefiles by baby on Wednesday September 20, 2017 @12:19PM (#15295486)
> if your projects use vendoring (which they should)

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

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.

[1] - https://github.com/ibukanov/ljdumpgo

[2] - https://github.com/ingydotnet/git-subrepo

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.
Re:Golang: Don't be afraid of makefiles by baby on Wednesday September 20, 2017 @02:35PM (#15296884)