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

Global svnserve configuration files

From: Blair Zajac <blair_at_orcaware.com>
Date: 2007-03-21 23:57:29 CET

I need to serve a large number of svn repositories (over 1,000) using
svnserve and would rather have single set of svnserve files (conf/authz,
conf/passwd and conf/svnserve.conf) than have each repository have
symlinks back to one global ones. Also, it would be a little faster to
load in that information once than to reparse it for each request.

Looking through the code, it doesn't look too bad if the main thread
were to read in all the config files and pass it down to the child
process or thread.

Couple of things:

1) I suggest using --conf /path/to/some/svnserve.conf as the command
line argument. Should we also use -c as a shortcut for --conf?

2) The realm uses the UUID of the repository, and due to thread race
conditions, maybe if you use --conf then you have to specify the realm
in the svnserve.conf file?

Regards,
Blair

-- 
Blair Zajac, Ph.D.
<blair@orcaware.com>
Subversion training, consulting and support
http://www.orcaware.com/svn/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Mar 21 23:57:49 2007

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

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