Skip to content
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

glide {get,install,update} breaks vendor submodule #697

Closed
dt opened this issue Dec 2, 2016 · 1 comment
Closed

glide {get,install,update} breaks vendor submodule #697

dt opened this issue Dec 2, 2016 · 1 comment

Comments

@dt
Copy link

dt commented Dec 2, 2016

In our vendor workflow, we opted to make vendor a submodule, so we'd get the benefits of checking in deps (e.g. maintaining distribution, reproducibility, etc) without adding the actual content of dep changes to our main repo history (our vendor is ~200mb right now).

However, glide replaces the vendor directory with a newly built one after every operation, which has the side effect of deleting the vendor/.git submodule pointer.

Our current workaround is to just move .git aside and replace it after.

@sdboyer
Copy link
Member

sdboyer commented Dec 2, 2016

We've had a few issues raised about the underlying issue here (recreating the vendor dir in its entirety, every time). Handling this particular case might not actually be that bad, though. Lemme see...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants