/srv/irclogs.ubuntu.com/2011/08/03/#bzr.txt

pooliejelmer, so i was going to say,00:19
pooliethe connection going idle is a nice straightforward clue it can be migrated to another back end00:19
pooliewhich is actually what we want to have happen00:19
jelmerpoolie: that makes sense00:20
* jelmer tries to imagine how this works on a code level00:21
poolieso one thing is we ought to be able to distinguish "connection dropped as we were starting to send" from dropping at any other time00:22
pooliewhich may be harder to cope with00:22
pooliebut this should mostly produce the first case00:23
poolieif we can detect it we should be able to build a new lower-level object wrapping the ssh connection00:24
poolie'medium' i think00:24
jelmerpoolie: ok, so there's a fair bit of code we'd probably have to wrap to make sure it retries as necessary00:24
jelmerthat seems reasonable00:24
pooliemm00:25
jelmerat least in theory :) it might be tricky to handle all the odd cases00:25
poolieit does feel like it might00:25
pooliei think we want to be careful about not having retry code scattered all over the place00:25
pooliei'm thinking of something like an erlangish supervision pattern where a lower level object dies cleanly, and then a higher one restarts a new instance00:26
=== medberry is now known as med_out
jelmerit seems like most of the remote code all goes through RemoteTransport._call*, which then does a call on self._client00:29
jelmerit seems like that would be the right place to transparently create a new self._client as necessary00:30
jelmerRemoteTransport also has the right data (and SharedConnection) to create the new connection for the client00:31
pooliethat sounds right00:34
poolieand that puts it at just one bottle neck, not all over00:34
pooliewe might need a special exception for a clean disconnect saying it can be retried00:35
pooliemaybe we should retry it always00:35
jelmerpoolie: I wonder if that wouldn't make it seems sluggish if e.g. you get disconnected and bzr silently tries to connect again but e.g. has to wait for things like DNS to time out00:38
jelmermaybe we should just try it out00:40
* jelmer gets some sleep00:43
stylesenpoolie: ping04:05
pooliehi there04:05
stylesenpoolie: pm?04:05
poolieyep04:05
thomipoolie: ping?05:06
pooliehi thomi, on the phone atm05:06
thomino worries.05:06
pooliethomi, your patch landed, or at least one of them did, yay05:17
thomipoolie: I saw that, thanks!05:17
thomiI'm integrating your latest suggestions to the other - I wanted to ask you about the factory methods to replace The *Store classes in config.py05:18
poolieok05:18
pooliewill be with you soon05:18
thomioh, sorry05:18
poolienp05:19
pooliehi thomi06:16
thomiHi06:17
pooliei'll just reply on the mp06:17
pooliethanks for coming back on it06:17
thomino worries, I was hoping to get it done sooner, but work happened.06:17
=== wallyworld___ is now known as wallyworld
Riddellhola chicos08:03
Noldorinjelmer, hi08:03
jelmerhi Noldorin08:35
Noldorinjelmer, was just going to ask...how do i set up a local repo for testing this issue?08:42
Noldorinjelmer, i thought just a git init was required...but maybe not08:48
Noldorinjelmer, perhaps you can let me know anyway. feel free to send me an email :-)08:49
Noldorini'm off to bed now.08:49
Noldoring'night08:49
jelmerNoldorin: bzr init should create a branch. I realize it looks a bit odd08:49
jelmerNoldorin: "git init /tmp/foo; bzr init /tmp/foo; bzr dpush /tmp/foo"08:49
Noldorinjelmer, oh they have to be the same dir eh?08:50
Noldoringit and bzr08:50
jelmerNoldorin: no08:50
jelmerNoldorin: but "git init" only creates a repository, not a branch08:50
jelmerNoldorin: bzr init creates a (git) branch in the repository08:51
Noldorinso how do i create the branch?08:51
Noldorinohh08:51
Noldorini see08:51
Noldorinjelmer, that is very odd :-S08:51
Noldorinjelmer, surely there is a git command to do the same?08:51
Noldorinnever mind though08:51
Noldorinbzr: ERROR: No module named posix08:53
Noldorinwhen i bzr init08:53
Noldorinoh well08:53
Noldorinjelmer, talk to you tomorrow i guess08:53
Noldorinbye08:53
=== hunger_ is now known as hunger
exarkunAnyone have any suggestions about installing beta bzr from the ppa on Lucid without first uninstalling bzr-svn?11:14
exarkunhttp://codepad.org/66u1Vy1A11:16
jelmermaxb: ^11:34
maxbOh, right, because I haven't got the debhelper backport in place to build subvertpy to build bzr-svn11:34
maxbexarkun: You'll have to uninstall bzr-svn for now11:35
exarkunI'll wait.  I can't test what I want to test without bzr-svn.11:36
=== mwhudson_ is now known as mwhudson
=== krow_ is now known as krow
=== beuno is now known as beuno-lunch
=== beuno-lunch is now known as beuno
=== BasicPRO is now known as BasicOSX
=== yofel_ is now known as yofel
=== r0bby is now known as robbyoconnor
=== r0bby is now known as robbyoconnor
chrisvjI have a script for a CIA commit bot. How do I add it to bazaar?21:46
maxbOK, that's weird. I'm getting a UnicodeDecodeError inside chk_serializer.py trying to commit a trivial merge, in an UDD branch of debhelper.21:54
mgzmaxb: I love such things, any more details?22:06
maxbmgz: Turns out it's bzr-builddeb's fault22:06
maxbNot only is it specifying a fixed commit message, it's specifying it as a non-ascii bytestring22:07
mgzeugh, I wish those kinds of errors didn't reach as deep into bzrlib22:07
maxbexarkun: beta ppa bzr-svn now updated23:13
exarkunawesome, thanks23:14
pooliehi maxb, exarkun23:15
maxbHello23:15
maxbRight, beta-ppa is now fully installable23:15
poolieexcellent23:15
pooliei hope we can set up a babune job to test that soon23:15
maxbNow all we have to do is shepherd plugins on snapshot versions toward real releases23:15
pooliemm23:21
pooliereal releases for oneiric, or for o+1?23:22
maxbI think we should do it for oneiric23:23
maxbAfter all, cutting a release of a current trunk shouldn't be a challenging task23:23
poolieright23:23
poolieso that's, fastimport, git, gtk, loom, pipeline, pqm, svn, upload, loggerhead23:24
poolieare they all passing their tests, i wonder?23:24
poolieit would be nice to get them there before releasing23:24
maxbYes, I think everything is running tests during package build now, so we'd see FTBFS in the PPA if not23:25
poolieoh, ok23:25
maxbuhoh23:28
maxbdaily ppa looks less than happy23:28
maxbmany tests failing on older ubuntu distroseries only23:32
pooliehm, a few failures23:33
pooliesome look like version skew with meliae23:34
pooliedo you have a special trick to get the failures out of the build logs?23:35
poolieall i mean is, it's  a shame it doesn't just show you the errors23:36
pooliei find the build failure mails nearly pointless23:36
mgzare the new canonical lp links meant to have the tilde escaped in them?23:42
mgzjust noticed bzr+ssh://bazaar.launchpad.net/~testtools-dev/testtools/trunk/ no longer exists and I need bzr+ssh://bazaar.launchpad.net/%2Bbranch/testtools/ instead23:43
mgza newer version of bzr might not have that issue...23:43
pooliehi mgz23:44
poolie%2b is a plus not a tilde23:45
mgzah, right. still doesn't need escaping in that portion of the url.23:45
mgzbut I guess not a change from before.23:46
poolieso, it's a way of saying "the default branch for testtools"23:48
poolieyeah, i don't think it does23:48
pooliei think + only needs special treatment in a query parameter?23:49
mgzyup.23:49
mgzwhich... does ssh even have as a concept?23:49
pooliehopefully not ;)23:50
pooliebut we don't currently have, and probably don't want, different escaping rules depending on the scheme23:50
poolieso, in short, we could print that as a + in unescape_for_display or similar23:50
mgzI think I was just getting confused over the ~ vs %7E issues and the url I had stored going stale23:52
mgz...but prettier display is always good :)23:52

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!