Another Mercurial - Bugzilla Extension Setup Question

Jim Hague jim.hague at acm.org
Thu Apr 25 23:06:19 UTC 2013


On Thursday 25 Apr 2013 21:52:13 Melissa Mann wrote:
> After looking into this a bit further, it looks like I have an old copy
> of the bugzilla.py file.
> [..]
> I'm running Mercurial on opensolaris; here's the versioning info for the
> mercurial package that's installed:
> 
> Version: 1.3.1

Yikes! Your entire Mercurial version is a little antediluvian. Or at the very 
least rather too old to expect the current version of bugzilla.py to work.

From a cursory glance at the history (i.e. I don't promise that this is 
accurate information :-)), I think you need Mercurial 2.3 at minimum. XMLRPC 
support didn't start appearing in Mercurial until around 1.8.2.

http://mercurial.selenic.com/wiki/Download#Solaris is the most I know on how 
to find packages for Solaris. I am not a Solaris person.

If you can't find anything appropriate, installing Mercurial from source is 
fairly painless on the systems I am familiar with (Linux and AIX).

The age of the Mercurial install has got me wondering about the version of 
Bugzilla you are using. 3.4 is the absolute minimum for XMLRPC access, and if 
you want to mark bugs as fixed with XMLRPC you'll need Bugzilla 4.0. If you 
want to be able to mark bugs as fixed with Bugzilla prior to 4.0, XMLRPC+email 
can do that from 3.4 onwards.

Bugzilla earlier than 3.4 you are stuck with direct database access, which (a) 
only works if the database is MySQL, and (b) I don't recommend and want to 
remove. It's a pain to configure, is only tested on a few specific Bugzilla 
versions, and because it writes directly to the database behind Bugzilla's 
back I am never 100% sure Something Bad can't happen. I did use it in 
production for some years, but feel much safer with XMLRPC, it being a pukka 
supported interface.
-- 
Jim Hague - jim.hague at acm.org          Never trust a computer you can't lift.



More information about the Mercurial mailing list