1 =====================================
2 The Docutils_ Subversion Repository
3 =====================================
6 :Contact: LeWiemann@gmail.com
9 :Copyright: This document has been placed in the public domain.
11 .. _Docutils: http://docutils.sourceforge.net/
13 .. admonition:: Quick Instructions
15 To get a checkout of the Docutils source tree (without the
18 svn checkout http://svn.berlios.de/svnroot/repos/docutils/trunk/docutils
20 If you are going to commit changes to the repository, please read
21 the **whole document**, especially the section "`Information for
24 Docutils uses a Subversion_ repository located at ``svn.berlios.de``.
25 Subversion is exhaustively documented in the `Subversion Book`_
28 While Unix and Mac OS X users will probably prefer the standard
29 Subversion command line interface, Windows user may want to try
30 TortoiseSVN_, a convenient explorer extension. The instructions apply
33 Note that while the repository and the snapshots reside at BerliOS_,
34 all other project data (web site, releases, mailing lists, trackers)
35 is hosted by SourceForge.net_.
37 For the project policy on repository use (check-in requirements,
38 branching, etc.), please see the `Docutils Project Policies`__.
40 __ policies.html#subversion-repository
42 .. _Subversion: http://subversion.tigris.org/
43 .. _Subversion Book: http://svnbook.red-bean.com/
44 .. _TortoiseSVN: http://tortoisesvn.tigris.org/
45 .. _BerliOS: http://developer.berlios.de/
46 .. _SourceForge.net: http://sourceforge.net/
51 Accessing the Repository
52 ========================
60 The repository can be browsed and examined via the web at
61 http://svn.berlios.de/viewvc/docutils/.
64 Repository Access Methods
65 ~~~~~~~~~~~~~~~~~~~~~~~~~
67 To get a checkout of the Docutils repository, first determine the root
68 of the repository depending on your preferred protocol::
70 svn://svn.berlios.de/docutils (anonymous)
71 http://svn.berlios.de/svnroot/repos/docutils (anonymous + developers)
72 https://svn.berlios.de/svnroot/repos/docutils (anonymous + developers)
73 svn+ssh://<username>@svn.berlios.de/svnroot/repos/docutils
77 Checking Out the Repository
78 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
80 To check out only the current main source tree of Docutils, type ::
82 svn checkout ROOT/trunk/docutils
84 (Substitute your preferred repository root for ROOT.) To check out
85 everything (main tree, sandboxes, web site, and parallel projects),
88 svn checkout ROOT/trunk docutils
90 This will create a working copy of the whole trunk in a new directory
93 Note that you probably do *not* want to check out the ROOT itself
94 (without "/trunk"), because then you'd end up fetching the whole
95 Docutils tree for every branch and tag over and over again.
97 To update your working copy later on, ``cd`` into the working copy and
103 Switching the Repository Root
104 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
106 If you changed your mind and want to use a different repository root,
107 ``cd`` into your working copy and type::
109 svn switch --relocate OLDROOT NEWROOT
112 Information for Developers
113 --------------------------
115 If you would like to have write access to the repository, register
116 with SourceForge.net_ and BerliOS_, and send your SourceForge.net and
117 BerliOS user names to docutils-develop@lists.sourceforge.net.
118 (Note that there may be a delay of several hours until you can commit
119 changes to the repository.)
122 Setting Up Your Subversion Client For Development
123 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
125 Before commiting changes to the repository, please ensure that the
126 following lines are contained (and uncommented) in your local
127 ~/.subversion/config file, so that new files are added with the
128 correct properties set::
131 # For your convenience:
132 global-ignores = ... *.pyc ...
133 # For correct properties:
134 enable-auto-props = yes
137 *.py = svn:eol-style=native;svn:keywords=Author Date Id Revision
138 *.txt = svn:eol-style=native;svn:keywords=Author Date Id Revision
139 *.html = svn:eol-style=native;svn:keywords=Author Date Id Revision
140 *.xml = svn:eol-style=native;svn:keywords=Author Date Id Revision
141 *.tex = svn:eol-style=native;svn:keywords=Author Date Id Revision
142 *.css = svn:eol-style=native;svn:keywords=Author Date Id Revision
143 *.patch = svn:eol-style=native
144 *.sh = svn:eol-style=native;svn:executable;svn:keywords=Author Date Id Revision
145 *.png = svn:mime-type=image/png
146 *.jpg = svn:mime-type=image/jpeg
147 *.gif = svn:mime-type=image/gif
153 If you are a developer and you are using the svn+ssh access method
154 instead of https or http, you may want to set a public & private key
155 pair, so that you can access the shell and Subversion servers without
156 having to enter your password.
158 To do this, log in on BerliOS_ and copy and paste your SSH public key
159 into the edit box on the "`CVS/SVN/SSH Shared Keys`__" page. Further
160 instructions are available on this page.
162 __ https://developer.berlios.de/account/editsshkeys.php
165 Migration from SourceForge.net
166 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
168 Developers who had write-access for Docutils' CVS repository on
169 SourceForge.net should `register with BerliOS`__ and send a message
170 with their BerliOS user name to docutils-develop@lists.sourceforge.net.
172 __ https://developer.berlios.de/account/register.php
178 The following tree shows the repository layout::
204 The main source tree lives at ``docutils/trunk/docutils/``, next to
205 the sandboxes (``docutils/trunk/sandbox/``) and the web site files
206 (``docutils/trunk/web/``).
208 ``docutils/branches/`` and ``docutils/tags/`` contain (shallow) copies
209 of either the whole trunk or only the main source tree
210 (``docutils/trunk/docutils``).