THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Kafka JIRA and Reviewboard script
1. Setup
...
- Follow instructions here to setup the JIRA command line tool
...
- Follow instructions here to setup the reviewboard tool
...
- Download the kafka reviewboard script here and place it in the location of your git checkout.
2. Usage
Code Block |
---|
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 |
3. Upload patch
...
- Ensure the patch review tool is in the directory where the git repository is checked out
...
- Specify the branch against which the patch should be created (-
...
- b)
...
- Specify the corresponding JIRA (-
...
- j)
...
- Specify an optional summary (-
...
- s) and (-
...
- d) for the reviewboard
Example:
Code Block |
---|
python kafka-rb.py -b origin/trunk -j KAFKA-42 -s "test summary" -d "test description" |
...
- Ensure the patch review tool is in the directory where the git repository is checked out
- Specify the branch against which the patch should be created (--branchb)
- Specify the corresponding JIRA (--jira)
- Specify the rb to be updated (--reviewboardr)
- Specify an optional summary (-summarys) and (-descriptiond) for the reviewboard, if you want to update it
- Specify an optional version of the patch. This will be appended to the jira to create a file named JIRA-<version>.patch. The purpose is to be able to upload multiple patches to the JIRA. This has no bearing on the reviewboard update.
...