This page will walk through setting up your launchpad account and computer for code contribution.
You can view a video version of this tutorial.
Creating an account
If you don't yet have a launchpad account, please go through the sign-up process before continuing. This is the same as a ubuntu sso account, so if you have a ubuntu sso account, but perhaps have never logged into launchpad, go ahead and login now.
Login to your launchpad account
Create a key
In order to verify code contributions belong to you, you'll need to provide launchpad with an ssh key. If you don't have a key, you can create on easily.
sudo apt-get install openssh-client
ssh-keygen -t rsa
It is safe to accept the default values when prompted after entering this command. Congrats, your new key is now stored on your machine at ~/.ssh/id_rsa.pub (public key) and ~/.ssh/id_rsa (private key). You'll need to keep your private key private to yourself, but provide the public key to launchpad.
Upload an SSH key
Copy and paste the output into the key form on launchpad.
Confirming your SSH key
Once it's been uploaded, you'll see the new key appear on your overview page.
For more information, checkout the launchpad help page on this topic.
Setup bzr on your local machine
Make sure bzr is installed first.
sudo apt-get install bzr
Bzr Launchpad Integration
In order to make sure bzr on your local machine knows who you are as well (so you can do things like upload code to your own branches), you will need to login to launchpad as well. Replace the YOURUSERID below with your launchpad id.
bzr launchpad-login YOURUSERID
To confirm your bzr is setup properly, issue the following command:
If correct, you should see your launchpad details returned.
If you get an error bzr: ERROR: Unable to determine your name.
Then set your name with
bzr whoami "launchpad_name <address@.com>"