Strict Standards: Declaration of Doku_Renderer_metadata::table_open() should be compatible with Doku_Renderer::table_open($maxcols = NULL, $numrows = NULL, $pos = NULL) in /home2/cp-wiki/htdocs/inc/parser/metadata.php on line 24

Strict Standards: Declaration of Doku_Renderer_metadata::table_close() should be compatible with Doku_Renderer::table_close($pos = NULL) in /home2/cp-wiki/htdocs/inc/parser/metadata.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /home2/cp-wiki/htdocs/inc/parser/metadata.php:24) in /home2/cp-wiki/htdocs/inc/actions.php on line 581

Warning: Cannot modify header information - headers already sent by (output started at /home2/cp-wiki/htdocs/inc/parser/metadata.php:24) in /home2/cp-wiki/htdocs/inc/actions.php on line 581
Table of Contents

Administering Subversion for SECANT

This page gives some notes on the subversion setup at See the companion page for user information.

User Administration

As users provide me with an SSH key for repository access, I add a line to .ssh/authorized_keys of this form:

command="/opt/csw/bin/svnserve -t -r repository --tunnel-user=USER",no-port-forwarding,no-agent-forwarding,no-X11-forwarding,no-pty ssh-rsa KEY COMMENT

where USER is the UNIX login id of the user and KEY is the public ssh key (a long ASCII string). COMMENT is typically the user's email address. This string and approach to access and authentication is described here.

Repository Creation

The repository was created with the command:

% svnadmin create repository --config-dir .

while logged in to as user cp-wiki in /homes/cp-wiki directory. (The ”–config-dir .” option is to avoid an error message caused by the fact that user cp-wiki cannot access my home directory, where it is trying to read my non-existent personal configuration information.)

The initial repository contents, including templates for project1 and project2, were created using these commands; executed from my personal account on arthur (note that the .ssh key must be installed per instructions in previous section):

% mkdir tmp-repo
% cd tmp-repo
% mkdir project1 project2
% mkdir project1/branches project1/tags project1/trunk
% mkdir project2/branches project2/tags project2/trunk
% touch project1/trunk/
% touch project2/trunk/
% svn import svn+ssh://