On Fri, Jul 9, 2010 at 3:00 AM, Nadia Anastopoulou <nanas...@mni.gr> wrote:
> I want to know If from subversion I can restrict the permissions from
> developers to create/remove branches and tags. We need to give the
> permission to developers only to work on the main development trunk and only
> authorized persons should create/delete branches and tags.

I have a Perl script that can do this. The script allows you to
specify who has what permission to make changes in the repository and
on what files and directories. The scripts are controlled by a file
that specifies the permissions. You can define groups to make this
easier.

The older version of the scripts are well tested, but require a
non-standard Perl module. You can install this via CPAN.

I've recently rewrote the hooks. The new version no longer requires
non-standard Perl modules, and was rewritten in a more object oriented
manner to be easier to understand and maintain. However, the newer
version has not been as well tested. The older version has been used
by many people for years. The new one is, well, new and simply hasn't
been as thoroughly field tested.

The old set of hook scripts are at:
http://dl.dropbox.com/u/433257/old_svn_hooks.zip. The new set is at
http://dl.dropbox.com/u/433257/new_svn_hooks.zip.

You can read about Subversion pre-commit hooks at http://bit.ly/9OC7cW.


-- 
David Weintraub
qazw...@gmail.com

Reply via email to