post-review, git-svn and Review Board
Here’s how to set up the excellent VMware-developed open-source Review Board and its [post-review](http://www.reviewboard.org/docs/releasenotes/dev/rbtools/0.2/)
command line review creation utility to work with git and git-svn on your computer.
My assumption is that you’re working with a local Git repository that is remotely linked to an SVN repository via the git-svn bridge. Let’s assume that your master branch is synced with the SVN repository, and you’re working on bug_12345_branch
.
-
Make sure you have RBTools installed (
sudo easy_install rbtools
for me on Ubuntu Linux), and Review Board set up elsewhere. -
Add a link to your Review Board URL in .git/config:
1 2 [reviewboard] url = <a href="#">https://(url_for_review_board)/</a>
-
Make sure all your changes in
bug_12345_branch
have been locally committed. -
post-review -o
, and… -
Voila! You should have a new review up on your Review Board instance.
-
(After you get reviews, you can modify
bug_12345_branch
, pull the changes into master, and thengit svn dcommit
, blah, blah, blah.)