Changes for version 1.13.0 - 2016-07-02

  • New features
    • Add new boolean option githooks.gerrit.auto-submit to submit the change in Gerrit automatically if all hooks succeed.
    • Add new options for specifying Gerrit votes: githooks.gerrit.votes-to-approve and githooks.gerrit.votes-to-reject. They allow for voting in multiple labels depending on the outcome of the hooks.
  • Deprecations
    • The options githooks.gerrit.review-label, githooks.gerrit.vote-nok, and githooks.gerrit.vote-ok are deprecated and should be replaced by the new options mentioned above. These old options will continue to work for a few more versions and cannot be used together with the new ones. They must be completely replaced.

Documentation

Ideas for future versions of Git::Hooks
Gentle tutorial for Git::Hooks users and Git administrators

Modules

Framework for implementing Git (and Gerrit) hooks
Git::Hooks plugin for branch/tag access control
Git::Hooks plugin to enforce commit policies
Git::Hooks plugin for checking files
Git::Hooks plugin which requires citation of JIRA issues in commit messages
Git::Hooks plugin to enforce commit log policies
Git::Hooks plugin for checking against unsafe rewrites
Git::Hooks plugin for ref/file structure validation
Git::Hooks plugin for checking whitespace errors
Git::Hooks plugin to insert a Change-Id in a commit message
A Git extension with some goodies for hook developers
A Git commit message