From: Tonu M. <tm...@um...> - 2023-10-10 16:10:33
|
The addition of the detector worked perfectly. Thank you! On Tue, Oct 10, 2023 at 10:42 AM John P. Rouillard <ro...@cs...> wrote: > Hello Tonu: > > In message <CABDFm8gEASbHiyE1dEe3xfVnD= > T_8...@ma...> > , > Tonu Mikk via Roundup-users writes: > >I would like to configure my tracker to email me every time a new issue is > >created. I added my email address to the dispatcher line in the config.ini > >file, but that didn't work. I know it is documented and I searched, but I > >couldn't find the solution. > > I shared your expectation about dispatcher. Then I looked into it and > searched the code. The key part of the dispatcher is: > > # The 'dispatcher' is a role that can get notified > # of new items to the database. > # It is used by the ERROR_MESSAGES_TO config setting. > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > the same wording shows up in reference.txt (formerly part of > customizing.txt). > > In doc/whatsnew-0.7.txt > > A new config option has been added that specifies the email address of > a "dispatcher" role. This email address acts as a central sentinel for > issues coming into the system. You can configure it so that all e-mail > error messages get bounced to them, them and the user in question, or > just the user (default). > > which explains it a little better, but still confusing. "issue" in > this case is not an issue as in 'an issue tracked by Roundup'. Instead > issue here means an issue/failure in email delivery or other bounce > message. > > Indeed the only reference in the code to this setting is in > bounce_message() in mailer.py. > > I'll see what I can do to clarify the wording on that. > > None of this solves your "issue" (hmm, irony...). > > However there is a "newissuecopy" reactor provided in the source tree > in the detectors directory. It can also be retrieved from source > control at: > > > https://sourceforge.net/p/roundup/code/ci/default/tree/detectors/newissuecopy.py > > It should be as easy as putting the file in the detectors directory of > your tracker's home directory. Then change "team@team.host" to your > address. Finally restart the tracker. > > It looks like the file works under both python 2 and 3, so you should > be good. > > Have a great day. > > -- > -- rouilj > John Rouillard > =========================================================================== > My employers don't acknowledge my existence much less my opinions. > -- Tonu Mikk Developer | Disability Resource Center | disability.umn.edu University of Minnesota | umn.edu tm...@um... Pronouns: He/Him |