-
Notifications
You must be signed in to change notification settings - Fork 178
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
Add doc for steps to work on fork of project #43
Comments
@sachja - thanks for digging in. |
Sure. i will update the dockerhost instructions meanwhile. |
hmmm, I wanted to avoid having developers do a lot of manual steps, like our build already takes care of downloading dependencies, so step 2 can be avoided. Also running additional git commands to work around Go import path limitation might be a bit intimidating for users new to git and go. In absence of any standard way and us having to document the steps anyway, would following instructions works:
|
Yes this would also work. Other go projects seem to follow what i sent but i agree it sounds more steps initially (though i used it for my last change and it was smooth). For your instructions can we add step 1,2 and explicitly say we require to do this due to the GO import stuff. maybe we can also add a link to https://golang.org/doc/code.html#Organization (I had missed this when i forked. The general reaction is to just start with the clone and then worry about setting gopath and its directories. )
|
yes, this is an old issue. Let's open new issue if needed. |
Closing it now ! |
Based on various blogs the standard procedure to work on a fork of a go project on github seems to be as follows :
go get -u github.com/contiv/netplugin
cd $GOPATH/src/github.com/contiv/netplugin
git remote add fork <your GitHub fork URL, pasted from the clipboard>
git push fork
(if instead you wanted to just push changes to contiv repo directly you would skip step 4. Basically there is no need to do git clone either ways as go does that for you).
e.x. see
http://blog.campoy.cat/2014/03/github-and-go-forking-pull-requests-and.html
Or,
https://github.com/limetext/lime/wiki/Forking
If this sounds correct - let me know if I should update/add doc with this info.
The text was updated successfully, but these errors were encountered: