/srv/irclogs.ubuntu.com/2010/07/27/#launchpad-reviews.txt

spivWant codebrowse to generate OOPS reports?  Then please review https://code.edge.launchpad.net/~spiv/launchpad/codebrowse-oops-84838/+merge/31007 :)04:02
* mwhudson looks 04:17
mwhudsonspiv: er04:19
mwhudson+ Strictly speaking this isn't 100% correct WSGI middleware, because it04:19
mwhudson99+ doesn't respect the return value from start_response (the 'write'04:19
mwhudson100+ callable), but using that return value is deprecated and nothing in our04:19
mwhudson101+ codebrowse stack uses that.04:19
mwhudsonloggerhead in fact uses that callable04:19
spivmwhudson: heh04:19
spivmwhudson: so I just noticed!04:19
spivmwhudson: see latest push04:19
spivmwhudson: for some reason that didn't show up until my last-minute-before-I-push cleanups :(04:20
spivSorry for the noise.04:20
mwhudsonheh04:20
spivThere's also something funny I'm seeing with the very first request I make to the server after starting it giving a weird HTTP error, but I'm not sure that's related to this branch.04:21
spivI'll confess to thinking this isn't the most beautiful code I've ever written :)04:25
thumpermwhudson: I have a couple of small branches if you have a few minutes04:27
thumperhttps://code.edge.launchpad.net/~thumper/launchpad/fix-mirror-failure-story/+merge/3101004:27
mwhudsonspiv: heh heh04:27
thumperhttps://code.edge.launchpad.net/~thumper/launchpad/stop-factory-mirroring/+merge/3101104:27
spivI feel so wonderfully old-school with all these mutable variables destined to be mutated by nested functions, though!04:28
mwhudsonyou've been wsgi-ed!04:29
spivPossibly there's enough going on there that I can profitably refactor out an actual object.  Initially it was just the one little variable, but well, wsgi...04:29
thumperI plan one day soon to take more of a look at loggerhead04:30
mwhudsonspiv: blurgh04:30
mwhudsonspiv: we shouldn't return a 200 when we're reporting an error04:31
spivmwhudson: ah ok, I wondered about that, I meant to ask04:34
spivI'm happy to ape whatever lpnet does here, if you happen to know :)04:34
spivI was hoping to avoid spelunking through the layers of zope publication internals more than necessary04:35
* mwhudson attempts to trigger a timeout04:36
mwhudsonspiv: this timeout has a http 50304:37
spivI'm happy to change it to 500 Internal Server Error.04:38
mwhudsonspiv: please04:39
spivI guess if some IE users get a boilerplate "IE noticed that the server broke, but I won't show you any helpful details the server may have sent about that" page then that's their problem ;)04:39
mwhudsonyeah, i think that's a potential issue04:40
mwhudsonbut i agree with your conclusion04:40
mwhudsonspiv: i reviewed the branch btw04:40
spivThanks!04:42
thumpermwhudson: another relatively brainless review https://code.edge.launchpad.net/~thumper/launchpad/bzr-format-matching-refactoring/+merge/3101405:17
thumpermwhudson: although more thought needed than the other two :)05:17
mwhudsonthumper: looking05:18
mwhudsonthumper: "# The default branch format is unrecognized."05:19
mwhudsonthumper: this caused mental jarring; the default branch format is 2a, surely?05:19
thumpermwhudson: ah05:19
thumpermwhudson: hmm...05:19
thumperthe idea is that if we don't recognise it, it is unrecognized05:20
thumpera rename perhaps05:20
thumperso for the test methods s/default/unrecognized/05:20
mwhudsonthumper: +105:21
thumpermwhudson: last for the day... https://code.edge.launchpad.net/~thumper/launchpad/merge-directive-handling-no-request-mirror/+merge/3101906:19
* mwhudson waits for the diff06:21
mwhudsonthumper: done06:23
thumpermwhudson: thanks06:23
* thumper kicks off 4th ec2 land run06:27
=== bigjools is now known as bigjools-afk
=== bigjools-afk is now known as bigjools
jelmerwgrant, hi12:20
wgrantjelmer: Evening.12:20
jelmerwgrant: Any particular reason for returning None rather than raising an exception in your refactor-nuf-creation branch?12:22
wgrantjelmer: Hm, not really.12:23
wgrantNot sure which exception is appropriate, though.12:24
jelmerProbably a new one. ValueError would work too, but is perhaps a bit too generic.12:27
wgrantRight. Is it worth creating a new exception for that?12:27
jelmerPersonally I think so, it'd be clearer if people come across that error. I can see the argument either way though.12:28
jelmers/it'd/it'll/12:28
jelmerbac`: hi12:42
=== jtv changed the topic of #launchpad-reviews to: On call: - || reviewing: - || queue: [jtv²] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== mars changed the topic of #launchpad-reviews to: On call: mars || reviewing: - || queue: [jtv²] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
bigjoolsmars: I just send an MP mail, can I add myself to your queue please13:41
=== bigjools changed the topic of #launchpad-reviews to: On call: mars || reviewing: - || queue: [jtv², bigjools] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== bac` is now known as bac
bachi jelmer13:45
jelmerbac: 'morning!13:46
jelmerbac: I was wondering if you'd seen my follow-up to https://code.edge.launchpad.net/~jelmer/launchpad/600153-qafix/+merge/3079013:46
bacjelmer: done13:47
bacthanks for the reminder13:47
jelmerbac: thanks for the review :-)13:48
* flacoste is back.14:17
=== mars changed the topic of #launchpad-reviews to: On call: mars || reviewing: jtv || queue: [bigjools] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
jtvhi mars, thanks for reviewing me15:31
marsnp15:31
gary_posterbenji: I'll see how far I get.  To start:15:52
gary_poster- I'd suggest making a local release of this release of batchnavigator and integrate it with Launchpad.  Then you can see if the change to the endNumber behavior is problematic15:53
gary_poster- in lines 55 and 59 of the diff, why do you call len(batch) outside of the assertions?15:54
benjire. local release: good idea15:55
gary_poster- I don't see the value of the behavior described in lines 68-74 of the diff15:56
gary_postershouldn't prevBatch try again, or at least puke?15:56
gary_posteras it is, it seems like an odd edge case designed to bite people unexpectedly :-)15:56
gary_poster- I like the new endNumber behavior.  I also like the new comments.15:57
benjire. len: that's cruft that shouldn't be there; removing15:57
gary_postercool15:58
gary_posteralso cruft: line 115 (#print "_get_length called (EXPENSIVE)")15:58
benjire. 68-74: me neither, I just added comments that describe what is being testsed; I don't think the behavior is useful, but I don't believe that strongly enough to remove the tests15:59
gary_poster- line 120: the Lazy decorator is supposed to mean that you just "return self._get_length(self.list)"15:59
gary_posteryou shouldn't have to also set the _listlength value15:59
gary_poster68-74: but...that's new test for this branch16:00
gary_postermaybe this is something that leonard added for this branch?16:00
gary_posterif so, my question goes to him16:00
benjithe reason we set _listlength is so we can use it if available; avoiding calling listlength if not16:00
benjilet me look at 68-74 again16:01
gary_poster_listlength: ah ok.  Maybe remove the @Lazy then, since I suspect it adds processing cost for the reader for little to no advantage for speed?16:02
benjigary_poster: right, Leonard added the test, I added the comment16:02
gary_posterok.  do you want me to ping him, or do you want to pursue on your own so you feel you understand it first?16:03
gary_poster(where "pursue on your own" == "you ping Leonard" in my book, but as you wish :-) )16:03
benjire. _listlength: +116:03
gary_postercool16:03
benjiI'll pursue16:03
gary_postercool thanks16:04
gary_posterI don't understand "return len(self._sliced_list) - 1" yet: why -1?  Maybe I'll see soon...16:05
gary_poster(line 139)16:05
gary_poster- another cruft but: #print "sliced_list called (EXPENSIVE)" (line 206)16:08
gary_posters/but/bit/16:08
=== henninge changed the topic of #launchpad-reviews to: On call: mars || reviewing: jtv || queue: [bigjools, henninge] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
henningemars: Hi, I added myself to the queue and it would be great if you could get to my branch but I will also have to leave in 30 min. So I don't mind it waiting around till tomorrow, either.16:42
henninge;-)16:43
henningeoops, confilcts ...16:44
=== mars changed the topic of #launchpad-reviews to: On call: mars || reviewing: bigjools || queue: [henninge] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== mars changed the topic of #launchpad-reviews to: On call: mars || reviewing: lunch || queue: [henninge] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== mars changed the topic of #launchpad-reviews to: On call: mars || reviewing: henninge || queue: [lunch] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== mars changed the topic of #launchpad-reviews to: On call: mars || reviewing: henninge || queue: [lunch] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== jml` is now known as jml
=== mars changed the topic of #launchpad-reviews to: On call: mars || reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== mars changed the topic of #launchpad-reviews to: On call: mars || reviewing: wgrant || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== mars changed the topic of #launchpad-reviews to: On call: mars || reviewing: wgrant || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== mars changed the topic of #launchpad-reviews to: On call: mars || reviewing: danilos || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== mars changed the topic of #launchpad-reviews to: On call: - || reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews

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