[06:05] trivial review for someone: https://code.edge.launchpad.net/~thumper/launchpad/vcs-imports-permission-review/+merge/25867 === 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 [13:49] intellectronica: hi. is there anything I need to do for having this branch landed ? https://code.edge.launchpad.net/~adiroiban/launchpad/bug-570899/+merge/25443 [13:53] adiroiban: no, i'll submit it for tests and landing on your behalf [15:21] intellectronica: i have a long (850 lines) but hopefully stimulating branch for you to review [15:22] https://code.edge.launchpad.net/~leonardr/lazr.restful/representation-cache/+merge/25895 [15:22] leonardr: cool. let me just finish a smaller branch i've started and i'll do yours [15:22] great [15:22] leonardr: also, can i interested in reviewing a (much smaller) branch of mine? [15:23] intellectronica, sure [15:23] leonardr: cool, let me just create an mp [15:28] leonardr: https://code.edge.launchpad.net/~intellectronica/launchpad/expectations-bug-556499-model/+merge/25896) [15:43] leonardr: very nice improvement. looks good to me. r=me. [15:43] leonardr: 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] Now, 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:44] (looks nice to me too :-) ) === salgado is now known as salgado-lunch [15:55] gary: thinking about your comment [15:55] cool [16:00] gary, i'm not sure what the benefit would be [16:01] also, if there are redacted fields we _cannot_ calculate an unredacted cache due to the security policy [16:05] leonardr: 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 tha [16:05] creating the JSON. [16:05] Also, I'm skeptical of "cannot"; isn't it just a matter of doing the usual work with an unproxied object? [16:07] yes, we would have to strip the proxy [16:10] ok, i see what you're saying. we would cache it all the time, whether we were sending a redacted version or not [16:10] right [16:11] i could certainly do that in a future branch. do you know of launchpad objects that typically have redacted fields? [16:13] bac 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] private [16:14] if an object's url contains private information, a link to that url would be redacted [16:14] so, that's an example? [16:14] but i don't know of any specific launchpad object that does that. it's something to look for [16:15] bugs that are marked as security issues [16:15] private projects [16:15] private teams [16:15] private bugs [16:15] so anything that links to those objects might end up redacted [16:16] (and there's more coming, if I understand correctly) [16:16] right [16:17] ok, let's get the basic cache working, make sure it improves performance in real situations, and then i'll work on that [16:17] cool, makes sense [16:21] danilos: 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:44] intellectronica: r=me, sorry for the delay [16:44] leonardr: thanks! === matsubara is now known as matsubara-lunch === jtv1 is now known as jtv [17:18] intellectronica, are you still reviewing? [17:18] rockstar: yeah. got my review? [17:18] any questions? [17:19] intellectronica, do I owe you a review? [17:19] i can't start on a new branch, though [17:19] rockstar: no, but i reviewed a branch of yours and requested a change [17:19] intellectronica, oh, you did? [17:20] intellectronica, where am I using an inline javascript event handler? [17:20] rockstar: onclick="return somethingSeomthing..." [17:20] intellectronica, oh, that's an artifact of old code. I just moved it, and I'm going to YUI-ize that soon. === 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 [17:21] intellectronica, 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] rockstar: ok, if you're aware of it and have plans to imrpvoe it later i'm fine with it landing like this [17:21] intellectronica, I have a branch right now that entirely re-does the markup of the branch index page in general. [17:22] rockstar: cool. make a comment to that effect in the mp and i'll approve it === salgado-lunch is now known as salgado [17:22] * intellectronica sheds a tear as he ends his last ever on call review shift [17:23] intellectronica, done. [17:23] intellectronica, is this your last week? [17:23] rockstar: it is [17:29] intellectronica, :'( === 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