/srv/irclogs.ubuntu.com/2010/11/16/#launchpad-reviews.txt

=== wgrant changed the topic of #launchpad-reviews to: On call: - || Reviewing: - || queue: [wgrant] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
jtvwgrant: I'll trade you if you like—https://code.launchpad.net/~jtv/launchpad/recife-test_translatablemessage-cleanup/+merge/4093006:22
wgrantjtv: If only.06:23
jtvIf only what?06:23
jtvAh06:23
* wgrant is no reviewer.06:23
jtvRight.06:23
jtvForgot that for a moment.06:24
wgrantHeh.06:24
wgrantMaybe soon.06:24
jtvIndeed.06:26
jtvAnyone else for a tiny, tiny review?  bac?06:27
=== jtv changed the topic of #launchpad-reviews to: On call: - || Reviewing: - || queue: [wgrant, jtv] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== Guest86531 is now known as jelmer
=== jtv changed the topic of #launchpad-reviews to: The topic for #launchpad-reviews is: On call: - || Reviewing: - || queue: [wgrant] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== gmb changed the topic of #launchpad-reviews to: On call: gmb || Reviewing: - || queue: [wgrant] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
jtvdanilos: had a flurry of phone calls; getting to your branch now10:17
danilosjtv, if you are busy, we can agree on a general direction and I can find another reviewer10:18
danilosjtv, basically, I've asked you since you already looked at it :)10:19
jtvdanilos: why does that sound like "honey if you're too busy to do the dishes, don't worry I can find another wife"?  :-)10:19
danilosjtv, heh, because I wouldn't mind you making better progress on updateTranslation killing spree10:19
jtvbut you already reviewed mine10:20
danilosjtv, instead of spending time on this review :)10:20
danilosjtv, that one was slightly easier :)10:20
danilosjtv, and I also don't mind helping get you unstuck so you can make better pro... :)10:21
jtv…zac?10:21
danilossmthng lk that10:21
jtvoh well—sure, go run off to some other reviewer then.  I just want you to be happy.  I'll have to re-read the last comments anyway though to see where we stand on mixing "intelligent side-sensitivity" with "passing a specific side."10:23
danilosjtv, yeah, in short this is what I said: I don't mind removing it, it's mostly useful for tests (where we'll probably have more of these calls, especially in the future)10:24
danilosjtv, we don't really need the functionality there fwiw, and with or without it we can get all the relevant messages (iow, there's no need to introduce ignore_diverged parameter)10:25
jtvTo be clear, I'm not opposed at all to either of the ways this method can be used—only saying I think we'd be happier if they were separate calls.10:25
jtvAh, good to know that that's not an issue.10:25
danilosjtv, my point is that we'll only use this in one place inside production code, and we won't use auto-detection there10:25
jtvOnly one place?10:26
danilosjtv, so, such a "separate call with auto-detection" should probably be a test helper if it exists10:26
danilosjtv, uhm, sorry, a small finite number of places in all of which we won't use auto-detection anyway10:27
jtv"O(1)"?  :-)10:27
danilosjtv, yes :)10:27
jtvBut the idea was always to replace get{Current,Imported}TranslationMessage with something that auto-detected, wasn't it?10:28
jtvOr are you saying you want to layer that on top of this one?10:28
jtvMaybe the auto-detection that's there just made me think that this method was meant to do more than it actually is.10:29
danilosjtv, that will be layered on top of this one, especially since you'll always have a pofile and potemplate when you are doing these things, and then potemplate.translation_side is a short type away (and even then, we'll want to figure out the side only once)10:29
jtvAh now I see.10:29
danilosjtv, yeah, perhaps :)10:29
jtvSo then I'd just leave the auto-detection out of this method, yes, and just have a thin wrapper with the auto-detection as a separate thing wherever it's useful (test helper or potmsgset)10:30
danilosjtv, right, I don't mind that at all, and I won't even worry about the helper method until it's actually needed10:32
jtvPerfect.10:33
danilosjtv, and I won't worry you about the review then, cheers :)10:33
jtvThanks.  :-)  I'll be done for the day soon.  I'll land the one you reviewed, and I'm waiting for test results.  I may just have time for that small potmsgset.potemplate fix in the meantime.10:33
=== gmb changed the topic of #launchpad-reviews to: On call: gmb || Reviewing: wgrant || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== gmb changed the topic of #launchpad-reviews to: On call: gmb || Reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
bigjoolsgmb: hey, up for an eye-opening soyuz review?  It's onlky 1k lines of diff. :)11:17
bigjoolsactually when I say soyuz - it's really the buildmaster.11:17
gmbbigjools: Why not? I've not had my brain dribble out of my ears for a while.11:18
bigjoolshttps://code.launchpad.net/~julian-edwards/launchpad/async-file-uploads-bug-662631/+merge/4088311:18
bigjoolsgrassy ass11:18
=== gmb changed the topic of #launchpad-reviews to: On call: gmb || Reviewing: bigjools || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
bigjoolsgmb: it's not that bad actually, most of it's mechanical.  If you don't know Twisted you might need me to explain some stuff.11:18
gmbbigjools: Okay. I'll do this in two passes anyway - one for Spelling, punctuation and grammar and one for actual technical issues, so if I've got questions it'll be later on.11:19
bigjoolsalreet11:20
danilosgmb, heya, I've got one up for review myself: https://code.launchpad.net/~danilo/launchpad/get-current-translation/+merge/4088511:24
gmbdanilos: I'll add it to the queue. Might be a while before I get to it though.11:26
=== gmb changed the topic of #launchpad-reviews to: On call: gmb || Reviewing: bigjools || queue: [danilos] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
danilosgmb, sure, thanks11:32
gmbbigjools: Where does the function "method" come from? Is it a twisted thing or something else (I'm looking at the diff rather than the code here).11:33
gmbdiff line 258, for reference.11:33
bigjoolsgmb: it uses getattr on the same class11:33
bigjoolsand appends the status that the builder returns to 'method'11:33
gmbAh, right.11:33
gmbTa.11:33
bigjoolsgmb: so in that diff, one of the methods is right below11:34
bigjools"_handleStatus_OK"11:34
gmbbigjools: Yep, with you. Ta.11:35
jtvhi gmb!  I've got one for you that ties in with the one you're reviewing now.12:08
jtvsorry, with the one you're reviewing _next_.12:08
=== jtv changed the topic of #launchpad-reviews to: On call: gmb || Reviewing: bigjools || queue: [danilos, jtv] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
gmbbigjools: So, I've been over the code and I don't really have any questions beyond what I've asked alread. So, since that generally means that I might have missed something, what did you expect questions about?12:29
gmbAlso, kill me for using "so" at the start of a sentence twice.12:29
bigjoolsgmb: my main concerns are that I didn't cock up the translations stuff12:30
bigjoolsI've run it on dogfood and it worked. but ...12:30
danilosjtv, I've glanced over your branch, nice way to limit damage you inflict :)12:30
bigjoolsgmb: I had to change the logic around, the code was a little weird.  It now reads into files on disk instead of memory.12:31
gmbbigjools: I'm not convinced that I can answer that question without domain knowledge. Maybe one of the translations team would be able to review that bit for you.12:31
bigjoolsgmb: so if you see anything that looks like a red flag in their code...12:31
jtvdanilos: this is my chance to return the favor: "it's your fault"  :-P  You should have implemented the new methods earlier.12:32
bigjoolsgmb: I actually think it's better looking at it w/o domain knowledge as too much familiarity can be dangerous, IYKWIM12:32
gmbbigjools: Nothing jumps out at me. I'll give it one more pass to be sure.12:32
danilosjtv, it is, I admit... but still, changing one updateTranslation call site at a time is probably the way to go12:32
danilosjtv, so, good job there :)12:32
bigjoolsgmb: cheers.  It should be just a case of following the flow and making sure it's not going to do anything stupid in different conditions.12:33
jtvdanilos: thanks!  I'm actually aiming for a conflict with your branch, so as to make it impossible not to remove the XXX—but was slightly too lazy to check if I put mine in the same place as yours.12:33
bigjoolsgmb: although I'd like to think that you not having many comments means my code's freaking awesome.  Sadly, I've been disproved on that many times.12:33
jtvNice basis for a review process: "if you have nothing nice to say, keep quiet."  :-)12:34
danilosjtv, yeah, tests will start failing if we don't merge them the right way (otoh, we can merge them in such a way that your method is before mine when tests won't fail, but we'll notice that soon :)12:34
danilosbigjools, your code is freaking, if that's any consolation12:35
jtvdanilos: I'm not _too_ worried. :)12:35
bigjoolsho ho!12:35
gmbbigjools: Heh. The only bugbear I've got is the repeated use of "d" and "dl" as variable names. But I concede that that's a pretty common pattern with Twisted, so I'm not going to demand that you go and fix them all.12:36
bigjoolsgmb: yeah, I had the same reaction on my first review of a twisted branch, but it's a *very* strong twisted idiom.12:37
gmbbigjools: I think the translations stuff looks okay. It's going to be one of them see-if-it-blows-up jobs, I think.12:48
bigjoolsgmb: such is life with the buildd-manager :/12:48
bigjoolsthe last cockup happened even though I borrowed production builders on dogfood and ran through a couple of hundred builds.  C'est la vie.12:49
gmbbigjools: Yeah. r=me anyway, with one typo to fix.12:49
danilosgmb, we are not really looking for any blow-up jobs in translations, thankyouverymuch :)12:49
gmbdanilos: I'll leave the Translations and Soyuz teams to duke it out on that score.12:50
* danilos resisted the temptation to put "-up" in parenthesis12:50
bigjoolsgmb: thanks matey.  And I certainly don't want any blow-up jobs from Translations.12:51
=== mrevell is now known as mrevell-lunch
gmbArf arf12:54
gmbdanilos: I'm going to make a cup of coffee and then I'll take a look at your branch.12:55
=== gmb changed the topic of #launchpad-reviews to: On call: gmb || Reviewing: - || queue: [danilos, jtv] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
danilosgmb, make it strong :)12:55
gmbOh, gods.12:55
danilosgmb, j/k12:55
* bigjools chuckles12:55
gmbThank goodness.12:55
danilosgmb, the background is complicated, the branch is pretty straightforward :)12:55
* gmb sometimes thinks he should have a bottle of "Review whisky"12:55
gmbok12:56
bigjoolsI grabbed some Ardbeg at Gatwick on the way back from Orlando.  It's bloody fantastic.13:00
jtvbigjools: then you should be in the mood for my "kill 'em all" branch—I don't think the OCR should do that right now.  :-)13:01
jtv1090 lines removed, no lines added, no lines modified.13:02
jtvbigjools: are you game for reviewing that?13:02
bigjoolsjtv: I am heading to lunch and then I have some urgent OOPSes to fix, sorry :(13:02
jtv:(13:02
jtvOkay, who else..?13:02
bigjoolsjtv: does it *need* reviewing?13:03
bigjoolsland it rs=you13:03
jtvhenninge, do you want to see 1090 lines of dead code go into our trash bin?13:03
henningejtv: please, please! ;)13:03
jtvhenninge: thanks!  https://code.launchpad.net/~jtv/launchpad/pre-675426/+merge/4095313:03
lifelessbigjools: r=you, not ts13:03
lifelessblah, not *rs*13:03
jtvbigjools: the problem with that is that you never know _when_ you're making the silly, impossible mistake that anyone (else) would have spotted.13:04
jtvAt least I don't.13:04
bigjoolsfurry muff13:04
jtvyou're mumbling… did you grow a beard or is that someone else's curly hair around your lips?13:05
henningejtv: don't we need "remove-obsolete-translations" any more?13:05
jtvhenninge: if we don't test it, it's broken, so even if we need it we don't have it.13:06
* jtv had a brief gust of dogmatism there13:06
daniloshenninge, we need remove-translations-by, but the obsolete one, not really13:06
daniloshenninge, apart from the fact that it's most likely broken :)13:07
henningeAre we sharing amont all Ubuntu series by now?13:07
henningeamong13:07
daniloshenninge, yes13:08
daniloshenninge, for most of things, OOo is still being migrated I think13:08
henningeoh right, that long-running script ;)13:09
jtvWe haven't seen any noticeable drops in TMs lately, so not sure it's still running.13:09
jtv(There were some big drops over the past month though)13:10
=== gmb changed the topic of #launchpad-reviews to: On call: gmb || Reviewing: danilos || queue: [jtv] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
henningeI just remembered that we initially shared  between just two Ubuntu series and only added new ones after that.13:12
henningejtv: other than that, you can remove those lines. r=me13:13
jtvhenninge: great, thanks!13:13
=== Ursinha-afk is now known as Ursinha
danilosgmb, I'll go fetch something to eat, I'll be back soon if you've got any questions13:34
gmbdanilos: Okay. going smoothly so far.13:34
danilosgmb, cool13:34
=== mrevell-lunch is now known as mrevell
gmbdanilos: r=me. Thanks to jtv for taking a look first; I wouldn't have picked up on those items :)13:55
=== gmb changed the topic of #launchpad-reviews to: On call: gmb || Reviewing: jtv || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
jtvgmb: so you don't eat, drink & dream our specialty?  How odd!  :)13:55
gmbjtv: I have nightmares about Soyuz, though.13:56
danilosgmb, then you are excused :)13:56
jtvgmb: Heh.  I actually have 3 waiting for a vote now.  henninge approved one of them verbally but didn't vote formally.13:56
danilosgmb, thanks, btw13:56
gmbnp13:56
henningejtv: sorry, got distracted by lunch13:56
gmbjtv: Okay, so give me a link to the one you want reviewed first.13:56
jtvhenninge: yes, that can distract.  :)13:56
jtvgmb: coming up13:56
jtvgmb: this one → https://code.launchpad.net/~jtv/launchpad/recife-kill-updatetranslation-1/+merge/4094813:57
* gmb looks13:59
jtvthanks henninge14:01
gmbjtv: Please add some comments or docstrings to the start of your unit test functions. Other than that, r=me.14:19
jtvgmb: cool, thanks.  I was trying to be self-explanatory but it's hard to judge that when you're already in the know.14:19
gmbYeah.14:19
gmbI usually write the comments first on the basis that I want to read my own code as little as possible.14:20
gmbjtv: So, is there a second branch for me to look at?14:20
jtvabsolutely!  https://code.launchpad.net/~jtv/launchpad/bug-675426/+merge/4095814:20
=== Ursinha is now known as Ursinha-lunch
gmbjtv: r=me.14:36
jtvsplendid, thanks!14:36
=== gmb changed the topic of #launchpad-reviews to: On call: gmb || Reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
jtvThat nicely rounds out my evening.14:36
gmbnp.14:36
=== gmb changed the topic of #launchpad-reviews to: On call: gmb || Reviewing: late lunch || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
jtvdanilos: I think I accidentally moved a kanban card… is your "re-enable global suggestions" still in the right place?14:37
danilosjtv, don't know, I'll check14:38
jtvsorry for the inconv.14:38
=== matsubara is now known as matsubara-lunch
=== Ursinha-lunch is now known as Ursinha
=== gmb changed the topic of #launchpad-reviews to: On call: gmb || Reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
flacostedanilos: shouldn't we make global suggestions a feature flag?15:35
danilosflacoste, we should!15:35
danilosflacoste, I already had it in the back of my mind (it basically is a feature flag, just implemented through a config option)15:36
danilosflacoste, unfortunately, there's no room in our backlog15:36
=== salgado is now known as salgado-physio
=== gmb changed the topic of #launchpad-reviews to: On call: gmb || Reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== gmb changed the topic of #launchpad-reviews to: :
=== gmb changed the topic of #launchpad-reviews to: On call: gmb || Reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== gmb 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
* gmb fails at IRC16:21
=== You're now known as ubuntulog
=== You're now known as ubuntulog_
=== You're now known as ubuntulog
=== matsubara-lunch is now known as matsubara
=== benji is now known as benji-lunch
=== 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
=== salgado-physio is now known as salgado
=== benji-lunch is now known as benji
=== matsubara is now known as matsubara-afk
=== bryceh changed the topic of #launchpad-reviews to: On call: - || Reviewing: - || queue: [jtv, bryce] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== Ursinha is now known as Ursinha-dinner

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