RBTools 0.7 is packed with new tools and improvements for your workflow, making it faster to install, post changes to RBCommons, and land your changes.
There’s a lot here, so we’ll go into the major new additions.
Easy installation for Windows and MacOS X
We’ve improved the installation experience. If you’re on Windows or MacOS X, you can simply download the RBTools installer for your platform. In seconds, you’ll be ready to use the latest RBTools.
Land reviewed changes with one command
The all-new rbt land is the fastest way to take a change (in a local branch or a review request), validate that it’s been reviewed, and land it in your repository. It will format the commit message to include the review request’s description and testing information, and can even handle pushing the change upstream and deleting the local branch in one go.
(This is currently only available for Git repositories. Support for other repositories will come soon.)
Exclude files from review
Sometimes you’ll have modified files that you just don’t want up for review. Auto-generated code, for instance. You can now exclude these when posting changes for review by using the new -X
option to rbt post
, or by setting EXCLUDE_PATTERNS
in .reviewboardrc
.
Make your own commands with aliases
Ever find yourself repeating a group of options? rbt post -g yes -u HEAD
, for instance? In 0.7, you can create an alias — a new RBTools command, basically — for those options.
You can even go a step further and make an alias that runs non-RBTools commands. Want to always run unit tests before posting code? Make an alias. How about merging the latest upstream changes into your branch before posting? There’s another alias!
See the documentation on aliases for more information.
Faster communication with RBCommons
We’ve sped up RBTools by caching results from RBCommons. This means lots of operations, such as posting changes, is faster than ever.
If you’re using the RBTools Python API to write your own integrations, you’ll benefit from this with no additional work on your end.
And lots more!
We haven’t even talked about rbt stamp
, support for API tokens, or all the bug fixes and other feature improvements.
Check out the release notes for the whole list of changes.