My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Featured
Downloads
Links

SVN-Hooks is a framework for creating Subversion hooks.

It comes with a bunch of plugins (actually, sub-modules of SVN::Hooks) that implement some of the most used standalone Subversion hooks available, such as pre-commit hooks for enforcing:

  • the log message format,
  • property settings,
  • the repository structure,
  • restrictions on the modification of repository areas (e.g., /tags)
  • restrictions on filenames, and
  • the integration with ticketing systems.

It also comes with post-commit hooks for

  • sending commit emails, and
  • updating configuration files in the server from changes made in the repository.

But as a framework, it can be extended to implement all types of hooks.

It can also be very fast for two reasons. First because it uses the SVN::Look module to cache all calls to the svnlook command, and the information gathered with it can be reused by all plugins that need it. Second, because it's possible to have a single script using SVN::Hooks shared by the hooks of several repositories, and the script can be made persistent with the use of PersistentPerl.

Please, read the SVN::Hooks manpage to know how to use it.

Copyright (C) 2008-2011, CPqD.

Powered by Google Project Hosting