forked from aljungberg/cappuccino
-
Notifications
You must be signed in to change notification settings - Fork 0
Making pull requests for the main Cappuccino fork
aparajita edited this page Jul 6, 2012
·
2 revisions
When you want to make a pull request that will end up in the main Cappuccino fork, follow these steps:
- If you haven't already gotten the workflow scripts, download them, make them executable and put them in your PATH: scapp-start-topic, scapp-merge-topic, scapp-remove-topic, git-copy-commit-files
- Execute
scapp-start-topic <topic>
. This will create and checkout a new branch based on upstream/master. - Make your changes in the topic branch. If your topic branch requires changes in slevenbits/master that are not yet in cappuccino/master, execute
git-copy-commit-files <sha>
for each commit that is missing. Do not add those files to the topic branch commits! - Test your branch, and when you are satisfied it is working correctly, execute
scapp-merge-topic
from the topic branch. When the script has done the first part of its magic, your browser will open to a new pull request page. Towards the top of the page, it will say "You're asking aljungberg to pull commits intoaljungberg:master
fromslevenbits:master
. Click onaljungberg:master
. - In the left box that appears ("Base branch · tag · commit"), click on the popup menu and select "cappuccino/cappuccino", which should be the second item. Then click "Update Commit Range" on the right.
- The number of "Commits" and "Files Changed" tabs should reflect only the commits you want to pull. Click on those tabs and confirm they are correct.
- Fix up the pull request message if necessary, then click "Send Pull Request".
- Once the pull request has been merged into Cappuccino, execute
scapp-remove-topic <topic>
.