dep: commit vendor directory?
Currently, I've added the vendor
directory to .gitignore
because it would bloat the repo size otherwise. Committing vendor
is a one-way decision: once we decide to commit it, there's no going because it'll forever be in the repo's history and all pulls (except for --depth=1
pulls) will be bloated forever. Therefore, I'd like to discuss this before we go forward.
The only argument I've heard in favour of committing vendor
is that it's the only true way to achieve reproducible builds. This is true, but I think teh Gopkg.lock
file achieves something similar.