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