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 480

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 480

Administering Subversion for SECANT

This page gives some notes on the subversion setup at secant.cs.purdue.edu. 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 secant.cs.purdue.edu 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/project1.py
% touch project2/trunk/project2.py
% svn import svn+ssh://secant.cs.purdue.edu
 
svn-admin.txt · Last modified: 2007/11/21 11:16 by jtk
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki