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

Use of wildcards or regular expressiong (RegEx) in svnaccess file

From: Sean Aitken <sean.aitken_at_gmail.com>
Date: 2006-02-28 19:42:11 CET

Hello!

I have been championing SVN for a while now and just recently got around to
setting up the Apache server.. After a few bouts with not having the entire
svn /bin folder in the pATH, things are working well. I have SSPI (Windows)
integration working beautifully.

I searched the lists and found a couple of references, but I am still
curious on if there will be any support for adding wildcard paths to the
svnaccess file. For instance, I would like to allow a "/public_files" folder
in any subtree of any repository to be public to a group, or everyone.
Currently, I can't see a way to do it.

This is what I would imagine the config file should look like:

# Allow developers complete access to their project repos
[ITAppsProjects:/]
* =
@itappdev = rw
@admin = rw

# Secure projects
[ITAppsSecure:/]
* =
@admin = rw
@hrdev = rw

# This doesn't work!... Doh!
[ITAppsSecure:*/public_files]
* = r

# Or, this
[/public_files]
* = r

This is where I'm at. It's obviously not working. This would make it nice
to link to public documents of a an SVN repos from anywhere. Speifically for
project documentation that isn't so secret.

Any ideas? (PS. Currently using 1.3 of SVN)

Best regards,
-Sean
Received on Tue Feb 28 20:02:42 2006

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

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