Comment 3 for bug 279103

Revision history for this message
Abel Deuring (adeuring) wrote : Re: [Bug 279103] [NEW] need to specify my LP username in the branch URL in order to pqm-submit a branch hosted on Launchpad

On 06.10.2008 16:48, James Westby wrote:
> On Mon, 2008-10-06 at 14:36 +0000, Abel Deuring wrote:
>> Public bug reported:
>>
>> If I want to PQM-submit an Launchpad branch which is hosted on Launchpad, I must specify my Launchpad
>> user name in the public_branch parameter in ~/.bazaar/locations.conf:
>>
>> public_branch =
>> bzr+ssh://<email address hidden>/~adeuring/launchpad
>>
>> Without this, I get the error
>>
>> Launchpad user 'abel' doesn't have a registered SSH key
>> Permission denied (publickey).
>> bzr: ERROR: Connection closed: please check connectivity and permissions
>> (and try -Dhpss if further diagnosis is required)
>>
>> ('abel' is my local user name)
>
> Doing this isn't a good idea though, as that is not a public branch,
> I must be able to log in to bazaar.lp.net as "adeuring" to access
> this branch.

The point is that this branch is not publicly accessible ;) I think the
main problem is that the pqm-submit plugin does not use the parameter
launchpad_username (set to adeuring in my case).

>
> I would recommend that you use a http:// url for this branch as
> the public_branch, solving both issues.

Would this really solve the problem that bazaar.launchpad.net wants a
correct authentication, i.e., right user name and associated SSH keys?