Meidokon Wiki
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Useful(?) links

  • furinkan's stuff

  • Postfix snippets


  • SystemInfo

  • This sidebar

Navigation

  • FrontPage
  • RecentChanges
  • FindPage
  • HelpContents

Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment

MeidokonWiki:
  • furinkan
  • Making_new_svn_repo_on_shimako

Making a new SVN repo on shimako

Procedure

  1. open httpd.conf, go to end of file
  2. import the template fragment in vim with :r svnpath_template

  3. Do the substitution
  4. restart apache
  5. update the svnauth DB with users/groups
  6. as root, svnadmin create /vaw/www/svn/REPONAME

  7. chown -R apache.apache /var/www/svn/REPONAME
  8. you should now see rev0 at https://sachiko.meidokon.net/REPONAME/

  9. if syncing from another repo, you need to make a pre-revprop-change hook on sachiko
    1. create pre-revprop-change in the hooks dir, make it executable, then neuter it.
    2. chown it to apache:apache
    3. from the src, run svnsync initialize https://sachiko.meidokon.net/REPONAME/ file:///path/to/src/repo

    4. sync the repo with svnsync synchronize https://sachiko.meidokon.net/REPONAME/

    5. remove the pre-revprop-change hook script
  10. I guess you're set now

Template fragment

        # :.,+17s/REPONAME/THE_REPO_NAME/
        <Location /REPONAME>
                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
        </Location>
  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01
MoinMoin Release 1.9.11 [Revision release], Copyright by Juergen Hermann et al.