[trac] post-commit-hook

Hallo, I haven't found any information on the Wiki, whether there is an post commit hook that automatically adds a comment to referred tickets. I successfully use http://trac.edgewall.org/browser/branches/0.10-stable/contrib/trac-post-comm... in other projects. This hook can even automatically close issues when I use phrases like 'fixes #1234' in the commit message. I suggest to add such a feature because it makes trac even more useful. (FYI: There is even a pre-commit hook available that denies commits that are not referring an open ticket.) mfg Gunter

On Sep 25, 2007, at 3:05 AM, Gunter Winkler wrote:
I haven't found any information on the Wiki, whether there is an post commit hook that automatically adds a comment to referred tickets. I successfully use
http://trac.edgewall.org/browser/branches/0.10-stable/contrib/trac- post-commit-hook
in other projects. This hook can even automatically close issues when I use phrases like 'fixes #1234' in the commit message. I suggest to add such a feature because it makes trac even more useful.
We've had this post-commit hook installed from the beginning, but it should probably be described on: http://svn.boost.org/trac/boost/wiki/BoostSubversion
(FYI: There is even a pre-commit hook available that denies commits that are not referring an open ticket.)
This we won't do... too stringent. - Doug
participants (2)
-
Douglas Gregor
-
Gunter Winkler