DEPRECATED - this FAQ is no longer valid

Screencast

Screencast how-to: SVN_Admin.mov

CREATING NEW ACCOUNT

$ ssh source.sakaiproject.org
$ cd /usr/local/svn/config

# Adding users - make sure not already defined
$ grep USERID svn-passwd
# If not defined, add them (copy-n-paste suggested password & email to user)
$ /usr/local/svn/bin/svnpasswd USERID

# Update the Subversion ACL file (e.g. contrib-acl-policy or svn-acl-policy)
$ vi contrib-acl-policy

# Verify 'svn update' in a svn source checkout of sakai-trunk-all or contrib to make sure there's no mistakes, and also type svn diff to verify changes

$ svn diff

$ svn ci contrib-acl-policy -m "INFRSTR-xxx yada yada yada

# Add user email to source@collab.sakaiproject.org list (to avoid email bounces)

http://collab.sakaiproject.org/mailman/admin/source/members/add 

EMAIL TEMPLATE FOR NEW ACCOUNT

Hello,

Your new Sakai subversion userid and password is:

userid:
password:

You have been granted write access to TBD (read access to the entire sakaiproject is open to all). Please review the JIRA guidelines (see #1 footnote).

Some important details. A Jira ticket describing the intended work should be filed and then opened prior to committing any code to trunk. When you check your code in, please make sure that the first word in your check-in comments is the JIRA id. Example:  svn commit -m "SAK-XXXXX description of my change".  Where applicable (which is in most cases), make sure your code changes compile and that you can start up Tomcat successfully before committing changes to trunk.

You've also been subscribed to the source@collab.sakaiproject.org, which tracks all subversion commits. You may want to setup an email filter for this group.

Foot note #1 JIRA Guidelines - Sakai Jira Guidelines

Thanks!

RESETTING A PASSWORD FOR AN EXISTING ACCOUNT

First make sure that the user does not already have a different account id than they tell you by checking the svn-passwd using grep, cat, an editor, etc. 

You need to run the same script that initially creates an svn account on source.sakaiproject.org

$ ssh {your_id}@source.sakaiproject.org
$ cd /usr/local/svn/config
$ /usr/local/svn/bin/svnpasswd USERID

This will generate a _suggested_ password that you need to cut-n-paste at the command line prompt and then send the password to the user. 

IMPORTING PROJECTS FROM CONTRIB TO CORE SVN

Note that there is a testrepo3 subversion repository that can be used to test loads - there have been problems in the past with paths that move or properties that need to be ignored on load.

$  svnadmin dump /usr/local/svn/repositories/contrib/  -r{x:y}> svn-contrib.dump

$  svndumpfilter include signup --drop-empty-revs --renumber-revs --preserve-revprops < svn-contrib.dump > ./signup-filter.dump

$ svnadmin load testrepo3 < signup-filter.dump

$ svnadmin load svn < signup-filter.dump