nnarkhed-mn:kafka-git-idea nnarkhed$ python kafka-rb.py --help usage: kafka-rb.py [-h] -b BRANCH -j JIRA [-s SUMMARY] [-d DESCRIPTION] [-r REVIEWBOARD] [-v VERSION] [-db] Kafka patch review tool optional arguments: -h, --help show this help message and exit -b BRANCH, --branch BRANCH Tracking branch to create diff against -j JIRA, --jira JIRA JIRA corresponding to the reviewboard -s SUMMARY, --summary SUMMARY Summary for the reviewboard -d DESCRIPTION, --description DESCRIPTION Description for reviewboard -r REVIEWBOARD, --rb REVIEWBOARD Review board that needs to be updated -v VERSION, --version VERSION Version of the patch -db, --debug Enable debug mode |
Example:
python kafka-rb.py -b origin/trunk -j KAFKA-42 -s "test summary" -d "test description" |
Example:
python kafka-rb.py -b origin/trunk -j KAFKA-42 -r 14081 -s "update summary" -d "update description" --version v2 |
Install the jira-python package
sudo easy_install jira-python |
Include a jira.ini file in your $HOME directory that contains your Apache JIRA username and password
nnarkhed-mn:~ nnarkhed$ cat ~/jira.ini user=nehanarkhede password=*********** |
This is a quick tutorial on using Review Board with Kafka.
Follow the instructions here to setup the post-review tool.
Then you need to configure a few things to make it work:
First set the review board url to use. You can do this from in git:
git config reviewboard.url https://reviews.apache.org |
If you checked out using the git wip http url that confusingly won't work with review board. So you need to configure an override to use the non-http url. You can do this by adding a config file like this:
jkreps$ cat ~/.reviewboardrc REPOSITORY = 'git://git.apache.org/kafka.git' |