/srv/irclogs.ubuntu.com/2010/02/15/#launchpad-reviews.txt

=== henninge changed the topic of #launchpad-reviews to: on call: henninge || reviewing: - || queue [] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
=== jelmer changed the topic of #launchpad-reviews to: on call: henninge || reviewing: - || queue [jelmer] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
henningejtv: are you ok with a short cover letter?10:13
jtvhenninge: sure, just mention anything that might be surprising.10:14
* henninge surprises himself sometime ... ;)10:14
henninge*sometimes*10:15
jtvOops, my gnome just screwed itself up.10:24
henningejelmer: Hi! you have two branches ready for review, which one do you want reviewed?10:55
jelmerhenninge: both, if possible10:55
jelmerhenninge: the cleanup one is trivial but the upload log one is more important10:55
henningejelmer: ok, I'll look at both10:55
henningejelmer: thanks for the clean-up! ;) If your team is switching to tag-based QA (I think all are), you should attach a bug to it.10:59
henningejelmer: r=me, though.10:59
henninge;)10:59
jelmerhenninge: Will do. Thanks for the review!10:59
=== henninge changed the topic of #launchpad-reviews to: on call: henninge || reviewing: jelmer || queue [] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
henningejtv: back up and running11:01
henningehttps://code.edge.launchpad.net/~henninge/launchpad/bug-517080-pottery-split/+merge/1932511:01
henninge?11:01
jtvhenninge: yes, back up and running...  This gets a bit scary though.  I wonder if it's the temperature differences.11:02
henningejtv: which is close to 40 degrees, isn't it? ... ;)11:02
henninge35 at this very moment11:03
jtvThe difference is probably about 20°C since I'm working in a building (though unheated).  But I think it's what caused the trouble with the backup disk in my office.11:03
jtvhenninge: have a look at TestCaseWithFactory.useTempDir11:09
henningejtv: yes, I actually saw that just today. Do you know if I can use TestCaseWithFactory without setting a layer? I am quite happy about the quick start-up of the test.11:10
jtvoh, you probably need a layer for it, true.  So why not move that helper into lp.testing.TestCase?11:11
jtvI don't see it using anything that depends on any layers11:11
henningejtv: good idea.11:12
jtvhenninge: also, line 91 of the diff (not touched here, but still): packagename+".tar.bz2"...   spaces around the + please11:12
henningeright, wonder who reviewed that line before ...11:13
henninge:-P11:13
henningejelmer: the other mp has a merge conflict11:14
henningejelmer: I guess you need to merge a current devel and push the branch again.11:16
jelmerhenninge: will do11:18
jtvhenninge: could you replace the comments in TestDetectIntltoolInBzrTree with less confusing ones?11:22
henningejtv: oh, sorry, copy-and-paste error ... ;)11:26
jtvhenninge: Good idea to have the "with" here.11:27
=== intellectronica changed the topic of #launchpad-reviews to: on call: henninge, intellectronica || reviewing: jelmer || queue [] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
jtvhenninge: it'd be nice to have some kind of clear distinction between "server-safe" and "slave-side" code.11:45
henningejtv: yes, I've been wondering about that. Should I move it to its own module?11:46
jtvhenninge: I'm not sure...  it can also be useful to have it close to the template-generation code whose preconditions it mimicks.11:49
jtvAll I'm really interested in "from the outside" is (1) a server-side check whether pottery thinks it'll be able to produce templates for my branch, and (2) a slave-side operation to generate the templates.  Maybe in the future we'll want to have that plus a bunch of modules for the different kinds of translation setup that pottery may encounter.11:50
jtvSo I'd suggest not splitting this up into modules until a pattern emerges.11:54
jtvhenninge: Can you come up with another clear way to mark the unsafe code?11:59
jelmerhenninge: new proposal at https://code.edge.launchpad.net/~jelmer/launchpad/bug499115/+merge/1932812:00
henningejtv: "unsafe" as in "should run on slave", right?12:00
jtvhenninge: right12:00
henninges/should/must/12:00
henningejtv: I had been thinking about moving the functions into a class. That way they are clearly groped. Maybe the class could even do some automatic checking that it is really running on a slave.12:02
jtvhenninge: a class could be very nice.  I wouldn't do any checking there though; that's hard to test and at the same time security-sensitive.12:03
jtvIt makes more sense to isolate as much as you can in code that doesn't care where it runs.12:03
henningejtv: I didn't meant to add the checks right now, anyway.12:03
jtvAnother problem is getting the code onto the slave.  It'll need to be either in the buildd package, or some other package we can install on the slave.12:04
henningejelmer: no test?12:07
jelmerhenninge, unfortunately, no :-/ I couldn't find a good way to test this.12:08
* henninge lunches12:44
=== henninge is now known as henninge-lunc
jtvintellectronica, got time for a pretty big one?  https://code.launchpad.net/~jtv/launchpad/bug-507678/+merge/1913113:06
intellectronicajtv: i'm just about to break for lunch, but if it can wait until i'm back then sure13:06
jtvintellectronica: it can wait.  thanks.13:06
intellectronicanp13:06
jtvon call: henninge, intellectronica || reviewing: jelmer || queue [jtv] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews13:11
bigjoolswgrant: still around?13:21
=== henninge-lunc is now known as henninge
adiroiban-/n13:56
adiroibanhenninge: can you take a look at the last comments for bug 127171 ?13:57
mupBug #127171: Rosetta experts not allowed to "Change translators" <Launchpad Translations:In Progress by adiroiban> <https://launchpad.net/bugs/127171>13:57
adiroibanI would like to finalize the work and submit a MP13:57
henningeadiroiban: looking14:07
henningeadiroiban: you need to merge a current devel, first. Your branch seeems to be rotting.14:20
adiroibanhenninge: I just found bug 516317, which is about renaming that URL14:22
mupBug #516317: Product:+changetranslators should become +settings <ui> <Launchpad Translations:In Progress by danilo> <https://launchpad.net/bugs/516317>14:22
adiroibanI guess I will have to wait for Danilo to merge that branch and then continue my work14:23
henningeadiroiban: yes and you should finish the pre-imp discussion with him, I guess.14:25
henningeadiroiban: but the thing about updating your branch is true. Your addition to security.py won't work the way it is now because of a branch I landed a few weeks ago.14:26
adiroibanhenninge: true. I have merged the branch on my local machine, but did not push the changes to LP. I will continue with Danilo. Thanks!14:28
intellectronicajtv: there are merge conflict artifacts in your diff14:35
jtvintellectronica: I guess I accidentally proposed for merging in db-devel.14:35
intellectronicaindeed14:36
intellectronicacare to paste the correct diff for me?14:36
jtvintellectronica: I guess I can make a corrected copy of the MP.14:36
intellectronicajtv: even better14:36
jtvintellectronica: https://code.launchpad.net/~jtv/launchpad/bug-507678/+merge/1933514:38
intellectronicajtv: cheers14:38
intellectronicajtv: in extractBuildStatus, how about raising a ValueError instead of asserting?14:39
jtvintellectronica: I'd rather be conservative there... that part is a refactoring, in code that's basically impossible to integration-test.14:40
jtvintellectronica: I do agree it would make more sense though.14:40
intellectronicajtv: oh, you mean the assertion isn't a new addition but just code moved from somewhere?14:41
jtvintellectronica: eso.14:41
intellectronicaeso?14:41
intellectronicaexactly so?14:41
jtvRight.  :)14:41
jtvWell, from Spanish, but semantically yes.14:41
intellectronicagotcha14:41
jtv"That."14:41
intellectronicaoooh i like FakeMethod14:42
intellectronicait's a nice thing to have14:43
jtvthanks...  I'm sure you can guess what name I _wanted_ to give it but didn't in consideration for a colleague who is geographically capable of getting to me physically?14:44
jtvI did write (and heavily use) a class of that name in the ec2test unit-tests I wrote, so I'll also file a bug for replacing that with FakeMethod.14:48
jtvOr better yet, I could do it in this branch.  But I'll leave that for after the main review so it doesn't clutter up the diff.14:49
intellectronicajtv: r=me. great work.14:54
jtvintellectronica: thanks!  No mean compliment from you.  :)14:54
leonardrhenninge or intellectronica: please review https://code.edge.launchpad.net/~leonardr/lazr.restful/exported-subclass/+merge/1933714:58
intellectronicaleonardr: i'll take it14:59
intellectronicaleonardr: r=me15:01
henningejelmer: sorry, got distracted. I sent a review with a suggestion on how to add a test. Please simply push to the branch, don't "resubmit" the proposal, like you did earlier.15:12
jelmerhenninge, ok, thanks15:12
=== henninge changed the topic of #launchpad-reviews to: on call: henninge, intellectronica || reviewing: -, - || queue [] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
=== jamlata-afk is now known as jamalta
henningejtv: you did not mention moving the functions into a class in your review - are you with holding that back for a later branch?15:36
jtvhenninge: yes, I think it makes sense to leave that for a next step: getting the right code to the slave.15:36
=== henninge is now known as henninge-afk
leonardrintellectronica, i need a launchpadlib and a launchpad branch reviewed in tandem16:35
intellectronicaleonardr: oright16:36
leonardrintellectronica: if you can give the launchpadlib branch the once-over i can make a preliminary package for it and put it in my site-dist to run the ec2 test on the launchpad branch16:37
intellectronicaleonardr: ok16:37
intellectronicaleonardr: MP?16:37
leonardrintellectronica: on the way16:38
intellectronicacool16:38
leonardrintellectronica: https://code.edge.launchpad.net/~leonardr/launchpadlib/multiversion/+merge/1934316:44
intellectronicaleonardr: r=me16:49
leonardrcool16:49
leonardrworking on launchpad one now16:49
leonardrintellectronica: https://code.edge.launchpad.net/~leonardr/launchpad/multiversion-integration/+merge/1934616:53
intellectronicaleonardr: looks good, as far as i can understand16:56
intellectronicaleonardr: can you explain briefly how the grok thing works and why it's necessary?16:57
leonardrintellectronica: sure16:57
leonardrthe way we use grok, it checks to see if you subclassed a certain class, and then performs some magic16:57
leonardrin this case, the magic looks like this:16:59
leonardrhttp://pastebin.ubuntu.com/376972/16:59
leonardrintellectronica: so when the magic code runs, we get an autogenerated marker interface for each version of the web service17:00
leonardrIWebServiceClientRequestVersion_beta17:00
leonardrIWebServiceClientRequestVersion_1_017:00
intellectronicagotcha17:00
leonardrIWebServiceClientRequestVersion_devel17:00
intellectronicaleonardr: r=me17:00
leonardrcool17:00
leonardrnow to get it all together and run the test17:01
intellectronicagood luck17:01
=== adiroiban changed the topic of #launchpad-reviews to: on call: henninge, intellectronica || reviewing: -, - || queue [adiroiban(codereview bug-340664)] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
intellectronicaadiroiban: i apologize, but i probably won't have time to review your branch today17:03
intellectronicait's quite a big branch17:04
adiroibanintellectronica: no hurry, I just put in there to be reviewed when someone has a bit of free time17:04
=== intellectronica changed the topic of #launchpad-reviews to: on call: henninge || reviewing: - || queue [adiroiban(codereview bug-340664)] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
=== flacoste is now known as flacoste_lunch
=== danilos is now known as daniloff
=== flacoste_lunch is now known as flacoste
=== jamalta is now known as jamalta-afk
=== jamalta-afk is now known as jamalta
=== jamalta is now known as jamalta-afk

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