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.9.0 - 2018-03-23

  • New features
    • CheckFile: a new option 'acl' allows one to restrict who can do what (add, modify, or delete) to specific files in a very general way.
    • CheckReference: a new option 'acl' allows one to restrict who can do what (create, rewrite, update, or delete) to which references in a very general way.
    • GitHooks: a new method 'grok_acls' is used by the plugins CheckFile and CheckReference to pre-process their respective 'acl' multi-valued options.
    • Notify: a new placeholder (%R) can be used in the option 'commit-url'. It's replaced by the repository name.
  • Deprecations
    • CheckFile: the options 'basename.deny', 'basename.allow', 'path.deny', and 'path.allow' are deprecated because they can be implemented more generally with the new 'acl' option.
    • CheckReference: the options 'allow' and 'deny' are deprecated because they can be implemented more generally with the new 'acl' option.
    • CheckAcls: this plugin is deprecated because its funcionality can now be implemented with the new 'githooks.checkreference.acl' option.

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