Failure during remote upgrade
Philippe Lhoste
PhiLho at GMX.net
Wed Sep 30 22:25:02 BST 2009
On 30/09/2009 17:45, Barry Warsaw wrote:
> So, John helped me walk through a few different scenarios on irc, but
> here's what I ultimately did:
Thanks for the explanations.
> I did it this way because it was fairly simple
Yes, I thought too, before coming here: "After all, that's DVCS, the LP
branch isn't more important than those I have on hard disk, I can delete
it and re-create it from the local copies."
> I did not want to blow away the
> old 3.0 branch.
I don't have this issue, at least. :-)
> After all is said and done, I think the safest way to migrate your
> Launchpad branches is to basically follow these instructions:
>
> http://doc.bazaar-vcs.org/latest/en/upgrade-guide/index.html#data-migration
Ah, I should have searched these before... But there are issues in my
case, perhaps not covered by this page.
> * Do not attempt a remote upgrade unless your network connection is rock
> solid.
Somehow it might seem strange... LP is supposed to be a smart server, a
"smart" way could have been "send the order to LP to upgrade and let it
manage that" which wouldn't involve lot of network traffic...
> * Local upgrades work pretty well and were reasonably fast, although I
> have a beefy new machine :)
Same for me, they are surprisingly fast. I have an old machine, but
relatively small repositories...
> * Look for "XXX is the current focus of development", e.g. "GNU
> Mailman 3.0 series is the current focus of development"
> * Click the edit icon (pencil)
I don't see that on my LP account. Perhaps that's because all my
branches are in +junk: these are more a collection of small projects and
experiments than real projects, so I didn't gave them real top-level
repositories.
I can delete these branches, but not edit them, or I missed something.
I suppose I can go ahead and delete them then re-crate them from my
local copy, but I prefer to have some confirmation before going on...
> So it's doable, but Launchpad should make the workflow much easier.
My thoughts exactly. It is easier said than done, but I wonder why we
must do manually relatively complex manual step when the server software
could do these quickly and perhaps more reliably...
There is something I didn't understood. I know I can do the job with
hitchhiker, but I want to learn to use SFTP which I haven't used before.
I will fall back on hitchhiker later if I can't do it this way.
My usual FTP client is FileZilla (on Windows) and it supports SFTP.
But if I try to connect to sftp://bazaar.launchpad.net with my
credentials, I get the following log:
Status: Connexion à bazaar.launchpad.net...
Response: fzSftp started
Command: open "philho at bazaar.launchpad.net" 22
Command: Confiance en la nouvelle clé de l'hôte :Une seule fois
Status: Connected to bazaar.launchpad.net
Status: Récupération du contenu du dossier...
Command: pwd
Response: Current directory is: "/"
Command: ls
Status: Listing directory /
Error: Unable to open .: no such file or directory
Apparently I can connect, but not do a listing nor go to a directory
(tried /~philho, /philho, and some variants).
Pageant is running (it is supported by FileZilla), and I was able to do:
bzr info -v sftp://bazaar.launchpad.net/~philho/%2Bjunk/Lua
for example, as described in another recent thread.
I am missing something? I searched LP docs about SFTP, but authors seem
to find it so trivially obvious they don't specify detailed information
(URL, paths...).
--
Philippe Lhoste
-- (near) Paris -- France
-- http://Phi.Lho.free.fr
-- -- -- -- -- -- -- -- -- -- -- -- -- --
More information about the bazaar
mailing list