Closed
Bug 279738
Opened 20 years ago
Closed 19 years ago
Move GetLongDescriptionAsText out of globals.pl
Categories
(Bugzilla :: Email Notifications, enhancement)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.22
People
(Reporter: mkanat, Assigned: LpSolit)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
|
4.74 KB,
patch
|
mkanat
:
review+
|
Details | Diff | Splinter Review |
Really, this should be something like get_comments_for_bug_during_period, and it's only used by BugMail.pm. It does seem like something that should be in Bug.pm, though. I'm not sure... any comments?
| Reporter | ||
Updated•20 years ago
|
Blocks: bz-globals
| Reporter | ||
Updated•20 years ago
|
Priority: -- → P2
Target Milestone: --- → Bugzilla 2.22
Comment 1•20 years ago
|
||
FYI, I've moved this into BugMail.pm as part of bug #116863
| Reporter | ||
Comment 2•20 years ago
|
||
OK. One day we need to make that function not suck, but that will probably happen when we templatize email.
| Assignee | ||
Comment 3•20 years ago
|
||
Move this function separately. Marking this bug as blocking the other one as the patch in 116863 has been denied review.
| Assignee | ||
Comment 4•19 years ago
|
||
The move to BugMail.pm is trivial. Why isn't it done yet?
| Reporter | ||
Comment 5•19 years ago
|
||
Because nobody's patched it, I'd guess. :-)
Assignee: altlst → email-notifications
Comment 6•19 years ago
|
||
(In reply to comment #4) > The move to BugMail.pm is trivial. Why isn't it done yet? Yea, I've been tied up getting 2.20 installed at my company (among other things) and only had time to use the original patch in bug #116863. When things die down, I can look into breaking it up. Or somebody else could do it. My only request is that there should still be a "get_all_comments" routine, which I believe would be needed for bug #116863
| Assignee | ||
Comment 7•19 years ago
|
||
Let's move it in BugMail.pm for now. As mkanat said, it's only used in BugMail.pm and moving this routine in Bug.pm would create a module dependency loop between BugMail.pm and Bug.pm.
Assignee: email-notifications → LpSolit
| Assignee | ||
Comment 8•19 years ago
|
||
I'm sure mkanat wants to review this one. After all, you are the one who opened this bug. :-p Note that GetLongDescriptionAsText() has been renamed as BugMail::get_comments_by_bug().
Attachment #194173 -
Flags: review?(mkanat)
| Reporter | ||
Comment 9•19 years ago
|
||
Comment on attachment 194173 [details] [diff] [review] patch, v1 r=mkanat by inspection. Some day this whole sub needs to die (probably as part of the BugMail re-work in bug 301447).
Attachment #194173 -
Flags: review?(mkanat) → review+
| Assignee | ||
Updated•19 years ago
|
Status: NEW → ASSIGNED
Flags: approval?
Priority: P2 → --
Updated•19 years ago
|
Flags: approval? → approval+
| Assignee | ||
Comment 10•19 years ago
|
||
Checking in globals.pl; /cvsroot/mozilla/webtools/bugzilla/globals.pl,v <-- globals.pl new revision: 1.336; previous revision: 1.335 done Checking in Bugzilla/BugMail.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/BugMail.pm,v <-- BugMail.pm new revision: 1.51; previous revision: 1.50 done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•