merge from tridge
[sahlberg/ctdb.git] / web / download.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE>CTDB</TITLE>
5 </HEAD>
6 <!--#include virtual="header.html" -->
7
8 <H2 align="center">Getting the code</h2>
9
10 You need two source trees, one is a copy of Samba3 with clustering patches, and the other is the ctdb code itself.<br>
11
12 Both source trees are stored in bzr repositories.<br><br>
13
14 See http://bazaar-vcs.org/ for more information on bzr.<br><br>
15
16 <h2>CTDB</h2>
17 To get an initial checkout of the ctdb code do this:
18 <pre>
19    rsync -avz samba.org::ftp/unpacked/ctdb .
20 </pre>
21
22 To update this tree when improvements are made in the upstream code do this:
23 <pre>
24     cd ctdb
25     bzr merge http://samba.org/~tridge/ctdb
26 </pre>
27
28 If you don't have bzr and can't easily install it, then you can instead use the following command to update your tree to the latest version:
29 <pre>
30     cd ctdb
31     rsync -avz samba.org::ftp/unpacked/ctdb/ .
32 </pre>
33
34
35 <h2>Samba3 ctdb verion</h2>
36 The fastest way to checkout an initial copy of the Samba3 tree with clustering patches is:
37 <pre>
38   rsync -avz samba.org::ftp/unpacked/samba_3_0_ctdb .
39 </pre>
40
41 To update this tree when improvements are made in the upstream code do this:
42 <pre>
43    cd samba_3_0_ctdb
44    bzr merge http://samba.org/~tridge/samba_3_0_ctdb
45 </pre>
46
47 If you don't have bzr and can't easily install it, then you can instead use the following command to update your tree to the latest version:
48 <pre>
49     cd samba_3_0_ctdb
50     rsync -avz samba.org::ftp/unpacked/samba_3_0_ctdb/ .
51 </pre>
52
53 <!--#include virtual="footer.html" -->