Forum OpenACS Development: Re: Request: Pay attention to CVS log messages

Collapse
Posted by Roberto Mello on
Oh yes, very good point Jeff.

In fact, while we are at it, we might as well start using what I plan to add to bug-tracker: automatic closing of bugs.

I will write a script that, through the cvs log, scans for certain things and automatically closes the bug. I plan to use the Debian bug tracking system's syntax (for consistency, and they already wrote the regexp's 😊).

So if you commit something and include something like: "(closes #1234567)" (or anything matched by the regxep /closes:\s*(?:bug)?\#\s*\d+(?:,\s*(?:bug)?\#\s*\d+)*/ig) where 1234567 is the bug id on bug-tracker, than that bug will be closed, and your commit log will be used as comments.

I believe that should take care of much of the problem of many bugs never being closed.

-Roberto