IMPORTANT: Leo launchpad bzr reconfigured (and fixed)

29 views
Skip to first unread message

Terry Brown

unread,
Jan 2, 2012, 3:30:58 PM1/2/12
to leo-e...@googlegroups.com
lp:leo-editor now points to
https://code.launchpad.net/~leo-editor-team/leo-editor/trunk3

which can be branched on a 1 Gb XP system over HTTP.

It would be great if anyone who was experiencing the out of memory
problem could confirm it works for them now.

Branches that were pointing at lp:leo-editor or
bazaar.launchpad.net/+branch/leo-editor/ should be unaffected, branches pointing at anything else might need a `bzr pull --remember lp:leo-editor`. Revision IDs have not changed, so nothing should be lost branch compatibility wise.

The rest of this email is my log while I was beating it into submission, no need to read further.

https://code.launchpad.net/leo-editor

indicates that
lp:leo-editor and https://launchpad.net/leo-editor/trunk2 are aliases for
https://code.launchpad.net/~edreamleo/leo-editor/trunk2

while lp:leo-editor/trunk and lp:leo-editor/trunk are aliases for
https://code.launchpad.net/~leo-editor-team/leo-editor/trunk

I think only edreamleo can write to */trunk2, and also both of them
contain the glitch which prevents bzr from working over plain http(s)
on small memory windows machines.

So, after archiving the original trunk I tried putting a fresh pull of
trunk2 into trunk using bzr --overwrite. It only took 30 seconds, so I
don't think it did what I wanted. 1GB XP checkout still fails. So,
I did `bzr init empty` created and added and committed a single empty
file there, and pushed empty to trunk, then pushed trunk2 again. Again
it only took a few seconds, so it's obviously not really overwriting
anything.

So I do

time bzr push --overwrite bzr+ssh://bazaar.launchpad.net/~leo-editor-team/leo-editor/trunk3

and get

Using default stacking branch /+branch-id/556206 at lp-64806800:///~leo-editor-team/leo-editor
Created new stacked branch referring to /+branch-id/556206.

real 0m13.407s
user 0m0.152s
sys 0m0.028s

I think this whether you want it or not stacking is the problem, so I
do:

bzr reconfigure --unstacked bzr+ssh://bazaar.launchpad.net/~leo-editor-team/leo-editor/trunk3

This took a long time, I have 7Mbs down but only 0.875 up, it
definitely uploaded a complete copy, I suspect it also downloaded it.

Ok, that seems to have worked. End of log :-)

Cheers -Terry

HansBKK

unread,
Jan 3, 2012, 1:45:39 AM1/3/12
to leo-e...@googlegroups.com, terry_...@yahoo.com
On Tuesday, January 3, 2012 3:30:58 AM UTC+7, Terry wrote:
lp:leo-editor now points to
https://code.launchpad.net/~leo-editor-team/leo-editor/trunk3

which can be branched on a 1 Gb XP system over HTTP.

It would be great if anyone who was experiencing the out of memory
problem could confirm it works for them now.

8-( not yet - but at least it's not the same error message 8-)

> bzr branch lp:leo-editor

bzr: ERROR: http://bazaar.launchpad.net/~leo-editor-team/leo-editor/trunk3/.bzr/repository/packs/f8ee8720b9c1d194b1f6a4cfaeb1153a.pack is redirected to https://
launchpad.net

HansBKK

unread,
Jan 3, 2012, 3:35:51 AM1/3/12
to leo-e...@googlegroups.com, terry_...@yahoo.com
However I was able to do a

>bzr export .\leo-editor4 lp:leo-editor

which seemed to complete just fine, no error messages anyway and:

 28310kB   140kB/s \


However, when actually running this instance, it also (along with the nightly zip download) reports:

build 4904 2011-12-28

This is from selecting Help > About - is it possible this somehow is reporting the wrong version?

If so, should I log it to the tracker? And is there a more accurate way to determine Leo's actual version?



HansBKK

unread,
Jan 3, 2012, 3:51:02 AM1/3/12
to leo-e...@googlegroups.com, terry_...@yahoo.com

Terry Brown

unread,
Jan 3, 2012, 10:57:44 AM1/3/12
to leo-e...@googlegroups.com
On Tue, 3 Jan 2012 00:35:51 -0800 (PST)
HansBKK <han...@gmail.com> wrote:

> However, when actually running this instance, it also (along with the
> nightly zip download) reports:
>
> build 4904 2011-12-28
>
> This is from selecting Help > About - is it possible this somehow is
> reporting the wrong version?
>
> If so, should I log it to the tracker? And is there a more accurate way to
> determine Leo's actual version?

Currently Leo reporting its revno correctly requires a batchfile to be
run on each commit, I think it would make more sense for Leo to check
for Leo to grab the info from .../leo/.bzr/branch/last-revision if that
exists, so that if you're running from bzr you get the right number,
and if not, well then it's probably a build where the
leo/core/bzr_version.py is correct. So I think it needs fixing in two places, Leo itself so versions checked out from bzr use .../leo/.bzr/branch/last-revision, and on the nightly snapshot so leo/core/bzr_version.py is always correct there.

You can post all this to a bug, I'll make a note to fix the snapshot
thing.

Cheers -Terry

Terry Brown

unread,
Jan 3, 2012, 4:30:04 PM1/3/12
to leo-e...@googlegroups.com
On Tue, 3 Jan 2012 09:57:44 -0600
Terry Brown <terry_...@yahoo.com> wrote:

> So I think it needs fixing in two places, Leo itself so versions checked out from bzr use .../leo/.bzr/branch/last-revision, and on the nightly snapshot so leo/core/bzr_version.py is always correct there.
>
> You can post all this to a bug, I'll make a note to fix the snapshot
> thing.

Fixed on the .zip snapshots, bzr downloads will still only be as
correct as the last time Edward ran v.bat, unless Leo learns to
read .../leo/.bzr/branch/last-revision

Cheers -Terry

HansBKK

unread,
Jan 3, 2012, 5:15:14 PM1/3/12
to leo-e...@googlegroups.com, terry_...@yahoo.com
OK, I'll try branching again when I get the chance, assuming what you did might have helped with:

HansBKK

unread,
Jan 3, 2012, 6:36:51 PM1/3/12
to leo-e...@googlegroups.com, terry_...@yahoo.com
Success - great work Terry, and thanks!

> Branched 4907 revision(s).

HansBKK

unread,
Jan 3, 2012, 6:54:12 PM1/3/12
to leo-e...@googlegroups.com, terry_...@yahoo.com

Edward K. Ream

unread,
Jan 5, 2012, 6:52:08 AM1/5/12
to leo-e...@googlegroups.com
On Mon, Jan 2, 2012 at 2:30 PM, Terry Brown <terry_...@yahoo.com> wrote:
> lp:leo-editor now points to
> https://code.launchpad.net/~leo-editor-team/leo-editor/trunk3

First of all, many thanks for this work.

To make this work I had to do bzr pull lp:leo-editor. Previously, on
my machine, the remembered branch was a more explicit path. I suppose
this was a mistake on my part.

I'm worried about trunk3 being part of the leo-editor-team project
rather than the leo-editor project. Would it be possible make trunk3
part of the leo-editor project?

Edward

Terry Brown

unread,
Jan 5, 2012, 10:33:08 PM1/5/12
to leo-e...@googlegroups.com

Hmm, if you log in to LP, go to Code and view
Branches with status: Merged you can see the old one at lp:leo-editor/old-trunk pointing to https://code.launchpad.net/~leo-editor-team/leo-editor/trunk so it seems it was alwats under leo-editor-team, but I should have put it at
https://code.launchpad.net/~leo-editor-team/leo-editor/trunk3 to be more consistent / allow scope for the leo-editor-team to branch out to new projects :-)

Hmm again,
bzr push bzr+ssh://code.launchpad.net/~leo-editor-team/leo-editor/trunk3

just sits there staring at me generating no network traffic.

Maybe I'll try again later.

I think the bottom line is that everyone should use lp:leo-editor if
it's the trunk they're after, and we can move it into
https://code.launchpad.net/~leo-editor-team/leo-editor/trunk3
without any impact.

Cheers -Terry

Terry Brown

unread,
Jan 5, 2012, 10:39:46 PM1/5/12
to leo-e...@googlegroups.com
On Thu, 5 Jan 2012 21:33:08 -0600
Terry Brown <terry_...@yahoo.com> wrote:

> Hmm, if you log in to LP, go to Code and view
> Branches with status: Merged you can see the old one at lp:leo-editor/old-trunk pointing to https://code.launchpad.net/~leo-editor-team/leo-editor/trunk so it seems it was alwats under leo-editor-team, but I should have put it at
> https://code.launchpad.net/~leo-editor-team/leo-editor/trunk3 to be more consistent / allow scope for the leo-editor-team to branch out to new projects :-)

Wait, apparently I can't read what's in front of me - it is at
https://code.launchpad.net/~leo-editor-team/leo-editor/trunk3, so it is consistent placement wise with the old one, vs. your intermediate version at
https://code.launchpad.net/~edreamleo/leo-editor/trunk2, which I think wouldn't work unless you give us all your ssh key :-)

So I don't think it's any more part of the leo-editor-team project
rather than the leo-editor project than it's ever been.

Cheers -Terry

mdb

unread,
Jan 6, 2012, 11:46:51 PM1/6/12
to leo-editor
> It would be great if anyone who was experiencing the out of memory
> problem could confirm it works for them now.

Successfully pulled the leo-editor branch on an old creaky Windows PC
today. Got rev 4911 in the bzr message

And like the ssh based bzr pull I set up on my work PC (to get arounf
the memory problem), startup shows

build 4904, 2011-12-28 13:18:50 -0500, but I assume this is just due
to out of date version text
Reply all
Reply to author
Forward
0 new messages