-
Notifications
You must be signed in to change notification settings - Fork 540
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 v0.12.0+
calls out to internet during glide install
#594
Comments
v0.12.0+
hits internet during glide install
v0.12.0+
calls out to internet during glide install
Yes, I don't know if it's feasible in glide's current design to avoid that call, or not. (This is something that gps - #384 - has taken some steps towards, but it's not yet to the point where it would completely avoid touching the network in the case you describe.) |
Gotcha, is there a way to turn off this functionality for the time being? Our use case is using glide with a vendored app in a fire-walled environment that does not allow any external connections to be made. Thanks so much for your clarifications. |
Sure, happy to provide information. Sadly, there is not a way around this - this kind of central cache is to be the way of things moving forward. I hate to say it, but your best immediate bet is probably to downgrade :( This is the first time I've seen someone report actually report this use case, though, so while it's been on my radar for a while, seeing that it's actually affecting someone boosts the priority of work towards the "no network" use case. Unfortunately, even if we do get gps merged in for glide |
Ah okay, gotcha. So the internet call might be eliminated with Yes, the context is that we support glide in the go buildpack for Cloud Foundry. A lot of Cloud Foundry users are enterprise companies and have completely fire-walled environments. Enterprise go developers are a thing apparently! I think for the time being, we'll stick to |
@RochesterinNYC I might be able to help and provide a little insight. First, can you check it Depending on the Glide flags you used, |
@mattfarina Okay, maybe our understanding of how to properly use If this is true, is there a non-install |
@mattfarina any advice on |
@RochesterinNYC yes, if you already have a fully populated I don't think a command exists now that does that. If one does, though, there's a low limit on the amount of "checking" it could do without relying on VCS repository data. Basically, it could make sure that the directories specified in |
@sdboyer I think a command like that would be valuable? It feels a little like |
@sdboyer would y'all take a pull request for something like |
Now, if the cache isn't populated already with the repos named in the lock file, then there's a limited to the amount of checking that can be done: you can't verify that what's there is correct, just that it's present. And there's not enough information to check for subpackages. But still - a command that checks based on what information is on hand in the lock file? Sure, that sounds reasonable to me. @mattfarina? |
Previously,
glide install
would not have to call out to the internet at all if your packages were already properly vendored like in this fixture app.However, as of
v0.12.0
, it seems that glide will, with the same fixture app, hit the internet once duringglide install
. The traffic log indicates the following:This seems to be a request to github.com.
Is there anything that was added in the
v0.12
release that causes this?The text was updated successfully, but these errors were encountered: