forked from zaproxy/zaproxy
-
Notifications
You must be signed in to change notification settings - Fork 2
Contributing Changes
psiinon edited this page Jun 12, 2015
·
4 revisions
This is work in progress, and has not been agreed upon yet ;)
It also just covers Eclipse - please update for other IDEs!
The ZAP branching model is based on http://nvie.com/posts/a-successful-git-branching-model/
In order to contribute code back to ZAP you will need to:
- Go to the relevant project pages (such as zaproxy/zaproxy)
- Click on the "Fork" button on the top right
You can import your projects directly into your IDE, in which case you can skip this step.
However if you have imported the zaproxy projects into Eclipse using the psf referred to in the Building page you will need to:
- For Eclipse
- Select the menu Window -> Show View -> Other
- Git / Git Repositories
- In the Git Repositories tab Right click the project/Remotes/origin node
- Select "Configure Push..."
- Enter your repo's URI
- For Eclipse
- Select the Git Repositories tab
- Right click the project/Remotes node and select "Create Remote"
- Enter a Remote name of "upstream"
- Select "Configure fetch"
- Enter the original zaproxy repo URI
- For Eclipse
- Right click the project
- Team -> Switch to -> New Branch...
Which is out of the scope of this guide ;)
-
For Eclipse
- Right click the project
- Team -> Commit...
- Enter a suitable commit message, referring to any bugs fixed as per https://help.github.com/articles/closing-issues-via-commit-messages/
- Double check you've included the right files
- "Commit and Push"
-
In GitHub
- Go to your project
- Click "Pull Request"
- For Eclipse
- For each project
- Right click the project
- Select "Team -> Remote -> Fetch From..."
- Choose the "upstream" remote