Should tell the user to run bzr launchpad-login before push lp:
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
High
|
James Westby |
Bug Description
Hi,
This report stems from the message at
https:/
I'm not exactly sure that this is right project for this bug,
so please reassign if I am wrong.
Also I would appreciate any suggestions as to changes
elsewhere we can make to improve this situation.
I'll paste the message here for simplicity
====
Since my new web hotel doesn't support SFTP, I wanted to put bzr
extmerge on launchpad instead. So I created a project, then went to
define "trunk". I got this message
---
You haven't yet told Launchpad where your source code is for External
merge Series: trunk.
If the code is already in a Bazaar branch registered with Launchpad
link the branch to this series.
If the code is in a Bazaar branch not yet on Launchpad you can either:
have the branch mirrored from a remote location by registering a
mirrored branch; or push the branch directly to Launchpad.
You can push a branch to Launchpad for this project with the name
trunk using a command line like:
bzr push lp:~zindar/bzr-extmerge/trunk
---
Ok, so I tried
$ bzr push lp:~zindar/bzr-extmerge/trunk
lp:~zindar/bzr-extmerge/trunk is redirected to
http://
bzr: ERROR: Transport operation not possible: http does not support mkdir()
====
The nasty error message from Bazaar is known, but progress on fixing it
is slow.
This bug report is for the help string suggesting push lp. It caused the
error message here as the user hadn't run bzr launchpad-login first,
so the launchpad plugin didn't know that it could use a bzr+ssh url.
The plugin doesn't know when it is resolving the transport what operation
is being performed, so it can't error at that stage. I think this is difficult
to fix.
Could the message tell the user to unconditionally run bzr launchpad-login?
Would this train the user to do it too much?
We can obviously do better here to help the user get started, and
to avoid driving them away.
Thanks,
James
Changed in bzr: | |
milestone: | 1.4rc1 → 1.4 |
Users hit this all the time. We need to fix it asap.