Still playing with Bugzilla
Filed in: Perl Add comments
Today I extended my Bugzilla gateway to support “products” in Bugzilla.
To my surprise, I found out that Bugzilla’s XML-RPC doesn’t return the associated “components” and “versions”.
The fix is quite simple:
--- Bugzilla/WebService/Product.pm.orig Fri Aug 24 20:46:07 2007 +++ Bugzilla/WebService/Product.pm Fri Aug 24 21:10:47 2007 @@ -60,6 +60,8 @@ id => type('int')->value($_->id), name => type('string')->value($_->name), description => type('string')->value($_->description), + components => $_->components, + versions => $_->versions } } @requested_accessible;
I’ll try to submit it to the Bugzilla’s bugzilla
But what’s really missing, is the ability to change bugs via the XML-RPC API, or for the very least – adding comments.
The current way of doing it via the mail gateway is a little bit ugly.
Update: It turns out that there’s a bug opened already: https://bugzilla.mozilla.org/show_bug.cgi?id=385282
And this bug has a patch which allows appending comments to a bug.
October 22nd, 2009 at 18:01
We know definitely, today, that Darwin was mistaken in regarding the small, continuous, accidental variations, that are bound to occur even in the most homogeneous population, as the material on which natural selection works. ,
Reply