[MERGE/RFC] Add support for Launchpad API to plugin, including 'mirror branch now' command

Jonathan Lange jml at mumak.net
Sat Jul 4 11:26:43 BST 2009


On Sat, Jul 4, 2009 at 11:19 AM, Jonathan Lange<jml at mumak.net> wrote:
> Hello all,
>
> Attached is a bundle that adds a command 'lp-mirror' to Bazaar, that
> requests the branch be mirrored instantly.
>
> It also adds a simple wrapper API for the Launchpad API, encapsulating
> the two major operations I think we'll need:
>  1. Log in to the Launchpad REST service
>  2. A function, load_branch, to get a Launchpad branch object based
> on a Bazaar branch
>
> The load_branch function kind of sucks, because Launchpad doesn't
> provide a way of getting a branch based on a URL. I've filed this as
> bug 395076 and will start fixing that bug asap.
>
> The bundle is missing:
>  - a way to 'logout', or rather to invalidate the cached login data
>  - tests
>
> I'm also unsure how Launchpad API authentication should interact with
> 'lp-login', and whether the directory service should switch to use the
> Launchpad API.
>
> Your comments appreciated, particularly thoughts on UI, API design and
> testing strategies.
>

Really attached now.

Sorry.

jml
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lp-login-oauth.diff
Type: text/x-diff
Size: 17286 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090704/dc93e5dd/attachment-0001.bin 


More information about the bazaar mailing list