Closed Bug 251898 Opened 20 years ago Closed 20 years ago

Add function information to PatchReader output.

Categories

(Bugzilla :: Attachments & Requests, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 2.20

People

(Reporter: kiko, Assigned: kiko)

References

()

Details

Attachments

(1 file, 1 obsolete file)

It's trivial to add function information to PatchReader output (with the upcoming 0.9.5). Patch coming up.
This also aligns the (link here) text to the right.
Attachment #153523 - Flags: review?(john)
Attachment #153523 - Flags: review?(myk)
Comment on attachment 153523 [details] [diff] [review] kiko_v1: here comes the extra data! Given that most patches don't have func_info, could you not show the @@ if there's no func_info? Other than that, looks fine.
Done.
Attachment #153523 - Attachment is obsolete: true
Attachment #153523 - Flags: review?(myk)
Attachment #153523 - Flags: review?(john)
Attachment #153532 - Flags: review?(john)
Comment on attachment 153532 [details] [diff] [review] kiko_v2: good idea Neat.
Attachment #153532 - Flags: review?(john) → review+
This is a template-only change, and it might be nice to include in 2.18 -- minor, changes to a rather internal template. If we do this, we should bump up the PatchReader requirement. Otherwise, let the cutting-edge people enjoy this "exclusive feature -- but hurry, offer only valid while 2.18 lasts!". Let me know if I should bump up the PR requirement on the trunk -- it's really not required, just that people with 0.9.5 get nicer output than others.
Status: NEW → ASSIGNED
Flags: approval?
Flags: approval2.18?
Note that it is backwards compatible, too. This template will work with older versions of PatchReader since they will just never send func_info.
Flags: documentation?
Flags: approval?
Flags: approval2.18?
Flags: approval2.18-
Flags: approval+
Target Milestone: --- → Bugzilla 2.20
Done. Thanks! /cvsroot/mozilla/webtools/bugzilla/template/en/default/attachment/diff-file.html.tmpl,v <-- diff-file.html.tmpl new revision: 1.3; previous revision: 1.2
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
This looks pretty minor and this information only appears if the patch creator decided to include it. I don't think this needs to be documented.
Flags: documentation?
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: