~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to INSTALL

  • Committer: Aaron Bentley
  • Date: 2005-07-27 18:29:28 UTC
  • Revision ID: abentley@panoramicfeedback.com-20050727182928-3b0b9c09a1b48bd7
Updated test suite to be usable from bzr

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
How to install bzrtools:
2
 
All the tools are plugins, so you can install them in your plugins directory.
3
 
IT IS IMPORTANT TO MOVE/COPY THE BZRTOOLS DIRECTORY, NOT ITS CONTENTS.
4
 
 
5
 
$ mv ~/bzrtools ~/.bazaar/plugins/
6
 
You may have to create the plugins directory first.
7
 
 
8
 
Alternatively, you can install them at the system-wide plugin location:
9
 
$ sudo python2.4 setup.py install
10
 
 
11
 
You can test whether they are successfully installed by doing 
12
 
"bzr clean-tree -h"
13
 
 
14
 
Optional Dependencies:
15
 
rsync          - used by rspush
16
 
diff           - used by shelve and unshelve
17
 
patch          - used by shelve, unshelve and patch
18
 
baz and pybaz  - used by baz-import
19
 
testresources  - used by the baz-import test suite
20
 
 
21
 
Getting 
22
 
If you want to use baz-import you must have PyBaz installed.
23
 
Your distro may provide PyBaz, or you can install it from source:
24
 
http://code.aaronbentley.com/pybaz/releases/pybaz-1.5.tar.gz
25
 
 
26
 
If you want to test your install:
27
 
/path/to/bzrtools/test.py [/path/to/bzr]
28
 
 
29
 
To perform a complete baz-import test, you'll also need testresources:
30
 
$ cd ~/bzrtools/external
31
 
$ bzr get http://www.robertcollins.net/unittest/testresources/
 
1
How to install bzrtools
 
2
 
 
3
DEBIAN
 
4
You can build a package by doing debuild in the project root.  For this to
 
5
work, you'll need debhelper, cdbs, and devtools installed.
 
6
There may be pre-built debs at http://www.panoramicfeedback.com/opensource/debs
 
7
 
 
8
GENERAL
 
9
An easier install method will come.  For now...
 
10
 
 
11
baz2bzr works with the standard bzr tree. (rev 611 and later)
 
12
 
 
13
If you don't want to use baz2bzr, you can skip to step 2
 
14
 
 
15
1. If you want to use baz2bzr, stick a pybaz symlink in the bzrtools tree:
 
16
$ baz register-archive http://ddaa.net/arch/2004
 
17
$ baz get ddaa@ddaa.net--2004/pybaz--devo--0 pybaz
 
18
$ cd bzrtools
 
19
$ ln -s ../pybaz/pybaz
 
20
 
 
21
2. In the bzrtools directory, create a symlink to the bzrlib directory
 
22
(e.g. ln -s ../bzr.dev/bzrlib)
 
23
 
 
24
3. Create a symlink to the scripts in your path
 
25
(e.g. cd ~/bin; ln -s ~/bzrtools/bzr-push)