Closed
Bug 389313
Opened 17 years ago
Closed 17 years ago
summarize_time.cgi needs some cleanup
Categories
(Bugzilla :: Bugzilla-General, enhancement)
Tracking
()
RESOLVED
FIXED
Bugzilla 3.2
People
(Reporter: LpSolit, Assigned: LpSolit)
References
Details
Attachments
(2 files, 1 obsolete file)
26.24 KB,
patch
|
mkanat
:
review+
|
Details | Diff | Splinter Review |
1.01 KB,
patch
|
mkanat
:
review+
|
Details | Diff | Splinter Review |
... a lot of cleanup even, see the patch. This removes many hacks, makes the code much more readable, use bug objects and will easily allow the addition of new information, e.g. bug 286452 which no longer requires to edit the .cgi script, but only to edit the template. I tested it on both MySQL 5.0 and PostgreSQL 8.2.
Attachment #273480 -
Flags: review?(mkanat)
Assignee | ||
Comment 1•17 years ago
|
||
SELECT * -> SELECT 1 bug_status -> get_status() No other changes.
Attachment #273480 -
Attachment is obsolete: true
Attachment #273619 -
Flags: review?(mkanat)
Attachment #273480 -
Flags: review?(mkanat)
Assignee | ||
Comment 2•17 years ago
|
||
This backport for 3.0 only fixes a real bug. The bug status is always in english.
Attachment #273622 -
Flags: review?(mkanat)
Comment 3•17 years ago
|
||
Comment on attachment 273622 [details] [diff] [review] tiny backport for 3.0, v1 Make sure that you don't use the summary as the checkin comment, on 3.0. (That is, write an actual descriptive checkin comment.)
Attachment #273622 -
Flags: review?(mkanat) → review+
Updated•17 years ago
|
Flags: approval3.0+
Comment 4•17 years ago
|
||
Comment on attachment 273619 [details] [diff] [review] patch, v1.1 This tests out just fine. It's a huge cleanup--I didn't review each line in depth, but I tested it and I looked it over generally, and it seems just fine.
Attachment #273619 -
Flags: review?(mkanat) → review+
Updated•17 years ago
|
Flags: approval+
Assignee | ||
Comment 5•17 years ago
|
||
tip: Checking in process_bug.cgi; /cvsroot/mozilla/webtools/bugzilla/process_bug.cgi,v <-- process_bug.cgi new revision: 1.388; previous revision: 1.387 done Checking in summarize_time.cgi; /cvsroot/mozilla/webtools/bugzilla/summarize_time.cgi,v <-- summarize_time.cgi new revision: 1.22; previous revision: 1.21 done Checking in template/en/default/bug/summarize-time.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/bug/summarize-time.html.tmpl,v <-- summarize-time.html.tmpl new revision: 1.10; previous revision: 1.9 done Checking in template/en/default/global/user-error.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/global/user-error.html.tmpl,v <-- user-error.html.tmpl new revision: 1.231; previous revision: 1.230 done 3.0.1: Checking in template/en/default/bug/summarize-time.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/bug/summarize-time.html.tmpl,v <-- summarize-time.html.tmpl new revision: 1.8.2.1; previous revision: 1.8 done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•