Difference between revisions of "DEI Subversion Administration"

From AIRWiki
Jump to: navigation, search
(Adding a new user)
(Adding a new user)
Line 8: Line 8:
 
** Copy the file to your computer using scp: <pre>scp -p <YOUR_USERNAME>@trac.ws.dei.polimi.it:/var/www/trac/<REPOSITORY>/conf/authz /tmp/</pre>
 
** Copy the file to your computer using scp: <pre>scp -p <YOUR_USERNAME>@trac.ws.dei.polimi.it:/var/www/trac/<REPOSITORY>/conf/authz /tmp/</pre>
 
** Edit the file ''/tmp/authz''
 
** Edit the file ''/tmp/authz''
** Copy the file back to the server: <pre>scp /tmp/authz <YOUR_USERNAME>@trac.ws.dei.polimi.it:/var/www/trac/<REPOSITORY>/conf/</pre>
+
** Copy the file back to the server: <pre>scp -p /tmp/authz <YOUR_USERNAME>@trac.ws.dei.polimi.it:/var/www/trac/<REPOSITORY>/conf/</pre>
  
 
==Creating a new account==
 
==Creating a new account==

Revision as of 22:53, 24 June 2009

This page contains instruction for administrator of Subversion repository hosted on the departmental servers.

Adding a new user

To add a new user, do the following:

  • Go to https://acme.elet.polimi.it/ and login with your Dei account
  • If needed, Create a new account
  • Edit the file trac.ws.dei.polimi.it:/var/www/trac/<REPOSITORY>/conf/authz; the syntax is described on the help page on the Subversion server. Editing is done in three steps:
    • Copy the file to your computer using scp:
      scp -p <YOUR_USERNAME>@trac.ws.dei.polimi.it:/var/www/trac/<REPOSITORY>/conf/authz /tmp/
    • Edit the file /tmp/authz
    • Copy the file back to the server:
      scp -p /tmp/authz <YOUR_USERNAME>@trac.ws.dei.polimi.it:/var/www/trac/<REPOSITORY>/conf/

Creating a new account

This operation can be performed by anyone who has a valid departmental account.

  • Go to https://acme.elet.polimi.it/ and login with your Dei account
  • Select 'Accounts' -> 'New account'
  • Fill in the data (users can subsequently change their passwords)