You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rsofaer edited this page Nov 18, 2010
·
1 revision
This is a casual description of how I (Raphael Sofaer) work when pulling in a pull request:
See a pull request in the Pull Requests page.
Check workflow to make sure it will be pullable: eg. Check that there are no commits from the Diaspora trunk in the pull request, and that the pull request is from a branch other than master. If workflow is not correct, I will comment, but often still try to pull it in.
Review the changes by eye. Github provides a pretty nice 'files changed' feature. If there are obvious problems, comment. Check that specs were added for new functionality, and hopefully were added for bugfixes as well.
Fetch the remote repo so I can review it locally.
Assuming the pull request is from user pullrequester8000, I would go to my repo and
2. Now fetch the remote repo so it is copied locally:
'git fetch pr8000'
If the change is large, checkout a merge branch to test on:
'git checkout -b pr8000-merge'
Merge the remote branch into the current one (assume remote branch is named 823-cause-victory):
'git merge pr8000/823-cause-victory'
If there were conflicts, I often fix small conflicts with clear fixes, but other conflicts, I leave a comment on github and ask the requester to rebase onto master.
Run 'rake' to make sure there are no test failures.