bugzilla backend tasks in evolution to manage bugs

Max Kanat-Alexander mkanat at bugzilla.org
Thu Mar 29 22:36:16 UTC 2007


On Thu, 29 Mar 2007 06:18:41 -0600 "Abhishek Parwal"
<pabhishek at novell.com> wrote:
> For all this firstly we must be able to query the bugzilla for its
> version

	Use config.cgi. It has several formats. config.cgi&ctype=rdf is
XML.

> then also query for authentication of user to
> bugzilla with username and password.

	In 3.0 you can do this in the XML-RPC Interface, User.login.

	Otherwise you'll have to do screen-scraping and figure out if
your login succeeded.

> fetching saved searches

	You'd have to screen-scrape for that--we don't export that data
in any standard way, right now.

>buglist, attachments,description.

	You might want to look at what my supybot plugin does, there.
It's in bzr, so you can do:

	bzr checkout http://bzr.everythingsolved.com/supybot/Bugzilla

	And look at the _getBugs subroutine in plugin.py. (And the
various subroutines it calls.) Also, the "query" subroutine shows how I
do searches.

	Basically, I use the RDF format of the buglist, and the XML
format of a bug.

	-Max
-- 
http://www.everythingsolved.com/
Competent, Friendly Bugzilla Services. And Everything Else, too.



More information about the developers mailing list