Closed Bug 235287 Opened 21 years ago Closed 21 years ago

whineatnews.pl's comment could be improved

Categories

(Bugzilla :: Email Notifications, defect)

2.17.6
All
Other
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 2.18

People

(Reporter: goobix, Assigned: goobix)

Details

Attachments

(1 file)

A comment in whineatnews.pl says 7 days but actually the value is read from the whinedays param, so the comment is slightly inaccurate.
Status: NEW → ASSIGNED
Target Milestone: --- → Bugzilla 2.18
Attached patch Version 1Splinter Review
Attachment #142031 - Flags: review?(timeless)
Comment on attachment 142031 [details] [diff] [review] Version 1 does it look at all bugs or just NEW/REOPENED bugs?
Attachment #142031 - Flags: review?(timeless) → review+
(In reply to comment #2) > does it look at all bugs or just NEW/REOPENED bugs? Well it's hard to tell how MySQL works ;-) Thanks for the quick review!
Flags: approval?
What I wanted to say in comment #3 is that the answer to the question actually depends upon the fact if the table is indexed or not. The SQL statement has a SELECT ... FROM ... WHERE ..., and inside the WHERE clause there are the conditions, including the restriction of resolution to NEW and REOPENED as well as the delta time computation. We could say that it looks only at bugs with the resolution and delta time computation in the given margin, and then it sends whiny mail to those, but how can you find those if you don't look at all the bugs? Entering into subtilities like MySQL indexes and stuff can sometimes downgrade the expressivity of the sentence.
Flags: approval? → approval+
Checking in whineatnews.pl; /cvsroot/mozilla/webtools/bugzilla/whineatnews.pl,v <-- whineatnews.pl new revision: 1.13; previous revision: 1.12 done
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: