Closed Bug 125688 Opened 23 years ago Closed 22 years ago

Move processmail to Template Toolkit.

Categories

(Bugzilla :: Email Notifications, defect)

2.15
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 124174

People

(Reporter: CodeMachine, Assigned: preed)

Details

processmail currently uses old style templatisation.  Moving over to template
toolkit will be a dramatic improvement.

This would allow an easy fix for bug #73330.  We should consider bug #26943 when
designing the template interface (and likely do it at the same time).  We should
probably also do bug #93952 to simplify the interface if we're doing bug #26943
at the same time.
Target Milestone: --- → Bugzilla 2.18
Can we make processmail a module, rather than a separate program, at the same
time? This would allow for us to pash hashes and lists through, rather than
parsing the bug_activity, and reading stuff from the command line, and so on.
We certainly can and should make it a sub, but I would be wary of doing things
that way.  The current way is semi-tolerant when notifications fail to get sent
out when they should.
This is needed for several reasons:

1. problems running system on win32 without cmd in the path
2. This makes templatising process_bug.cgi a pain, because you have to process
half a template, then call processmail, then process the other half.

I'm hacking on this now. It won't be clean, but it won't be any worse than it
currently is, at least.
The second problem can be worked arround like attachment.cgi does, though.
What are you doing exactly?  I wanted to do some hardcore redesign at the same
time as this.
I wrote those comments on the wrong bug - see bug 124174, which now has a patch.
I'm avoiding doing any 'hardcore redesign' at this time.
Changing default owner of Email Notifications component to JayPee, a.k.a.
J. Paul Reed (preed@sigkill.com).  Jake will be offline for a few months.
Assignee: jake → preed
From where I'm sitting now, this has become a dup of bug 124174, since we're
templatizing the new BugMail.pm; I'm gonna mark it as such now.

If anyone disagrees, please 'splain why in the comments.

*** This bug has been marked as a duplicate of 124174 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
clearing milestone on all DUPLICATE/WONTFIX/WORKSFORME/INVALID so they'll show
up as untriaged if they get reopened.  "Jiminy Cricket!" for the filters (and I
don't care if it's spelled wrong ;)
Target Milestone: Bugzilla 2.18 → ---
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.