Oh man, do we have a great release for you today.
RBTools 0.6 has just been released, and it's a big one. We spent a lot of time simplifying the process for posting and updating review requests, and we think it's going to make life a lot easier for just about everyone.
Posting using Git or Mercurial used to require dealing with
--revision-range, along with our custom revision syntax. Now all you have to do is pass native revisions or revision ranges to
rbt post, like so:
$ rbt post HEAD
$ rbt post main-branch..feature-branch
$ rbt post 123:126
Compare this to the old way of doing things:
$ rbt post --parent=HEAD^
$ rbt post --revision-range=main-branch:feature-branch
$ rbt post --revision-range=123:126
We've also improved how "guessing" descriptions and summaries from commits work. In previous versions, you needed to run
rbt post -g to enable guessing, but in 0.6, it's now automatic for new review requests. This means less typing and less work to do.
That behavior can also be changed through new
GUESS_FIELDS settings in
.reviewboardrc. This is covered more in the documentation.
A few other goodies:
- Feature and performance improvements for Mercurial
- Shelf support for Perforce
- Git repository hook scripts for auto-closing review requests and requiring approval for pushes
- Support for Markdown commit descriptions in Review Board 2.0
- Recording commit IDs in Review Board 2.0
- Many new configuration options
A couple important notes. We've removed support for the old
post-review tool. Running
post-review will now tell you to use
rbt post instead.
We've also removed support for Python 2.4. You will now need 2.5 or higher. We strongly recommend that everybody upgrades to Python 2.7.
See the release notes for the complete list of changes.