Closed
Bug 276417
Opened 20 years ago
Closed 18 years ago
Request for code change to note deprecated DB.pm routines
Categories
(Bugzilla :: Bugzilla-General, enhancement)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: kbenton, Assigned: kbenton)
Details
Attachments
(1 file, 5 obsolete files)
|
5.26 KB,
patch
|
mkanat
:
review-
|
Details | Diff | Splinter Review |
Attachment to follow.
| Assignee | ||
Comment 1•20 years ago
|
||
Identifies routines more clearly that are deprecated. This will help prevent future developers from accidentally including them in new code. Old method was somewhat confusing as none of the remaining routines were exported.
Attachment #169860 -
Flags: review?(kevin.benton)
| Assignee | ||
Comment 2•20 years ago
|
||
Comment on attachment 169860 [details] [diff] [review] Patch to document deprecated routines in DB.pm Removed requestee.
Attachment #169860 -
Flags: review?(kevin.benton) → review?
Updated•20 years ago
|
Assignee: justdave → kevin.benton
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Hardware: PC → All
Comment 3•20 years ago
|
||
Comment on attachment 169860 [details] [diff] [review] Patch to document deprecated routines in DB.pm In addition to the comments, this patch also moves the deprecated DB.pm routines at the bottom of the file. The style of commenting might be too strong for our current commenting style, but I guess it's ok. I'd love an empty line before the "sub SendSQL" line here: +############################################################################## # +# Deprecated routines begin here. +############################################################################## # +sub SendSQL { # Deprecated but that can be fixed upon checkin, if this passes approval.
Attachment #169860 -
Flags: review? → review+
Updated•20 years ago
|
Status: NEW → ASSIGNED
Flags: approval?
| Assignee | ||
Comment 4•20 years ago
|
||
Changed comment length to 69 chars max, added blank lines as requested.
Attachment #169860 -
Attachment is obsolete: true
Attachment #169937 -
Flags: review?
Updated•20 years ago
|
Attachment #169937 -
Flags: review? → review+
Comment 5•20 years ago
|
||
Comment on attachment 169937 [details] [diff] [review] Version 2! >@@ -54,70 +63,6 @@ > # Bugzilla.pm. See bug 192531 for details. > our $_current_sth; > our @SQLStateStack = (); These variable declarations and the two paragraphs of comments above them should be moved with the deprecated routines (starting with "# All this code is backwards compat fu."
Attachment #169937 -
Flags: review-
Updated•20 years ago
|
Flags: approval?
Target Milestone: --- → Bugzilla 2.20
| Assignee | ||
Comment 6•20 years ago
|
||
See also: bug 276417.
| Assignee | ||
Comment 7•20 years ago
|
||
Correction: See also: bug 276634 - update to Developer's Guide.
| Assignee | ||
Comment 8•20 years ago
|
||
Dave - does this mean you want me to move the comment section at the top to the deprecated routines near the bottom?
| Assignee | ||
Comment 9•20 years ago
|
||
While I would rather have put those comments at the top to help document the .pm, it make sense to put all the deprecated routines at the end of the public section along with the comments for those routines.
Attachment #169937 -
Attachment is obsolete: true
Attachment #171579 -
Flags: review?
| Assignee | ||
Updated•20 years ago
|
Attachment #171579 -
Flags: review? → review?(justdave)
Comment 10•20 years ago
|
||
any chance of getting this as a cvs diff -u (or at least a diff -u) ?
| Assignee | ||
Comment 11•20 years ago
|
||
Drat -- yes, I can. Thought I gave you diff -urN
| Assignee | ||
Comment 12•20 years ago
|
||
Comment on attachment 171579 [details] [diff] [review] V3 - Changes requested by Dave Replacing with diff -urN
Attachment #171579 -
Attachment is obsolete: true
| Assignee | ||
Updated•20 years ago
|
Attachment #171579 -
Flags: review?(justdave)
| Assignee | ||
Comment 13•20 years ago
|
||
Attachment #173678 -
Flags: review?(justdave)
| Assignee | ||
Comment 14•20 years ago
|
||
Comment on attachment 173678 [details] [diff] [review] Deprecated DB.pm update. Changed while ($result=$sth->fetchrow_array()) { to read while (my ($foo, $bar)=$sth->fetchrow_array()) {
Attachment #173678 -
Attachment is obsolete: true
Attachment #173678 -
Flags: review?(justdave)
| Assignee | ||
Comment 15•20 years ago
|
||
| Assignee | ||
Updated•20 years ago
|
Attachment #173681 -
Flags: review?(justdave)
| Assignee | ||
Comment 16•20 years ago
|
||
Dave - a friendly reminder that this is waiting on your review.
| Assignee | ||
Comment 17•20 years ago
|
||
| Assignee | ||
Updated•20 years ago
|
Attachment #173681 -
Attachment is obsolete: true
Attachment #176145 -
Flags: review?(justdave)
Updated•20 years ago
|
Attachment #173681 -
Flags: review?(justdave)
Comment 18•20 years ago
|
||
This is really an enhancement, so it's 2.22 material. Also, we do already note that they're deprecated in the POD docs, but I agree it would be good to move them to the bottom of the file.
Severity: normal → enhancement
Target Milestone: Bugzilla 2.20 → Bugzilla 2.22
Version: unspecified → 2.19
| Assignee | ||
Updated•20 years ago
|
Attachment #176145 -
Flags: review?(justdave) → review?(mkanat)
Comment 19•20 years ago
|
||
Comment on attachment 176145 [details] [diff] [review] Deprecated DB.pm routines update The information in the comments should be in POD docs instead. The deprecated routines should not have a synopsis in the POD docs.
Attachment #176145 -
Flags: review?(mkanat) → review-
Comment 20•19 years ago
|
||
The trunk is now frozen to prepare Bugzilla 2.22. Enhancement bugs are retargetted to 2.24.
Target Milestone: Bugzilla 2.22 → Bugzilla 2.24
Updated•18 years ago
|
QA Contact: mattyt-bugzilla → default-qa
Comment 21•18 years ago
|
||
Deprecated DB routines do not exist anymore. This makes this bug obsolete.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
Target Milestone: Bugzilla 3.0 → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•