Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aviflax/5c0411659beecb3a080b to your computer and use it in GitHub Desktop.
Save aviflax/5c0411659beecb3a080b to your computer and use it in GitHub Desktop.
GitHub feature request WRT Go projects using gb to vendor dependencies

My team uses Go. Most of our repos use the vendoring tool Godep to vendor dependencies. The diff view of Pull Requests conveniently collapses those files, that’s very helpful!

We’re now experimenting with a different tool: gb. With gb, all project dependencies are in the root-level folder vendor. It would be great if you guys would auto-collapse these files as well.

Thanks so much!

Avi

PS, Go 1.5, which was recently released, includes an experimental approach to code vendoring which is different from both Godep and gb. You can read about it here:

https://docs.google.com/document/d/1Bz5-UB7g2uPBdOx-rw5t9MxJwkfpx90cqG9AFL0JAYo/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment