/srv/irclogs.ubuntu.com/2010/05/24/#launchpad-reviews.txt

thumpertrivial review for someone: https://code.edge.launchpad.net/~thumper/launchpad/vcs-imports-permission-review/+merge/2586706:05
=== intellectronica changed the topic of #launchpad-reviews to: On Call: intellectronica || reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.edge.launchpad.net/launchpad/+activereviews
adiroibanintellectronica: hi. is there anything I need to do for having this branch landed ? https://code.edge.launchpad.net/~adiroiban/launchpad/bug-570899/+merge/2544313:49
intellectronicaadiroiban: no, i'll submit it for tests and landing on your behalf13:53
leonardrintellectronica: i have a long (850 lines) but hopefully stimulating branch for you to review15:21
leonardrhttps://code.edge.launchpad.net/~leonardr/lazr.restful/representation-cache/+merge/2589515:22
intellectronicaleonardr: cool. let me just finish a smaller branch i've started and i'll do yours15:22
leonardrgreat15:22
intellectronicaleonardr: also, can i interested in reviewing a (much smaller) branch of mine?15:22
leonardrintellectronica, sure15:23
intellectronicaleonardr: cool, let me just create an mp15:23
intellectronicaleonardr: https://code.edge.launchpad.net/~intellectronica/launchpad/expectations-bug-556499-model/+merge/25896)15:28
intellectronicaleonardr: very nice improvement. looks good to me. r=me.15:43
gary_posterleonardr: in your branch, when there is no cache, did you contemplate always generating it, even if there are redacted fields?  Example: if no cache, generate dict of the entire non-redacted version; else if cache and redacted fields, parse out cache to dict; else return cache.  (Now we have a non-redacted dict, if we are still here.)15:43
gary_posterNow, redact dict, turn into JSON, and return.  There are variations of that, some of which might be better, but I imagine you get the drift.15:43
gary_poster(looks nice to me too :-) )15:44
=== salgado is now known as salgado-lunch
leonardrgary: thinking about your comment15:55
gary_postercool15:55
leonardrgary, i'm not sure what the benefit would be16:00
leonardralso, if there are redacted fields we _cannot_ calculate an unredacted cache due to the security policy16:01
gary_posterleonardr: the goal would be to create a source for further cache hits.  This could be particularly important for objects that frequently have one or more fields redacted.  In that case, the cache would rarely or, in the worst case, never be filled (and therefore never or rarely used).  Since DB access is the main expense, you discovered, I strongly suspect that loading JSON and redacting will be significantly cheaper tha16:05
gary_postercreating the JSON.16:05
gary_posterAlso, I'm skeptical of "cannot"; isn't it just a matter of doing the usual work with an unproxied object?16:05
leonardryes, we would have to strip the proxy16:07
leonardrok, i see what you're saying. we would cache it all the time, whether we were sending a redacted version or not16:10
gary_posterright16:10
leonardri could certainly do that in a future branch. do you know of launchpad objects that typically have redacted fields?16:11
gary_posterbac would probably know, but he's out.  My first guess: anything private, or (perhaps more interesting, perhaps not) anything referring to something provate.16:13
gary_posterprivate16:13
leonardrif an object's url contains private information, a link to that url would be redacted16:14
gary_posterso, that's an example?16:14
leonardrbut i don't know of any specific launchpad object that does that. it's something to look for16:14
gary_posterbugs that are marked as security issues16:15
gary_posterprivate projects16:15
gary_posterprivate teams16:15
gary_posterprivate bugs16:15
leonardrso anything that links to those objects might end up redacted16:15
gary_poster(and there's more coming, if I understand correctly)16:16
gary_posterright16:16
leonardrok, let's get the basic cache working, make sure it improves performance in real situations, and then i'll work on that16:17
gary_postercool, makes sense16:17
adiroibandanilos: I have added a comment for bug 583979 . Maybe we can have the pre-implementation chat now. What do say ? Do you have time?16:21
leonardrintellectronica: r=me, sorry for the delay16:44
intellectronicaleonardr: thanks!16:44
=== matsubara is now known as matsubara-lunch
=== jtv1 is now known as jtv
rockstarintellectronica, are you still reviewing?17:18
intellectronicarockstar: yeah. got my review?17:18
intellectronicaany questions?17:18
rockstarintellectronica, do I owe you a review?17:19
intellectronicai can't start on a new branch, though17:19
intellectronicarockstar: no, but i reviewed a branch of yours and requested a change17:19
rockstarintellectronica, oh, you did?17:19
rockstarintellectronica, where am I using an inline javascript event handler?17:20
intellectronicarockstar: onclick="return somethingSeomthing..."17:20
rockstarintellectronica, oh, that's an artifact of old code.  I just moved it, and I'm going to YUI-ize that soon.17:20
=== intellectronica changed the topic of #launchpad-reviews to: On Call: - || reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.edge.launchpad.net/launchpad/+activereviews
rockstarintellectronica, I'd move to not make any changes to that in this specific branch, but I'm happy to file a bug about it.17:21
intellectronicarockstar: ok, if you're aware of it and have plans to imrpvoe it later i'm fine with it landing like this17:21
rockstarintellectronica, I have a branch right now that entirely re-does the markup of the branch index page in general.17:21
intellectronicarockstar: cool. make a comment to that effect in the mp and i'll approve it17:22
=== salgado-lunch is now known as salgado
* intellectronica sheds a tear as he ends his last ever on call review shift17:22
rockstarintellectronica, done.17:23
rockstarintellectronica, is this your last week?17:23
intellectronicarockstar: it is17:23
rockstarintellectronica, :'(17:29
=== deryck is now known as deryck[lunch]
=== gary_poster is now known as gary-lunch
=== matsubara-lunch is now known as matsubara
=== deryck[lunch] is now known as deryck
=== Ursinha is now known as Ursinha-lunch
=== gary-lunch is now known as gary_poster
=== Ursinha-lunch is now known as Ursinha
=== sinzui changed the topic of #launchpad-reviews to: On Call: - || reviewing: - || queue: [sinzui] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.edge.launchpad.net/launchpad/+activereviews
=== matsubara is now known as matsubara-afk
=== salgado is now known as salgado-afk

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