Le Thu, 13 Feb 2014 20:44:43 +0400, Justin Forest <h...@umonkey.net> a
écrit :

> 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>

That's awesome! Just what I needed. I actually only use the JSON API to
get last tickets edits and send the change to a mailing list, but
sending to ticket participants is what I was looking for, thanks!

-- 
BohwaZ

Attachment: signature.asc
Description: PGP signature

_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to