Robin Stocker | f3fc379 | 2014-07-19 14:59:12 +1000 | [diff] [blame] | 1 | Contributing |
| 2 | ============ |
| 3 | |
| 4 | Please refer to the contributor guide for all the details: |
| 5 | |
| 6 | https://wiki.eclipse.org/EGit/Contributor_Guide |
| 7 | |
| 8 | |
| 9 | Reporting bugs |
| 10 | -------------- |
| 11 | |
| 12 | For anything other than small changes, it's a good idea to open a bug |
| 13 | report for it (in case one doesn't already exist). This gives others the |
| 14 | chance to give input and is useful for tracking. Create one here: |
| 15 | |
| 16 | https://bugs.eclipse.org/bugs/enter_bug.cgi?product=JGit |
| 17 | |
| 18 | |
| 19 | Submitting changes |
| 20 | ------------------ |
| 21 | |
| 22 | We use Gerrit to review all changes by committers or contributors before |
| 23 | they are merged: |
| 24 | |
| 25 | https://git.eclipse.org/r/ |
| 26 | |
| 27 | Make sure you have an account and have set up the `commit-msg` hook |
| 28 | before committing. |
| 29 | |
| 30 | When committing your changes, see the contributor guide or other commits |
| 31 | on what your commit message should include. |
| 32 | |
| 33 | Run the following to push your change for review (with `username` |
| 34 | replaced by your Gerrit username): |
| 35 | |
| 36 | git push ssh://username@git.eclipse.org:29418/jgit/jgit.git HEAD:refs/for/master |
| 37 | |
| 38 | Add the link to the review as a comment on the bug report, so that |
| 39 | people coming from the bug report can find it. |
| 40 | |
| 41 | Then wait for someone to review your change. If there is something to be |
| 42 | corrected, amend your commit and push it again. |
| 43 | |
| 44 | Have fun :). |