Metadata-Version: 2.4
Name: RBTools
Version: 5.2.dev0
Summary: Command line tools and API for working with code and document reviews on Review Board
Author-email: "Beanbag, Inc." <questions@beanbaginc.com>
License: MIT
Project-URL: homepage, https://www.reviewboard.org/downloads/rbtools/
Project-URL: documentation, https://www.reviewboard.org/docs/rbtools/
Project-URL: repository, https://github.com/reviewboard/rbtools
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Framework :: Review Board
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Quality Assurance
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: COPYING
License-File: AUTHORS
Requires-Dist: certifi>=2023.5.7
Requires-Dist: colorama
Requires-Dist: housekeeping~=1.1
Requires-Dist: packaging>=21.3
Requires-Dist: puremagic
Requires-Dist: pydiffx~=1.1.0
Requires-Dist: texttable
Requires-Dist: typing_extensions>=4.3.0
Requires-Dist: tqdm
Requires-Dist: importlib-metadata>=5.0
Requires-Dist: importlib-resources>=5.9
Dynamic: license-file

RBTools - Command Line Tools for Review Board
=============================================

[![Latest Release](https://img.shields.io/pypi/v/RBTools)](https://pypi.org/project/RBTools)
[![License](https://img.shields.io/badge/license-MIT-green.svg)](https://opensource.org/licenses/MIT)
[![Review Board](https://img.shields.io/badge/Review%20Board-d0e6ff?label=reviewed%20with)](https://www.reviewboard.org)
[![Python](https://img.shields.io/pypi/pyversions/RBTools)](https://pypi.org/project/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
------------------

You can install RBTools in any Python environment by running:

```console
$ pip install RBTools
```

We also provide native installers for Windows. 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.

We provide more [dedicated, private
support](https://www.reviewboard.org/support/) for your organization through a
support contract, offering:

* Same-day responses (generally within a few hours, if not sooner)
* Confidential communications
* Installation/upgrade assistance
* Emergency database repair
* Video/chat meetings (by appointment)
* Priority fixes for urgent bugs
* Backports of urgent fixes to older releases (when possible)

Support contracts fund the development of Review Board, RBTools, and our other
open source projects.

For basic questions, there's a public community support
[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.


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.

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:

```console
$ pip install -e .
$ pip install -r dev-requirements.txt
```


#### Running the Tests

Running the test suite is easy. Simply run:

```console
$ pytest
```

from the top of the source tree. You can also run a particular set of tests.
For instance:

```console
$ pytest ./rbtools/api/tests
```

See `pytest --help` for more options.


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

* [Review Board](https://www.reviewboard.org) -
  Our open source, extensible code review, document review, and image review
  tool.

* [Djblets](https://github.com/djblets/djblets/) -
  Our pack of Django utilities for datagrids, API, extensions, and more. Used
  by Review Board.

* [Review Bot](https://www.reviewboard.org/downloads/reviewbot/) -
  Pluggable, automated code review for Review Board.

* [RB Gateway](https://www.reviewboard.org/downloads/rbgateway/) -
  Manages Git repositories, providing a full API enabling all of Review Board's
  feaures.

You can see more on [github.com/beanbaginc](https://github.com/beanbaginc) and
[github.com/reviewboard](https://github.com/reviewboard).
