Failure during remote upgrade
Barry Warsaw
barry at canonical.com
Wed Sep 30 23:01:38 BST 2009
On Sep 30, 2009, at 5:25 PM, Philippe Lhoste wrote:
>
>> 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."
Right. The branches themselves are less important, but Launchpad
attaches lots of other artifacts to a branch, such as bugs, merge
proposals, series, dev focus status, etc. If you use these features,
"deleting a branch" gets more problematic.
>> * 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...
Agreed. And as I mentioned in a previous message, Bazaar really
should be doing the upgrade in a side location and only moving that
into place if it completes successfully.
>> * 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.
So you probably do not have any "focus of development" branches. That
makes your life easier. :)
> 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...
Someone else will have to answer that. You should have permission to
edit your branches, but maybe +junk branches are weird in some way.
>> 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).
I'm only using the command line sftp, but doing 'cd ~mailman-coders/
mailman/3.0' followed by 'ls -la' worked for me.
> 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...).
It's always obvious once you know it. :)
-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 832 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090930/a6d579a6/attachment.pgp
More information about the bazaar
mailing list