Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm setting up my first Launchpad project.

In this case I would like to import from the Master branch from my GitHub project - the default branch is not Master - it is a release branch currently called "Release-0.6"

On Launchpad I have set up to automatically import:

enter image description here

As you can see, the import failed - the error log states:

2013-01-07 14:45:11 INFO    Starting job.
2013-01-07 14:45:11 INFO    Getting exising bzr branch from central store.
2013-01-07 14:45:14 INFO    [chan bzr SocketAsChannelAdapter] Opened sftp connection (server version 3)
2013-01-07 14:45:17 INFO    [chan bzr SocketAsChannelAdapter] Opened sftp connection (server version 3)
2013-01-07 14:45:17 INFO    291 bytes transferred
2013-01-07 14:45:18 INFO    No branch found at remote location.

This is strange since my GitHub project is obviously at the correct web-location.

Thus - what have I done wrong in my configuration?

i.e. how should I have set up my Launchpad project to import from Github?

share|improve this question

You need to use the "read-only git location" as shown on github. It is the same as the web URL (which you have used), but with .git appended to the end. You need to add this to the end of your URL.

To import a non-master branch, you must also append ,branch=branchname to the end of the URL.

Also, I think you may be confusing the term "master branch" with "branch named master" in this case. For your project, pulling will give the contents of what you are calling release-0.6. I think omitting the ,branch=name piece will give what you want. However, when trying to branch your repository in bzr, I get the following error:

bzr: ERROR: Unknown extra fields in <Commit 3f47f3ed4e9e6f15a6c5229bf36d061ae4d86605>: ['gpgsig', '', '', '', '', '', '', '', '', '', ''].

This may cause importing to fail on Launchpad as well.

share|improve this answer
My default branch is not "Master" - so this will not work? – fossfreedom Jan 7 '13 at 15:23
I'll test - but according to this bug report may not be possible - – fossfreedom Jan 7 '13 at 16:36
There are two bugs, the UI issue described in that bug, and the other issue which another user describes in his comments. He really should file a separate bug. – dobey Jan 7 '13 at 17:41

A workaround for the unsupported ,branch=branchname is to create a fork on github first with with the default branch set to the branch you want to import.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.