aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetWeb/get-carpet-darcs.html
blob: 1b6ff367893f2de8d5f27fc1df186dcf27242bb5 (plain)
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<?xml version="1.0" encoding="ISO-8859-15"?>
<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "DTD/xhtml1-transitional.dtd">
<!-- $Header:$ -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15" />
    <title>Getting the Development Version of Carpet</title>
  </head>

  <body>
    <h1>Getting the Development Version of Carpet</h1>



    <h2>About Darcs</h2>

    <p>The development version of Carpet is now managed in a
    <a href="http://abridgegame.org/darcs/">darcs</a> repository.  Darcs
    has a number of advantages for us developers, such as:</p>

    <ul>
      <li>You have a local copy of the repository, and can therefore
          work offline</li>
      <li>You can decide which changes you want to import and export,
          so that you can omit dangerous changes, or keep changes to
          yourself until you are ready to publish them</li>
      <li>You can undo most changes</li>
      <li>You can easily rename files and directories</li>
      <li>Darcs does not need its own server, which makes it both more
          convenient and more secure</li>
    </ul>

    <p>and them some more, as described in the <a
    href="http://abridgegame.org/darcs/manual/">darcs manual</a>.</p>



    <h2>Getting Carpet</h2>

    <p>In order to get the <a
    href="http://www.carpetcode.org/~darcs/carpet/">development
    version of Carpet</a>, you first need to install <tt>darcs</tt> on
    your system.  This is described on the <a
    href="http://abridgegame.org/darcs/">darcs home page</a>, and some
    links to binaries are given in the darcs wiki.  If you have
    problems installing or using darcs in general, then you should ask
    on the darcs mailing list, which I (Erik Schnetter) read
    regularly.  We have also prepared a <a
    href="binaries/darcs-1.0.0rc3-static-linux-i386.gz">gzipped,
    statically linked version for Linux/i386</a>.</p>

    <p>By the way, you can also have a look at <a
    href="http://www.carpetcode.org/~darcs/carpet">Carpet's source
    tree</a> in your web browser.</p>

    <p>After installing <tt>darcs</tt>, take the following steps to
    get Carpet:</p>

    <ol>
      <li>Move your old version of <tt>Carpet</tt> to a secure place:
<pre>cd Cactus
mkdir oldcarpet
mv arrangements/Carpet* oldcarpet</pre></li>

      <li>Get the development version of Carpet.  Carpet consists of
          four arrangements that live in a single repository.  This
          structure is not what Cactus expects, and we will therefore
          put it outside the <tt>arrangements</tt> directory:
<pre>cd Cactus
darcs get http://www.carpetcode.org/~darcs/carpet</pre>
          This copies the whole Carpet repository, and it will take some
          time.</li>

      <li>Create some symbolic links in the arrangements directory:
<pre>cd Cactus/arrangements
ln -s ../carpet/Carpet* .</pre>
          (don't forget the dot at the end of the last line).</li>
    </ol>

    <p>That's it; you can now recompile your Cactus/Carpet
    configurations.</p>



    <h2>Updating Carpet</h2>

    <p>At some time you will want to update your version of Carpet and
    incorporate some changes from the main Carpet repository.</p>

    <ol>
      <li>You do this with the command
<pre>cd Cactus/carpet
darcs pull</pre>
      which will look for new changes, and then ask you which of these
      you want to obtain.  Normally, you will want all changes.</li>
    </ol>



    <h2>Working with Darcs</h2>

    <p>We also have some instructions on how to <a
    href="work-with-darcs.html">develop Carpet with darcs</a>.</p>




    <hr />

    <p>Go back to the <a href="..">Carpet home page</a>.</p>

    <hr />

    <p>
      <a href="http://validator.w3.org/check?uri=referer"><img
          src="http://www.w3.org/Icons/valid-xhtml10"
          alt="Valid XHTML 1.0!" height="31" width="88" /></a>
    </p>

    <hr />
    <address><a href="mailto:schnetter@uni-tuebingen.de"></a></address>
<!-- Created: Tue Sep 28 16:52:20 CEST 2004 -->
<!-- hhmts start -->
Last modified: Sat Nov 13 21:06:10 CST 2004
<!-- hhmts end -->
  </body>
</html>