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

RE: Svnperms problem

From: Jet Wilda <jet.wilda_at_kobie.com>
Date: 2005-08-16 20:32:00 CEST

> Joshua Varner wrote:
>
> This problem is that you have multiple projects in the
> repository, but use the example patterns for the single
> project repository. The script uses this line:
> pattern = re.compile("^%s$" % option)
> to create the pattern to match the txn against. But all of
> your txn paths will have project_name/ in front of them.
>
> Try
> [Projects]
> project1/trunk/.* = *(add,remove,update)
> project1/tags/[^/]+/ = *(add,remove)
> project1/branches/[^/]+/.* = *(add,remove,update)
>
> project2/trunk/.* = *(add,remove,update)
> project2/tags/[^/]+/ = *(add,remove)
> project2/branches/[^/]+/.* = *(add,remove,update)
>
> or maybe
>
> [Projects]
> (project1|project2)/trunk/.* = *(add,remove,update)
> (project1|project2)/tags/[^/]+/ = *(add,remove)
> (project1|project2)/branches/[^/]+/.* = *(add,remove,update)
>

Ok though I would like to set it up so that all future projects have
these permisions set. So what I need is the regular expression so any
path /anything/tags will have that permission. I'm no expert on
regular expressions. Does anyone have that sytax handy?

TIA

Jet

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 16 20:35:47 2005

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.