Moving source code to GitHub from SVN
Moderators: Moderators, Documentation Writers
- itsrachelfish
- Developers
- Posts: 50
- Joined: 27 Feb 2012, 12:50
- Noob?: No
Re: Moving to GitHub
By the way, hopefully you've seen our discussion about the new code review process: https://github.com/OpenKore/openkore/issues/9 :)
Tired of waiting for answers on the forums?
Want to talk to OpenKore experts?
Hang out on the #OpenKore IRC!
Want to talk to OpenKore experts?
Hang out on the #OpenKore IRC!
Re: Moving to GitHub
My github account is "snop222" !!itsrachelfish wrote:Well, I'll need to know what your github account is. I tried "sofax222" and "sofax" but it wasn't either of thosesofax222 wrote: Commit failed (details follow):
Access to '/OpenKore/openkore/!svn/act/a3b50695-c1dd-e647-b25c-05daf3acf7df'
forbidden
How can I be added into the members of Github/Openkore ??
Once we have your username, any of the project admins can add you as a developer to the project. But you don't even need to be an official developer to the project to contribute on GitHub. Anyone can make a fork of the project in their own account, make commits, and then submit a pull request to be approved in the official repo.
Edit: I've updated my original post to be more clear. Hope that helps /no1
Re: Moving to GitHub
Ok !! Now I got a fork from the Openkore project.itsrachelfish wrote:Well, I'll need to know what your github account is. I tried "sofax222" and "sofax" but it wasn't either of thosesofax222 wrote: Commit failed (details follow):
Access to '/OpenKore/openkore/!svn/act/a3b50695-c1dd-e647-b25c-05daf3acf7df'
forbidden
How can I be added into the members of Github/Openkore ??
Once we have your username, any of the project admins can add you as a developer to the project. But you don't even need to be an official developer to the project to contribute on GitHub. Anyone can make a fork of the project in their own account, make commits, and then submit a pull request to be approved in the official repo.
Edit: I've updated my original post to be more clear. Hope that helps /no1
After my own commit, and create a pull request to the official repo.
But Now !! How to re-checkout from the official project into my fork ?
- itsrachelfish
- Developers
- Posts: 50
- Joined: 27 Feb 2012, 12:50
- Noob?: No
Re: Moving to GitHub
Hey there, I checked out your changes and everything looks good. Your pull request was merged into the main project. :)sofax222 wrote:Ok !! Now I got a fork from the Openkore project.
After my own commit, and create a pull request to the official repo.
But Now !! How to re-checkout from the official project into my fork ?
Also, I've added you to the GitHub organization as a developer, check your email for confirmation.
Now that you have commit access, you can make your own branch in the main project repo and submit pull requests that way (instead of using a fork, if you prefer).
If you're still curious how someone would be able to checkout your forked code from the official project, they'd just have to make a local branch with your repo as the remote. This is explained on GitHub by follow these steps:
Tired of waiting for answers on the forums?
Want to talk to OpenKore experts?
Hang out on the #OpenKore IRC!
Want to talk to OpenKore experts?
Hang out on the #OpenKore IRC!
Re: Moving to GitHub
Yes !! I Got it !!itsrachelfish wrote:Hey there, I checked out your changes and everything looks good. Your pull request was merged into the main project.sofax222 wrote:Ok !! Now I got a fork from the Openkore project.
After my own commit, and create a pull request to the official repo.
But Now !! How to re-checkout from the official project into my fork ?
Also, I've added you to the GitHub organization as a developer, check your email for confirmation.
Now that you have commit access, you can make your own branch in the main project repo and submit pull requests that way (instead of using a fork, if you prefer).
If you're still curious how someone would be able to checkout your forked code from the official project, they'd just have to make a local branch with your repo as the remote. This is explained on GitHub by follow these steps:
Thank you very much !!
So now, I can directly commit to the the official project, can't I ?
But now I have not codes need to commit.
I will keep this in my mind for next committing !!
I still don't well understand the GitHub user interface, I will do more effort on it.
Thanks again !!
One more question.....
Just like you said "... to checkout your forked code from ..."
In other words, I can keep my own version with this fork without merging from the official project.
Is it true ?
Re: Moving to GitHub
Some thing stranger ......itsrachelfish wrote:Hey there, I checked out your changes and everything looks good. Your pull request was merged into the main project.sofax222 wrote:Ok !! Now I got a fork from the Openkore project.
After my own commit, and create a pull request to the official repo.
But Now !! How to re-checkout from the official project into my fork ?
Also, I've added you to the GitHub organization as a developer, check your email for confirmation.
Now that you have commit access, you can make your own branch in the main project repo and submit pull requests that way (instead of using a fork, if you prefer).
I found the revison number is different between my frok and the official repo !!
Is it normal ??
Re: Moving to GitHub
Sorry, question again....itsrachelfish wrote:Now that you have commit access, you can make your own branch in the main project repo and submit pull requests that way (instead of using a fork, if you prefer).
If you're still curious how someone would be able to checkout your forked code from the official project, they'd just have to make a local branch with your repo as the remote. This is explained on GitHub by follow these steps:
I work around on my fork of Openkore.....
But I can not find the "Merge pull request" function as your captured image, where is it ??
- itsrachelfish
- Developers
- Posts: 50
- Joined: 27 Feb 2012, 12:50
- Noob?: No
Re: Moving to GitHub
You'll probably want to spend some time learning how git works, there are a lot of great resources out there including the official Git documentation and YouTube tutorials. I sent you that screenshot because it explains the steps required for someone to take the master openkore branch and apply your patch for testing.sofax222 wrote:Sorry, question again....
I work around on my fork of Openkore.....
But I can not find the "Merge pull request" function as your captured image, where is it ??
Earlier today you merged two pull requests:
https://github.com/OpenKore/openkore/pull/34
https://github.com/OpenKore/openkore/pull/35
Did you test these changes in game before merging them? The point of making pull requests is so that developers can review and test changes before they are incorporated into the main project.
Tired of waiting for answers on the forums?
Want to talk to OpenKore experts?
Hang out on the #OpenKore IRC!
Want to talk to OpenKore experts?
Hang out on the #OpenKore IRC!
Re: Moving to GitHub
Ah, Sorry !! Very Sorry !! I think I had a mistake !!itsrachelfish wrote:Earlier today you merged two pull requests:
https://github.com/OpenKore/openkore/pull/34
https://github.com/OpenKore/openkore/pull/35
Did you test these changes in game before merging them? The point of making pull requests is so that developers can review and test changes before they are incorporated into the main project.
I make wrong merging on main project !!
Could it to be rollbacked ??
I just want to try the "Merge Pull Request".
I will be more careful, before I well understnad the GitHub works !!
Sorry, again !!
PS: I think, I do only one "Merge", but merging two "Pull Request" !!
Re: Moving to GitHub
Dear itsrachelfish:itsrachelfish wrote:Did you test these changes in game before merging them? The point of making pull requests is so that developers can review and test changes before they are incorporated into the main project.
Now, am I a member of the Developers team in the OpenKore organization ??
Will the changes of main OpenKore repo automaticly to merge into my fork ??