Here are some issues that newbies can try.
Before starting, ensure that a recent version of Maven is installed.
git clone https://git-wip-us.apache.org/repos/asf/helix.git cd helix # if you need to work on a specific branch, like helix-0.6.x: # git checkout helix-0.6.x ./build |
If you use Eclipse, be sure to run the following:
mvn eclipse:eclipse |
All code changes in Helix must have an open issue attached to them prior to code review. To create an issue:
If you plan on taking on an existing issue, visit the corresponding issue page and assign it to yourself.
Please follow the Coding Style guidelines. The easiest method is to simply apply helix-style.xml to your IDE to allow for automatic formatting.
Commit your local changes, and prefix the commit with the issue tag:
git commit -a -m "[HELIX-NNN] Description of the code change" |
Run the review submission script:
./hpost-review.sh HEAD^..HEAD NNN |
Replace the commit range with the appropriate range and NNN with the actual issue number.
If there are changes to be made from the review, do the following:
Unstage the commit:
git reset --soft HEAD^ |
Commit everything again locally:
git commit -a -m "[HELIX-NNN] Description of the code change" |
Create a patch:
git format-patch HEAD^ |
Once you receive a "Ship It" from one of the project members, you can do the following to submit the patch:
Create a patch:
git format-patch HEAD^ |