[Chandler-dev] Commit comments

Reid Ellis rae at osafoundation.org
Tue Jul 11 13:52:29 PDT 2006


Sorry, I wasn't being clear. I don't want to modify the svn commit  
message. I thought that if the message contained the text "fixes bug  
XXX", then a script could be fired off that accesses Bugzilla, marks  
the bug as "FIXED", adding the text from the checkin comments.

In this way, developers can enter a verbose checkin message once and  
it's redundantly available in both the svn log and Bugzilla.

Reid

On Jul 11, 2006, at 13:29, Mike Taylor wrote:
> Unless you modify the commit message *before* svn sends it to the  
> server no amount of hooking or processing will allow you to add  
> text to the commit message that svn stores.
>
> The commit emails have their information added to the message after  
> the fact, and as Grant has noted, do nothing for people who monitor  
> svn log data.
>
> What would be needed is a script that can be used by all devs to  
> parse the commit message and add data before passing it to svn.  Or  
> we just modify the email side of the picture by adding code to the  
> post-commit script that sends out the emails.
>
> On Jul 11, 2006, at 1:17 PM, Reid Ellis wrote:
>
>> An ideal solution would be to take the two actions (marking bug  
>> "resolved" and committing the change) and merge them, so that the  
>> comment is only typed in once (but is useful in both places).
>>
>> So can we do this with an svn hook of some kind and certain  
>> keywords (like "fixes bug NNN", which everyone seems to use)?  
>> Given the highly non-uniqe situation, I would hope there are tools  
>> already out there that accommodate this workflow.
>>
>> Reid



More information about the chandler-dev mailing list