Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Interested in contributing patches to Samza? This page will get you started.  

Rules

Style

Please read this page for coding style suggestions.

Tests

Setup

Install rbt to make life easier.  

...

To work on a JIRA once you've checked out, create a new branch.  

 git branch SAMZA-2_fine-grain-control-over-stream-consumption

Now you can checkout the branch to work on it.  

 git checkout SAMZA-2_fine-grain-control-over-stream-consumption

Once you've committed some changes to the branch, you can submit your patch to Review Board.  

 rbt post --summary=s "SAMZA-2: fix the bug of .." -d "Detailed description of my patch"

The post command will spit out a URL. Verify that everything looks good, and then publish the review.  

...

Publishing will notify the dev mailing list that a new review request has been published.  


The JIRA for the bug you're working on should be updated as well. Start by downloading the diff from Review Board.  

...

Next, visit the JIRA page (e.g. https://issues.apache.org/jira/browse/SAMZA-2), and attach the patch file with a comment that points to the review board. See this example.

 

After you got some reviews and updated your working branch accordingly, you can update the review board:

 rbt post -r 13725 -d "Description of my updated code"

Committer Workflow

If you have commit access on the apache repository then you will not be applying patches in the manner described in the contributor workflow. Instead, once your patch has been reviewed you will check it in yourself as follows:

...