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

Re: New pre-commit-access-control.pl hook

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2005-09-07 19:56:44 CEST

ping! There were no reactions so far.
Anybody who thinks this is a nice addition to the contrib/ directory?
bye,

Erik.
On 8/10/05, David Weintraub <qazwart@gmail.com> wrote:> I've done some major modifications in the commit-access-control.pl> hook, and would like to add it to the Subversion distribution to> replace the current commit-access-control.pl script. However, I am not> sure what the procedure is in order to do this.> > Like the current commit-access-control.pl hook, this new version> controls who is allowed to read or write to the archive based upon the> name of the file. This is set via a Perl RegEx. Like the current> version, you set up these parameters via an MS-DOS like IniFile.> > However, I've added a few more features:> > * You can now define user groups and use those for file permissions.> > * You can now specify three permission levels: read-only, read-write,> and add-only. This last one is for tags. Add-only allows you to define> a new tag, but won't allow you to modify the tag by checking it out> and committing the changes.> > * A special group called "@ALL" signifies all users.> > * You may specify <USER
S> in a file regular expression. This gets> translated into the user id when making file matching comparisons.> This allows you to quickly specify permissions in special private user> directories.> > * A new feature allows you to specify the property and value that> property should have on files. This allows you to verify that> properties are set correctly when a new file or directory is created> or modified.> > * A new feature for revision properties has also been added. However,> this is currently limited to just "svn:log". With this feature, you> can make sure that the log comment is in the correct format.> > * You can now prevent users from creating or renaming files with "bad"> filenames. For example, you can prevent spaces in filenames or from> using file names that will cause problems with either Subversion or> are illegal in MS-DOS.> > --> David Weintraub> qazwart@gmail.com> > ---------------------------------------------------------------------> To unsubscribe, e-mail: dev-unsubscribe@subversion.tig
ris.org> For additional commands, e-mail: dev-help@subversion.tigris.org> >
Received on Wed Sep 7 19:57:33 2005

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