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

Re: Subversion: list of respositories

From: Nico Kadel-Garcia <nkadel_at_gmail.com>
Date: Mon, 18 Jul 2011 07:27:48 -0400

On Mon, Jul 18, 2011 at 7:10 AM, Erik Huelsmann <ehuels_at_gmail.com> wrote:
>
>> I would think that it looks at SVNParentPath and tries to treat every
>>
>> > subdirectory of that as a repository.
>>
>> Not quite. It's not "every subdirectory", it's "every child
>> directory".  That means it will not descend into subdirectories of
>> subdirectories, fir example, so they all need to be right there in
>> /var/svn. Also, while symlinks to other locations may be acceptable to
>> the mod_dav_svn module, the repositories need to be accessible to the
>> "apache" user. This can get adventuresome if you're running svnserve
>> or svn+ssh access without a devault svn+ssh user, used in parallel to
>> Apache.
>
> While links are acceptable to mod_dav_svn, they won't appear in the
> repository listing. Note that you need the SVNListParent On statement in
> your Apache config to get a listing of the repositories.
> In 1.7 I've committed a small change to list symlinks to directories which
> will be part of 1.7.
>
> Bye,
> Erik.

Cool, but be careful with those. If you have SELinux enabled and the
repositories are elsewhere, for example on a separate disk for bulky
repositories, you may need to review your SELinux settings to enable
httpd access to the separate location.

And oh, dear lord, if someone starts putting symlinks in the
reponame/conf/ or reponame/hooks/, can you have adventures. (See
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=767435,
which was only recently fixed and the fix isn't in most public
Subversion releases.)
Received on 2011-07-18 13:28:24 CEST

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