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

Re: Complete mirroring via svnsync

From: Mark <mark_at_mitsein.net>
Date: 2006-09-29 00:02:07 CEST

Yeah, you don't want to mix rsync with svnsync. Lemme see if I
understand what you are wanting to do, though. You confused me by
saying "allow us to mirror, and force the commits to the master repo."
 You are committing to the master repo and not a mirror, right? Why
do you say force?

Also, what do you mean by "telling the sites to do a sync?" Do you
have more than one mirror or master?

Personally, I set up svnserve and created an svnsync user that has rw
in every repos. Using triggers in post-commit and post-revprop-change
the master repository generates syncs on each commit.

On 9/28/06, Jim Gifford <maillist@jg555.com> wrote:
> 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
>
>

-- 
Mark
"Blessed is he who finds happiness in his own foolishness, for he will
always be happy."
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 29 00:03:19 2006

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