Comment 2 for bug 380071

Revision history for this message
Matt Zimmerman (mdz) wrote : Re: [Bug 380071] [NEW] Add little script to make adding Launchpad PPAs easier

On Sun, May 24, 2009 at 10:33:42PM -0000, Launchpad Bug Tracker wrote:
> You have been subscribed to a public bug by Mackenzie Morgan (maco.m):
>
> Binary package hint: apt
>
> I have in my ~/.bash_aliases:
> alias ppagpg='sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com'
>
> Adding /usr/bin/ppakey to make it easier to import PPA keys would be
> nice. Example attached.

Thanks for following up on this. I had two other ideas about it since we
spoke:

1. Maybe it should be a part of apt-key, since it's just a trivial wrapper
around it

2. It would be great to fetch the appropriate key for a particular PPA from
Launchpad, rather than specifying the key ID, e.g.:

 sudo apt-key add-ppa https://edge.launchpad.net/~ubuntu-desktop/+archive/ppa

or perhaps even:

 sudo add-ppa https://edge.launchpad.net/~ubuntu-desktop/+archive/ppa

(which would also take care of the sources.list entries)

--
 - mdz