Modify SVN pre-commit hook to ensure the developer referenced at least one ticket number
stodge - June 16, 2009 - 11:57
| Project: | Version Control API |
| Version: | 6.x-1.0-rc2 |
| Component: | Commit Restrictions |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
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

#1
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.)