On Sat, Jul 16, 2011 at 11:06 PM, Andy Canfield <andy.canfi...@pimco.mobi>wrote:

> **
> How do you get a list of repositories from svnserver? The only way I can
> figure out is:
> *    ssh usern...@example.com
>     sudo bash
>     ls -ld /var/svn/**
> And, of course, this makes an assumption about where on the server the
> repositories are located. There 'ought' to be an easier way.
>


Andy,
I read (skimmed) all your posts, and I'm a little confused but I think I
know where you're going. I'm not sure if you're using Apache to serve your
repositories. If you are, you should check out this:
http://davidwinter.me/articles/2006/03/03/access-control-for-subversion-with-apache2-and-authz/
and  this
https://help.ubuntu.com/community/Subversion

I recently followed the blog above and got everything setup how I think you
want it. You can control user access to multiple repos in three ways, the
blog explains it all, except one thing. I found that this is for
folder-level control on one repository:

[/]
@team = r
bob = rw

[/wowapp/trunk]
@team = r
@devteam = rw
brenda = rw


In my authz control file, multiple repositories are done like this (note the
repo name and colon):

[repoA:/]
@team = r
bob = rw

[repoB:/]
@team = r
@devteam = rw
brenda = rw


I also put websvn on it, and use the configuration option

$config->useAuthenticationFile('/path/to/your/authz/file');
which I found on this stackoverflow
QA<http://serverfault.com/questions/13853/how-do-i-restrict-repository-access-via-websvn>
.
http://serverfault.com/questions/13853/how-do-i-restrict-repository-access-via-websvn

Reply via email to