Closed
Bug 301079
Opened 19 years ago
Closed 19 years ago
[BUGZILLA] BugzillaMailHandler: Option to report some products using the names of their components
Categories
(Webtools Graveyard :: Mozbot, enhancement)
Tracking
(Not tracked)
VERIFIED
FIXED
2.6
People
(Reporter: mkanat, Assigned: mkanat)
Details
Attachments
(2 files)
|
1.25 KB,
patch
|
mkanat
:
review-
|
Details | Diff | Splinter Review |
|
1.51 KB,
patch
|
mkanat
:
review+
|
Details | Diff | Splinter Review |
bzbot used to report the "Webtools" and "mozilla.org" products as their components. For example, in Webtools, he would say something like "New Mozbot bug 234234333322 filed by blah@blahblah.com." It would be nice if the BugzillaMailHandler code in mozbot could also do that. Short of moving the message-creation code into Bugzilla.bm (which I should probably do), the only way to accomplish this is a hack in BugzillaMailHandler, perhaps a constant that can be modified.
Comment 1•19 years ago
|
||
This adds a new var to the Bugzilla module - reportComponentAsProduct. When $product::::$component is set in this variable, the code replaces $product with $component in the message to be reported to the channel.
Attachment #189588 -
Flags: review?(mkanat)
| Assignee | ||
Comment 2•19 years ago
|
||
Comment on attachment 189588 [details] [diff] [review] Patch v1 It doesn't need to be a hash, it just needs to be a list of Product names. For bonus points, though, it can *also* understand the :::: format, but it only *needs* to understand the Product. Otherwise, this is a pretty good hack. :-)
Attachment #189588 -
Flags: review?(mkanat) → review-
Comment 3•19 years ago
|
||
Makes it a list instead... allows both "Product" and "Product::::Component".
Attachment #189693 -
Flags: review?(mkanat)
| Assignee | ||
Comment 4•19 years ago
|
||
Comment on attachment 189693 [details] [diff] [review] Patch v2 Looks good to me! :-) Feel free to check it in.
Attachment #189693 -
Flags: review?(mkanat) → review+
Comment 5•19 years ago
|
||
Checking in BotModules/Bugzilla.bm; /cvsroot/mozilla/webtools/mozbot/BotModules/Bugzilla.bm,v <-- Bugzilla.bm new revision: 2.14; previous revision: 2.13 done
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Updated•18 years ago
|
QA Contact: kerz → mozbot
Updated•16 years ago
|
Target Milestone: --- → 2.6
Updated•6 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•