subHooker, a Subversion hook utility.

About

subHooker is a set of Java classes designed to facilitate Subversion pre and post-commit hooks. The nice thing about subHooker, especially if you’re running Windows, is that it uses the Javax.Mail API to send post-commit messages. All you need to do is configure subHooker’s SMTP server preferences.

subHooker OpenSource Project
subHooker on Google Code

Features

subHooker currently supports the following:

Global

  • Supports Windows and Linux (Fedora 15 tested).
  • Uses Log4j logging, supporting standard logging modes Error, Warn, Info, and Debug.
  • NEW I18N Localization support!
  • HTML and Plain Text e-mail template system.

Pre-commit hook:

  • Configurable (true/false) require authors to provide a commit log.
    • Configurable minimum commit log length (in characters)
    • Can insert a NAG line into post-commit e-mail messages if commit logs are not a requirement “The author of the code commit chose not to post a useful message as to why this change is being committed”
  • Configurable (true/false) require a work number or defect number.
    • Configurable Regular Expression search. ([bBdD]\-[0-9]{5})

Post-Commit hook:

  • Send post-commit e-mail containing:
    • Change set
    • Diff
    • Author commit log
  • Supports very nice HTML or Plain Text post-commit email formats.
  • Uses simple (configurable) plain text files for e-mail recipient lists.
  • Support for mail server authentication.
  • Added I18N Support Capabilities, I need help localizing the product

Files to be posted soon.....I'm looking for a CI Build environment that's free, to house the project as open source.