Download & Extend

Provide a way to verify commit message format

Project:Version Control API
Version:6.x-2.x-dev
Component:Commit Restrictions
Category:feature request
Priority:minor
Assigned:Unassigned
Status:active

Issue Summary

Add a feature to the SVN pre-commit hook that ensures the developer referenced at least one ticket in the commit log message. Ideally provide an admin option that lets you toggle this feature.

This would bring Drupal's project modules more in line with Trac's functionality:

http://trac.edgewall.org/browser/trunk/contrib/trac-pre-commit-hook

Comments

#1

Project:Version Control API -- Subversion backend» Version Control API
Version:6.x-1.0-rc1» 6.x-1.0-rc2
Component:Code» Commit Restrictions

Sounds like an extension module making use of hook_versioncontrol_write_access(). There's nothing in that feature request that makes this specific to SVN, so let's move the issue to Version Control API. (The module would probably live somewhere else in contrib though.)

#2

Title:Modify SVN pre-commit hook to ensure the developer referenced at least one ticket number» Provide a way to verify commit message format
Version:6.x-1.0-rc2» 6.x-2.x-dev
Priority:normal» minor