RE: Dav write-through proxy on slave & svn+ssh on master question
From: Roland Cruse <roland.cruse_at_vrs-soft.com>
Date: Wed, 16 Jul 2008 13:16:42 +0200
Could anyone say if the scenario below is in danger of "infinite recursion"? Thanks.
Using subversion 1.5/WebDav on a slave and master repo I have gotten a test scenario working and I am wondering if this is a good way and I had a couple of questions if anyone has the time. Thanks so much.
In the test scenario the two repos are on the same network. But when it goes live the two will be a continent apart. The repos will be used by a couple of developers on each end. A small amount of traffic except for large commits when there are model rebuilds in the code base.
Initialzie the slave from the master:
Permissions and ssh keys set accordingly..
Success: working copies from slave and master reflect commits and updates from both working copies of slave and master.
What has me a little worried is this bit in the red-bean book about "infinite recursion":
The solution the bean books gives is to have another <Location /foo-only-for-master> directive on the slave, which points to the same directory as the already defined slave repo, for the master to write to. In the senario above, it seems, svn+ssh can only sync to the one file location. Seeing as though it is not using a url whos location can be abstracted by apache. Is my scenario in danger of "infinite recursion"?
This is an archived mail posted to the Subversion Users mailing list.