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

jpetso’s picture

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

marvil07’s picture

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
marvil07’s picture

Status: Active » Closed (won't fix)

This should be done on the vcs hook script, let's not try to replace them.

(during triage)