Can Trac email CC list when bug is fixed?

10 views
Skip to first unread message

Carl Meyer

unread,
Apr 11, 2009, 11:52:38 AM4/11/09
to Django developers
Is it possible to set up the svn commit hook that marks a Trac issue
fixed so it also emails the CC list for that issue? Since "being
fixed" is a fairly significant event in the life of an issue (relative
to, say, random comments or status changes which Trac emails out), it
seems like this would be pretty reasonable.

This morning I spent awhile tracking down a couple bugs I had
reported, only to later discover that they'd been fixed right around
the time I started. Maybe this should be solved by people claiming
issues, but in this case neither of us did so, and a simple email from
Trac when it was marked fixed would have saved some duplication of
work.

If Trac doesn't provide any reasonably way to set this up, I guess I
could go file an issue with them...

Carl

Marc Fargas

unread,
Apr 11, 2009, 1:15:08 PM4/11/09
to django-d...@googlegroups.com
On Sat, Apr 11, 2009 at 5:52 PM, Carl Meyer <carl.j...@gmail.com> wrote:
Is it possible to set up the svn commit hook that marks a Trac issue
fixed so it also emails the CC list for that issue?

That's a but in TRAC's svn-commit-hook script, there's a ticket about it in TRAC's TRAC with workarounds and so on http://trac.edgewall.org/ticket/3508 .

You can fill a ticket in Django asking for some workaround but you shouldn't rely on those mails too much. TRAC sometimes "forgets" to send mails on normal comments anyway; And it won't mail for any commit messages (not only Fixed/Closed but also Refs). I know, that's not nice ;\

Marc
--
http://www.marcfargas.com - will be finished someday.

Carl Meyer

unread,
Apr 11, 2009, 1:56:53 PM4/11/09
to Django developers
On Apr 11, 1:15 pm, Marc Fargas <teleni...@telenieko.com> wrote:
> That's a but in TRAC's svn-commit-hook script, there's a ticket about it in
> TRAC's TRAC with workarounds and so onhttp://trac.edgewall.org/ticket/3508.

Thanks. Actually reading through that ticket, it appears there is no
bug in recent versions of Trac (less than 3 years old), if the proper
version of the svn-commit-hook and all plugins are used (and
PYTHON_EGG_CACHE writability issues aren't causing a problem). So
it's not a matter of "workarounds" for a bug in Trac - it seems this
should work if everything is set up correctly.

> You can fill a ticket in Django asking for some workaround but you shouldn't
> rely on those mails too much.

There's no question of "relying" on them for some mission-critical
purpose; it'd just be nice to get the notification, "most of the time"
is fine. I'll file a ticket.

Carl
Reply all
Reply to author
Forward
0 new messages