/[gentoo]/xml/htdocs/proj/en/glep/glep-0036.html
Gentoo

Diff of /xml/htdocs/proj/en/glep/glep-0036.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.4
6PEP, see http://www.python.org/peps/pep-0001.html for instructions and links 6PEP, see http://www.python.org/peps/pep-0001.html for instructions and links
7to templates. DO NOT USE THIS HTML FILE AS YOUR TEMPLATE! 7to templates. DO NOT USE THIS HTML FILE AS YOUR TEMPLATE!
8--> 8-->
9<head> 9<head>
10 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 10 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
11 <meta name="generator" content="Docutils 0.3.5: http://docutils.sourceforge.net/" /> 11 <meta name="generator" content="Docutils 0.3.7: http://docutils.sourceforge.net/" />
12 <title>GLEP 36 -- Subversion/CVS for Gentoo Hosted Projects</title> 12 <title>GLEP 36 -- Subversion/CVS for Gentoo Hosted Projects</title>
13 <link rel="stylesheet" href="tools/glep.css" type="text/css" /> 13 <link rel="stylesheet" href="tools/glep.css" type="text/css" />
14</head> 14</head>
15<body bgcolor="white"> 15<body bgcolor="white">
16<table class="navigation" cellpadding="0" cellspacing="0" 16<table class="navigation" cellpadding="0" cellspacing="0"
22<td class="textlinks" align="left"> 22<td class="textlinks" align="left">
23[<b><a href="http://www.gentoo.org/">Gentoo Linux Home</a></b>] 23[<b><a href="http://www.gentoo.org/">Gentoo Linux Home</a></b>]
24[<b><a href="http://www.gentoo.org/proj/en/glep">GLEP Index</a></b>] 24[<b><a href="http://www.gentoo.org/proj/en/glep">GLEP Index</a></b>]
25[<b><a href="./glep-0036.txt">GLEP Source</a></b>] 25[<b><a href="./glep-0036.txt">GLEP Source</a></b>]
26</td></tr></table> 26</td></tr></table>
27<div class="document">
28<table class="rfc2822 field-list" frame="void" rules="none"> 27<table class="rfc2822 docutils field-list" frame="void" rules="none">
29<col class="field-name" /> 28<col class="field-name" />
30<col class="field-body" /> 29<col class="field-body" />
31<tbody valign="top"> 30<tbody valign="top">
32<tr class="field"><th class="field-name">GLEP:</th><td class="field-body">36</td> 31<tr class="field"><th class="field-name">GLEP:</th><td class="field-body">36</td>
33</tr> 32</tr>
34<tr class="field"><th class="field-name">Title:</th><td class="field-body">Subversion/CVS for Gentoo Hosted Projects</td> 33<tr class="field"><th class="field-name">Title:</th><td class="field-body">Subversion/CVS for Gentoo Hosted Projects</td>
35</tr> 34</tr>
36<tr class="field"><th class="field-name">Version:</th><td class="field-body">1.1</td> 35<tr class="field"><th class="field-name">Version:</th><td class="field-body">1.4</td>
37</tr> 36</tr>
38<tr class="field"><th class="field-name">Author:</th><td class="field-body">Aaron Walker &lt;ka0ttic&#32;&#97;t&#32;gentoo.org&gt;</td> 37<tr class="field"><th class="field-name">Author:</th><td class="field-body">Aaron Walker &lt;ka0ttic&#32;&#97;t&#32;gentoo.org&gt;</td>
39</tr> 38</tr>
40<tr class="field"><th class="field-name">Last-Modified:</th><td class="field-body"><a class="reference" href="http://www.gentoo.org/cgi-bin/viewcvs/xml/htdocs/proj/en/glep/glep-0036.txt?cvsroot=gentoo">2005/03/13 16:12:53</a></td> 39<tr class="field"><th class="field-name">Last-Modified:</th><td class="field-body"><a class="reference" href="http://www.gentoo.org/cgi-bin/viewcvs/xml/htdocs/proj/en/glep/glep-0036.txt?cvsroot=gentoo">2005/04/14 13:22:07</a></td>
41</tr> 40</tr>
42<tr class="field"><th class="field-name">Status:</th><td class="field-body">Draft</td> 41<tr class="field"><th class="field-name">Status:</th><td class="field-body">Final</td>
43</tr> 42</tr>
44<tr class="field"><th class="field-name">Type:</th><td class="field-body">Standards Track</td> 43<tr class="field"><th class="field-name">Type:</th><td class="field-body">Standards Track</td>
45</tr> 44</tr>
46<tr class="field"><th class="field-name">Content-Type:</th><td class="field-body"><a class="reference" href="glep-0012.html">text/x-rst</a></td> 45<tr class="field"><th class="field-name">Content-Type:</th><td class="field-body"><a class="reference" href="glep-0012.html">text/x-rst</a></td>
47</tr> 46</tr>
48<tr class="field"><th class="field-name">Created:</th><td class="field-body">11-Nov-2004</td> 47<tr class="field"><th class="field-name">Created:</th><td class="field-body">11-Nov-2004</td>
49</tr> 48</tr>
50<tr class="field"><th class="field-name">Post-Date:</th><td class="field-body">13-Mar-2005</td> 49<tr class="field"><th class="field-name">Post-Date:</th><td class="field-body">13-Mar-2005, 21-Mar-2005</td>
51</tr> 50</tr>
52</tbody> 51</tbody>
53</table> 52</table>
54<hr /> 53<hr />
55<div class="contents topic" id="contents"> 54<div class="contents topic" id="contents">
72<p>By offering a choice of version control systems, developers who want or need 71<p>By offering a choice of version control systems, developers who want or need
73certain features, can choose which one suits them or their project the best.</p> 72certain features, can choose which one suits them or their project the best.</p>
74<p>In addition, there are quite a few projects that should be Gentoo hosted, but 73<p>In addition, there are quite a few projects that should be Gentoo hosted, but
75are hosted elsewhere due to the fact that Subversion is not currently offered. 74are hosted elsewhere due to the fact that Subversion is not currently offered.
76Examples include the app-vim/gentoo-syntax package (<a class="footnote-reference" href="#id6" id="id1" name="id1">[1]</a>), and 75Examples include the app-vim/gentoo-syntax package (<a class="footnote-reference" href="#id6" id="id1" name="id1">[1]</a>), and
77app-shells/bash-completion-config (<a class="footnote-reference" href="#id7" id="id2" name="id2">[2]</a>).</p> 76app-shells/gentoo-bashcomp (<a class="footnote-reference" href="#id7" id="id2" name="id2">[2]</a>).</p>
78<p>Subversion has many advantages over CVS, including changesets, directory 77<p>Subversion has many advantages over CVS, including changesets, directory
79versioning, atomic commits, versioned metadata, and more efficient branching 78versioning, atomic commits, versioned metadata, and more efficient branching
80and tagging (<a class="footnote-reference" href="#id8" id="id3" name="id3">[3]</a>). Despite these advantages, many developers feel that 79and tagging (<a class="footnote-reference" href="#id8" id="id3" name="id3">[3]</a>). Despite these advantages, many developers feel that
81Subversion is not yet ready for the main tree due to scaling issues.</p> 80Subversion is not yet ready for the main tree due to scaling issues.</p>
82</div> 81</div>
83<div class="section" id="specification"> 82<div class="section" id="specification">
84<h1><a class="toc-backref" href="#id13" name="specification">Specification</a></h1> 83<h1><a class="toc-backref" href="#id13" name="specification">Specification</a></h1>
85<p>The following steps describe, in detail, the process of setting up the 84<p>The following steps describe, in detail, the process of setting up the
86Subversion svnserve daemon (over SSH) and creating new repositories. 85Subversion svnserve daemon (over SSH) and creating new repositories.</p>
87Information is already available for converting Gentoo CVS repositories (<a class="footnote-reference" href="#id9" id="id4" name="id4">[4]</a>) 86<p>One repository should be created per project. Reasons for this include easier
87control over who has access, performance (checking out one big repository
88takes many times longer), ease-of-use (branching and merging are more difficult
89with one big repository), and meaningful revision numbers (since Subversion
90uses repository-global revision numbers, revision numbers for project A will
91increase on every commit even if no changes are made to project A).</p>
92<p>For preexisting CVS repositories, instructions on converting (<a class="footnote-reference" href="#id9" id="id4" name="id4">[4]</a>) are
88in addition to the cvs2svn documentation itself (<a class="footnote-reference" href="#id10" id="id5" name="id5">[5]</a>).</p> 93already available in addition to the cvs2svn documentation itself (<a class="footnote-reference" href="#id10" id="id5" name="id5">[5]</a>).</p>
89<ol class="arabic"> 94<ol class="arabic">
90<li><p class="first">Install dev-util/subversion:</p> 95<li><p class="first">Install dev-util/subversion:</p>
91<pre class="literal-block"> 96<pre class="literal-block">
92$ emerge subversion 97$ emerge subversion
93</pre> 98</pre>
129$ mkdir -p /var/svnroot/conf 134$ mkdir -p /var/svnroot/conf
130</pre> 135</pre>
131</li> 136</li>
132<li><p class="first">To create new repositories, simply run:</p> 137<li><p class="first">To create new repositories, simply run:</p>
133<pre class="literal-block"> 138<pre class="literal-block">
134$ svnadmin create /var/svnroot/&lt;repos&gt; 139$ svnadmin create --fs-type fsfs /var/svnroot/&lt;repos&gt;
135</pre> 140</pre>
136</li> 141</li>
137<li><p class="first">Make sure newly created/converted repositories have correct permissions. Of course, Infra might want to do this differently:</p> 142<li><p class="first">Make sure newly created/converted repositories have correct permissions. Of course, Infra might want to do this differently:</p>
138<pre class="literal-block"> 143<pre class="literal-block">
139$ chown -Rf svn:users /var/svnroot/&lt;repos&gt; 144$ chown -Rf svn:users /var/svnroot/&lt;repos&gt;
154backwards compatibility issues. Those developers who prefer to use CVS can 159backwards compatibility issues. Those developers who prefer to use CVS can
155continue to do so without any ill effects.</p> 160continue to do so without any ill effects.</p>
156</div> 161</div>
157<div class="section" id="references"> 162<div class="section" id="references">
158<h1><a class="toc-backref" href="#id15" name="references">References</a></h1> 163<h1><a class="toc-backref" href="#id15" name="references">References</a></h1>
159<table class="footnote" frame="void" id="id6" rules="none"> 164<table class="docutils footnote" frame="void" id="id6" rules="none">
160<colgroup><col class="label" /><col /></colgroup> 165<colgroup><col class="label" /><col /></colgroup>
161<tbody valign="top"> 166<tbody valign="top">
162<tr><td class="label"><a class="fn-backref" href="#id1" name="id6">[1]</a></td><td>app-vim/gentoo-syntax 167<tr><td class="label"><a class="fn-backref" href="#id1" name="id6">[1]</a></td><td>app-vim/gentoo-syntax
163<a class="reference" href="http://developer.berlios.de/projects/gentoo-syntax/">http://developer.berlios.de/projects/gentoo-syntax/</a></td></tr> 168<a class="reference" href="http://developer.berlios.de/projects/gentoo-syntax/">http://developer.berlios.de/projects/gentoo-syntax/</a></td></tr>
164</tbody> 169</tbody>
165</table> 170</table>
166<table class="footnote" frame="void" id="id7" rules="none"> 171<table class="docutils footnote" frame="void" id="id7" rules="none">
167<colgroup><col class="label" /><col /></colgroup> 172<colgroup><col class="label" /><col /></colgroup>
168<tbody valign="top"> 173<tbody valign="top">
169<tr><td class="label"><a class="fn-backref" href="#id2" name="id7">[2]</a></td><td>app-shells/bash-completion-config 174<tr><td class="label"><a class="fn-backref" href="#id2" name="id7">[2]</a></td><td>app-shells/gentoo-bashcomp
170<a class="reference" href="http://developer.berlios.de/projects/bashcomp-config/">http://developer.berlios.de/projects/bashcomp-config/</a></td></tr> 175<a class="reference" href="http://developer.berlios.de/projects/gentoo-bashcomp/">http://developer.berlios.de/projects/gentoo-bashcomp/</a></td></tr>
171</tbody> 176</tbody>
172</table> 177</table>
173<table class="footnote" frame="void" id="id8" rules="none"> 178<table class="docutils footnote" frame="void" id="id8" rules="none">
174<colgroup><col class="label" /><col /></colgroup> 179<colgroup><col class="label" /><col /></colgroup>
175<tbody valign="top"> 180<tbody valign="top">
176<tr><td class="label"><a class="fn-backref" href="#id3" name="id8">[3]</a></td><td>Version Control with Subversion 181<tr><td class="label"><a class="fn-backref" href="#id3" name="id8">[3]</a></td><td>Version Control with Subversion
177<a class="reference" href="http://svnbook.red-bean.com/en/1.0/ch01s03.html">http://svnbook.red-bean.com/en/1.0/ch01s03.html</a></td></tr> 182<a class="reference" href="http://svnbook.red-bean.com/en/1.0/ch01s03.html">http://svnbook.red-bean.com/en/1.0/ch01s03.html</a></td></tr>
178</tbody> 183</tbody>
179</table> 184</table>
180<table class="footnote" frame="void" id="id9" rules="none"> 185<table class="docutils footnote" frame="void" id="id9" rules="none">
181<colgroup><col class="label" /><col /></colgroup> 186<colgroup><col class="label" /><col /></colgroup>
182<tbody valign="top"> 187<tbody valign="top">
183<tr><td class="label"><a class="fn-backref" href="#id4" name="id9">[4]</a></td><td>Migration of Gentoo Repositories from CVS to Subversion 188<tr><td class="label"><a class="fn-backref" href="#id4" name="id9">[4]</a></td><td>Migration of Gentoo Repositories from CVS to Subversion
184<a class="reference" href="http://dev.gentoo.org/~trapni/CVS2SVN.MIGRATION">http://dev.gentoo.org/~trapni/CVS2SVN.MIGRATION</a></td></tr> 189<a class="reference" href="http://dev.gentoo.org/~trapni/CVS2SVN.MIGRATION">http://dev.gentoo.org/~trapni/CVS2SVN.MIGRATION</a></td></tr>
185</tbody> 190</tbody>
186</table> 191</table>
187<table class="footnote" frame="void" id="id10" rules="none"> 192<table class="docutils footnote" frame="void" id="id10" rules="none">
188<colgroup><col class="label" /><col /></colgroup> 193<colgroup><col class="label" /><col /></colgroup>
189<tbody valign="top"> 194<tbody valign="top">
190<tr><td class="label"><a class="fn-backref" href="#id5" name="id10">[5]</a></td><td>cvs2svn Documentation 195<tr><td class="label"><a class="fn-backref" href="#id5" name="id10">[5]</a></td><td>cvs2svn Documentation
191<a class="reference" href="http://cvs2svn.tigris.org/cvs2svn.html">http://cvs2svn.tigris.org/cvs2svn.html</a></td></tr> 196<a class="reference" href="http://cvs2svn.tigris.org/cvs2svn.html">http://cvs2svn.tigris.org/cvs2svn.html</a></td></tr>
192</tbody> 197</tbody>
194</div> 199</div>
195<div class="section" id="copyright"> 200<div class="section" id="copyright">
196<h1><a class="toc-backref" href="#id16" name="copyright">Copyright</a></h1> 201<h1><a class="toc-backref" href="#id16" name="copyright">Copyright</a></h1>
197<p>This document has been placed in the public domain.</p> 202<p>This document has been placed in the public domain.</p>
198</div> 203</div>
199</div>
200 204
205</div>
201<hr class="footer" /> 206<hr class="docutils footer" />
202<div class="footer"> 207<div class="footer">
203<a class="reference" href="glep-0036.txt">View document source</a>. 208<a class="reference" href="glep-0036.txt">View document source</a>.
204Generated on: 2005-03-13 17:42 UTC. 209Generated on: 2005-04-14 13:23 UTC.
205Generated by <a class="reference" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source. 210Generated by <a class="reference" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source.
206</div> 211</div>
207</body> 212</body>
208</html> 213</html>
209 214

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.20