Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Command line tools for use with Review Board

Project Description
About RBTools
=============

RBTools is a set of command line tools and a rich Python API for use with
[Review Board](https://www.reviewboard.org/).

These tools make it easy to post changes for review, keep them up-to-date,
land reviewed changes, and test other people's changes in your own tree,
check your workload, and much more.

When using RBTools, you'll do most everything through the
[rbt](https://www.reviewboard.org/docs/rbtools/latest/#rbt-command) command,
which supports a number of
[sub-commands](https://www.reviewboard.org/docs/rbtools/latest/rbt/commands/),
like [post](https://www.reviewboard.org/docs/rbtools/latest/rbt/commands/post/#rbt-post),
[diff](https://www.reviewboard.org/docs/rbtools/latest/rbt/commands/diff/#rbt-diff),
[land](https://www.reviewboard.org/docs/rbtools/latest/rbt/commands/land/#rbt-land),
and [patch](https://www.reviewboard.org/docs/rbtools/latest/rbt/commands/patch/#rbt-patch).


Installing RBTools
------------------

We provide native installers for Windows and MacOS, along with Python
packages for Linux and other platforms. See the
[RBTools Downloads](https://www.reviewboard.org/downloads/rbtools/) page
for downloads and installation instructions.

See the
[RBTools documentation](https://www.reviewboard.org/docs/rbtools/latest/) for
more information.


Using the Python API
--------------------

The included Python API can be used to write scripts and applications that
interface with Review Board, and can also be used to write new commands
for RBTools.

There's very little that you can't do with the Python API. To learn more,
see the
[RBTools Python API documentation](https://www.reviewboard.org/docs/rbtools/latest/api/)
and the [Review Board API documentation](https://www.reviewboard.org/docs/manual/latest/webapi/).


Getting Support
---------------

We can help you get going with Review Board and RBTools, and diagnose any
issues that may come up. There are two levels of support: Public community
support, and private premium support.

The public community support is available on our main
[discussion list](http://groups.google.com/group/reviewboard/). We generally
respond to requests within a couple of days. This support works well for
general, non-urgent questions that don't need to expose confidential
information.

We can also provide more
[dedicated, private support](https://www.beanbaginc.com/support/contracts/) for
your organization through a support contract. We offer same-day responses
(generally within a few hours, if not sooner), confidential communications,
installation/upgrade assistance, emergency database repair, phone/chat (by
appointment), priority fixes for urgent bugs, and backports of urgent fixes to
older releases (when possible).


Our Happy Users
---------------

There are thousands of companies and organizations using Review Board and
RBTools today. We respect the privacy of our users, but some of them have
asked to feature them on the [Happy Users
page](https://www.reviewboard.org/users/).

If you're using Review Board, and you're a happy user,
[let us know!](https://groups.google.com/group/reviewboard/)


Reporting Bugs
--------------

Hit a bug? Let us know by
[filing a bug report](https://www.reviewboard.org/bugs/new/).

You can also look through the
[existing bug reports](https://www.reviewboard.org/bugs/) to see if anyone else
has already filed the bug.


Contributing
------------

Are you a developer? Do you want to integrate with RBTools, or work on RBTools
itself? Great! Let's help you get started.

First off, read through our
[contributor guide](https://www.reviewboard.org/docs/codebase/dev/).

We accept patches to Review Board, RBTools, and other related projects on
[reviews.reviewboard.org](https://reviews.reviewboard.org/). (Please note that
we do not accept pull requests.)

Got any questions about anything related to RBTools and development? Head
on over to our
[development discussion list](https://groups.google.com/group/reviewboard-dev/).


### Testing RBTools

If you're writing patches for RBTools, you'll need to know how to run our
test suite.

First, make sure you have the necessary dependencies.

To run all the tests, you will need to install hgsubversion:

```
$ easy_install hgsubversion
```

This may need apr-config, also known as apr-1-config, to run. This is
part of the apache distribution. On ubuntu, you can get it via:

```
$ sudo apt-get install libapr1-dev # also try apache2-dev or httpd-dev
```

hgsubversion also requires that you set up an :file:`.hgrc` in your home
directory with the following contents:

```
[extensions]
hgsvn = /path/to/hgsubversion
```

This will be something like
`/usr/local/lib/python2.7/dist-packages/hgsubversion`. If you already have an
`[extensions]` section in your `.hgrc`, just add the hgsvn line to it.

You will also need nose:

```
$ easy_install nose
```


#### Running the Tests

Running the test suite is easy. Simply run:

```
$ nosetests -v
```

from the top of the `rbtools` directory. You can also run a particular
set of tests. For instance:

```
$ nosetests -v rbtools.api.tests
```

See `'nosetests --help'` for more options.


Related Projects
----------------

* [Review Board](https://github.com/reviewboard/reviewboard/) -
Our powerful, open source code review tool.
* [Djblets](https://github.com/djblets/djblets/) -
Our pack of Django utilities for datagrids, API, extensions, and more. Used
by Review Board.
* [ReviewBot](https://github.com/reviewboard/ReviewBot/) -
Pluggable, automated code review for Review Board.
* [rb-gateway](https://github.com/reviewboard/rb-gateway/) -
Manages Git repositories, providing a full API enabling all of Review Board's
feaures.
Release History

Release History

This version
History Node

0.7.10

History Node

0.7.9

History Node

0.7.8

History Node

0.7.7

History Node

0.7.6

History Node

0.7.5

History Node

0.7.4

History Node

0.7.3

History Node

0.7.2

History Node

0.7.1

History Node

0.7

History Node

0.6.3

History Node

0.6.1

History Node

0.6

History Node

0.5.7

History Node

0.5.6

History Node

0.5.5

History Node

0.5.4

History Node

0.5.3

History Node

0.5.2

History Node

0.5.1

History Node

0.5

History Node

0.4.3

History Node

0.4.2

History Node

0.4.1

History Node

0.4

History Node

0.4.dev

History Node

0.3.2

History Node

0.3.1

History Node

0.3

History Node

0.2

History Node

0.2rc1

History Node

0.2beta2

History Node

0.2beta1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
RBTools-0.7.10-py2.6.egg (447.6 kB) Copy SHA256 Checksum SHA256 2.6 Egg May 24, 2017
RBTools-0.7.10-py2.7.egg (446.1 kB) Copy SHA256 Checksum SHA256 2.7 Egg May 24, 2017
RBTools-0.7.10-py2-none-any.whl (198.9 kB) Copy SHA256 Checksum SHA256 py2 Wheel May 24, 2017
RBTools-0.7.10.tar.gz (172.0 kB) Copy SHA256 Checksum SHA256 Source May 24, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting