forked from reviewboard/rbtools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
67 lines (41 loc) · 1.65 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
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.