Masterminds / glide

Package Management for Golang
https://glide.sh
Other
8.15k stars 540 forks source link

Guidance needed: glide setup leaves kubernetes broken #714

Closed thockin closed 5 months ago

thockin commented 7 years ago

I am trying glide against kubernetes again.

glide init processes my Godep state.

glide install fetches all my deps into vendor. It pulls a LOT more files than Godep does. If I recall it's because godep prunes the tree to just dirs that are needed, yes?

We're starting to use bazel, so I run the bazel update script, which walks the codebase and checks BUILD files. It throws a bazillion errors for missing code. It turns out that there are hundreds of deps that are only referenced by those files that Godep didn't import, but glide does.

So now what? Do I import literally hundreds of deps (megabytes of code) that I don't need? Do I do it one-by-one manually? Is there another option?

thockin commented 7 years ago

@mikedanese FYI

sdboyer commented 7 years ago

@thockin https://github.com/sgotti/glide-vc may strip them out for you.

sorry we haven't progressed further, here. my obligations on the pkg mgmt committee have taken a lot of the time that might otherwise have gone towards getting a gps-based glide finished, unfortunately :(

thockin commented 7 years ago

NP, I was just trying it, to see where things were. I'll catch up with Jess

On Wed, Dec 14, 2016 at 4:36 PM, sam boyer notifications@github.com wrote:

@thockin https://github.com/thockin https://github.com/sgotti/glide-vc may strip them out for you.

sorry we haven't progressed further, here. my obligations on the pkg mgmt committee have taken a lot of the time that might otherwise have gone towards getting a gps-based glide finished, unfortunately :(

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Masterminds/glide/issues/714#issuecomment-267201329, or mute the thread https://github.com/notifications/unsubscribe-auth/AFVgVNRbqvqL2Ys8ZkFxN6J-4_ZnZ_vbks5rIIuMgaJpZM4LMjsH .