/srv/irclogs.ubuntu.com/2010/08/25/#launchpad-reviews.txt

=== 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_
* mwhudson waves https://code.edge.launchpad.net/~mwhudson/launchpad/move-SpecificationDepCandidatesVocabulary/+merge/33611 around if anyone is free06:55
mwhudsonit's only waffer thin06:56
StevenKmwhudson: 613 lines is waffer thin? :-)07:04
mwhudsonStevenK: it's mostly just moving code around07:04
StevenKmwhudson: 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 soonish07:08
jtv_Do I hear a grovel approaching?07:08
mwhudsonjtv_: if you could take a look07:08
=== jtv_ is now known as jtv
mwhudsoni'm not in a massive hurry07:08
jtvmwhudson: btw if you want a review, do try naming the OCRs so they know there's customers!07:09
jtvmwhudson: I'll take it.07:09
jtvStevenK: I worked through the overnight backlog.07:09
jtvForgot to update the topic though.07:09
jtvOn call: StevenK, jtv || reviewing: -,mwhudson || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews07:10
jtvI mean…07:11
=== 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
mwhudsonjtv: i never know who's on call, even if it says so in the /topic :-)07:12
mwhudsonjtv: thanks a lot07:12
jtvmwhudson: why is the copyright on lib/lp/blueprints/vocabularies/configure.zcml dated 2009?07:26
mwhudsonjtv: you get one guess07:28
jtv"I copied it from a file that said 2009"?07:28
mwhudsonjtv: bingo07:28
mwhudsonfixed07:28
jtvWhat do I win?07:29
mwhudsonjtv: are you going to UDS-N?07:29
jtvNo07:29
mwhudsonmm07:29
mwhudsonwill 'a beverage next time we meet' do?07:29
jtvabsolutely.07:29
mwhudsondeal07:29
jtv*grin*07:29
mwhudsonjtv: are you going to be done soon?07:31
jtvmwhudson: _filter_specs could do with a brief docstring.07:31
jtvmwhudson: I think so, yes07:31
mwhudsondon't want to rush you, just want to know if to hang on here for another few minutes07:31
jtvmwhudson: won't be long.07:32
mwhudsonok07:32
mwhudsonjtv: yes, i wonder what that function does...07:32
jtvIn _doSearch, you may want to use "%(query)s, %(query)s, %(query)s" % {'query': quoted_query}07:33
mwhudsonjtv: http://pastebin.ubuntu.com/483286/07:34
jtvmwhudson: 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
mwhudsonjtv: i don't want to touch the code07:34
mwhudsonit will probably all get thrown away in the next branch anyway07:35
jtvmwhudson: that's actually helpful, thanks.07:35
mwhudsonjtv: sorry for not saying so in the merge proposal then07:36
jtvmwhudson: 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:39
mwhudsonjtv: haha, it's _supposed_ to be removed from dbobjects07:41
mwhudsonjtv: but clearly that was a different branch :(07:42
mwhudsonjtv: need to run for a bus, can you comment on the mp and i'll sort it tomorrow07:42
jtvOK07:42
mwhudsonactually...07:43
mwhudsonpushing a fix07:43
jtvget that bus!07:43
mwhudsonbut now running07:43
=== 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
jtvStevenK: bowing out?  Good night then!08:09
StevenKjtv: From OCR at least :-)08:10
jtvah ok08:10
StevenKjtv: Going to be in and out until the call, so no point people pinging me if I'm afk08:10
=== 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
jtvlifeless: or maybe this is something you can approve for CP?  https://code.launchpad.net/~jtv/launchpad/bug-623865/+merge/3361710:49
jtv(it can wait for danilo to come back, but I'm eager to shave off a few more seconds :)10:49
=== 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
jmlbigjools, reviewing your big branch...13:23
=== mrevell-lunch is now known as mrevell
bachi jelmer, may i get a review?13:43
jelmerbac: Hi!13:43
jelmerbac: Yes, of course.13:43
bacjelmer: thanks.  https://code.edge.launchpad.net/~bac/launchpad/bug-618148/+merge/3360013:44
=== 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
bigjoolsjml: it's WIP13:50
bigjoolsso don't13:50
jmlbigjools, too late.13:51
jmlbigjools, it sucks a little that I couldn't have found that out over email.13:52
bigjoolsjml: the status is WIP!13:52
jmlbigjools, not mentioned in the email13:52
bigjoolsassuming you're looking at my soyuz-enums branch?13:52
jmlbigjools, yes, I was.13:52
bigjoolsI created it with the "ready for review" unchecked13:52
bigjoolsso if it's sending email, that's a bug13:52
jmlbigjools, surely.13:53
bigjoolsin any case I was going to merge it rs=whoevcer13:53
bigjoolssince it's a purely mechanical change13:53
bigjoolsI'm sorry that you started reviewing it :(13:54
jmlfair enough.13:54
jmlthat's ok13:54
jmlI finished reviewing it too.13:54
bigjools!!!!!!13:54
bigjoolsit's 5k lines!13:54
jml22 minutes ago.13:54
bigjoolsit's not finished yet either :)13:54
jmlbigjools, yes, but it doesn't take very long to look at a changed import and decide that it's fundamentally sound :)13:55
bigjools:)13:55
bigjoolsjml: you can help me though if you have 5 mins13:55
jmlbigjools, I do.13:55
jmlI also have half a beef sandwich13:55
bigjoolsjml: I've got one failure left13:57
bigjoolslp.services.scripts.tests.test_all_scripts.ScriptsTestCase.test_scripts13:57
* bigjools pastes13:57
bigjoolsjml: http://pastebin.ubuntu.com/483416/13:58
jmlI hate Python. :(13:58
bigjoolsthere's 2 failures, but surprisingly to me the import at the bottom is one I added to get around circular imports elsewhere :/13:58
bigjoolsIn Soviet Russia, Python hates you.13:59
jmlbigjools, perhaps that workaround is hurting now?13:59
jmlbigjools, Python hates me here in big society Britain.13:59
bigjoolsjml: I dunno what else to do.  It doesn't have any hearing on the other error though.13:59
jmlbigjools, is ALLOW_RELEASE_BUILDS in the wrong __all__, perhaps.14:00
bigjoolsI'd love it if we actually had a big society :)14:00
jmlbigjools, Python would still hate me.14:00
bigjoolsjml: ALLOW_RELEASE_BUILDS is in the right place14:00
* jml fetches the branch.14:01
jmlI always forget if you separate your names with - or .14:02
allenapDoes 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
jmloh, I see.14:06
jmlbigjools, test_all_scripts assembles one big error. That's confusing.14:08
deryckallenap, I can.  What does the extra +f line do?14:08
jmlalthough arguably justifiable.14:08
allenapderyck: 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
bigjoolsjml: doesn't help me much :(14:09
allenapderyck: The --extra line might be better in my personal .ctags.14:09
bigjoolsjml: I wonder how many of our scripts really need to be tested like this14:10
deryckallenap, 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
jmlbigjools, it's a sanity check, that's all.14:10
deryckallenap, r=me14:10
jmlhmm. given that ./bin/py ./scripts/gina.py -h works, the failure seems bogus. let me try running the actual test locally.14:10
allenapderyck: Okay, thanks :)14:12
bigjoolsjml: seems unnecessarily slow14:12
bigjoolswe should do them all in test_scripts, or all in their own test cases14:13
jmlbigjools, gina -h, or the test?14:13
bigjoolsjml: test_scripts I mean14:13
bigjoolsit's duplicating tests, and Popen on zopeless scripts is not exactly quick :/14:13
jmlbigjools, it's running every script, and each script is quite slow (just try running gina.py -h!)14:13
bigjoolsmy point.14:13
jmlbigjools, at the very least, the test could be rewritten to make one test case per script14:13
jmlthat would make it interact more nicely with the test runner.14:14
=== 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
jmlthis test ensaddens me.14:17
jmlbigjools, there's precedent in lp.services.scripts.tests for marking a script as "known broken" because of circular imports.14:18
bigjoolsjml: where?14:19
jmlbigjools, luckily, software is built on a common law system of jurisprudence, so I can recommend that we happily ignore it.14:19
jmlbigjools, lib/lp/services/scripts/tests/__init__.py14:19
bigjoolsjml: the point is that this test is shit, it's failing unnecessarily.14:19
jmlyes.14:19
bigjoolsthe script works IRL14:19
jmlI wonder what's causing it to fail14:20
jmlI *think* the answer is that it's not using ./bin/py14:20
bigjoolsinteresting14:20
jml"./bin/py cronscripts/ppa-generate-keys.py -h" *does* fail, however.14:20
bigjoolssigh14:21
jmlwhich reduces my confidence in the bin/py guess.14:21
bigjoolsit fails w/o bin/py too14:21
bigjoolsFPOS circular import shit14:21
jmlyes.14:22
jelmerbac: Did you see StevenK's comment on your branch?14:22
bacjelmer: i did not.  /me assumed no one had looked at it.14:23
* bac looks14:23
bacjelmer: so, never mind.14:23
jmlbigjools, I'll keep trying to figure out why gina is failing.14:24
bigjoolsjml: ok thank you.  I'll do the same import trick on the other script too14:24
bigjoolsafter I fix bug 623859 anyway14:25
_mup_Bug #623859: edge rollouts broke CSS on revno 11435 <canonical-losa-lp> <Soyuz:In Progress by julian-edwards> <https://launchpad.net/bugs/623859>14:25
jmlthat's the second edge rollout broken by CSS in two weeks.14:29
jmlwhat's causing them?14:29
StevenKjml: Er, why is gina failing?14:36
jmlStevenK, that's the question.14:37
StevenKjml: I have a branch ready to land that changes gina14:37
jmlStevenK, it's to do with bigjools's soyuz-enums branch14:37
StevenKAhh14:37
bigjoolshuh?14:37
bigjoolsjml: that bug is a missing future import for "with"14:38
bigjoolsbut the "with" has been around since revno 7xxx14:38
jmlbigjools, what?14:38
jmlbigjools, oh sorry, too many conversations :)14:38
bigjoolsthe bug above14:38
bigjools:)14:38
jmlI quite like the new ec2 mail subjects, if I do say so myself.14:40
* bigjools wouldn't know14:41
jmlbigjools, http://pastebin.ubuntu.com/483446/ makes test_all_scripts have one test per script14:41
bigjoolsjml: I'll try it out in a sec14:42
bigjoolsjml: jeebus, that test_scripts takes nearly 4 minutes to finish14:49
bigjoolstrying out your patch now14:49
bachi henninge14:52
bachenninge: where does your super import tool live?  i'd like to reference it in the wiki.14:52
bigjoolsjml: nice chance, it's good to see progress through the scripts.14:54
bigjoolsstill doesn't help me :)14:54
jmlbigjools, it helps me help you.14:54
bigjoolsheh14:54
bigjoolsjml: if I run bin/py gina/py it works, running it standalone doesn't14:56
bigjoolsgina.py even14:56
bigjoolsjml: argh I can see the problem14:58
* bigjools fixes it14:58
bigjoolscan someone approve this one-liner to restore edge rollouts please: https://code.edge.launchpad.net/~julian-edwards/launchpad/bug-623859/+merge/3364015:03
=== jelmer_ is now known as Guest3182
=== Guest3182 is now known as jelmer
rockstarbigjools, r=me15:07
bigjoolsthanks rockstar15:08
=== 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
noodles775Hi Guest48768, if you've time, the MP is: https://code.edge.launchpad.net/~michael.nelson/launchpad/remove-shortlist-getPublishedReleases/+merge/3364515:25
=== 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
Guest48768noodles775: Yep, sure - will have a look.15:28
=== 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
jelmernoodles775: r=me, thanks for the cleanups!16:11
noodles775Thanks jelmer16:15
sinzuideryck, 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 land16:23
derycksinzui, sure.  Looking now....16:24
derycksinzui, 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:28
sinzuiSetHeat is still being called on new task, dupe and new bug16:31
sinzuiDup certainly needs to remain16:31
deryckok, I think it's fine then.16:32
bachi 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:33
derycksinzui, the permission changes seem pretty safe to me.  Why do you hesitate with them?16:36
sinzuiI think it is odd to update distros16:37
deryckyeah, but it's only for heat.  You're just worried that allowing update leads to other stuff later without us catching it?16:39
derycksinzui, is that last statement of mine correct about your concern? ^^16:42
sinzuideryck, indeed I am paranoid16:43
sinzuideryck, I am confident of our scripts16:43
derycksinzui, 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
sinzuiindeed16:44
derycksinzui, so r=me.  Updating MP now...16:44
sinzuithanks16:44
derycknp16:45
EdwinGrubbsbac: sure, what's the url for the mp?16:49
bacEdwinGrubbs: https://code.edge.launchpad.net/~bac/launchpad/bug-618148/+merge/3360016:50
bacEdwinGrubbs: i'm going to lunch now, though16:50
EdwinGrubbsthat's fine16:50
benjijelmer/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/3366116:54
jelmerbenji: Yes, though I should note I have some concerns about your music suggestions...17:01
=== 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
benjiheh17:02
gmballenap, 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 looks17:03
jelmerbenji: buildout.cfg has a reference to your homedir :-)17:04
benjijelmer: oh yeah, I was using a not-publicly-available version of lazr.restful; that should affect anything; I'll remove it and double-check17:05
benjis/should/should not/17:06
jelmerbenji: Thanks17:06
jelmerbenji: 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?17:07
=== matsubara-lunch is now known as matsubara
benjijelmer: lib/canonical/launchpad/ftests/test_checked_in_wadl.py17:09
gmballenap, 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:10
jelmerbenji: Sorry, my bad. I just noticed the diff on lp has been truncated.17:12
benjiyeah, it was a monster17:12
benji(because of the new, generated files)17:12
benjijelmer: the now-without-a-homedir-reference version has been pushed17:19
jelmerbenji: is there a particular reason this needs a newer lazr.restful?17:23
allenapgmb: I've commented. Looks good :)17:24
gmballenap, Ta.17:24
benjijelmer: yep; the WADL generated by the older lazr.restful wasn't deterministic, so the tests would fail intermittently17:24
gmballenap, I'll make those changes. Can you give it an r= so that I can land it when I'm done?17:25
allenapgmb: Sure :)17:26
gmbTa.17:29
=== Ursinha is now known as Ursinha-lunch
gmballenap, 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:38
allenapgmb: Yeah I'm happy :)17:39
gmbKewl17:39
* benji grabs lunch17:42
=== benji is now known as benji-lunch
jelmerdo 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:44
gmbjelmer, 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:45
jelmergmb: http://bazaar.launchpad.net/~benji/launchpad/check-in-wadl/annotate/head:/lib/canonical/launchpad/ftests/test_checked_in_wadl.py17:49
jelmergmb: line 8717:49
* gmb looks17:50
benji-lunchjelmer and gmb: in that case it was an assert that the *code* of the test is correct, much like an assert in "normal" code17:50
benji-lunchI 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 itself17:51
gmbbenji-lunch, jelmer: Yeah, that's one that's purely reviewer discretion. Basically, whatever jelmer prefers to see ;)17:52
jelmerbenji-lunch: I hadn't looked at it that way; makes sense.17:53
jelmergmb: Thanks for having a look.17:53
gmbnp17:53
=== salgado is now known as salgado-lunch
jelmerabentley: did you notice your mp has conflicts?18:16
abentleyjelmer, yes.18:16
=== 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
jelmerabentley: ok, just checking18:17
=== 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
sinzuiEdwinGrubbs, I have a branch ready for review if you have time today.18:48
=== 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
EdwinGrubbssinzui: I can do it after I finish bac's branch.18:49
sinzuithanks18:49
EdwinGrubbsbac: 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:00
bacEdwinGrubbs: really?19:01
bacyes, would be bad19:01
EdwinGrubbsbac: 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
bacEdwinGrubbs: i will look in pdb now19:02
EdwinGrubbsbac: 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:08
EdwinGrubbsbac: 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:09
bacEdwinGrubbs: ok19:10
abentleyrockstar, I can has review? https://code.edge.launchpad.net/~abentley/launchpad/no-chroot-builder/+merge/3367419:14
bacEdwinGrubbs: you were correct about the interface description being modified in place.  good catch.19:28
james_wabentley: with that change it looks like sudo doesn't need to be installed in the chroot anymore?19:32
bacEdwinGrubbs: i've made those changes and updated the MP19:32
abentleyjames_w, good catch.  I'll confirm that.19:33
james_wabentley: though maybe the pbuilder installation of build-deps needs it19:33
james_wI can't see that it does here, but I don't know about all series19:34
james_wI think it expects to be run as root, so we should be ok19:34
abentleyjames_w, and because the satisfydepends script's requirements aren't considered, the pbuilder package will not have a dependency on sudo...19:35
james_wright, but I don't think that it uses it19:35
abentleyjames_w, not on lucid, at least.19:36
abentleyjames_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:38
james_wabentley: at execution time?19:39
abentleyjames_w, yes.19:39
james_wabentley: belt and braces?19:39
james_was I added a way for LP to reject it at parse time as well19:40
abentleyjames_w, exactly.19:40
james_wI'm fine with that19:40
abentleyjames_w, ? we already reject it at parse time.19:40
james_wabentley: yes, but this was at rockstar's request, to do it in a cleaner fashion19:42
abentleyjames_w, oh, cool.19:42
james_wnot meaning to say that you didn't, just making sure it was in addition, not instead of19:43
james_w--safe will be easy to add though19:43
james_wyou can file a bug and I will get to it eventually, or you could add it easily if you like19:43
EdwinGrubbsbac: r=me19:44
bacthanks EdwinGrubbs19:46
abentleyjames_w, I would prefer a list of permitted instructions instead of a list of forbidden instructions.  You fail safe that way.19:50
=== salgado-lunch is now known as salgado
james_wabentley: true, but requires more work for LP :-)19:52
james_weasy enough to change19:52
bacEdwinGrubbs: could i get you to mark the MP?19:52
james_wabentley: bzr says that sudo has never been used by a satisfydepends script19:52
EdwinGrubbsbac: sure, I was just writing up some comments for Steve also.19:53
bacEdwinGrubbs: great19:53
abentleyjames_w, you mean, except for satisfydepends-experimental?19:54
james_wabentley: in a comment?19:55
abentleyjames_w, oh, didn't see that.  Cool.19:55
abentleyjames_w, builder trunk has a test failure: http://pastebin.ubuntu.com/483595/20:08
james_wabentley: hmm, that depends on the version of python-debian apparently20:09
james_wabentley: maybe make it .startswith, or generate that exception ourselves and put it in to the string we are asserting against?20:09
abentleyjames_w, if that message is externally-generated, I think it makes sense to leave it alone.20:11
EdwinGrubbssinzui: do you want me to review official-services or mailing-list-subscribers-cache first?20:12
james_wwell, 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
sinzuiofficial-services plaase20:12
bacEdwinGrubbs: time for a super-easy one?20:46
bacsinzui: or, perhaps you could look at it?  https://code.edge.launchpad.net/~bac/launchpad/bug-429248/+merge/3368420:47
EdwinGrubbsthat would be better, since I should review sinzui's first, although he doesn't seem to be around.20:47
sinzuiI am20:48
sinzuiEdwinGrubbs, oh, I forgot to include your name in my answer. official-services is the one I really want reviewed first20:49
EdwinGrubbsoh20:49
bacsinzui: can you glance at my branch?20:50
sinzuiyep20:50
bacthanks20:50
sinzuiwe could trade, I have a trival fix too20:51
sinzuitrivial cache20:51
bacsinzui: gladly20:51
sinzuibac: https://code.launchpad.net/~sinzui/launchpad/mailing-list-subscribers-cache-0/+merge/3368120:52
sinzuibac: r=me20:53
bacsinzui: that's not fair.  i'm still reading your description.20:53
sinzuithe diff is shorter too20:53
baconly b/c i'm so conscientious and fixed the lint stuff20:56
benjijelmer: 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
benjimmm, I think jelmer's not home any more21:35
EdwinGrubbssinzui: 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:38
sinzuiEdwinGrubbs, 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 on21:39
sinzuis/that take/they take/21:39
sinzuiEdwinGrubbs, by example, when XRDS breaks the person page, I am the person who has to explain how...it is not obvious that render() is redefined21:40
EdwinGrubbssinzui: 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
EdwinGrubbssinzui: I can't remember what XRDS stands for.21:42
sinzuime neither21:42
sinzuiself.template cannot be a property (I tried it). The call modifies the base class in an od way21:43
benji"eXtensible Resource Descriptor Sequence"?21:43
sinzuiEdwinGrubbs,  the choice was to modify render() to do the work quietly or try a more explicit approach21:44
sinzuiEdwinGrubbs, 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 class21:45
EdwinGrubbssinzui: 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 nods21:47
jcsackettEdwinGrubbs: are you going to have time for another review today (it's pretty big) or should i just hunt someone down tomorrow?21:48
EdwinGrubbsjcsackett: I might be able to start on it today.21:48
sinzuitemplate cannot be a property so I chose selected template. I can add a comment about the decision in selected_template21:48
jcsackettEdwinGrubbs: okay, i'll add myself to the queue.21:48
=== 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
EdwinGrubbssinzui: really? Why can't template be a property?21:49
jcsackettEdwinGrubbs: https://code.edge.launchpad.net/~jcsackett/launchpad/deprecate-official_malone/+merge/3369421:50
sinzuiCalling ViewPageTemplateFile does magic21:50
jcsackettif you can get to it, thanks in advance. :-)21:50
sinzuiEdwinGrubbs, ^21:50
sinzuiLots of tests broken when made a property of it. It seemed like the obvious course at the time. And a nasty surprise afterwards21:51
=== 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
EdwinGrubbssinzui: 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:07
sinzuiI am confused22:08
sinzuiI will certainly do that if all answers passes22:08
EdwinGrubbsbac: ping22:30
bacEdwinGrubbs: yes?22:30
EdwinGrubbsbac: am I remembering correctly that all lists should be formatted vertically? Not just the recent import statement change.22:31
bacEdwinGrubbs: yes22:31
=== 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
EdwinGrubbssinzui: review sent22:41
sinzuiThanks EdwinGrubbs22:41
=== 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

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