Skip to content

Command line tools for working with Review Board

License

Notifications You must be signed in to change notification settings

bentimms/rbtools

 
 

Repository files navigation

About rbtools
=============

rbtools is a set of client tools to use with Review Board.

This consists of the following officially supported tools:

    * post-review
      - Create and update review requests based on changes in a local tree.

    * rbt
      - Execute a number of useful sub-commands to interact with local source
        code repositories and Review Board.

    * Python API Client
      - Python bindings to simplify interaction with the the Review Board
        Web API.


There are also some user-contributed scripts and application plugins in the
contrib directory. See the associated README files for more information.


Testing rbtools
===============

This is of interest mostly to developers of rbtools.


Installation
------------

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
:file:`/usr/local/lib/python2.7/dist-packages/hgsubversion`.
If you already have an ``[extensions]`` section in your :file:`.hgrc`, just add
the hgsvn line to it.

You will also need nose::

   $ easy_install nose


Running
-------

Just run::

   $ nosetests

from the top of the rbtools directory. You can run nosetests in subdirectories
to just run the tests in that directory.  See `'nosetests --help'` for more
options.

About

Command line tools for working with Review Board

Resources

License

Stars

Watchers

Forks

Packages

No packages published