[Prophet] bugzilla and launchpad for sd

sunnavy sunnavy at bestpractical.com
Wed Nov 4 00:38:42 EST 2009


forgot the attachment, sorry for that.
On 09-10-12 08:39, sunnavy wrote:
> Hi guys
> 
> I've played launchpad and bugzilla for a while these days, here's the note:
> 
> Launchpad:
>     launchpad has an API, but seems poor and not so easy to use, as you know, 
> launchpad's bugs are special by making every bug available to every project,
> the current API doesn't supply a way to list bugs that relative to only 1
> project, though they said they would add this feature, but that's still not 
> available today.
>     Anyway, since I played the api, I still learned something, i.e.
> how to use the api ;)
>      attached is a perl script that got the root data, only valuable part
> is the OAuth stuff.
> 
>     There's no other client lib exist yet, so I think we need to write
> a Net::Launchpad client by scrapping for sd, if we want to add launchpad
> support soon.  
> 
> Bugzilla:
>     I found 3 client lib on cpan: WWW::Bugzilla, WWW::Bugzilla3 and
> BZ::Client.
> 
> 1. WWW::Bugzilla
>     this is done by scrapping, which make it kinda brittle, e.g.
> it doesn't work well with current stable bugzilla version 3.4.2
> $client->get_comments fails to get comments.
> 
> 2. WWW::Bugzilla3
>     this doesn't scrap, instead, it use Bugzilla's XML-RPC web service.
> but the functionality is limited, e.g. it doesn't support comments and
> attachments.
> 
> 3. BZ::Client
>     this is kina like WWW::Bugzilla, a.k.a use XML-RPC web service,
> doesn't support comments and attachments either, but the code is more
> modularized and more tested.
> 
> BTW, comments api is marked unstable currently, while attachments api will
> be added to webservice in 3.6( no idea when this version will be out,
> I bet 201x :/
> 
> So, we are in a dilemma, for full functionality, we need to
> hack Bugzilla by scrapping, but that's brittle( WWW::Bugzilla proved this,
> or we can only support some specified bugzilla version ),
> but with Bugzilla's webservice, we won't have attachments support at all
> for a few days, and can only support version 3.4+
> ( bug search and comments api are added then ).
> 
> best wishes
> sunnavy
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: launchpad.pl
Type: application/x-perl
Size: 1934 bytes
Desc: not available
Url : http://lists.bestpractical.com/pipermail/prophet/attachments/20091104/df56d4ba/attachment.bin 


More information about the Prophet mailing list