Changes for version 0.049 - 2014-08-16

  • Changes
    • Support Gerrit's draft-published hook which is invoked when a draft change is published.
    • New githooks.nocarp configuration variable to suppress the script line number on error messages.
    • New githooks.gerrit.comment-ok configuration variable to add a comment to a positive review in Gerrit.
    • All error messages are now printed in a specific format.
    • Released at #cpanday.
  • Fixes
    • Git configuration variables can't have underscores in their names. So, this version changes the names of three of them under the githooks.gerrit section: review_label, vote_ok, and vote_nok. They are now: review-label, vote-ok, and vote-nok.
    • The patchset-created hook wasn't setting up the configuration variables correctly.
    • Draft changes in Gerrit don't trigger the patchset-created hook anymore, because only the draft owner can review it.

Documentation

Modules

Framework for implementing Git (and Gerrit) hooks
Git::Hooks plugin for branch/tag access control.
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 against unsafe rewrites
Git::Hooks plugin for ref/file structure validation.
Git::Hooks plugin to insert a Change-Id in a commit message.
A Git extension with some goodies for hook developers.
A Git commit message