Changes for version 4.0.0 - 2024-06-16

  • This new major version removes support for Perl 5.16 and requires Perl 5.30 instead. It also removes support for Git 1.8.3 and requires at least Git 2.25.1 instead.
  • This was motivated by the CentOS release policy changes which essentially stopped it from producing new releases. Also, by the EOL of Ubuntu 18.04.
  • We take advantage of this incompatible change to also remove several configuration options which were deprecated more than two years ago.
  • Incompatible changes
    • Require Perl 5.30 and Git 2.25.1, which are used by Ubuntu 20.04. A few simplifications and improvements were made on the code.
    • Remove the following deprecated options. Check their documentation on the previous version to know how to replace them with newer options.
      • githooks.disable
      • githooks.checkfile.deny-token

Documentation

find secrets leaking in a Git repository
Git::Hooks driver script

Modules

Framework for implementing Git (and Gerrit) hooks
Git::Hooks plugin to enforce commit policies
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