Closed Bug 232064 Opened 22 years ago Closed 21 years ago

[BUGZILLA] bugsDWIMQueryDefault should be per-channel

Categories

(Webtools Graveyard :: Mozbot, enhancement, P5)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: justdave, Assigned: justdave)

Details

Attachments

(1 file)

ssdbot, for example, sits on several channels. His bugsDWIMQueryDefault is product=Bugzilla&resolution=---&short_desc_type=allwordssubstr&short_desc= On #mozwebtools (his original and primary home) that's perfect. On some of the other channels he's on, it would be more appropriate to have him search a different product. For example, when invoked from #bmo he should search mozilla.org instead of Bugzilla.
Assignee: ian → justdave
Attached patch Patch v1Splinter Review
ssdbot is already running this, it appears to work. :) New variable named bugsDWIMQueryChannelDefault. Hash: channel => query It falls back on the old bugsDWIMQueryDefault if the current channel isn't in the hash.
Attachment #172073 - Flags: review?(ian)
er, that was me, forgot I'd just been twiddling with bzbot's email prefs :)
Priority: -- → P5
Comment on attachment 172073 [details] [diff] [review] Patch v1 This patch has been working properly on ssdbot for... years. :-)
Attachment #172073 - Flags: review?(ian) → review+
OK, well, it's been working for months. Same thing. :-) I fixed the bitrot on checkin. Checking in BotModules/Bugzilla.bm; /cvsroot/mozilla/webtools/mozbot/BotModules/Bugzilla.bm,v <-- Bugzilla.bm new revision: 2.17; previous revision: 2.16 done
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Severity: normal → enhancement
Target Milestone: --- → Mozbot 2.6
Version: Trunk → Mozbot 2.4
QA Contact: kerz → mozbot
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: