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

  

 

Tests

  

 

Setup

  

Install rbt to make life easier.   

 sudo easy_install -U RBTools

...

 

Workflow  

After setting up, you'll want to checkout the code.   

 git clone http://git-wip-us.apache.org/repos/asf/samza.git

...

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=SAMZA-2

...

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

 

...

 rbt publish 13725

...

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.   

 curl https://reviews.apache.org/r/13725/diff/raw/ > /tmp/SAMZA-2.0.patch

...

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.