Closed Bug 672194 Opened 15 years ago Closed 15 years ago

Create API methods for QMO Bugzilla Plugin for Wordpress

Categories

(bugzilla.mozilla.org :: Extensions, defect)

Production
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dkl, Assigned: dkl)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

After discussing this one with other Bugzilla developers we think it is best for now to go the route of adding custom XMLRPC WebService API method(s) for returning the information you need for your plugin. The other alternative was to extend the search code on the backend to support querying on confirmer or verifier but with upcoming releases of Bugzilla, the code will likely be much different and our patches would need to be re-written. The API methods are more of a guarantee to continue to work. That being said, what is the data that you would need the methods to return to satisfy your requirements? A simple count or a full list of bug ids? I feel the latter since you will be able to use that to make a buglist.cgi query that can take the user to the same bug list on BMO. (i.e. buglist.cgi?bug_id=BUG1,BUG2,...). The API methods could be called: BMO.getBugsConfirmer({ names => ['dkl@mozilla.com',...] }) BMO.getBugsVerifier({ names => ['dkl@mozilla.com',...] })
Thanks for the previous review in 643570. I have moved the work for the API methods to this bug and submitting this new revision for review. dkl
Attachment #546528 - Flags: review?(glob)
Comment on attachment 546528 [details] [diff] [review] Patch adding new webservice methods for QMO (v3) Review of attachment 546528 [details] [diff] [review]: ----------------------------------------------------------------- r=glob, looks good :)
Attachment #546528 - Flags: review?(glob) → review+
Committed to bmo/4.0. Should be in the next code push hopefully end of this week. Committing to: bzr+ssh://dlawrence%40mozilla.com@bzr.mozilla.org/bmo/4.0 modified extensions/BMO/Extension.pm added extensions/BMO/lib/WebService.pm Committed revision 7828. dkl
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Can you add a note here when the changes are pushed live?
(In reply to Al Billings [:abillings] from comment #4) > Can you add a note here when the changes are pushed live? it should be live now (was pushed on 2011-08-09)
Component: Extensions: Other → Extensions
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: