[PATCH 0 of 5] Bugzilla: Add access via XMLRPC

Jim Hague jim.hague at acm.org
Wed Mar 30 08:54:16 UTC 2011


The Bugzilla extension currently interacts with Bugzilla by reading and
writing directly to the Bugzilla database. The database must be MySQL,
so Bugzilla installations running on other databases are not supported,
and even on MySQL schema changes are a problem.

It also invokes a script in the Bugzilla contrib/ directory. So there
must be a Bugzilla installation present on the Mercurial machine. The script
requires access to Bugzilla configuration information, which can cause
permissions problems.

This patch series adds an alternate access mode that uses instead the
Bugzilla XMLRPC interface. It requires Bugzilla 3.4 (released 7/2009)
onwards and has primarily been tested with Bugzilla 3.6.

Adding comments via XMLRPC means comments all appear as added by the
user used in the XMLRPC session. If email access to Bugzilla is available, 
this can be used in combination with XMLRPC to submit comments from
any registered Bugzilla user, providing equivalent functionality to
the MySQL direct access method. 

Because equivalent functionality to direct MySQL access is possible via
official external interfaces, and all Bugzilla versions prior to 3.4
are now End of Life, I have indicated that MySQL access is considered
deprecated. I do not intend to update direct MySQL access for any
schema changes in 4.x and beyond.


More information about the Mercurial-devel mailing list