1 =====================================
2 The Docutils_ Subversion Repository
3 =====================================
6 :Contact: docutils-develop@lists.sourceforge.net
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://docutils.svn.sourceforge.net/svnroot/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 ``docutils.svn.sourceforge.net``.
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 For the project policy on repository use (check-in requirements,
34 branching, etc.), please see the `Docutils Project Policies`__.
36 __ policies.html#subversion-repository
38 .. _Subversion: http://subversion.tigris.org/
39 .. _Subversion Book: http://svnbook.red-bean.com/
40 .. _TortoiseSVN: http://tortoisesvn.tigris.org/
41 .. _SourceForge.net: http://sourceforge.net/
46 Accessing the Repository
47 ========================
55 The repository can be browsed and examined via the web at
56 http://docutils.svn.sourceforge.net/viewvc/docutils/.
59 Repository Access Methods
60 ~~~~~~~~~~~~~~~~~~~~~~~~~
62 To get a checkout of the Docutils repository, first determine the root
63 of the repository depending on your preferred protocol::
65 https://docutils.svn.sourceforge.net/svnroot/docutils (anonymous)
66 https://<username>@docutils.svn.sourceforge.net/svnroot/docutils
69 Checking Out the Repository
70 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 To check out only the current main source tree of Docutils, type ::
74 svn checkout ROOT/trunk/docutils
76 (Substitute your preferred repository root for ROOT.) To check out
77 everything (main tree, sandboxes, web site, and parallel projects),
80 svn checkout ROOT/trunk docutils
82 This will create a working copy of the whole trunk in a new directory
85 Note that you probably do *not* want to check out the ROOT itself
86 (without "/trunk"), because then you'd end up fetching the whole
87 Docutils tree for every branch and tag over and over again.
89 To update your working copy later on, ``cd`` into the working copy and
95 Switching the Repository Root
96 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
98 If you changed your mind and want to use a different repository root,
99 ``cd`` into your working copy and type::
101 svn switch --relocate OLDROOT NEWROOT
104 Information for Developers
105 --------------------------
107 If you would like to have write access to the repository, register
108 with SourceForge.net_ and send your SourceForge.net
109 user names to docutils-develop@lists.sourceforge.net.
110 (Note that there may be a delay of several hours until you can commit
111 changes to the repository.)
113 Sourceforge subversion access is documented `here`__
115 __ http://sourceforge.net/apps/trac/sourceforge/wiki/Subversion
118 Setting Up Your Subversion Client For Development
119 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
121 Before commiting changes to the repository, please ensure that the
122 following lines are contained (and uncommented) in your local
123 ~/.subversion/config file, so that new files are added with the
124 correct properties set::
127 # For your convenience:
128 global-ignores = ... *.pyc ...
129 # For correct properties:
130 enable-auto-props = yes
133 *.py = svn:eol-style=native;svn:keywords=Author Date Id Revision
134 *.txt = svn:eol-style=native;svn:keywords=Author Date Id Revision
135 *.html = svn:eol-style=native;svn:keywords=Author Date Id Revision
136 *.xml = svn:eol-style=native;svn:keywords=Author Date Id Revision
137 *.tex = svn:eol-style=native;svn:keywords=Author Date Id Revision
138 *.css = svn:eol-style=native;svn:keywords=Author Date Id Revision
139 *.patch = svn:eol-style=native
140 *.sh = svn:eol-style=native;svn:executable;svn:keywords=Author Date Id Revision
141 *.png = svn:mime-type=image/png
142 *.jpg = svn:mime-type=image/jpeg
143 *.gif = svn:mime-type=image/gif
149 The following tree shows the repository layout::
175 The main source tree lives at ``docutils/trunk/docutils/``, next to
176 the sandboxes (``docutils/trunk/sandbox/``) and the web site files
177 (``docutils/trunk/web/``).
179 ``docutils/branches/`` and ``docutils/tags/`` contain (shallow) copies
180 of either the whole trunk or only the main source tree
181 (``docutils/trunk/docutils``).