Closed
Bug 71794
Opened 24 years ago
Closed 22 years ago
processmail shouldn't bother checking dependencies unless state changes.
Categories
(Bugzilla :: Email Notifications, defect, P1)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.18
People
(Reporter: justdave, Assigned: gerv)
References
Details
Attachments
(1 file, 2 obsolete files)
(deleted),
patch
|
Details | Diff | Splinter Review |
I believe mail is not sent to any dependent bugs unless the bug being changed has
a state change. Bearing this in mind, processmail should not even bother with
the "Checking dependencies for changes" bit unless the change being made is
worthy of notifying the dependent bugs anyway. Right now you get a box on the
"Processed Bug" screen for each dependent bug telling you it didn't send any
mail. What's the point? :-)
Comment 1•24 years ago
|
||
Yes this is quite annoying, but probably not enough of a performance hit to
bother for 2.12.
Updated•24 years ago
|
Target Milestone: --- → Bugzilla 2.16
Updated•23 years ago
|
Priority: -- → P1
Comment 3•23 years ago
|
||
Mass moving to new product Bugzilla...
Assignee: tara → jake
Component: Bugzilla → Email
Product: Webtools → Bugzilla
Version: other → 2.13
Assignee | ||
Comment 4•23 years ago
|
||
CCing myk for his views on the perf. question.
Gerv
Reporter | ||
Comment 5•23 years ago
|
||
This is now on the "we really want this for 2.16, but won't hold the release for
it if it's not done by then" list.
Reporter | ||
Comment 6•23 years ago
|
||
*** Bug 111319 has been marked as a duplicate of this bug. ***
Reporter | ||
Comment 7•23 years ago
|
||
no patch, not a blocker, 2.16 is now in freeze mode.
-> 2.18
Target Milestone: Bugzilla 2.16 → Bugzilla 2.18
Reporter | ||
Comment 8•23 years ago
|
||
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
Comment 9•23 years ago
|
||
*** Bug 134899 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 10•22 years ago
|
||
This really needs fixing; I'm sure it'll be a significant perf win, and the fix
is simple.
Gerv
Comment 11•22 years ago
|
||
Comment on attachment 104287 [details] [diff] [review]
Patch v.1
What if I add/remove a dep? You need to make sure that that bug gets mail
recording the change, then.
Attachment #104287 -
Flags: review-
Assignee | ||
Comment 13•22 years ago
|
||
v.2 - fixes important point raised by bbaetz :-)
It's just dep changes and status/resolution changes, right?
Gerv
Attachment #104287 -
Attachment is obsolete: true
Comment 14•22 years ago
|
||
Given bug 178157, I wonder if processmail is the better place ot be doing this.
That probably requires a redesign, though
Also, we only send out status notifications in one way, so you could optimise
that check, too...
There is no way I will get to review that patch this week, though
Comment 15•22 years ago
|
||
Comment on attachment 105123 [details] [diff] [review]
Patch v.2
>Index: process_bug.cgi
>-
>+
Out of curiousity, are you using kate nowadays?
>+ if ($col eq 'bug_status' &&
>+ IsOpenedState($old) ne IsOpenedState($new))
>+ {
>+ $check_dep_bugs = 1;
>+ }
Nit: per style guidelines, && on succeeding line, i.e.:
>+ if ($col eq 'bug_status'
>+ && IsOpenedState($old) ne IsOpenedState($new))
>+ open(PMAIL, "-|") or
>+ exec('./processmail', $k, $::COOKIE{'Bugzilla_login'});
Nit: per style guidelines, "or" on succeeding line.
r=myk
Attachment #105123 -
Flags: review+
Assignee | ||
Comment 16•22 years ago
|
||
Nits fixed; this is the patch that will be checked in.
Myk: I'm still using NEdit, as it happens. I haven't had a chance to look at
kate.
Gerv
Attachment #105123 -
Attachment is obsolete: true
Assignee | ||
Comment 17•22 years ago
|
||
Fixed.
Checking in process_bug.cgi;
/cvsroot/mozilla/webtools/bugzilla/process_bug.cgi,v <-- process_bug.cgi
new revision: 1.164; previous revision: 1.163
done
Gerv
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 18•22 years ago
|
||
a=justdave
next time get it before you check in. :)
Assignee | ||
Comment 19•22 years ago
|
||
Sorry, Dave - completely forgot that you were doing that. Can you please send
round an official mail to say how a= works on Bugzilla?
Thanks :-)
Gerv
Reporter | ||
Comment 20•22 years ago
|
||
Myk already did. It was posted to both developers at and reviewers at
bugzilla.org early this afternoon. Did you read it? :-)
Assignee | ||
Comment 21•22 years ago
|
||
> Myk already did. It was posted to both developers at and reviewers at
> bugzilla.org early this afternoon. Did you read it? :-)
Not until later this morning. It was at the bottom of a mail giving a list of
bugs to review for the b.m.o. upgrade, so I ignored it, because I already have
more than enough to do for that :-)
But you still haven't said whether you are a=ing bugs, or particular patches. If
it's bugs, please go through the b.m.o. upgrade blocker list and a= them all :-)
Gerv
Comment 22•22 years ago
|
||
>Myk: I'm still using NEdit, as it happens. I haven't had a chance to look at
>kate.
I just wondered because kate has the tendency to leave lines with indented
spaces around. nedit, as far as I remember, didn't do that.
>Not until later this morning. It was at the bottom of a mail giving a list of
>bugs to review for the b.m.o. upgrade, so I ignored it, because I already have
>more than enough to do for that :-)
Please read the end of the email if you haven't yet. I could really use a blurb
about report.cgi. :-)
Comment 23•22 years ago
|
||
This is a possible suspect in bug 179351. Please see that bug.
Updated•12 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•