blob: 39f5da4bbe7a84a55bb5bb95a4b54489d654f80c [file] [log] [blame]
Brian464e3632006-12-05 16:14:14 -07001<HTML>
2
3<TITLE>Cocd Repository</TITLE>
4
5<link rel="stylesheet" type="text/css" href="mesa.css"></head>
6
7<BODY>
8
9<h1>Code Repository</h1>
10
11<p>
12As of December 5, 2006, Mesa is using
13<a href="http://git.or.cz/"target="_parent">git</a>
14as its source code management system.
15CVS was used previously.
16The old CVS repository should no longer be used.
17</p>
18
19The master git repository is hosted on
20<a href="http://www.freedesktop.org" target="_parent">freedesktop.org</a>.
21</p>
22
23<p>
24You may access the repository either as an
25<a href="#anonymous">anonymous user</a> (read-only) or as a
26<a href="#developer">developer</a>
27(read/write).
28</p>
29
30<p>
31You may also
32<a href="http://gitweb.freedesktop.org/?p=mesa/mesa.git"
33target="_parent">browse the git repository</a>.
34</p>
35
36
37<a name="anonymous">
38<H2>Anonymous git Access</H2>
39
40<p>
41To get the Mesa sources anonymously (read-only):
42</p>
43
44<ol>
45<li>Install the git software on your computer if needed.<br><br>
46<li>Get an initial, local copy of the repository with:
47 <pre>
48 git clone git://anongit.freedesktop.org/git/mesa/mesa
49 </pre>
50<li>Later, you can update your tree from the master repository with:
51 <pre>
52 git pull origin
53 </pre>
54</ol>
55
56
57<a name="developer">
58<H2>Developer git Access</H2>
59
60<p>
61Mesa developers need to first have an account on
62<a href="http://www.freedesktop.org" target="_parent">freedesktop.org</a>.
63To get an account, please ask Brian or the other Mesa developers for
64permission.
65Then, if there are no objections, follow this
66<a href="http://www.freedesktop.org/wiki/AccountRequests" target="_parent">
67procedure</a>.
68</p>
69
70<p>
71Once your account is established:
72</p>
73
74<ol>
75<li>Install the git software on your computer if needed.<br><br>
76<li>Get an initial, local copy of the repository with:
77 <pre>
78 git clone git+ssh://username@git.freedesktop.org/git/mesa/mesa
79 </pre>
80 Replace <em>username</em> with your actual login name.<br><br>
81<li>Later, you can update your tree from the master repository with:
82 <pre>
83 git pull origin
84 </pre>
85</ol>
86
87
88<a name="developer">
89<H2>Development Branches</H2>
90
91<p>
92At any given time, there may be several active branches in Mesa's
93repository.
94Generally, the trunk contains the latest development (unstable)
95code while a branch has the latest stable code.
96</p>
97
98<p>
Brian18e9ca52007-02-20 09:24:06 -070099The command <code>git-branch</code> will list all available branches.
100</p>
101
102<p>
103Questions about branch status/activity should be posted to the
104mesa3d-dev mailing list.
Brian464e3632006-12-05 16:14:14 -0700105</p>
106
107
108</body>
109</html>
110
111