Skip to content
This repository was archived by the owner on Feb 3, 2018. It is now read-only.

go get github.com/sdboyer/gps fails because /vendor/ is not checked in #182

Open
spenczar opened this issue Mar 10, 2017 · 3 comments

Comments

@spenczar
Copy link
Contributor

spenczar commented Mar 10, 2017

gps happens to require the 2.x branch of github.com/Masterminds/semver, which is not the master branch, but gps does not explicitly vendor its dependencies. That means go get github.com/sdboyer/gps (and its friends, like go test) don't work out of the box.

This took me about 30 minutes to suss out, which is a pretty significant hurdle to jumping in to help on gps/dep.

I'd be happy with loud documentation in CONTRIBUTING.md that says something like "You'll need to run glide install to populate /vendor/ before you can get started." I'd be even happier if the vendor directory were checked in, which would match what github.com/golang/dep does.

@spenczar spenczar changed the title go get github.com/sdboyer/gps fails go get github.com/sdboyer/gps fails because /vendor/ is not checked in Mar 10, 2017
@sdboyer
Copy link
Owner

sdboyer commented Mar 10, 2017

Glad you're here! 👏 😄

Yeah, this is definitely not the best. Let's keep it simple for now, with a note in CONTRIBUTING.md. gps is going to move directly into dep soon (golang/dep#300), at which point we're probably going to be developing over there, so the considerations related to vendor will be different.

@spenczar
Copy link
Contributor Author

Thanks for the warm welcome! 😄

I'll write a PR to add some text to CONTRIBUTING.md, that sounds like the right plan.

@fabulous-gopher
Copy link

This issue was moved to golang/dep#418

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

No branches or pull requests

3 participants