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
Modules
- Git::Hooks - Framework for implementing Git (and Gerrit) hooks
- Git::Hooks::CheckAcls - Git::Hooks plugin for branch/tag access control
- Git::Hooks::CheckCommit - Git::Hooks plugin to enforce commit policies
- Git::Hooks::CheckFile - Git::Hooks plugin for checking files
- Git::Hooks::CheckJira - Git::Hooks plugin which requires citation of JIRA issues in commit messages
- Git::Hooks::CheckLog - Git::Hooks plugin to enforce commit log policies
- Git::Hooks::CheckRewrite - Git::Hooks plugin for checking against unsafe rewrites
- Git::Hooks::CheckStructure - Git::Hooks plugin for ref/file structure validation
- Git::Hooks::CheckWhitespace - Git::Hooks plugin for checking whitespace errors
- Git::Hooks::GerritChangeId - Git::Hooks plugin to insert a Change-Id in a commit message
- Git::More - A Git extension with some goodies for hook developers
- Git::More::Message - A Git commit message