Is there a backend interface to bugzilla?
Ludovic Dubost
ludovic at pobox.com
Fri Oct 24 06:15:41 UTC 2003
As part of the work for importing CSV/MSProject data into Bugzilla, I've
created an Insert function
in Bug.pm.. It is in patch in Bug
http://bugzilla.mozilla.org/show_bug.cgi?id=223071
Ludovic
Kalaveshi, Adrian wrote:
>>Bug.pm is currently read only. Moving process/post_bug into that is
>>probably a fair ammount of work.
>>
>>
>
>Is this work currently happening? I need to update a bug via the
>command-line and would hate to have to replicate process_bug.cgi completely.
>Would welcome looking at a work-in-progress if anyone has one before I start
>writing my own update and post methods in Bug.pm.
>
>The Python script attached to bug 132854 also has an interesting approach.
>Has anyone written a script like this to update a bug?
>
>Sorry to bring this discussion back from the dead. =)
>
>-adrian-
>
>-----Original Message-----
>From: Bradley Baetz [mailto:bbaetz at acm.org]
>Sent: Thursday, October 02, 2003 1:26 AM
>To: developers at bugzilla.org
>Cc: Gervase Markham; Christian Reis; Eric S. Raymond
>Subject: Re: Is there a backend interface to bugzilla?
>
>
>On Wed, Oct 01, 2003 at 06:53:30PM -0400, Eric S. Raymond wrote:
>
>
>>Not much to tell. Red Hat put XML-RPRC aupport into...the 2.17version
>>of Bugzilla, I think we discovered. There's a prototype XML-RPC
>>client called bugzuki. zach and justdave and kiko and I have more or
>>less agreed on a plan for supporting remote-scripted bug submissions
>>that involves folding the Red Hat mods into the Bugzilla mainline.
>>
>>
>
>The way I'd want to do it would basically be to hook off Bug.pm. The
>current .cgi scripts would all become really snall, and just wrappers
>arround perl objects. You could then add an xmlrpc, or soap, or
>whatever, wrapper arround it fairly easily.
>
>If you notice the Bugzilla::Search interface, it doesn't take a
>paramater for the cgi object, but rather one to retreive parameters. (It
>happens to be the $cgi object now, and I'm sure there are still
>assumptions, but its no inherant in the interface)
>
>This is mostly being done as side effects of the cleanups for mod_perl,
>although I haven't had much time to work on that recently.
>
>
>
>>My goal in all this is to be able to remote-script package submissions
>>to Fedora. But it quickly became clear that the problem needed to be
>>pushed upstream to you guys, so I'm here helping and nudging.
>>
>>
>
>Bug.pm is currently read only. Moving process/post_bug into that is
>probably a fair ammount of work.
>
>Bradley
>-
>To view or change your list settings, click here:
><http://bugzilla.org/cgi-bin/mj_wwwusr?user=akalaveshi@rsasecurity.com>
>-
>To view or change your list settings, click here:
><http://bugzilla.org/cgi-bin/mj_wwwusr?user=ludovic@pobox.com>
>
>
>
>
>
More information about the developers
mailing list