~ubuntu-branches/ubuntu/maverick/duplicity/maverick-proposed

« back to all changes in this revision

Viewing changes to CVS-README

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Hahler
  • Date: 2009-02-12 23:31:44 UTC
  • mfrom: (1.1.8 upstream) (5.2.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090212233144-fzxu9a94bnd2l05d
Tags: 0.5.08-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
CVS README - Notes for people checking out of CVS
 
2
-------------------------------------------------
 
3
 
 
4
Getting duplicity to run:
 
5
-------------------------
 
6
 
 
7
By the numbers:
 
8
1) Do the checkout while in a location called $DUP_ROOT.
 
9
2) cd $DUP_ROOT/duplicity
 
10
3) run "python compilec.py" to create _librsync.so
 
11
4) cd ..
 
12
5) run "./duplicity-bin -V". You will see "duplicity $version" instead
 
13
of the normal version number. Versioning comes during the release.
 
14
 
 
15
To run outside this directory, use PYTHONPATH to set the path. 
 
16
 
 
17
PYTHONPATH=$DUP_ROOT duplicity-bin
 
18
 
 
19
or
 
20
 
 
21
PYTHONPATH=$DUP_ROOT rdiffdir
 
22
 
 
23
 
 
24
Running the unit tests:
 
25
-----------------------
 
26
 
 
27
If you want to try some of tests, you first have to untar the
 
28
testfiles.tar.gz as root (the tarball contains device files, files
 
29
with various uid/gid, etc):
 
30
 
 
31
cd testing; tar -xvzf testfiles.tar.gz
 
32
 
 
33
Then run the various *test.py files, for instance:
 
34
 
 
35
cd testing; python lazytest.py