= Making a new SVN repo on shimako = == Procedure == 1. open httpd.conf, go to end of file 1. import the template fragment in vim with `:r svnpath_template` 1. Do the substitution 1. restart apache 1. update the svnauth DB with users/groups 1. as root, `svnadmin create /vaw/www/svn/REPONAME` 1. chown -R apache.apache /var/www/svn/REPONAME 1. you should now see rev0 at https://sachiko.meidokon.net/REPONAME/ 1. if syncing from another repo, you need to make a pre-revprop-change hook on sachiko i. create pre-revprop-change in the hooks dir, make it executable, then neuter it. i. chown it to apache:apache i. from the src, run `svnsync initialize https://sachiko.meidokon.net/REPONAME/ file:///path/to/src/repo` i. sync the repo with `svnsync synchronize https://sachiko.meidokon.net/REPONAME/` i. remove the pre-revprop-change hook script 1. I guess you're set now == Template fragment == {{{ # :.,+17s/REPONAME/THE_REPO_NAME/ DAV svn SVNPath /var/www/svn/REPONAME AuthType Basic AuthName "Meidokon hosted subversion repositories - REPONAME" Auth_PG_database svnauth Auth_PG_user apache Auth_PG_pwd_table users Auth_PG_uid_field username Auth_PG_pwd_field password Auth_PG_grp_table groups Auth_PG_grp_user_field username Auth_PG_grp_group_field groupname Auth_PG_hash_type MD5 Require group REPONAME }}}