Roundup Tracker - Issues

Issue 2550767

classification
Add newitemcopy.py detector to notify users of new items.
Type: rfe Severity: normal
Components: None Versions:
process
Status: fixed fixed
:
: rouilj : rouilj, wking
Priority: : patch

Created on 2012-08-01 19:23 by wking, last changed 2016-07-02 19:06 by rouilj.

Files
File name Uploaded Description Edit Remove
newitemcopy.py wking, 2012-08-01 19:22
Messages
msg4601 Author: [hidden] (wking) Date: 2012-08-01 19:23
Split off from issue2550574.

On Tue, May 15, 2012 at 12:53:34PM -0400, W. Trevor King wrote:
> I also agree that `newissuecopy.py' is important.  After reading the
> config comments:
> 
>   # The 'dispatcher' is a role that can get notified
>   # of new items to the database.
> 
> It seems to me that DISPATCHER_EMAIL should be notified of all new
> items, not just bounced messages as is currently hardcoded into
> Mailer.bounce_message.
> 
> I've attached a tweaked version of `newissuecopy.py' that implements
> this for all items.  I thing that a number of email-generating methods
> from IssueClass should actually be Item methods, so they can also be
> used on non-Issue nodes.  This would remove a lot of the duplicated
> code from my `newitemcopy.py'

On Wed, May 16, 2012 at 08:10:30AM +0000, Thomas Arendsen Hein wrote:
> We nearly always use newissuecopy.py to inform some users or a
> public mailing list about new issues (or in one case new merge
> entries), but not about everything.

My script notifies you about everything.

> DISPATCHER_EMAIL is the supervisor who wants to be notified about
> everything, so this is something different.

So it makes sense that I use DISPATCHER_EMAIL in my script.

> First step should be to revive the removed detectors. But yes,
> providing more flexibility with less code duplication would be nice,
> as would be the possibility to set the newissuecopy recipients in
> config.ini (without preventing configuration in newissuecopy.py
> itself of course).

I haven't addressed the code-duplication issue yet, since that would
require a more intrusive patch.  If people think this would be a good
direction to move in, I'm happy to add the Item methods.

On Wed, Aug 01, 2012 at 06:55:54PM +0000, Bernhard Reiter wrote:
> Trevor, can you open a new issue with your improvement please?  (As
> this issue is quite specific about restoring the old situation. I
> believe you are changing some of the conditions how this is used and
> I haven't fully thought it through.)

Here it is.
msg5709 Author: [hidden] (rouilj) Date: 2016-07-02 19:06
Checked in on ec06bd6ea156 as attached to this ticket.

The removed detectors were recovered at some point before now.

In the checkin I added a README describing what the detectors subdir is
for and that the detectors are provided as-is.

-- rouilj
History
Date User Action Args
2016-07-02 19:06:59rouiljsetstatus: new -> fixed
nosy: + rouilj
messages: + msg5709
assignee: rouilj
components: + None
type: rfe
resolution: fixed
2016-06-27 03:22:31rouiljsetkeywords: + patch
2012-08-01 19:23:01wkingcreate