Modify

Opened 17 years ago

Closed 8 years ago

#2177 closed enhancement (wontfix)

Remind owners script

Reported by: Kristian Kvilekval Owned by: nextime
Priority: low Component: TicketRemindScript
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

The script currently sends a single message to all people listed in the tracremind.conf file.

This version allows you add a new mailowner flag in tracremind.conf to send an individual reports to bug owners.

It also adds a new config parameter 'from' instead of script embedded From Address Example:

[DEFAULT]
project: /home/trac/top
sendto: admin@dev.org
from: bugs@dev.org

[widget]
project: /home/trac/widget
sendto: widget-admin@dev.org
from: widget-bug@dev.org
mailowners:true

Attachments (1)

tracremind.py (8.0 KB) - added by Kristian Kvilekval 17 years ago.
mail reminders to bug owners

Download all attachments as: .zip

Change History (5)

Changed 17 years ago by Kristian Kvilekval

Attachment: tracremind.py added

mail reminders to bug owners

comment:1 Changed 17 years ago by anonymous

Type: defectenhancement

comment:2 Changed 17 years ago by nextime

Status: newassigned

Thanks, i will merge your changes with few modifications in a new release of the script with other few thinks suggested by others

comment:3 Changed 16 years ago by anonymous

kris@…, thanks for posting this! It works really well. One comment:

For me, I have set my project url (in the [project] section of trac.ini) to example.com/trac/project/wiki

This messes up the ticket URLs, as self.env.project_url returns "example.com/trac/project/wiki" and the script appends a "ticket/" on to the end of that, so the final URL in the email is example.com/trac/project/wikiticket/XX, which doesn't work.

However, there are two easy ways to fix this: One is to change the project url in trac.ini, or change the script to self.env.project_url[:-4], which takes 4 characters off the end. Either/or, just don't do both!

Thanks.

comment:4 Changed 8 years ago by Ryan J Ollos

Resolution: wontfix
Status: assignedclosed

Source is no longer available so project has been removed.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain nextime.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.