The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 2.14.0 - 2020-11-01

  • New features
    • CheckDiff: Add new option 'deny-token' which was previously implemented in the CheckFile plugin. Also, the option now can look for tokens on specific files and directories instead of in the whole repository.
    • The GITHOOKS_AUTHENTICATED_USER environment variable is set to the authenticated user's username, being available for all hooks and plugins. It may be used wherever environment variables can be expanded, such as in CheckReference's acl refspecs.
  • Deprecations
    • CheckFile: Deprecate the 'deny-token' option which was moved to the CheckDiff plugin.
  • Fixes
    • CheckLog: Fix the revert_errors function which crashed when the SHA1 mentioned in the revert message didn't refer to an existing commit.

Documentation

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

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 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