The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 2.10.0 - 2018-11-06

  • New features
    • The Log::Any logging framework can be used to produce strucutured log messages.
    • Notify: The notification rule configuration syntax now allows one to restrict notifications per branch.
    • Notify: The notification rule configuration syntax now allows one to restrict notifications by specifying git-log "commit limiting" options, such as --no-merge and --grep.
    • PrepareLog: Commit messages produced with git-commit's options -m and t are prepared too. Previously, they were not.
    • Gerrit: Add support to the new Gerrit synchronous hooks: commit-received and submit.
    • Gerrit: Reviews are now tagged as 'autogenerated:git-hooks' so that they can be filtered out in the UI.
  • Fix
    • CheckRebase: The check_rebase routine only worked when the branch being rebased was at most one commit ahead of the upstream.
    • Fix pre-receive hooks when invoked by Bitbucket's pull request server.

Documentation

Modules

Framework for implementing Git (and Gerrit) hooks
[DEPRECATED] 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 references
Git::Hooks plugin for checking against unsafe rewrites
Git::Hooks plugin for checking whitespace errors
Git::Hooks plugin to insert a Change-Id in a commit message
Git::Hooks plugin to notify users via email
Git::Hooks plugin to prepare commit messages before being edited
Git::Hooks testing utilities
A Git commit message
A Git::Repository plugin with some goodies for hook developers