Launchpadlib support in Ubuntu Developer Tools

James Westby jw+debian at jameswestby.net
Wed Jan 14 13:49:14 GMT 2009


On Wed, 2009-01-14 at 14:39 +0100, Jonathan Davies wrote:
> Hey folks,
> 
> thekorn and I have been working on getting python-launchpadlib support
> to the Ubuntu Developer Tools package.

Thanks for working on this.

> So far, we've added support for the bug reporting; for example, sync
> requests with the --lp flag will use the launchpadlib API to file the
> bugs. But I hope to port more things across, as things get added to
> the API.
> 
> All one needs is a LP token authenticated and have it written to
> ~/.lp_credentials.txt . I've written how one can go about doing this,
> in the examples section of the manage-credentials manpage.

Shouldn't ~/.cache/lp_credentials.txt be used to fit in with the 
freedesktop naming scheme? Isn't the name a bit generic? I have lp
credentials for many different things.

What happens if the user doesn't have credentials set up? Does the tool
ask them to run manage-credentials?

Also, has there been any thought to allowing different credentials for
different tools? requestsync obviously needs write access, but not to
private data, other tools won't need write access, and some may need
access to private data. Should we allow splitting of credentials so
that this can be controlled?

Thanks,

James




More information about the ubuntu-devel mailing list