=== StevenK changed the topic of #launchpad-reviews to: On call: StevenK || reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews === Edwin is now known as Guest62855 === jtv changed the topic of #launchpad-reviews to: On call: StevenK, jtv || reviewing: -,- || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews === jtv is now known as jtv_ [06:55] * mwhudson waves https://code.edge.launchpad.net/~mwhudson/launchpad/move-SpecificationDepCandidatesVocabulary/+merge/33611 around if anyone is free [06:56] it's only waffer thin [07:04] mwhudson: 613 lines is waffer thin? :-) [07:04] StevenK: it's mostly just moving code around [07:08] mwhudson: It looks fine to me, but I'd also need thumper to look at it, and I think he's afk, so you can beg jtv_ if you'd like to land it soonish [07:08] Do I hear a grovel approaching? [07:08] jtv_: if you could take a look === jtv_ is now known as jtv [07:08] i'm not in a massive hurry [07:09] mwhudson: btw if you want a review, do try naming the OCRs so they know there's customers! [07:09] mwhudson: I'll take it. [07:09] StevenK: I worked through the overnight backlog. [07:09] Forgot to update the topic though. [07:10] On call: StevenK, jtv || reviewing: -,mwhudson || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews [07:11] I mean… === jtv changed the topic of #launchpad-reviews to: On call: StevenK, jtv || reviewing: -,mwhudson || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews [07:12] jtv: i never know who's on call, even if it says so in the /topic :-) [07:12] jtv: thanks a lot [07:26] mwhudson: why is the copyright on lib/lp/blueprints/vocabularies/configure.zcml dated 2009? [07:28] jtv: you get one guess [07:28] "I copied it from a file that said 2009"? [07:28] jtv: bingo [07:28] fixed [07:29] What do I win? [07:29] jtv: are you going to UDS-N? [07:29] No [07:29] mm [07:29] will 'a beverage next time we meet' do? [07:29] absolutely. [07:29] deal [07:29] *grin* [07:31] jtv: are you going to be done soon? [07:31] mwhudson: _filter_specs could do with a brief docstring. [07:31] mwhudson: I think so, yes [07:31] don't want to rush you, just want to know if to hang on here for another few minutes [07:32] mwhudson: won't be long. [07:32] ok [07:32] jtv: yes, i wonder what that function does... [07:33] In _doSearch, you may want to use "%(query)s, %(query)s, %(query)s" % {'query': quoted_query} [07:34] jtv: http://pastebin.ubuntu.com/483286/ [07:34] mwhudson: Just a formality. Its name also doesn't follow the guidelines, and the code is mis-formatted… I'm not planning to be too difficult about code you only moved though. [07:34] jtv: i don't want to touch the code [07:35] it will probably all get thrown away in the next branch anyway [07:35] mwhudson: that's actually helpful, thanks. [07:36] jtv: sorry for not saying so in the merge proposal then [07:39] mwhudson: what I don't get is… I _think_ this is code you're moving, but I only see it added. Aren't you also removing it somewhere else? [07:41] jtv: haha, it's _supposed_ to be removed from dbobjects [07:42] jtv: but clearly that was a different branch :( [07:42] jtv: need to run for a bus, can you comment on the mp and i'll sort it tomorrow [07:42] OK [07:43] actually... [07:43] pushing a fix [07:43] get that bus! [07:43] but now running === StevenK changed the topic of #launchpad-reviews to: On call: jtv || reviewing: mwhudson || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews [08:09] StevenK: bowing out? Good night then! [08:10] jtv: From OCR at least :-) [08:10] ah ok [08:10] jtv: Going to be in and out until the call, so no point people pinging me if I'm afk === Guest17053 is now known as jelmer === jtv 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 [10:49] lifeless: or maybe this is something you can approve for CP? https://code.launchpad.net/~jtv/launchpad/bug-623865/+merge/33617 [10:49] (it can wait for danilo to come back, but I'm eager to shave off a few more seconds :) === jelmer is now known as Guest61071 === Guest61071 is now known as jelmer === jelmer 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 === danilo_ is now known as danilos === danilos is now known as danilo === danilo is now known as danilos === mrevell is now known as mrevell-lunch === matsubara-afk is now known as matsubara [13:23] bigjools, reviewing your big branch... === mrevell-lunch is now known as mrevell [13:43] hi jelmer, may i get a review? [13:43] bac: Hi! [13:43] bac: Yes, of course. [13:44] jelmer: thanks. https://code.edge.launchpad.net/~bac/launchpad/bug-618148/+merge/33600 === bac changed the topic of #launchpad-reviews to: On call: jelmer || reviewing: - || queue: [bac] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews [13:50] jml: it's WIP [13:50] so don't [13:51] bigjools, too late. [13:52] bigjools, it sucks a little that I couldn't have found that out over email. [13:52] jml: the status is WIP! [13:52] bigjools, not mentioned in the email [13:52] assuming you're looking at my soyuz-enums branch? [13:52] bigjools, yes, I was. [13:52] I created it with the "ready for review" unchecked [13:52] so if it's sending email, that's a bug [13:53] bigjools, surely. [13:53] in any case I was going to merge it rs=whoevcer [13:53] since it's a purely mechanical change [13:54] I'm sorry that you started reviewing it :( [13:54] fair enough. [13:54] that's ok [13:54] I finished reviewing it too. [13:54] !!!!!! [13:54] it's 5k lines! [13:54] 22 minutes ago. [13:54] it's not finished yet either :) [13:55] bigjools, yes, but it doesn't take very long to look at a changed import and decide that it's fundamentally sound :) [13:55] :) [13:55] jml: you can help me though if you have 5 mins [13:55] bigjools, I do. [13:55] I also have half a beef sandwich [13:57] jml: I've got one failure left [13:57] lp.services.scripts.tests.test_all_scripts.ScriptsTestCase.test_scripts [13:57] * bigjools pastes [13:58] jml: http://pastebin.ubuntu.com/483416/ [13:58] I hate Python. :( [13:58] there's 2 failures, but surprisingly to me the import at the bottom is one I added to get around circular imports elsewhere :/ [13:59] In Soviet Russia, Python hates you. [13:59] bigjools, perhaps that workaround is hurting now? [13:59] bigjools, Python hates me here in big society Britain. [13:59] jml: I dunno what else to do. It doesn't have any hearing on the other error though. [14:00] bigjools, is ALLOW_RELEASE_BUILDS in the wrong __all__, perhaps. [14:00] I'd love it if we actually had a big society :) [14:00] bigjools, Python would still hate me. [14:00] jml: ALLOW_RELEASE_BUILDS is in the right place [14:01] * jml fetches the branch. [14:02] I always forget if you separate your names with - or . [14:06] Does anyone want to give me a trivial for http://paste.ubuntu.com/483422/? I'll land it as part of lp:~allenap/launchpad/cache-experiment-roll-out. [14:06] oh, I see. [14:08] bigjools, test_all_scripts assembles one big error. That's confusing. [14:08] allenap, I can. What does the extra +f line do? [14:08] although arguably justifiable. [14:09] deryck: It includes the base-name of each file in the tags table. So if you search for a tag like "shipit.py", you'll get the file. Works nicely with Emacs, but I'm not sure about Vim. [14:09] jml: doesn't help me much :( [14:09] deryck: The --extra line might be better in my personal .ctags. [14:10] jml: I wonder how many of our scripts really need to be tested like this [14:10] allenap, doesn't sound contraversial, though. I've never used that, but we can drop it later if it doesn't play well with vim. [14:10] bigjools, it's a sanity check, that's all. [14:10] allenap, r=me [14:10] hmm. given that ./bin/py ./scripts/gina.py -h works, the failure seems bogus. let me try running the actual test locally. [14:12] deryck: Okay, thanks :) [14:12] jml: seems unnecessarily slow [14:13] we should do them all in test_scripts, or all in their own test cases [14:13] bigjools, gina -h, or the test? [14:13] jml: test_scripts I mean [14:13] it's duplicating tests, and Popen on zopeless scripts is not exactly quick :/ [14:13] bigjools, it's running every script, and each script is quite slow (just try running gina.py -h!) [14:13] my point. [14:13] bigjools, at the very least, the test could be rewritten to make one test case per script [14:14] that would make it interact more nicely with the test runner. === jelmer changed the topic of #launchpad-reviews to: On call: jelmer || reviewing: bac || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews [14:17] this test ensaddens me. [14:18] bigjools, there's precedent in lp.services.scripts.tests for marking a script as "known broken" because of circular imports. [14:19] jml: where? [14:19] bigjools, luckily, software is built on a common law system of jurisprudence, so I can recommend that we happily ignore it. [14:19] bigjools, lib/lp/services/scripts/tests/__init__.py [14:19] jml: the point is that this test is shit, it's failing unnecessarily. [14:19] yes. [14:19] the script works IRL [14:20] I wonder what's causing it to fail [14:20] I *think* the answer is that it's not using ./bin/py [14:20] interesting [14:20] "./bin/py cronscripts/ppa-generate-keys.py -h" *does* fail, however. [14:21] sigh [14:21] which reduces my confidence in the bin/py guess. [14:21] it fails w/o bin/py too [14:21] FPOS circular import shit [14:22] yes. [14:22] bac: Did you see StevenK's comment on your branch? [14:23] jelmer: i did not. /me assumed no one had looked at it. [14:23] * bac looks [14:23] jelmer: so, never mind. [14:24] bigjools, I'll keep trying to figure out why gina is failing. [14:24] jml: ok thank you. I'll do the same import trick on the other script too [14:25] after I fix bug 623859 anyway [14:25] <_mup_> Bug #623859: edge rollouts broke CSS on revno 11435 [14:29] that's the second edge rollout broken by CSS in two weeks. [14:29] what's causing them? [14:36] jml: Er, why is gina failing? [14:37] StevenK, that's the question. [14:37] jml: I have a branch ready to land that changes gina [14:37] StevenK, it's to do with bigjools's soyuz-enums branch [14:37] Ahh [14:37] huh? [14:38] jml: that bug is a missing future import for "with" [14:38] but the "with" has been around since revno 7xxx [14:38] bigjools, what? [14:38] bigjools, oh sorry, too many conversations :) [14:38] the bug above [14:38] :) [14:40] I quite like the new ec2 mail subjects, if I do say so myself. [14:41] * bigjools wouldn't know [14:41] bigjools, http://pastebin.ubuntu.com/483446/ makes test_all_scripts have one test per script [14:42] jml: I'll try it out in a sec [14:49] jml: jeebus, that test_scripts takes nearly 4 minutes to finish [14:49] trying out your patch now [14:52] hi henninge [14:52] henninge: where does your super import tool live? i'd like to reference it in the wiki. [14:54] jml: nice chance, it's good to see progress through the scripts. [14:54] still doesn't help me :) [14:54] bigjools, it helps me help you. [14:54] heh [14:56] jml: if I run bin/py gina/py it works, running it standalone doesn't [14:56] gina.py even [14:58] jml: argh I can see the problem [14:58] * bigjools fixes it [15:03] can someone approve this one-liner to restore edge rollouts please: https://code.edge.launchpad.net/~julian-edwards/launchpad/bug-623859/+merge/33640 === jelmer_ is now known as Guest3182 === Guest3182 is now known as jelmer [15:07] bigjools, r=me [15:08] thanks rockstar === jelmer is now known as Guest48768 === noodles775 changed the topic of #launchpad-reviews to: On call: jelmer || reviewing: bac || queue: [noodles775] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews [15:25] Hi Guest48768, if you've time, the MP is: https://code.edge.launchpad.net/~michael.nelson/launchpad/remove-shortlist-getPublishedReleases/+merge/33645 === EdwinGrubbs changed the topic of #launchpad-reviews to: On call: jelmer, Edwin || reviewing: bac || queue: [noodles775] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews [15:28] noodles775: Yep, sure - will have a look. === Guest48768 is now known as jelmer === jelmer changed the topic of #launchpad-reviews to: On call: jelmer, Edwin || reviewing: noodles775, - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews === matsubara is now known as matsubara-lunch [16:11] noodles775: r=me, thanks for the cleanups! [16:15] Thanks jelmer [16:23] deryck, do you have time to look at the changes I made to script permissions in https://code.edge.launchpad.net/~sinzui/launchpad/dsp-bug-counts-1/+merge/33257 ? I think it needs your (or gmb's) judicious opinion to land [16:24] sinzui, sure. Looking now.... [16:28] sinzui, so I'm combing the permissions now, since that's your main concern.... but one thought, do you need to keep the call to recalculateBugHeatCache in setHeat? Or is doing it in updateHeat enough now? [16:31] SetHeat is still being called on new task, dupe and new bug [16:31] Dup certainly needs to remain [16:32] ok, I think it's fine then. [16:33] hi EdwinGrubbs. i've got a MP that was reviewed by stevenk who is mentored by thumper. i'd really not like to wait until thumper re-appears to land it. would you mind reviewing/mentoring it? [16:36] sinzui, the permission changes seem pretty safe to me. Why do you hesitate with them? [16:37] I think it is odd to update distros [16:39] yeah, but it's only for heat. You're just worried that allowing update leads to other stuff later without us catching it? [16:42] sinzui, is that last statement of mine correct about your concern? ^^ [16:43] deryck, indeed I am paranoid [16:43] deryck, I am confident of our scripts [16:44] sinzui, ok. I think your changes are fine. I see your concern, but I think the cost of the paranoia is quite high, and there are other checks to ensure we don't do something we shouldn't here. [16:44] indeed [16:44] sinzui, so r=me. Updating MP now... [16:44] thanks [16:45] np [16:49] bac: sure, what's the url for the mp? [16:50] EdwinGrubbs: https://code.edge.launchpad.net/~bac/launchpad/bug-618148/+merge/33600 [16:50] EdwinGrubbs: i'm going to lunch now, though [16:50] that's fine [16:54] jelmer/Edwin: is that an open review slot I see? how about we fill it with https://code.edge.launchpad.net/~benji/launchpad/check-in-wadl/+merge/33661 [17:01] benji: Yes, though I should note I have some concerns about your music suggestions... === jelmer changed the topic of #launchpad-reviews to: On call: jelmer, Edwin || reviewing: benji, - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews [17:02] heh [17:03] allenap, I've finally made changes based on your review in https://code.edge.launchpad.net/~gmb/launchpad/dont-piss-the-losas-off-bug-596877/+merge/30186; if you could check that I'm doing TRT that would be great. [17:03] * allenap looks [17:04] benji: buildout.cfg has a reference to your homedir :-) [17:05] jelmer: oh yeah, I was using a not-publicly-available version of lazr.restful; that should affect anything; I'll remove it and double-check [17:06] s/should/should not/ [17:06] benji: Thanks [17:07] benji: Your MP description mentions tests that compare the stored data to freshly generated data; I can't find them in the branch though, have they already landed? === matsubara-lunch is now known as matsubara [17:09] jelmer: lib/canonical/launchpad/ftests/test_checked_in_wadl.py [17:10] allenap, http://bazaar.launchpad.net/~gmb/launchpad/dont-piss-the-losas-off-bug-596877/revision/11154 Specifically; I'll paste a diff that makes it a bit more obvious. [17:12] benji: Sorry, my bad. I just noticed the diff on lp has been truncated. [17:12] yeah, it was a monster [17:12] (because of the new, generated files) [17:19] jelmer: the now-without-a-homedir-reference version has been pushed [17:23] benji: is there a particular reason this needs a newer lazr.restful? [17:24] gmb: I've commented. Looks good :) [17:24] allenap, Ta. [17:24] jelmer: yep; the WADL generated by the older lazr.restful wasn't deterministic, so the tests would fail intermittently [17:25] allenap, I'll make those changes. Can you give it an r= so that I can land it when I'm done? [17:26] gmb: Sure :) [17:29] Ta. === Ursinha is now known as Ursinha-lunch [17:38] allenap, Although, I don't think the last change you suggest is necessary TRT to do; are you okay if I leave that as-is? I don't see us changing that permission (and even if we did, our tests would pick it up). [17:39] gmb: Yeah I'm happy :) [17:39] Kewl [17:42] * benji grabs lunch === benji is now known as benji-lunch [17:44] do we allow using the "assert" statement in unit tests as part of the assertions of an individual test? It looks wrong to me, but the style guide doesn't forbid it. [17:45] jelmer, I can't answer that without more context (I'm inclined to agree it's not right, but I'd like to see an example) [17:49] gmb: http://bazaar.launchpad.net/~benji/launchpad/check-in-wadl/annotate/head:/lib/canonical/launchpad/ftests/test_checked_in_wadl.py [17:49] gmb: line 87 [17:50] * gmb looks [17:50] jelmer and gmb: in that case it was an assert that the *code* of the test is correct, much like an assert in "normal" code [17:51] I don't really mind changing it to a test assertion but my intent was to communicate that the assert wasn't about the test but about the workings of the test itself [17:52] benji-lunch, jelmer: Yeah, that's one that's purely reviewer discretion. Basically, whatever jelmer prefers to see ;) [17:53] benji-lunch: I hadn't looked at it that way; makes sense. [17:53] gmb: Thanks for having a look. [17:53] np === salgado is now known as salgado-lunch [18:16] abentley: did you notice your mp has conflicts? [18:16] jelmer, yes. === jelmer changed the topic of #launchpad-reviews to: On call: Edwin || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews [18:17] abentley: ok, just checking === benji-lunch is now known as benji === Ursinha-lunch is now known as Ursinha === sinzui changed the topic of #launchpad-reviews to: On call: Edwin || queue: [sinzui] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews [18:48] EdwinGrubbs, I have a branch ready for review if you have time today. === EdwinGrubbs changed the topic of #launchpad-reviews to: On call: Edwin || reviewing: bac || queue: [sinzui] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews [18:49] sinzui: I can do it after I finish bac's branch. [18:49] thanks [19:00] bac: it looks like your field.description.replace('pillar', 'project') code is actually changing the IServiceUsage interface, which would be bad if that is ever used for projectgroups and distros. [19:01] EdwinGrubbs: really? [19:01] yes, would be bad [19:02] bac: you can use pdb to check that, but I believe you would want to use the copy_field() function to get a field you can modify. [19:02] EdwinGrubbs: i will look in pdb now [19:08] bac: it doesn't look like you pushed up the latest changes to your branch. After you're done looking at the field, can you do that? [19:09] bac: BTW, I also think that you should change field_names into a @property, so that it is easier to override that if necessary. Right now, setUpFields would overwrite anything that a subclass tried to add to field_names. [19:10] EdwinGrubbs: ok [19:14] rockstar, I can has review? https://code.edge.launchpad.net/~abentley/launchpad/no-chroot-builder/+merge/33674 [19:28] EdwinGrubbs: you were correct about the interface description being modified in place. good catch. [19:32] abentley: with that change it looks like sudo doesn't need to be installed in the chroot anymore? [19:32] EdwinGrubbs: i've made those changes and updated the MP [19:33] james_w, good catch. I'll confirm that. [19:33] abentley: though maybe the pbuilder installation of build-deps needs it [19:34] I can't see that it does here, but I don't know about all series [19:34] I think it expects to be run as root, so we should be ok [19:35] james_w, and because the satisfydepends script's requirements aren't considered, the pbuilder package will not have a dependency on sudo... [19:35] right, but I don't think that it uses it [19:36] james_w, not on lucid, at least. [19:38] james_w, I'd like to add a "--safe" option to "dailydeb" that will make it choke on "run" and anything else that could produce arbitrary code execution. What do you think? [19:39] abentley: at execution time? [19:39] james_w, yes. [19:39] abentley: belt and braces? [19:40] as I added a way for LP to reject it at parse time as well [19:40] james_w, exactly. [19:40] I'm fine with that [19:40] james_w, ? we already reject it at parse time. [19:42] abentley: yes, but this was at rockstar's request, to do it in a cleaner fashion [19:42] james_w, oh, cool. [19:43] not meaning to say that you didn't, just making sure it was in addition, not instead of [19:43] --safe will be easy to add though [19:43] you can file a bug and I will get to it eventually, or you could add it easily if you like [19:44] bac: r=me [19:46] thanks EdwinGrubbs [19:50] james_w, I would prefer a list of permitted instructions instead of a list of forbidden instructions. You fail safe that way. === salgado-lunch is now known as salgado [19:52] abentley: true, but requires more work for LP :-) [19:52] easy enough to change [19:52] EdwinGrubbs: could i get you to mark the MP? [19:52] abentley: bzr says that sudo has never been used by a satisfydepends script [19:53] bac: sure, I was just writing up some comments for Steve also. [19:53] EdwinGrubbs: great [19:54] james_w, you mean, except for satisfydepends-experimental? [19:55] abentley: in a comment? [19:55] james_w, oh, didn't see that. Cool. [20:08] james_w, builder trunk has a test failure: http://pastebin.ubuntu.com/483595/ [20:09] abentley: hmm, that depends on the version of python-debian apparently [20:09] abentley: maybe make it .startswith, or generate that exception ourselves and put it in to the string we are asserting against? [20:11] james_w, if that message is externally-generated, I think it makes sense to leave it alone. [20:12] sinzui: do you want me to review official-services or mailing-list-subscribers-cache first? [20:12] well, the test was to check that it included the str(e) of the exception from python-debian, but it's brittle as written. I don't think it's too important, so either way of avoiding hardcoding it is fine by me. [20:12] official-services plaase [20:46] EdwinGrubbs: time for a super-easy one? [20:47] sinzui: or, perhaps you could look at it? https://code.edge.launchpad.net/~bac/launchpad/bug-429248/+merge/33684 [20:47] that would be better, since I should review sinzui's first, although he doesn't seem to be around. [20:48] I am [20:49] EdwinGrubbs, oh, I forgot to include your name in my answer. official-services is the one I really want reviewed first [20:49] oh [20:50] sinzui: can you glance at my branch? [20:50] yep [20:50] thanks [20:51] we could trade, I have a trival fix too [20:51] trivial cache [20:51] sinzui: gladly [20:52] bac: https://code.launchpad.net/~sinzui/launchpad/mailing-list-subscribers-cache-0/+merge/33681 [20:53] bac: r=me [20:53] sinzui: that's not fair. i'm still reading your description. [20:53] the diff is shorter too [20:56] only b/c i'm so conscientious and fixed the lint stuff [21:35] jelmer: I just noted on https://code.edge.launchpad.net/~benji/launchpad/check-in-wadl/+merge/33661 that your two review requests have been done. [21:35] mmm, I think jelmer's not home any more [21:38] sinzui: I don't see why you create the selected_template property that returns self.template instead of just turning self.template into a property. That should eliminate the need to define render(). [21:39] EdwinGrubbs, yes. I considered that. I decided that most engineers are not aware of that. That take render for granted. I decided to create selected_template to be clear that something special is going on [21:39] s/that take/they take/ [21:40] EdwinGrubbs, by example, when XRDS breaks the person page, I am the person who has to explain how...it is not obvious that render() is redefined [21:42] sinzui: ok, then I think you should rename self.template, so that programmers who are aware of that aren't confused that it is not being used implicitly by render(). [21:42] sinzui: I can't remember what XRDS stands for. [21:42] me neither [21:43] self.template cannot be a property (I tried it). The call modifies the base class in an od way [21:43] "eXtensible Resource Descriptor Sequence"? [21:44] EdwinGrubbs, the choice was to modify render() to do the work quietly or try a more explicit approach [21:45] EdwinGrubbs, If you really want, I can make render do the work and add comments warning future developers to that they need to understand the base class [21:47] sinzui: no, I don't want you to move the logic into render(). It is just suprising to see selected_template used like self.template, and self.template not used like template normallly is. [21:47] * sinzui nods [21:48] EdwinGrubbs: are you going to have time for another review today (it's pretty big) or should i just hunt someone down tomorrow? [21:48] jcsackett: I might be able to start on it today. [21:48] template cannot be a property so I chose selected template. I can add a comment about the decision in selected_template [21:48] EdwinGrubbs: okay, i'll add myself to the queue. === jcsackett changed the topic of #launchpad-reviews to: On call: Edwin || reviewing: bac || queue: [sinzui, jcsackett] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews [21:49] sinzui: really? Why can't template be a property? [21:50] EdwinGrubbs: https://code.edge.launchpad.net/~jcsackett/launchpad/deprecate-official_malone/+merge/33694 [21:50] Calling ViewPageTemplateFile does magic [21:50] if you can get to it, thanks in advance. :-) [21:50] EdwinGrubbs, ^ [21:51] Lots of tests broken when made a property of it. It seemed like the obvious course at the time. And a nasty surprise afterwards === benji changed the topic of #launchpad-reviews to: On call: Edwin || reviewing: bac || queue: [sinzui, jcsackett, benji] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews [22:07] sinzui: I was confused by what ViewPageTemplateFile would be doing. I tried looking at the source code, which is a mess, so I just made the changes to see what error it would give. All the tests passed with SearchQuestionsView.template as a property. [22:08] I am confused [22:08] I will certainly do that if all answers passes [22:30] bac: ping [22:30] EdwinGrubbs: yes? [22:31] bac: am I remembering correctly that all lists should be formatted vertically? Not just the recent import statement change. [22:31] EdwinGrubbs: yes === EdwinGrubbs changed the topic of #launchpad-reviews to: On call: - || reviewing: bac || queue: [sinzui, jcsackett, benji] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews [22:41] sinzui: review sent [22:41] Thanks EdwinGrubbs === benji changed the topic of #launchpad-reviews to: On call: - || reviewing: bac || queue: [sinzui, jcsackett] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews === Ursinha is now known as Ursinha-afk === matsubara is now known as matsubara-afk === Guest83593 is now known as jelmer