SVNServ deny write access to a directory via wildcard match.

Posted by Wes on Stack Overflow See other posts from Stack Overflow or by Wes
Published on 2010-03-09T14:14:38Z Indexed on 2010/04/21 15:03 UTC
Read the original article Hit count: 221

Filed under:
|
|
|

Hi, We have a requirement that every piece of code that makes it into production will be reviewed by a senior developer.

The way I have envisioned this working is by a naming convention for branches that regular developers cannot check code into.

Following the SVN recomended directory structure this translates into something like.

[project-name]/trunk/
[project-name]/branches/
[project-name]/branches/development-01
[project-name]/branches/development-02
[project-name]/branches/task-increasefontsize
[project-name]/branches/release-01
[project-name]/branches/release-02
[project-name]/tags/

So in the authz file I would like to have something like the following

[/]
@developers = rw

[/*/branches/release-*]
@developers = r
@senior_developers = rw

However I can't find any evidence that SVN supports * (or any other wildcard character).

Is such a thing possible or do I need a pre-commit hook?

© Stack Overflow or respective owner

Related posts about svnserve

Related posts about svn