THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- Customize the jira.sh script to customize "server", "user" and "password"
Code Block java \-jar `dirname $0`/lib/jira-cli-3.6.0.jar \--server "https://issues.apache.org/jira" \--user nehanarkhede \--password \*******\* "$@"
- Add an environment variable JIRA_CMDLINE_HOME and point it to the location of the jira.sh script
Code Block nnarkhed-mn:kafka-git-idea nnarkhed$ echo $JIRA_CMDLINE_HOME /Users/nnarkhed/bin/jira-cli-3.6.0/
...
Code Block |
---|
jkreps$ cat ~/.reviewboardrc
REPOSITORY = 'git://git.apache.org/kafka.git'
|
3. Post Patches
Now to file a new review board containing the differences in this branch versus trunk do
Code Block |
---|
jkreps$ post-review --tracking-branch=origin/trunk
==> HTTP Authentication Required
Enter authorization information for "Web API" at reviews.apache.org
Username: jkreps
Password:
Review request #13834 posted.
https://reviews.apache.org/r/13834/
|
You can also fill in some of the fields as part of your command by doing
Code Block |
---|
jkreps$ post-review --tracking-branch=origin/trunk --summary="My simple change" --description="A simple change that I made"
|
Or if you are lazy and there is only one commit you can have review board guess the summary and description from the commit message:
Code Block |
---|
jkreps$ post-review --tracking-branch=origin/trunk -g
|
4. Revise Your Patches
You can update an existing review board by using the -r option to specify which review board to update:
Code Block |
---|
jkreps$ post-review --tracking-branch=origin/trunk -r 42
|