/srv/irclogs.ubuntu.com/2010/12/01/#launchpad-reviews.txt

=== jtv changed the topic of #launchpad-reviews to: On call: - || Reviewing: - || queue: [henninge, jtv] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
StevenKwallyworld_: Do you need me to look at those MPs for you?04:28
wallyworld_StevenK: yes please04:50
StevenKwallyworld_: In _test_recipebuild_listing, why are you removing the security proxy from naked_recipebuild.distribution ?04:54
StevenKAnd if it's called _test_... doesn't that mean it isn't called at all?04:54
wallyworld_StevenK: from memory, if i didn't do that i got some sort of access exception04:55
wallyworld_StevenK: let me switch to that branch to have a look04:55
=== jtv changed the topic of #launchpad-reviews to: On call: jtv || Reviewing: henninge || queue: [jtv] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
wallyworld_StevenK: it's called _test because that method is internal and called by other real test methods which first do some setup and then invoke the _test method05:01
wallyworld_StevenK: the real test methods are test_recipebuild_listing_anonymous and test_recipebuild_listing_with_user05:01
StevenKAh, that's fine then05:02
wallyworld_StevenK: cool. took me a second to remember what i had done :-)05:04
StevenKThe only other thing I can think of is different indentation for function definitions, but I can't remember rightly05:07
StevenKwallyworld_: You have one Approve and one Needs Fixing, enjoy05:23
wallyworld_StevenK: thanks!05:23
wallyworld_StevenK: with the imports, i had then all split, one per line, but i'm almost certain i was told by someone else that if it fits on one line, leave it like that. but i prefer the multiline approach myself and hence agree with you05:25
StevenKOdd05:26
wallyworld_StevenK: i'll follow up and see if i misunderstood what i was being told :-)05:26
=== jtv changed the topic of #launchpad-reviews to: On call: jtv || Reviewing: abentley || queue: [jtv] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
jtvStevenK: want another review to practice on?  We're both on call I suppose but I can't very well review my own.  :)06:10
jtvAlso, if StevenK reviews my branch, I'll need a mentor!06:13
jtvAnyone else reviewing?06:24
StevenKjtv: I can have a look06:25
jtvStevenK: thanks—there should be some things you can shoot at.06:26
StevenKjtv: Done06:32
jtvthanks!06:32
=== jtv changed the topic of #launchpad-reviews to: On call: jtv || Reviewing: - || queue: [jtv] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
jtvStevenK: can you live with the compromise I propose in my MP?07:21
jtv(Just submitted)07:21
StevenKjtv: Sounds good, Make It So07:23
jtvThanks.  And I thought "make lint" used to warn about dead variables…07:23
jtvStevenK: the diff has updated.  Enough to change your vote?07:30
StevenKjtv: Done07:32
jtvthanks again07:32
StevenKjtv: Care to mentor my review of https://code.launchpad.net/~gary/launchpad/bug683115/+merge/42322 ?07:33
jtvheh, I was just looking at that one07:33
=== jtv changed the topic of #launchpad-reviews to: On call: jtv || Reviewing: - || queue: [jtv*] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
jtvStevenK: (I wonder if I could mentor your review of my branch :-)07:34
StevenKjtv: Care to review https://code.edge.launchpad.net/~stevenk/launchpad/db-spph-ancestry/+merge/41943 ?08:25
jtvStevenK: of course.  I may be a bit slow though, as today is do-or-die day for a year-long refactoring project.08:29
jtvStevenK: you have my code vote09:03
=== jelmer changed the topic of #launchpad-reviews to: On call: jtv, jelmer || Reviewing: - || queue: [jtv*] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
jelmerjtv: are those branches still pending?09:59
jtvjelmer: there's only one that I can see, but yes it is!09:59
=== jelmer changed the topic of #launchpad-reviews to: On call: jtv, jelmer || Reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== matsubara-afk is now known as matsubara
jtvWe emptied out the queue.  Might as well get out while we're on top.11:46
=== jtv changed the topic of #launchpad-reviews to: On call: jelmer || Reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
salgadojelmer, can you review a trivial one for me? (https://code.launchpad.net/~salgado/launchpad/bug-683106/+merge/42351)12:37
jelmersalgado: There's a (trivial) conflict in that branch, can you fix that?12:46
salgadojelmer, doing so now. :)12:47
jelmersalgado: Are you sure there's no way to use launchpadlib anonymous access at the moment?12:47
salgadojelmer, there is12:48
salgadoit works out-of-the-box for everything but collections12:49
salgadoin the case of collections, lazr.restful does a hard-coded check for launchpad.View, so for collections of objects that you want to expose to anonymous users, one must define launchpad.View adapters for those objects12:50
jelmersalgado: Sorry, I was a bit vague. I mean the launchpadlib_for_anonymous convenience function12:50
jelmerI thought we already had one, and was wondering if you'd checked for that.12:51
salgadooh, there's one helper which uses WebserviceHTTPCaller12:52
salgadobut that's only available for pagetests, it doesn't allow you to specify the version of the webservice you want to use and doesn't provide real launchpadlib-like objects (you have to deal with json directly)12:53
jelmerwhat about Launchpad.login_anonymously() ?12:54
jelmerhmm, that probably uses the local users standard directory for launchpad credentials12:55
salgadoyes, it would add the new credential to the cache, I think12:57
jelmerIt's a pity that code has to be duplicated. It'd be great if we could override the default directory launchpadlib uses more easily.12:57
jelmersalgado: Anyway, that's beyond the scope of this branch. r=me12:58
leonardrsalgado: i can rationalize this if you file a bug for it, but i probably can't get to it anytime soon12:58
salgadojelmer, I kind of agree with you there, but it's also arguable that having this extra helper together with the others will make this functionality more discoverable, and it's not that much code we're duplicating anyway13:00
jelmersalgado: It seems reasonable to have specific helpers in the Launchpad tree (e.g. with a service_root that defaults to "http://api.launchpad.dev/") but atm launchpadlib_for() and launchpadlib_for_anonymous() duplicate code that's in launchpadlib. It'd be nice if they could just be trivial wrappers around the launchpadlib code.13:01
salgadoindeed13:02
henningejtv: I saved recife the roll-back diff (just recife) and the inverse diff 10008..10007 from db-stable to files and compared the diffs.13:39
henningeI get this: http://paste.ubuntu.com/538642/13:39
henningeAny idea why those lines differ?13:39
henningeah, I just realized that they are context13:43
henningejtv: approved13:53
=== matsubara is now known as matsubara-lunch
=== salgado is now known as salgado-lunch
bac#startmeeting15:00
bacdoh15:00
=== salgado-lunch is now known as salgado
=== matsubara-lunch is now known as matsubara
=== deryck is now known as deryck[lunch]
salgadoleonardr, I didn't understand your comment earlier and you left right after you made it so I didn't have a chance to say so.  care to clarify?16:10
leonardrsalgado: sorry, i had to restart16:11
leonardras your reviewer said, the idea of a special anonymous version of launchpad_for is a little hacky. i was offering to clean that up for you later if oyu filed a bug16:12
salgadoleonardr, oh, to refactor Launchpad.login_anonymously() so that we can use that and avoid the extra helper?16:14
=== EdwinGrubbs changed the topic of #launchpad-reviews to: On call: jelmer, Edwin || Reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
leonardrsalgado: yeah, or let you pass in the NOBODY user to launchpad_for or something16:16
=== benji changed the topic of #launchpad-reviews to: On call: jelmer, Edwin, benji || Reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
jelmerhi Benji, Edwin16:31
EdwinGrubbsjelmer: hi16:32
benjiEdwinGrubbs: I'd like to do some more mentored reviews today if we have any takers.16:38
EdwinGrubbsbenji: surprisingly, I don't see any merge proposals that we can take from https://code.launchpad.net/launchpad/+activereviews16:44
benjiyep, it seems unusually quiet16:44
=== deryck[lunch] is now known as deryck
=== benji is now known as benji-lunch
salgadoleonardr, bug 68374817:05
_mup_Bug #683748: Get rid of launchpadlib_for_anonymous <Launchpad Foundations:New> <https://launchpad.net/bugs/683748>17:05
jcsackettbenji: i can solve your quiet issue. here's an MP i could use some eyes on: https://code.edge.launchpad.net/~jcsackett/launchpad/anonymous-api-access-emails-681815/+merge/4230917:07
=== jcsackett changed the topic of #launchpad-reviews to: On call: jelmer, Edwin, benji || Reviewing: - || queue: [jcsackett] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
jcsackettnaturally i do this at lunch time for maximum inconvenience. :-P17:08
leonardrsalgado: thanks17:21
=== benji-lunch is now known as benji
benjijcsackett: I should be able to do a (mentored) review for you18:25
benjijcsackett: I assume this is what you want reviewed? https://code.launchpad.net/~jcsackett/launchpad/anonymous-api-access-emails-681815/+merge/4230918:29
jcsackettbenji: yup, posted the link earlier.18:30
jcsackettmentored is fine. i'm in the same boat, so i'm happy to give you mentoring fodder. :-)18:30
benji:)18:31
=== benji changed the topic of #launchpad-reviews to: On call: jelmer, Edwin, benji || Reviewing: jcsackett || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
benjijcsackett: ok, you have my approval; hopefully EdwinGrubbs will be able to give his seal of approval too18:43
jcsackettbenji: cool, thanks!18:43
benji(I only had a small and non-binding comment about the long "want" lines)18:43
* EdwinGrubbs looks at it18:44
EdwinGrubbsjcsackett: when I ran your test without the fix to checkUnauthenticated(), it still passed. Does that happen for you?18:57
jcsackettEdwinGrubbs: yeah, i just noticed that in running some tests while preparing for land.18:58
jcsackettEdwinGrubbs: it looks like the webservice caller isn't getting emails regardless of how you go about it.18:58
jcsackettEdwinGrubbs: i'm going to put the MP to WIP and will ping you when i have it sorted.18:59
* jcsackett sighs.18:59
jcsackettEdwinGrubbs: i've pushed up changes, and added a comment explaining something i've discovered.19:22
jcsackettit seems the security hole this patches doesn't exist in testruns--an interaction against qastaging that shows the hole doesn't show the hole against dev.19:22
jcsackettat least, that's how it appears. in any event, i still was able to improve what the test was meant to show, and set it up so that it would catch any 404 errors we were worried about this change introducing.19:23
EdwinGrubbsjcsackett: have you asked leonardr?19:24
leonardrjcsackett, what's the problem?19:24
jcsackettleonardr: i was working on a patch to deal with this bug: https://bugs.launchpad.net/launchpad-registry/+bug/68181519:24
jcsacketti can't create circumstances to make this bug happen against dev in unittests, though the scripts attached to the bug do demonstrate it to exist on qastaging.19:25
=== salgado is now known as salgado-afk
=== matsubara is now known as matsubara-afk
jcsackettEdwinGrubbs: you can take me out of the reviewing thing. after speaking with leonardr and creating a unit test that uses launchpadlib, i still can't create a test case that demonstrates this problem as expected. i'm going to take another look at it tomorrow.22:15
=== EdwinGrubbs changed the topic of #launchpad-reviews to: On call: jelmer, Edwin, benji || Reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
EdwinGrubbs jcsackett: ok, good luck22:15
jcsackettEdwinGrubbs: i'm hoping fresh eyes tomorrow will be sufficient luck. but thanks. :-)22:16
james_whi, could someone take a look at https://code.edge.launchpad.net/~james-w/launchpad/export-specification-bug-links/+merge/42426 ?22:23

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