Versions Compared

Key

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

...

The easiest way to post a patch to Review Board is by using the post-review rbt tool. Install it using easy_install.

...

Code Block
   $ sudo easy_install -U RBTools

Essentially, post-review rbt is a script that will take the output of svn diff and create a review request out of it for you. Once you have a working copy with the changes you expect in the output of svn diff, run the following command:

Code Block
   $ rbt post [-review
r <review-board-id>]

If it complains about not knowing which Review Board server to use, add the server option:

Code Block
   $ post-reviewrbt --server=https://reviewboard.asterisk.org

...

Now, it should work, and you can run "post-reviewrbt" as usual.

Updating Patch on Existing Review Request

Most of the time, a patch on Review Board will require multiple iterations before other sign off on it being ready to be merged. To update the diff for an existing review request, you can use post-review and the -r option. Apply the current version of the diff to a working copy as described above, and then run the following command:

Code Block
   $ rbt post-review -r <review request number>