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

=== noodles775 changed the topic of #launchpad-reviews to: On call: rockstar || reviewing: - || queue: [noodles775] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== adeuring changed the topic of #launchpad-reviews to: On call: adeuring || reviewing: - || queue: [noodles775] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
adeuringnoodles775: for which branch do you need a review?09:14
noodles775adeuring: https://code.edge.launchpad.net/~michael.nelson/launchpad/db-598464-get-or-create-from-identity/+merge/2888509:15
noodles775Thanks!09:15
* adeuring is looking09:16
=== adeuring changed the topic of #launchpad-reviews to: On call: adeuring || reviewing: noodles775 || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
noodles775I asked salgado to take a brief look yesterday (as it's his area), and he's commented, but it needs a proper review.09:16
noodles775adeuring: also, i've got another branch that's not ready for review, but I need some help (related to private XMLRPC authentication - I'm a little unfamiliar) if you've got any input: https://code.edge.launchpad.net/~michael.nelson/launchpad/db-598464-priv-xmlrpc-access-getOrCreate/+merge/2905910:06
adeuringnoodles775: so, you want to add another celebrity?10:09
noodles775adeuring: that's already done (and landed by StevenK). At the moment I'm just trying to write a test that logs in as admin and passes.10:09
noodles775The xmlrpc call works fine (I can switch to zope.Public and the tests work), but I can't see how to assign launchpad.Admin to the xmlrpc view (or if I even should be going down that direction - I can't see any other examples in the code)10:11
noodles775Hrm, maybe the test should be authenticating differently, or the logged in user needs ssh keys etc.10:12
adeuringnoodles775: as I understand it, you just need to ensure in checkAuthenitcated that the current user is your celebrity. Or am I missing something?10:12
noodles775adeuring: that's what I would have thought, but that breakpoint is never being called (and yet the tests return 401 Unauthorized)10:13
adeuringnoodles775: seems that some other authentication check is kicking in then?10:14
noodles775Yep... I'll check if it's related to ssh keys on the test users.10:14
adeuringis there any auth class for the same permission and interface class?10:14
noodles775Nope - it's a new class in that branch.10:15
adeuringnoodles775: after looking closer, I must ammit that I have no clue why this doesn't work...10:21
noodles775adeuring: ok, thanks for looking :D10:22
noodles775adeuring: found it... I needed to supply the credentials when creating the xmlrpc server proxy... obvious now.10:33
adeuringnoodles775: uuhhh, yes ;)10:33
noodles775But I still need to find out how I can ensure other users have launchpad.Admin on the view...10:34
* noodles775 keeps looking.10:34
adeuringnoodles775: overall, your code looks good. Just one question: SHouldn't the "with MasterDBPolicy():" be moved from processPositiveAssrtion() to getOrCreateByOpenidIdentifier()?11:04
noodles775adeuring: yes, you're right.11:06
adeuringnoodles775: OK, so r=me (including aonther nitpick about a typo)11:10
noodles775Thanks adeuring11:11
adeuringOn call: adeuring || reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews11:12
noodles775adeuring: the other one is ready now if you've time: https://code.edge.launchpad.net/~michael.nelson/launchpad/db-598464-priv-xmlrpc-access-getOrCreate/+merge/2905911:24
adeuringnoodles775: I'll look11:45
=== adeuring changed the topic of #launchpad-reviews to: On call: adeuring || reviewing: noodles775 || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
adeuringnoodles775: again, a nice branch. But I think it is a bit odd to have a class PersonSetAPIView (ie.e.,a quite generic name) where the method getorCreateByOpenIDIdentifier() unconditionally providesthe rationale "software centerpurchase" as a account creation rationale. Shouldn't we either make the class name more specific or provide the rationale as a parameter of the method?12:09
adeuring(or use a method name like getOrCreateForSoftwarePurchase())12:10
rinzeadeuring, can you review a oneliner (testfix) ?12:16
adeuringrinze: sure12:16
rinzehttps://code.edge.launchpad.net/~jelmer/launchpad/fix-db-devel/+merge/2907012:16
rinzea warning about the completeness of the dailybuilds feature was added recently, I suspect that broke it12:18
adeuringrinze: well, the change looks straightforward, r=me.12:19
rinzeadeuring: Thanks12:19
noodles775adeuring: yes - I thought the same when I pushed the last rev. So I'd be keen to change the application name... most of the other private xmlrpc apps have names like 'ICodehostingApplication' identifying who uses them.12:45
bachello adeuring.  busy review day?12:46
adeuringbac: quite intersting branches from noodles775 :)12:46
noodles775So perhaps, ISoftwareCenterAgentAPI, http://..../softwarecenteragent etc.?12:46
adeuringnoodles775: ok, so something like s/Person/Shopper/ ?12:47
bacyes, i saw.  looks like fun...12:47
adeuring...in the app name?12:47
* bac relocates12:47
noodles775The app name usually matches the API, so perhaps ISoftwareCenterAgentApplication...12:48
adeuringnoodles775: ah, right. so, that, combined with a method name like getOrCreateShopCustomer()?12:50
noodles775Sounds good.12:50
adeuringnoodles775: ok, r=me12:50
noodles775w 512:57
=== matsubara-afk is now known as matsubara
=== bac changed the topic of #launchpad-reviews to: On call: adeuring, bac || reviewing: noodles775 , -|| queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== rinze is now known as ctrlsoft
=== henninge_ is now known as henninge
henningejtv: your reply looks good but you did not push your changes. Did you rename "get_all_important_translations" ?13:55
jtvhenninge: knew I forgot something!  hang on13:55
jtv(Well, I didn't know you'd be this quick so technically I just hadn't gotten around to it yet)13:55
henningejtv: I guess you'd like to be through with this before the game ... ;-)13:56
henningejtv: also, since this branch only contains tests, it should not need a full test suite run, should it?13:56
=== adeuring changed the topic of #launchpad-reviews to: On call: adeuring, bac || reviewing: -, -|| queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
jtvThanks for reminding me of the game.  :-)  I started incredibly early today, so don't think I'll do much after.13:57
jtvhenninge: that's the theory.  Practice doesn't always follow theory.  :)13:58
henningejtv: one more branch after this and we can merge db-stable again?13:58
jtvhenninge: yes, that's D.'s use-upstream-translations branch.13:59
jtvThat will also enable us to run the "mirror" tests that I commented out.13:59
jtvhenninge: oh, and I snuck something extra in: I defined flushing orders when disabling TMs14:00
jtvPush is underway.14:00
henningeAh, once bitten ...14:01
jtvhenninge: push is done, diff updated...14:04
jtvbac, got time for this one? https://code.launchpad.net/~jtv/launchpad/bug-181254/+merge/2905614:07
bacjtv: yes, please add to topic14:09
jtvbac: "reviewing" or "queue"?  :-)14:10
=== jtv changed the topic of #launchpad-reviews to: On call: adeuring, bac || reviewing: -,jtv || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
bacqueue, of course14:13
=== bac changed the topic of #launchpad-reviews to: On call: adeuring, bac || reviewing: -,foxxtrot || queue: [jtv] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
jtvawwww14:14
henningejtv: what?14:15
henningeoh, ok14:15
jtvbryceh: thanks for going the extra km in cleaning up the branch...  this is to let you know that I'm approving and you should still be able to land14:37
jtvhenninge: my branch ok now?14:39
henningejtv: most likely ... ;)14:39
jtvthe suspense is killing me!14:39
henningeand14:42
henningethe14:42
henningewinner14:42
henningeis14:42
henninge...14:43
henningejtv!14:43
=== bac changed the topic of #launchpad-reviews to: On call: adeuring, bac || reviewing: -,jtv || queue: [-] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
henningejtv: r=me14:43
henningethanks, looks very good ;-)14:43
henningebut now that you changed actual code, you will have to run it through ec2 :-P14:43
bachenninge:  which jtv branch did you review?14:44
henningejtv: oh, not the one he asked about today.14:44
henningebac: ^14:45
henningethis is three days old.14:45
henningehttps://code.edge.launchpad.net/~jtv/launchpad/recife-limited-setcurrenttranslation/+merge/2871514:45
bacoh, ok. henninge just trying not to duplicate work14:45
jtvhenninge: thank you for your kind approval...  I'm out of here!14:49
jtvbac: I'll keep an eye out for any questions you may have, but be aware that Holland is about to face Brazil and I may be distracted or sobbing uncontrollably.  :)14:50
=== matsubara is now known as matsubara-afk
bacjtv:  good luck.  you'll need it.14:50
jtvindeed!14:51
bacjtv: can you keep us posted here?14:51
* bac is surprised there has not been more WC chatter14:51
jtvbac: ok...  my first time as a commentator14:51
baci watched the ger-eng game on univision.  having spanish play-by-play was much less annoying14:52
bacgooooooooooooooooooooooooooool alemania!14:52
henningeYEah!14:52
henninge;-)14:52
* jtv relocates to TV14:52
henningejtv, danilos: Err, the potemplate api branch was never approved.14:52
henningehttps://code.edge.launchpad.net/~adiroiban/launchpad/bug-525371/+merge/2542314:53
daniloshenninge, isn't there a resubmitted MP which jtv approved?14:58
jtv?14:58
henningedanilos: I hope there is14:58
jtv(wc commentary: Brazilian players looked nervous and tense... is their national anthem particularly difficult like the Argentinian one?)14:58
henningeadiroiban: Hi!14:59
jtv(the Dutch players just unfolded a large banner "say no to racism"—a superfluous statement given the diverse composition of the team)14:59
adiroibanhenninge: hi15:00
henningeadiroiban: which is the MP that jtv approved for the POTemplate API?15:00
henningebecause this one isn't:15:01
henningehttps://code.edge.launchpad.net/~adiroiban/launchpad/bug-525371/+merge/2542315:01
adiroibanhenninge: Danilo was the one doing the final review15:01
henningeadiroiban: hm, it was landed as [r=jtv], though.15:02
jtvI did approve that one, didn't I?15:02
jtvbac: so far the pressure went straight onto the brazilians15:03
bacjtv: i don't know what that means.15:03
adiroibanah... yep. Danilo did approve it first... but then we decide that it requires more work and the jtv was the one to appove and land it15:03
bacjtv: make lint on your branch shows a lot of stuff...mostly valid i think15:03
bacassigned but unused variables15:03
jtvbac: it means the Dutch have had the upper hand so far.15:03
bacjtv: goals only, please.  :)15:04
jtvbac: goals only?  The violence may be more interesting... they've deliberately taken down 3 dutch players in 5 minutes and they seem to know the referee will let it go.15:05
henningeadiroiban: only the MP does not show that. Wonder why. But if nobody objects to you story ... ;-)15:05
jtvbac: those variables were in there before...  they're not mine but they serve an explanatory role.15:05
adiroibanhenninge: I guess that jtv forget to update the MP15:06
henningeadiroiban: yes he does forget things once in a while ... ;-)15:06
jtvadiroiban: I guess...  I may have told you by IRC15:06
henningejtv: lucky sods15:08
jtvhenninge: they wouldn't have gotten anywhere so far without unpunished fouls...  hope the game doesn't turn bilaterally ugly15:09
* henninge just looked up sods ... probably not the term I meant to choose.15:09
jtvbac: Brazil just scored15:10
henningeawwwww15:10
henningejtv: come on! We have a date in the final!15:11
jtvI hope so...15:11
bacjtv: imagine a pick up match between you and stevea vs. ursula and salgado.  you know how i'd bet...15:12
jtvbac: are you okay with those explanatory variables or do you want a cleanup round?15:15
bacjtv: it's up to you.  i don't think they add much by way of explanation.15:17
jtvbac: hell, I don't want the noise... I'll take care of it.15:17
jtvbac: the match may not be worth following with the referee already having made up his mind15:18
jtvopen, nonfunctional violence by the brazilians now... no yellow card15:18
bigjoolshi bac, can you do a small branch please?15:19
bacbigjools:  sure, next.15:19
bigjoolsoh abel is free15:19
bigjoolsI think?15:19
bigjoolsI don't mind who does it :)15:19
* bigjools files MP15:20
bacjtv: the comment and code don't seem to match:15:21
bac # Strip the last column off the result; it's just always True.15:21
bac146+ return set(result)15:21
bacs/146 +//15:21
jtvbac: yikes!  that comment is from an older iteration... I'll take it out15:21
bacthx15:21
bacjtv: r=me15:30
jtvbac: great, thanks!15:31
bacbigjools:  r=me15:34
bigjoolsbac: easiest soyuz branch evar, thanks )15:34
=== bac changed the topic of #launchpad-reviews to: bigOn call: adeuring, bac || reviewing: -,jelmer || queue: [-] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
bacbigjools:  that's the truth!15:34
=== ctrlsoft is now known as jelmer_
jelmer_bac_: Hi!15:37
jelmer_:-)15:37
bacjelmer_:  how are we supposed to find you with a new irc nick every day?  :)15:37
jelmer_sorry :-)15:37
bacjelmer_:  looking at your MP, i wonder about the import for Dsc15:38
bacjelmer_:  on our machines where this script runs do we really find Dsc in both places?15:39
jelmer_bac: Ah, I forgot to document that one.15:39
jelmer_bac: Newer versions of python-debian have renamed the upstream package from debian_bundle to debian15:39
jelmer_it still provides debian_bundle but will raise a DeprecationWarning15:39
jelmer_that warning causes various tests to break15:40
bacjelmer_:  and our machines are in flux between the two?15:40
bacor is it a dev vs production issue?15:40
jelmer_bac: Maverick has the newer version of python-debian, and we'll hopefully include a more up to date version in the PPA as well soon.15:40
bacjelmer_:  ok, but eventually we'll all find it in one place.  how about an XXX comment for cleaning up the import when things stabilize?15:42
jelmer_bac: That's a good idea.15:43
=== salgado is now known as salgado-lunch
bacthanks jelmer_ .  r=bac15:45
jelmer_bac: Thanks!15:45
bachey bigjools it'd be good to tell your reviewer if you're looking for an RC.  it really shouldn't matter but i would look at things much harder if i knew it was an rc candidate.15:55
bacotoh, i should've asked...15:55
bigjoolswell, I don't understand how that affects the review15:55
bacbigjools:  ideally it shouldn't.15:56
bacthey should all be super stringent15:56
bigjoolsbut I should have said - in fact I normally do15:56
bigjoolsso sorry 'bout dat15:56
bacbut in reality i know i'd pay a lot more attention15:56
henningebac: goooooooooooal!16:10
=== bac changed the topic of #launchpad-reviews to: bigOn call: adeuring, bac || reviewing: -,bjornt || queue: [-] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
henningebac: gooooooooooooooal!16:27
henningeNED - BRA 2:116:27
henningejtv is probably dancing Samba ... ;-)16:28
jtvhenninge: good thing I'm not on Mumble16:28
henningeyeah, it'd probably burst my earphones16:28
jtvMy God, that was a deserved red16:30
henningeI say16:30
jtvStabbing your cleats right into the back of a prone man's leg...16:30
jtvDamn, that red card should've gone to Caca16:33
henningejtv: that was yellow16:34
jtvyes, but what Caca did deserved red.16:34
henningejtv: did you realize that we will be watching the final together in Prague?16:35
jtvhenninge: I'm being very careful in my use of my country's very rich vocabulary for your countrymen  ;-)16:35
jtvWould be fun to watch de-nl together!16:35
henningeWhat I expect! ;)16:36
henningeThey need higher goals for those kind of shots ...16:37
jtvWe got lucky there...16:38
jtv...and not there16:40
henningejtv: Congratulations!16:50
jtvhenninge: thanks!  Now you do the same and we'll meet in Prague!16:50
henningejtv: We'll meet anyway ... :-P16:51
jtv:D16:52
=== salgado-lunch is now known as salgado
jtvhenninge: Sneijder just explained why he kept shooting into the goalie's arms: he knew the guy isn't so good at catching close to his body.16:56
jtvThe surprising thing is I don't hear any vuvuzelas outside...  Excellent noise isolation my dad has.16:57
jtvbac: Holland passes 2—1, deservedly.  Loyalty aside I was sort of rooting for Brazil until the first minutes when the fouls started.16:58
bacjtv:  nice16:59
henningejtv: enjoy your weekend! I'll be going there now, too. ;-)17:02
jtvhenninge: thanks, you too... have a lemonade on us!17:02
henningeI will ! ;-)17:02
brycehjtv, excellent, thank you!17:12
jtvbryceh: whoa, took me a while to figure out what that was about.  :)17:12
=== adeuring changed the topic of #launchpad-reviews to: On call: bac || reviewing: bjornt || queue: [-] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
jtvbac: apparently the Brazilian fans were good sports and many said the Dutch team was simply better in the second half.  I think the referee let a few Dutch fouls slip later on to compensate for some really bad ones he let go from the other side earlier.17:51
jtvI wish we'd get instant replay soon... bad calls breed lots of resentment on both sides that they take out on each other.17:53
=== matsubara-afk is now known as matsubara
=== sinzui changed the topic of #launchpad-reviews to: On call: bac || reviewing: bjornt || queue: [sinzui] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
sinzuiHi bac. I have a branch for review. My apologies for the diff which I think is hard to read because of the many small changes needed to expose summary and copyright for packages.18:26
bacsinzui: ok18:29
=== bac changed the topic of #launchpad-reviews to: On call: bac || reviewing: sinzui || queue: [bjornt] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== mwhudson_ is now known as mwhudson
bacsinzui: i get errors in test_highlighted_copyright_is_None18:44
sinzui:(18:44
sinzuiI get them too18:46
sinzuione moment18:46
sinzuiah18:47
sinzuibac: The setup is wrong. The copyright must be set to None. Our factory is better than our data, or some of our uploaders18:49
sinzuibac: this is the fix for when there is no copyright file: http://pastebin.ubuntu.com/458417/18:50
bacsinzui: if you go to https://launchpad.dev/ubuntu/warty/+source/a52dec you'll see a warning that there is no current release19:11
sinzuiyes, that is true19:11
bacclicking on the +changelog gives a nice but empty page19:11
bac+copyright oopses19:11
sinzuibac: sample data is very very bad19:11
sinzuiremember that we have to use the factory to make SPPH for everything, that page is ehy19:11
bacso if it were fully fleshed out the oops would not happen19:12
sinzuipmount and mozilla-firefox have some data19:12
bacsinzui: ok.  i just want assurance that we're being suffiently defensive19:13
sinzuiThe page told the truth about no release, and we do not make links to impossible packages19:13
sinzuihowever, I will make copyright not oops when someone is being bad19:13
sinzuibac: this is the fix to see info that there is no copyright: http://pastebin.ubuntu.com/458422/19:17
bacgreat19:17
marssinzui, ping, when you have a moment, could you please review https://code.edge.launchpad.net/~mars/launchpad/ga-deployment-only/+merge/29116 ?19:27
sinzuimars: I do not think that will work19:28
marsneither do I19:28
mars'|' is not OR, is it19:28
sinzuimars tales is testing None or something19:28
sinzuiFalse is something19:29
marseewww, even worse19:29
* sinzui thinks if there is a tales formatter for false>None19:29
marssurely there is some way to just do a binary expression in TALES?19:29
sinzuino19:30
sinzuibut you can do:19:30
sinzuipython: is_edge or is_lpnet19:30
marsdo the variables come through?19:30
marsfrom TALES back to Python ?19:30
sinzuiThey do in this case I believe. We scoped them to the entire template19:31
marssimple, testing now19:31
sinzuimars, if not you need to do python: config.launchpad.is_edge ??19:31
marssinzui, python: is_edge or is_lpnet works19:33
sinzuirock19:34
marsbranch scanner is slow today19:36
marspushed, just waiting for the update19:36
marsupdated19:38
marssinzui, r=you?19:40
sinzuimars: yes r=me19:40
marsI wonder if 'ec2 land' understands the release-critical tag19:41
marsthanks sinzui19:41
mwhudsonmars: it adds [release-critical=] if there's a review with that tag iirc19:42
=== bac changed the topic of #launchpad-reviews to: On call: bac || reviewing: - || queue: [bjornt] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
bacmwhudson: that is correct19:42
marscool19:42
marssinzui, could you please hit 'Approve' on the merge proposal?  https://code.edge.launchpad.net/~mars/launchpad/ga-deployment-only/+merge/2911619:45
=== bac 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
marsbac, care to give a second a review of https://code.edge.launchpad.net/~mars/launchpad/ga-deployment-only/+merge/29116 ?19:48
bacsure19:48
bacmars i'm confused19:49
bacyou reviewed your own branch?19:49
marsbac, I don't know how to formally say 'Curtis reviewed it' - there is no Proxy Review button19:49
bacmars: why didn't he mark the MP?19:50
marsI can vote by proxy - why not review by proxy as well?19:50
bacthe commit message is going to be a hoot19:50
mars:D19:50
bac[r=mars][rc=mars][bug=mars]19:50
marsbac, I don't know, he isn't answering19:51
baci would actually suggest you get an rc from curtis since he was the last RM.  i'd be very uncomfortable giving myself an rc19:51
marsbac, I can do the r-c myself19:51
bacyou certainly can.  i think it is a bad idea.  that's just me.19:51
marsyou know, by being Release Manager and all19:51
marstrue, but that is why I asked for your second code review19:52
marsfrom a RM perspective, this has to land to fix the lp_lucid builder19:52
marsso there is no question around the RC19:52
marsbac, ok, Curtis reviewed it - could you still take a look at the code, just to make sure it's sane?19:53
bacmars: doing so now19:54
marsthanks19:54
bacmars, what about staging and dogfood?19:56
marsbac, no, we do not want to track the usage of those servers.  They will just pollute the data.19:56
marsSince they are test environments19:56
bacmars: fair enough.  r=me19:57
marsthanks bac19:57
=== rinze is now known as jelmer_
=== mwhudson_ is now known as mwhudson
=== matsubara is now known as matsubara-afk

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