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

Re: Script to check permissions

From: Gustavo Niemeyer <niemeyer_at_conectiva.com>
Date: 2002-10-22 03:21:25 CEST

> How delightful! A Python implementation of the Perl script we already have at
> http://svn.collab.net/repos/svn/trunk/tools/hook-scripts/commit-access-control.pl

I've checked this implementation, but I was looking for something more
flexible, to implement the latest example provided in the sample
configuration file.

> > The question is, would you like to include it as part of the
> > subversion distribution?
>
> Oh yes. Absolutely. The more useful (and maintained) hook scripts we

I'll certainly maintain it, since we're going to use it here for
some projects.

> have, the happier I'll be. And it looks like your config file is very
> flexible.

Here it is! Thank you!

Btw, I've changed it a little bit:

Usage: svnperms.py OPTIONS

Options:
    -r PATH Use repository at PATH to check transactions
    -t TXN Query transaction TXN for commit information
    -f PATH Use PATH as configuration file (default is repository
               path + /conf/svnperms.conf)
    -s NAME Use section NAME as permission section (default is
               repository name, extracted from repository path)
    -R REV Query revision REV for commit information (for tests)
    -A AUTHOR Check commit as if AUTHOR had commited it (for tests)
    -h Show this message

-- 
Gustavo Niemeyer
[ 2AAC 7928 0FBF 0299 5EB5  60E2 2253 B29A 6664 3A0C ]



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Tue Oct 22 03:22:21 2002

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

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