P4DTI issue job000951

TitleBugzilla bugmail doesn't work any more
Statusclosed
Priorityessential
Assigned userNick Barnes
OrganizationRavenbrook
DescriptionBugzilla 2.17.x doesn't have the "processmail" script used by the P4DTI to send bugmail when bugs change.
AnalysisWe need to replace this script. The processmail functionality has been taken over by the Bugzilla::BugMail Perl module. The Bugzilla project is interested in a replacement for this script [1], and may even add the script which we have written to Bugzilla before the release of 2.18.
Note that the replacement script needs to validate its input. Note also that checksetup.pl needs to be aware of the script so that it can set the permissions on it appropriately.
And the P4DTI needs to be able to find and invoke the new bugmail script, or the old processmail script, depending on the version of Bugzilla we are integrating with.
How foundinspection
Evidence[1] http://bugzilla.mozilla.org/show_bug.cgi?id=239343
Observed in2.1.2
Introduced in2.1.2
Created byNick Barnes
Created on2004-06-24 12:36:33
Last modified byGareth Rees
Last modified on2010-10-07 12:07:39
History2004-06-24 NB Created.

Fixes

Change Effect Date User Description
106023 closed 2004-07-14 16:56:15 Nick Barnes run the bugmail script with perl -T (taint mode).
104550 open 2004-07-06 10:32:06 Nick Barnes Let's try actually saving the file before submitting this time....
104548 open 2004-07-06 10:28:51 Nick Barnes Copy across changes made to this script in Bugzilla 2.18.
104547 open 2004-07-06 10:27:45 Nick Barnes bugmail moved to sendbugmail for compatibility with Bugzilla 2.18.
104392 open 2004-07-05 15:24:15 Nick Barnes Now that bugmail has moved, it needs to say use lib qw(..);
104388 open 2004-07-05 15:09:52 Nick Barnes Move bugmail.pl from one directory to another.
104372 open 2004-07-05 13:31:46 Nick Barnes Move bugmail to contrib subdirectory.
99291 open 2004-06-08 14:59:03 Nick Barnes Add validation to this bugmail script.
97171 open 2004-05-28 16:43:43 Nick Barnes Bugzilla 2.17.7 support:
  bugmail.pl replacement for processmail.
  Bugzilla 2.17.5 database schema changes (especially new groups system, new product and component IDs, group_control_map controls);
  Cache results of some database queries to speed operation with new or old schemas;
  Changed bug change permission rules;
  Clean up better when deleting a bug;
  Correct values in bugs_activity entries when changing user columns.
97165 open 2004-05-28 16:30:25 Nick Barnes Change bugmail usage so that it doesn't take CC addresses.
97163 open 2004-05-28 16:29:19 Nick Barnes Tell checksetup.pl about bugmail.pl so that it can set the permissions correctly.
92718 open 2004-05-05 16:13:33 Nick Barnes Make P4DTI patch to Bugzilla 2.17.7 work in all the various conditions it might be encountered.
92511 open 2004-05-04 14:06:06 Nick Barnes First cut at a P4DTI patch for Bugzilla 2.17.7.