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

Updated Pre-Commit "Kitchen Sink" Trigger

From: David Weintraub <qazwart_at_gmail.com>
Date: Mon, 5 Mar 2012 17:32:19 -0500

I've recently made several major updates to my "Kitchen Sink"
pre-commit hook that I know quite a few of you have used. The whole
hook has been completely rewritten from scratch in order to make it
easier to maintain. There are several changes that I've incorporated
based upon a few requests:

* The biggest change is that the control.ini file can now be stored
right in the repository instead of the hook directory of the
repository. This means you no longer have to sign onto the Subversion
repository server in order to maintain the file. Simply check it out,
and make your changes. This is a big relief for those who don't have
direct access to your repository servers. As a bonus (and another
request), you can now track the changes to the control file. Who made
them, when, and why. I'm currently working on a parser that will
verify the control file to prevent you from checking in a bad one.

* The hook can now use groups from your Windows Active Directory or
your LDAP server instead of manually defining the groups in the
control file. This means less maintenance. Plus, it is no longer your
headache when a developer leaves one group and goes to another. That's
now your System Administrator's job.

* Along with the standard three permissions "read-only", "read-write",
and "add-only" are "no-delete" and "no-add".

The hook is now available via GitHub at
https://github.com/qazwart/SVN-Precommit-Kitchen-Sink-Hook. Yes, it's
a bit ironic, but it's easier to get to than my old Public Dropbox.

Please download the latest copy and let me know if there are any more
suggestions.

-- 
David Weintraub
qazwart_at_gmail.com
Received on 2012-03-05 23:32:50 CET

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.