Hello. On Thu, Feb 13, 2014 at 04:24:39PM +0100, Baptiste Daroussin wrote:
In particular to interact with the submitter. I have found no way to: 1/ send a mail when new ticket is created (yes we can follow via rss feed, but a mail is way nicer) 2/ send a mail each time to ticket is modified to reporters and followers(No rss2email is not a solution: not flexible enough)
I wrote a Python script that helps myself deal with this. It looks at all tickets and emails all participants with all comments and changes since their last reaction.
It also emails users specified in the "responsible" ticket field (which you can add in /tktsetup_tab), thus I can assign tickets to users and they get emailed without having to comment first.
It also sends all changes to an email address specified in the FOSSIL_CC environment variable, for archiving purpose.
I tried using the ticket hooks branch, but found it easier to just query the repository every 5 minutes with a cron job (also, this saves me from maintaining another web app that would handle the hook requests). I run the script on the same machine that Fossil databases are, so there are no performance or load issues.
In case this sounds helpful, you can inspect the script here: <http://code.umonkey.net/fossil-extras/file/tip/fossil-ticket-notify.py> Or download it: <http://code.umonkey.net/fossil-extras/raw-file/tip/fossil-ticket-notify.py> Good luck. -- Justin Forest http://umonkey.net/
signature.asc
Description: Digital signature
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users