567.2.1
by Larry Gilbert
CVS-README changed to REPO-README and updated with Launchpad/bzr info |
1 |
REPO README - Notes for people checking out of Launchpad (bzr)
|
2 |
--------------------------------------------------------------
|
|
10
by bescoto
Make CVS more friendly; don't depend on src symlink |
3 |
|
4 |
Getting duplicity to run:
|
|
5 |
-------------------------
|
|
6 |
||
324
by loafman
sr #106496: put install-from-cvs-notes in CVS-README |
7 |
By the numbers: |
567.2.1
by Larry Gilbert
CVS-README changed to REPO-README and updated with Launchpad/bzr info |
8 |
1) Do the checkout while in a location called $DUP_ROOT:
|
9 |
bzr lp:duplicity . [for the dev branch] |
|
10 |
-OR- bzr lp:duplicity/stable . [for the stable branch] |
|
324
by loafman
sr #106496: put install-from-cvs-notes in CVS-README |
11 |
2) cd $DUP_ROOT/duplicity
|
12 |
3) run "python compilec.py" to create _librsync.so
|
|
13 |
4) cd ..
|
|
14 |
5) run "./duplicity-bin -V". You will see "duplicity $version" instead
|
|
15 |
of the normal version number. Versioning comes during the release. |
|
16 |
||
17 |
To run outside this directory, use PYTHONPATH to set the path. |
|
10
by bescoto
Make CVS more friendly; don't depend on src symlink |
18 |
|
19 |
PYTHONPATH=$DUP_ROOT duplicity-bin |
|
20 |
||
21 |
or |
|
22 |
||
23 |
PYTHONPATH=$DUP_ROOT rdiffdir |
|
24 |
||
25 |
||
26 |
Running the unit tests:
|
|
27 |
-----------------------
|
|
28 |
||
29 |
If you want to try some of tests, you first have to untar the |
|
30 |
testfiles.tar.gz as root (the tarball contains device files, files |
|
31 |
with various uid/gid, etc): |
|
32 |
||
33 |
cd testing; tar -xvzf testfiles.tar.gz |
|
34 |
||
35 |
Then run the various *test.py files, for instance: |
|
36 |
||
37 |
cd testing; python lazytest.py |