Adding an XML-RPC to append comments
jeff.lasslett at datataker.com.au
Mon May 21 01:04:25 UTC 2007
On Fri, 2007-05-18 at 00:04 -0400, David Miller wrote:
> Frédéric Buclin wrote on 5/17/07 6:21 AM:
> > Could we keep support questions in the mozilla.support.bugzilla
> > newsgroup? Thanks.
> Sounded like a code question to me. (review on a patch?) The thread as
> a whole anyway. He's starting to head off, but we already know what
> he's talking about here, and the beginning of the thread would be
> irrelevant on the support list.
> He might contribute fixes to this patch once he gets it working, don't
> scare him away ;)
Thanks David. I have found a way around my problem. I went back to the
v3.0 release version of Bugzilla/WebService/Bug.pm and then manually
added the 'append_comment' function from the patch. That did the trick.
Not much of a patch review I'm afraid. :-)
The XML-RPC interface is perfect for migrating bugs from a 'home grown'
bug tracker to bugzilla. I've needed add plenty of test bugs to my
bugzilla installation during the course of developing my migration
scripts. To easily remove these tests I added a 'Bug.remove' XML-RPC
that removes a bug from the database. It's a wrapper around a routine I
found in Bugzilla/Bug.pm called 'remove_from_db'. Bugs removed this way
are removed properly and the DB stays sane.
Attached is a patch that adds Bug.remove. Use -p5 option to patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 953 bytes
Desc: not available
More information about the developers