On Thu, Oct 09, 2008 at 09:56:10AM -0700, [EMAIL PROTECTED] wrote: > > > One other thing, I noticed in the TODO file in your source, you are > toying with the syntax for adding hours to the ticket via repo hook. > please implement the same method of adding hours as the Timing and > Estimation plugin with the () syntax : (spent 2), (sp 2) or simply (2) > at the end of an update command such as: > close, closed, closes, fix, fixed, fixes > references, refs, addresses, re, see > > in other words, since the functionality is the same for this purpose, > the post-commit-hook should be able to be shared. Just a thought.
Thanks for the idea on syntax. In general, I'm not a fan of the monolithic (albeit tiny monolith) of the trac-post-commit hook, because its not pluggable. If I were to innovate a plugin for TracHours that does this, I would extend the pluggable system of RepositoryHookSystem (http://trac-hacks.org/wiki/RepositoryHookSystemPlugin) or SvnChangeListener (http://trac-hacks.org/wiki/SvnChangeListenerPlugin). P.S. RepositoryHookSystem currently only works for SVN, despite its general idea. Jeff Hammel > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---