-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What does glide do that git submodules don't? #78
Comments
Submodules aren't checked out by |
The documentation says it does:
|
Oh. I wasn't aware of that. In that case, I agree that we probably don't need glide. |
However, it doesn't appear to work:
|
Indeed, and that issue appears to be golang/go#12573. The workaround of |
Ok, so something glide does that submodules don't is allow you to flatten the hierarchy if packages are used by both the main package and a vendored package. If we have both, go thinks they're different versions (even if they aren't), and throws errors. |
Good point, might want to open up a go bug for that if there isn't one already |
Though I guess the situation isn't obvious if both packages explicitly require different versions of that same package. |
In which case, the importing package should probably get the say over which version to really use. In most cases, you'd expect them to use the same version, though. |
I was under the impression that regular git submodules would work for the GO15VENDOREXPERIMENT support. Any particular reason to use glide instead? It just seems to me like an extra step that then also disables vendored "go get" support...
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/26965914-what-does-glide-do-that-git-submodules-don-t?utm_campaign=plugin&utm_content=tracker%2F15716642&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F15716642&utm_medium=issues&utm_source=github).The text was updated successfully, but these errors were encountered: