Accessing Launchpad remotely

Lionel Dricot zeploum at gmail.com
Tue Jul 4 20:45:51 BST 2006


Hello,

I'm doing an application to help bug triagers on malone. I tought that
there was an xml-rpc interface on Launchpad but it seems that I was
wrong. So I need some advices.

1) Reading a bug

I tried with the simple text interface : https://launchpad.net/bugs/1/+text
But I don't have the content of the bug nor the comments.
(this is https://launchpad.net/products/launchpad/+bug/51835)
Bradb told that the content might be available in +edit mode.

But what are those +xxx mode and how can I find them ? (any documentation ?)
Do you have any advice on what I can use ?


2) Performing a search and get (number, package, title, severity,
importance) of the results

I also tried the text interface like
https://launchpad.net/distros/ubuntu/+bugs-text?field.searchtext=anything+you+want
Unfortunatly, in +bugs-text mode, parameter are just ignored.
Also, I only have the number of the bug so I have to retrieve each bug
to display the results !!!
I can maybe work around this by only doing ten bugs at a time but it
will not be friendly for the user. Any advice for this ?


3) Modify an existing bug with a given account.

No idea on how I can do that besides screen-scraping

4) posting a new bug

I know that you can post bugs with email but I don't like very much
this solution because you need a working SMTP. Any advice on a way to
post a bug from a given user ?


5) creating an user

In the middle-term, I want my user to be able to create a launchpad
account if he has none yet. Any ideas on this ?


If there's not other solution, I can parse the html and send forms
with beautifulsoup or mechanize. As anyone experiences with those
library ? Wich is better ?


Thank you for any help.

Lionel



More information about the launchpad-users mailing list