-
Notifications
You must be signed in to change notification settings - Fork 3
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
Merging creack/cleanup - proposed v2 #8
Conversation
Conflicts: .travis.yml Makefile
|
||
"github.com/garyburd/go-oauth/oauth" | ||
"github.com/MaxCDN/go-maxcdn/Godeps/_workspace/src/github.com/garyburd/go-oauth/oauth" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is wrong. it should still be "github.com/garyburd/go-oauth/oauth"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a choice in how you use Godeps, I typically use this method, opting not to change the GOPATH. That import line was written directly by Godeps itself. If we use Godeps at all, I greatly prefer this method.
The imports should be "regular", Godeps should not be part of the import paths. |
RE Godeps, can you provide a little insight as to why you prefer using standard import paths? I've only read the docs and not had a chance to discuss the pros and cons of both with anyone. It seemed to me that the method I used with better/simpler for both development and building, but I'd genuinely love to hear the other side of it. Cheers, |
Godep is a useful tool, but should be "hidden". The idea is to be 100% go with godep has a helper. Forcing the import path to the godep subdir makes the import ugly but more importantly, forces the developer to use that version of the code. Which will be done anyway when using |
Interesting, okay. I'll play around with that. I know there's some changes you have to make to the way travis works when attempting to use Godep without the Godep pathing. |
looks good, @jmervine merge and push package whenever |
@jdorfman I'm merging this now. Keep in mind there's some minor breaking changes. If support gets any pings on it, point them to v1 via |
got it thanks @jmervine |
Replacing #3 (cc @jdorfman)
@creack Merged your branch here, with the following changes...
Original PR notes: