[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Complete mirroring via svnsync

From: Jim Gifford <maillist_at_jg555.com>
Date: 2006-09-28 23:48:42 CEST

I'm working on getting svnsync to be utilized as mechanism to mirror our
repos out. I have found various different ways to get this done, but the
most efficient an reliable seems to be using svnsync. We have used svk
and didn't like the revision #'s getting out of whack. So here's what I'
thinking we could do to get a full functional mirroring working. This
information is borrowed from various different sources. Currently this
solution doesn't work because of setup 3, need some outside opinions to
help out here.

1 Setup subversion to utilize webdav

2 Setup apache with the following options, which will allow us to
mirror, and force the commits to the master repo
       <Location /svn/repos>
  <Limit CHECKOUT DELETE GET MERGE PROPFIND PUT OPTIONS REPORT>
    DAV svn
    SVNParentPath /srv/svn
    SVNIndexXSLT /svnindex.xsl
    AuthzSVNAccessFile /etc/svn/svn_auths
    Satisfy Any
    Require valid-user
    AuthType Basic
    AuthName "Subversion Repository"
    AuthUserFile /etc/svn/svn_users
  </Limit>
 <LimitExcept CHECKOUT DELETE GET MERGE PROFIND PUT OPTIONS REPORT>
       ProxyPass http://masterrepo.com/svn/repos
       ProxyPassReverse http://masterrepo.com/svn/repos
</LimitExcept>
</Location>

This works so far, but my problem is telling the sites to do a sync. In
the past I've used rsync to sync everything, but I don't think thats a
good option.

Any opinions or ideas?

Thank you for your time
Jim Gifford

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 28 23:49:26 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.