Versions Compared

Key

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

...

Code Block
nnarkhed-mn:kafka-git-idea nnarkhed$ python kafka-rbpatch-review.py --help
usage: kafka-rbpatch-review.py [-h] -b BRANCH -j JIRA [-s SUMMARY]
                             [-d DESCRIPTION]
                   [-r REVIEWBOARD] [-t TESTING]
                             [-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
  -t TESTING, --testing-done TESTING
                        Text for the Testing Done section of the reviewboard
  -v VERSION, --version VERSION
                        Version of the patch
  -db, --debug          Enable debug mode

...

Example:

Code Block
 python kafka-patch-rbreview.py -b origin/trunk -j KAFKA-42 -s "test summary" -d "test description"

...

Example:

Code Block
python kafka-patch-rbreview.py -b origin/trunk -j KAFKA-42 -r 14081 -s "update summary" -d "update description" --version v2

...