=== barry-away is now known as barry [02:58] barry: were we going to have that meeting? [02:58] thumper: i think we should [02:58] * thumper nods [02:58] thumper: 2 minutes [02:59] ok [02:59] hello [03:00] #startmeeting [03:00] Meeting started at 21:03. The chair is barry. [03:00] Commands Available: [TOPIC], [IDEA], [ACTION], [AGREED], [LINK], [VOTE] [03:00] hello everybody and welcome to this week's asiapac reviewers meeting [03:00] hello [03:00] i see my clock is off by 3 minutes? [03:00] who's here today [03:00] i am here [03:01] I am [03:01] thumper is too i know [03:01] me [03:02] i can't update the meeting page because i guess the machine updates are still running [03:02] apologies for last night btw [03:02] == Agenda == [03:02] * Roll call [03:02] * Next meeting [03:02] * Action items [03:02] * Queue status [03:02] * Mentoring update [03:02] * Review process [03:02] * Module alternatives - do we really want them? [03:02] shall we go ahead and do our regular time next week? [03:02] yep [03:03] okay [03:03] cool [03:03] * Action items [03:03] yes please [03:03] [TOPIC] * Action items [03:03] New Topic: * Action items [03:03] nothing outstanding [03:03] * Queue status [03:03] [TOPIC] * Queue status [03:03] New Topic: * Queue status [03:04] does it seem like we have a bajillion branches that need reviewed this cycle? [03:04] yes. [03:04] * jml hasn't checked his queue today. [03:05] gee, I wonder why? [03:05] i don't know that it's going to be any more intense than usual for week 3 though [03:05] It seems like the bzr team have a bajillion reviews to atm too :) [03:05] i thought that was just one humungous review :) [03:06] i'm a little worried that ocrs are getting overloaded or burned out. do any of y'all feel that way? [03:07] rocs? [03:07] orcs? [03:07] it's much easier for us 'round here [03:07] barry: I don't. [03:07] on call reviewers :) [03:07] ah [03:07] barry: there's a minor problem where I get requests for reviews on Friday afternoons [03:08] barry: that's resulted in a couple of Europeans having to wait 24hrs between review cycles. [03:08] jml: you get them while on call or in your queue? [03:08] jml: is there someone to pass the reviews onto? [03:08] barry: while on call. [03:08] thumper: there wasn't this time. [03:09] who is the european on on Friday? [03:09] at other times in the cycle I probably would have just said no :) [03:09] david murphy [03:09] then in the us it's superman, er, sinzui [03:09] barry: where does the schedule live? [03:09] https://launchpad.canonical.com/OnCallReviewers [03:10] i still would love to fill wednesday more [03:10] but we lost statik as a reviewer, which is too bad, because he was good [03:10] otoh, bigjools is going to graduate [03:10] cool. [03:11] how many non-reviewers do we have currently? [03:11] mwhudson: i was just looking that up [03:11] I'd like to get abentley onto the team shortly [03:11] except i can't get into the directory :( [03:11] thumper: good idea [03:11] aaron, mars, leonard ? [03:12] I'll follow it up with him first [03:12] thumper: sounds good [03:12] to make sure he is up for taking it on now [03:12] (or after 2.0) [03:12] * mars stirs [03:12] mwhudson: those are the next logical choices i think [03:13] oh, al-maisan isn't a review either i guess [03:13] reviewer [03:13] and rockstar [03:13] rockstar is still very new though [03:13] so is al-maisan? i haven't seen many of either's branches. have you guys seen any of them? [03:14] al-maisan is still pretty new [03:14] I just reviewed one of his branches. [03:14] i doubt al-maisan or rockstar are ready yet [03:14] * jml agrees. [03:14] Yes, I am not ready... [03:14] but yeah, i guess we should bully the three i first mentioned i guess [03:15] [TOPIC] mentoring update :) [03:15] New Topic: mentoring update :) [03:15] mwhudson: all we need to do is find mentors for them [03:15] with bigjools graduating, i can take someone else on [03:16] al-maisan is euro? rockstar, you're us right? [03:16] barry: al-maisan is in .de [03:16] Yup, US [03:16] i know mars is ca, eastern [03:16] jml: cool [03:16] leonard is us eastern too [03:17] barry: abentley is .ca -- my geography doesn't extend that far north though [03:17] :) [03:17] i _guess_ one of us could do one of the new guys, but the difference is a bit much [03:17] yeah. [03:17] (until the dst thing happens again) [03:17] better to get someone from atlantis [03:17] yeah it's tough when there's so little overlap [03:17] I mean AMEU [03:17] jml: unless you can convince someone to move! [03:18] barry: I would like Australia to move :) [03:18] :-D [03:18] I'm not sure what the real estate market in Atlantis is like... [03:18] spiv: you can get great stuff cheap these days [03:18] * thumper seemed to miss 5 mintutes [03:19] jml: http://www.satirewire.com/news/jan02/australia.shtml [03:19] barry: I'd worry about home owners going under. [03:19] spiv: you haven't heard about our real-estate crash? it's only going to bring down the entire world economy [03:19] mwhudson: seen it :) [03:19] jml: good :) [03:19] maybe we need some reviewers in hawaii [03:19] mwhudson: :) [03:19] it's a great time to /buy/ a house, a horrible time to sell one [03:20] anyway, all good suggestions, thanks [03:20] I checked out the cost of a house in hawaii [03:20] it isn't cheap [03:20] * spiv would want to bouy a house if he lived in Atlantis [03:21] we seem to be somewhat off topic [03:21] :) [03:21] spiv: there are people who will sell one to you [03:21] [TOPIC] * Review process [03:21] New Topic: * Review process [03:21] * Module alternatives - do we really want them? [03:21] barry: what's a module alternative? [03:21] lets see if i can swap this one in [03:22] what is this exactly? [03:22] intellectronica brought this up [03:22] whether we want to wrap imports of say, from cFoo import Foo in try/excepts [03:22] or just do the import [03:22] and expect them to work [03:22] just import [03:23] oh just import [03:23] * jml seconds jamesh [03:23] just import [03:23] have you found a Python installation without cStringIO or cPickle? [03:23] we control our environment [03:23] We know what dependencies we have, don't we? So just import. [03:23] and what mwhudson said [03:23] s/have/have installed/ [03:23] that's basically what we decided. i think there was some question about forward-proofing etree, elementree and the like [03:24] mmm [03:24] the one place I think a try/except might be useful is for module name changes going 2.4 -> 2.5 [03:24] mwhudson: wasn't there something that you wanted to bring up at the review meeting? [03:24] e.g. ElementTree [03:24] thumper: it's on the agenda :) [03:24] * jamesh is too slow [03:24] jamesh: some talk about having a canonical.alternatives package for hiding the 2.4/2.5 differences [03:24] mwhudson: I didn't see it on the agenda [03:24] well i added it [03:25] anyway, we're all agreed, just import it [03:25] and upgrade to 2.5 when we do :) [03:25] * (mwhudson) What are page tests for? [03:25] mwhudson: the floor is yours [03:25] oh, it's just a proposed item [03:26] this came from some conversations i had with jml and thumper [03:26] basically, writing and maintaining pagetests is a pain [03:26] and i think we are a bit muddled as a team as to what the purpose of a page test is [03:27] some of them are 'customer stories' [03:27] and some of it is just testing that the templates work [03:27] (and most are some mixture of both) [03:27] so i'd like to encourage a wider conversation on the topic [03:27] My first reaction is that both are useful, but keeping them separate would be a good idea. [03:27] some try to do exhaustive testing of alternatives [03:28] i guess i should mail the list about this, but let's have a short argument here first :) [03:28] I'd prefer to see template testing move to unitests [03:28] spiv: that's my first reaction too [03:28] customer stories are fine [03:28] thumper: +1 [03:28] spiv: +1 [03:28] if they are customer tests, we should consider not running them on every landing [03:28] one question i've often had is how much should we be sneaking around the web u/i in a pagetest? [03:28] Basically: for tests the key question iswhat is the intent of the test, and for docs the key question is what is the audience of the document. [03:28] mwhudson: not sure about that [03:29] (And for doctests, there's also the question of "is this a doc or a test?") [03:29] thumper: i agree, i'd hate to stop running some of our important tests [03:29] I think being clear about the answers to those will help us figure out how to organise our pagetests. [03:29] mwhudson: for a while, it wasn't possible to do testbrowser stuff outside of the pagetests [03:29] spiv: very good point. i love doctests for everything, but some are documentation and some are not [03:30] thumper: this pre-supposes that all the important things are tested in non customer tests [03:30] I think that trying to do exhaustive tests of alternatives should never be in a doctest or pagetest [03:30] due to some required setup/teardown being done in the FunctionalDocFileSUite [03:30] jamesh: oh, interesting [03:30] that is fixed now though, so there isn't any technical reason not to do testbrowser in unittest code now [03:30] barry: I *will* persuade you that doctests for everything is bad at some point, I promise :) [03:30] jamesh: i have written unittests that use testbrowser :) [03:30] spiv: :) [03:30] spiv: I'm sure doctests are good somewhere [03:30] mwhudson: and that worked because I moved the test setup to the layers [03:31] (it's still a pain because you have to log in and out all over) [03:31] jamesh: i shall buy you a beer for that at some point [03:31] mwhudson: what about setting the unitest in the pagetestlayer? [03:31] thumper: i have this theory that we can use the doctest format for everything (and that it's better than python tests) [03:31] barry: ew, NO! [03:31] this is a separate punch-up [03:31] :) [03:32] yeah, let's not get distracted :) [03:32] these days, there isn't any special setup done for doc tests, other than default globals, iirc [03:32] jamesh: right, and we're trying to discourage magical globals in doctests anyway [03:32] barry, +1 :) [03:32] yep [03:32] are we? [03:32] I just added one [03:32] * mwhudson shall have to buy xUnit Test Patterns for everyone on the launchpad team, it seems [03:33] i've had exactly one case where i think it's justified, but other than that, the imports are good to put in the doctest! [03:33] at least it makes it clear where things are coming from [03:33] so, should i mail the launchpad list about the page test thing? [03:33] mwhudson: ideally with a short proposal about what to do about it [03:33] mwhudson: I think that's a good idea. [03:34] thumper: yeah, i hate having to go hunting for the harness that sets up a doctest just to figure out what some global actually is [03:34] mwhudson: just to try to limit the inevitable bike-shedding a little [03:34] and say that launchpad/pagetests should be stories [03:34] mwhudson: +1, spiv +1 [03:34] and that doc/ should be documentation [03:34] mwhudson: +1 [03:34] and tests (whether .py or .txt) should be in a tests directory? [03:34] mwhudson: +1 [03:34] mwhudson: +1 +1 +1 [03:34] ok [03:35] and can we for gawd's sake please do something about tests, testing, and ftests? [03:35] Rename ftests to f'ing tests? [03:35] well, testing is for scaffolding [03:35] barry: tests & testing is a sensible split [03:35] stuff in ftests can go to tests [03:35] ddaa tried to land a branch that moved everything in ftests into tests [03:35] jml: yes, maybe just get rid of ftests. i would be so much happier [03:35] testing is infrastructure [03:35] the tests / testing split is good [03:35] jamesh: sometimes it needs to go to testing :) [03:35] jamesh: +1 [03:36] jml: right [03:36] jamesh: +1 [03:36] but it's a conflict nightmare [03:36] ok, i can add this to my mail too :) [03:36] each team should move its own tests [03:36] from ftests to tests in the appropriate place [03:36] * barry has a secret plan for montreal :) [03:36] we file a bug [03:36] create tasks for each team [03:36] and JFDI! [03:37] thumper: right! i want a special pqm tag for that [03:37] :) [03:37] barry: why a pqm tag? [03:37] thumper: I think you'll find that one team has already done it :P [03:37] jml: not quite [03:37] thumper: well, when i want to jf land a branch :) [03:37] jml: there are some older tests still in c.l.ftests [03:37] Some people claim "Jedi" as their religion. thumper's religion is "JFDI". [03:38] thumper: let us continue this team-specific discussion outside of the meeting. [03:38] 2007's motto was "canonical fuck yeah!". 2008's should be JFDI [03:38] barry: can you add a mootbot task for that? [03:38] [ACTION] mwhudson to start discussion on page test purpose [03:38] ACTION received: mwhudson to start discussion on page test purpose [03:38] barry: I was meaning a bug for ftests -> tests [03:39] [ACTION] thumper to submit a bug for moving ftests contents to tests [03:39] ACTION received: thumper to submit a bug for moving ftests contents to tests [03:39] anything else on this topic mwhudson? [03:39] not for today i think [03:40] i can hear jml's stomach rumbling from here :) [03:40] :) [03:40] :D [03:40] okay, one quick last one [03:40] The "D" represents my gaping maw. [03:40] * (bigjools) On-call reviewers to remind devs to be available during the review. [03:40] that's a good idea. [03:40] +1 [03:40] I'll do that in future. [03:40] bigjools brought up to me that some people are using on-call requests to jump ahead of the review queue [03:40] we've got way too much obsolete test infrastructure still in tree [03:41] i.e. they request an on-call review then disappear [03:41] jamesh: yes [03:41] barry: yeah, this has happened to me. [03:41] i told bigjools that if that happens, you are allowed to reject the ocr request and move on to someone who is present [03:41] the whole point of ocr is to have a dialog with the dev [03:41] i think i've done this [03:42] This makes good sense to me. [03:42] at least, if i have two reviews to do and the developer is there for one of them, he gets done first [03:43] anybody disagree? [03:43] nope [03:43] nope [03:43] great. that's it for me. shall we end 2 minutes early and let jml get some food? [03:44] I think we should discuss it first :) [03:44] jml: but only for 1 more minute :) [03:44] #endmeeting [03:44] Meeting finished at 21:47. [03:44] thanks everyone! [03:44] barry: thanks! [03:44] thanks barry [03:44] barry: thanks === barry is now known as barry-away === Moot2 is now known as MootBot === mwhudson_ is now known as mwhudson === mpt_ is now known as mpt === mwhudson_ is now known as mwhudson === salgado-afk is now known as salgado === mrevell_ is now known as mrevell-lunch === mrevell-lunch is now known as mrevell [15:00] #startmeeting [15:00] Meeting started at 09:03. The chair is barry. [15:00] Commands Available: [TOPIC], [IDEA], [ACTION], [AGREED], [LINK], [VOTE] [15:00] hi everybody. welcome to this week's ameu reviewers meeting [15:00] who's here today? [15:00] me [15:00] me [15:00] me [15:00] me [15:01] me [15:01] me [15:01] danilos, BjornT ping [15:01] flacoste: ping [15:01] me [15:01] me [15:01] me [15:01] barry: thanks [15:02] me [15:02] salgado: ping [15:02] [TOPIC] agenda [15:02] New Topic: agenda [15:02] me [15:02] == Agenda == [15:02] * Roll call [15:02] * Next meeting [15:02] * Action items [15:02] * Queue status [15:02] * Mentoring update [15:02] * bye to statik [15:02] * bigjools graduates [15:02] * new recruits? (leonardr, abentley, mars) [15:02] * Review process [15:02] * (bigjools) On-call reviewers to remind devs to be available during the review. [15:02] * (gmb) Wrapping long argument lists: What's the agreed style? [15:02] * (mwhudson) What are page tests for? [15:02] * thumper moving ftests contents to tests [15:02] [TOPIC] next meeting [15:02] New Topic: next meeting [15:02] * barry kicks mootbot [15:03] me [15:03] me [15:03] jtv: hi! statik hi! [15:03] barry, hi! [15:03] next week, same time and place? anybody know they will be sprinting or away? [15:04] cool [15:04] [TOPIC] action items [15:04] New Topic: action items [15:04] * intellectronica to file bug on lint issue regarding elementtree import [15:04] sorry, i didn't. let's carry this on [15:04] intellectronica: np [15:04] * mwhudson to start discussion on page test purpose [15:05] i will proxy mwhudson :) [15:05] he's going to start a ml thread on the purpose of page tests. more in a moment [15:05] * thumper to submit a bug for moving ftests contents to tests [15:05] more on this in a bit [15:05] [TOPIC] queue status [15:05] New Topic: queue status [15:06] any comments? i was freaking out on monday, but i've calmed down by now. thanks everyone for cranking away on reviews! [15:06] Stub has reviewed my two branches now; he has not updated the statuses [15:07] sinzui: are they merge-approved? [15:07] yes [15:07] sinzui: cool. i'll ignore those and you can just remove them when they land [15:07] my branch that kiko reviewed is still trying to land [15:08] * barry won't even mention testsuite2 :) [15:08] anything else on the queue? [15:08] We seem to have extra missing branches this week [15:09] sinzui: missing where? [15:09] yeah, I'm nagging stub about my oauth-context branch, which has a DB patch [15:09] barry: The red branches are missing. It implies they were removed from the repo, or renamed [15:10] sinzui: yeah, people are not updating PR [15:10] gmb and intellectronica have missing branches [15:10] and schwuk [15:10] everyone, remind your reviewees to clean up PR when their branch lands! [15:10] amen to that [15:10] * bigjools cleaned 4 of other people's out this morning [15:11] sinzui: oh right, i cleaned my repo but not PR, i guess. i'll sort it out [15:11] bigjools: yes, feel free to clean out any that you see [15:11] * barry is a culprit too [15:11] I don't like doing it though, it makes devs lazy! [15:11] bigjools: hmm, maybe refuse to review any new branches until they clean out their old ones :) [15:11] lol [15:12] anyway... [15:12] [TOPIC] * Mentoring update [15:12] New Topic: * Mentoring update [15:12] Or have PQM check for red branches and rejecting anything until they're gone... [15:13] so first, we say goodbye to statik who is moving off the lp team and won't be accepting any more reviews. i was tempted to go down to florida to camp on his doorstep until he changed his mind but it's a long train trip [15:13] statik: thanks and good luck! you're welcome to come do reviews any time you're bored :) [15:13] thanks! [15:14] next up: bigjools graduates. congratulations bigjools! [15:14] congrats bigjools! [15:14] * flacoste cheers bigjools [15:14] congrats bigjools! [15:14] hurrah [15:14] * bigjools takes a bow [15:14] Hurrah! [15:14] thanks guys [15:14] i will send an official email after this meeting [15:14] Barry is a great mentor - thanks to him also [15:14] remember, give all your hard branches to bigjools now :) [15:14] oof [15:15] :) [15:15] bigjools: thanks [15:15] but has it easy, being a soyuz developer [15:15] * bigjools considers retracting the last statement :) [15:15] too late [15:15] the worst branch are his :-p [15:15] flacoste: no kidding! [15:15] flacoste: lol [15:16] i think we can accept a few more recruits now. i'm certainly happy to mentor again. i think the next three potential candiates are leonardr, abentley, and mars [15:16] i talked to thumper and i'm thinking about mentoring abentley [15:16] we need mentors if we're going to accept anybody else, though i propose we do not accept until after 2.0 [15:17] so if you would like to volunteer to mentor leonardr or mars, please send me an email [15:17] i'm happy to mentor again, after 2.0 [15:17] intellectronica: awesome [15:17] I'll be happy to do the same [15:17] gmb: great, thanks! [15:17] btw, we mentioned rockstar and al-maisan but we want to give those guys a bit more time dev'ing for now [15:18] [TOPIC] * Review process [15:18] New Topic: * Review process [15:18] * (bigjools) On-call reviewers to remind devs to be available during the review. [15:18] we talked about this last week... [15:18] ok [15:19] I've noticed a few instances where developers are not available during on call reviews [15:19] but i just wanted to mention that asiapac was all for the idea that it's okay to reject an ocr if the dev disappears [15:19] the primary reason for OCR is to speed up reviews [15:19] well, if they're not available then they're not available, what can you do? just postpone the review for later [15:19] not as a means to jump the general queue [15:19] intellectronica: put them in the GQ [15:20] bigjools: exactly [15:20] bigjools: yeah, exactly [15:20] It's a bit annoying when you're in Asia though [15:20] jtv: we could prioritse people who find it hard to be around at the same time as OCRs [15:20] jtv: who is affected by that? [15:21] anyway - we should remind devs, when they ask for a review, to be around, otherwise refuse the review [15:21] Agreed—if you ask for it, you ask for it. [15:21] the one hitch is when someone asks for review and you can't get to it for several hours because your dance card is full. they might disappear by the time you're free [15:22] this tends to happen to me when europeans ask for reviews in my early afternoon. often by the time i get to the review it's pretty late where they are. happened last night. [15:22] this has happened to me when euros get bumped to the end of my list [15:22] bac: yep [15:22] if you're not sure you can get to it, I don't think it should be accepted [15:22] i think it's okay to reshuffle your queue [15:22] maybe we need to consider doubling up reviewers on some shifts? [15:23] i.e. give some priority to those east of you if it helps speed the review [15:23] like some already do [15:23] and, if you're approaching the end of your work day, don't ask someone just b/c they have a few hours left [15:23] bac: good pont [15:23] 'you" being a dev, not a reviewer [15:23] er, point [15:23] bigjools: i'm not sure we have enough coverage as it is atm [15:24] when I've been on call on Monday mornings it's quite thin most of the time, I could move to a different day [15:24] i.e. wednesday we only have intellectronica and allenap in euro time [15:24] only? [15:24] We need to send rockstar to NZ once he is a reviewer to take the Wednesday slot [15:24] intellectronica: not to disparage you guys! you all do great, but we have no america coverage on wednesdays [15:25] ah, of course. well, i think we'll have to relocate someone [15:25] btw, the asiapacsters don't feel to bad about the current situation, i.e. they are neither overloaded nor seeing their branches languish [15:25] does this mean we need more Americas reviewers? [15:26] bigjools: leonardr, abentley and mars are all here so getting them on board will improve coverage eventually [15:26] if we get leonardr on board it will help, though, so let's try to convince him to start after 2.0 [15:26] rockin' [15:26] intellectronica: +1 [15:27] bigjools: we have good euro coverage, so if you want to stay on monday that's cool. it's nice to have a little overlap in our days. otherwise, definitely feel free to pick a slot later in the week and double up with someone [15:27] we also have EdwinGrubbs, who's being mentored by myself [15:28] bigjools: maybe friday so sinzui's load gets lightened. i always feel bad that sinzui reviews into his weekend :) [15:28] I don't mind either way. I'll stay where I am for now and we can check which periods are most busy [15:28] once he graduates we'll have one more reviewer in america [15:28] salgado: good point! [15:28] barry: yeah, there's nobody on Friday mornings [15:28] bigjools: sounds good [15:28] Europe time that is [15:28] barry: You do not. I'm taking the load off of you [15:29] barry: well, if doesn't review into the week-end, he'll code, which increase the review load so... [15:29] :) [15:29] * sinzui looks forward to this Friday with PQM in top form to screw developers whose nicks are not gmb [15:29] anyway, moving on... [15:29] *mumblemumble* [15:29] * (gmb) Wrapping long argument lists: What's the agreed style? [15:29] Right. [15:29] So, my question is pretty simple. [15:30] When we come across a method definition with a really long list of arguments, how do we want it wrapped. [15:30] We agree to wrap two ways as we see fit [15:30] I've seen three styles: [15:30] def spam(eggs, ham, jam, lamb, spam [15:30] foo, bar): [15:30] def foo( [15:31] here, is, a, nother, long, list): [15:31] or [15:31] def bar( [15:31] this, [15:31] looks, [15:31] really, [15:31] ugly): [15:31] I think the basic rule should be to have all the arguments aligned so that they stand out from the rest [15:31] I choose neither [15:31] there's also [15:31] iiuc the first one is not kosher, but you can choose wither of the last two [15:31] there's a 4th! [15:31] def bar(foo, bar, baz, [15:31] nah): [15:31] I choose salgado's [15:32] i thought that was the agreed style actually [15:32] salgado: with the 'nah' lined up under 'foo'? [15:32] barry, yep [15:32] barry: yes [15:32] That's PEP-8 [15:32] salgado: +1 [15:32] jtv: Good enough for me. [15:32] i think the 4th one is the most common one in our code [15:32] * bigjools is using non-prop fonts here so it all looks ugly [15:32] Personally I like the double-indent for continued parameter lists. [15:32] salgado: +1 [15:33] I personally prefer the second example of gmb [15:33] but I'm strongly opposed to the first one [15:33] salgado: That's the one I usually use, but I'm happy to follow prevailling wisdom [15:33] s/usually/ [15:33] hence my saying that the basic rule should be to have all the arguments aligned so that they stand out from the rest [15:33] Should we put this on a wiki page (where we know it's in nonproportional fonts) and vote? [15:33] if that was the rule all three options would be allowed, which I think is fine [15:34] maybe not the third one as it looks quite ugly [15:34] i'm against any style that lines up the arguments with the body of the method [15:34] I think the third one takes up unnecessary space. [15:34] bac: i very much agree [15:35] bac: i agree too [15:35] +1 for bac [15:36] I'd be for the current prevailing style "de salgado" (at least in this meeting) [15:36] danilos: +1 [15:36] But verily it sucketh with long method names. [15:36] [VOTE] adopt salgado's suggestion for parameter indents: aye +1 or nay -1 [15:36] Please vote on: adopt salgado's suggestion for parameter indents: aye +1 or nay -1. [15:36] Public votes can be registered by saying +1/-1/+0 in the channel, private votes by messaging the channel followed by +1/-1/+0 to MootBot [15:36] E.g. /msg MootBot +1 #launchpad-meeting [15:37] +1 [15:37] +1 received from barry. 1 for, 0 against. 0 have abstained. Count is now 1 [15:37] +1 [15:37] +1 received from bigjools. 2 for, 0 against. 0 have abstained. Count is now 2 [15:37] +1 [15:37] +1 [15:37] +1 [15:37] +1 received from salgado. 3 for, 0 against. 0 have abstained. Count is now 3 [15:37] +1 received from gmb. 4 for, 0 against. 0 have abstained. Count is now 4 [15:37] +1 received from allenap. 5 for, 0 against. 0 have abstained. Count is now 5 [15:37] +1 [15:37] +1 [15:37] +1 received from bac. 6 for, 0 against. 0 have abstained. Count is now 6 [15:37] +1 received from sinzui. 7 for, 0 against. 0 have abstained. Count is now 7 [15:37] +1 [15:37] +1 received from danilos. 8 for, 0 against. 0 have abstained. Count is now 8 [15:37] +1 [15:37] +1 received from flacoste. 9 for, 0 against. 0 have abstained. Count is now 9 [15:37] ho-hum, what was that discussion about in the first place? :) [15:37] +1 [15:37] +1 received from statik. 10 for, 0 against. 0 have abstained. Count is now 10 [15:37] danilos: car repairs. [15:38] #endvote [15:38] jtv: don't use long method names :-) [15:38] er, whatever mootbot [15:38] flacoste: right [15:38] * bigjools aims a kick to mootbot's nads [15:38] gmb: can you update PythonStyleGuide and send a quick email to the ml? [15:38] barry: Will do. [15:39] jtv: seriously, i think we should allow starting the argument lists on the next line with a double-indent for long method names [15:39] [ACTION] gmb to update PSG for parameter indents and email launchpad@ [15:39] ACTION received: gmb to update PSG for parameter indents and email launchpad@ [15:39] barry: I will do the same about the OCR topic [15:39] #startsomethingtoendvote [15:39] flacoste: +1 for that [15:39] [ACTION] bigjools to email launchpad@ about devs sticking around for their ocr [15:39] ACTION received: bigjools to email launchpad@ about devs sticking around for their ocr [15:40] flacoste, jtv yes, it's okay if there are exceptions for superCrazyMegaUltraLongMethodNamesThatTakeUpTonsOfSpace [15:40] * (mwhudson) What are page tests for? [15:41] use cases [15:41] mwhudson: brought up some questions about the purpose of page tests. are they customer stories or do they test our templates [15:41] customer acceptance tests [15:41] right now, the stuff in pagetests is some of both [15:41] * sinzui tests templates in doc/*-pages.txt [15:42] I test views in there [15:42] I mean doc/*-pages.txt [15:42] salgado: So do it, but I recently added template tests since I did not think it was relevant to the use case [15:42] sinzui: i think we mostly agree, so mwhudson is going to start a ml thread about it and begin to get people to separate these [15:42] I think customer stories should involve all aspects of the template, otherwise what is that part the template doing there? [15:43] sinzui: testing template in doc/*-pages is not our standard, although it might make a good idea [15:43] sinzui: do you have an example? [15:43] * sinzui thinks [15:43] bigjools, sinzui: sometimes you have to test all the possibilities in a template [15:43] but that's not relevant to the user stories [15:44] as a dev, you know that these three cases involved three different code paths [15:44] i think that it's ok to mix the two purposes, as long as you get sufficient coverage [15:44] but from the point of view of the user, it's one sue-case [15:44] that's in line with our not doing unit tests for everything [15:44] intellectronica: which i think is wrong [15:44] intellectronica: but is that a good thing? [15:44] but that's just me [15:44] BjornT: I checked the calls to the search form in launchpad-search-pages. the form is a technical matter, not a use case. [15:45] jtv, flacoste: i'm not sure myself, i just note that this is how we do it. mostly, it means that we have to pay attention closely to make sure that we get full coverage from the mix of tests we do have [15:45] the pagetests need reorganisation, and normalisation [15:46] sinzui: +1 [15:46] if your template is *that* complicated it has multiple code paths, should it not be simplified and stuff put in the view? [15:46] as do all our other tests [15:46] my eyes bleed over some templates [15:46] sinzui: right. thumper is going to start a thread about test reorg, and especially moving ftests stuff to tests [15:47] bigjools: right. We don't have as many doc/*-pages.txt as we should have, I think a lot of pagetests are checking the view's behaviour [15:47] bigjools: reviewing pts are incredibly painful [15:47] exactly [15:47] if we are to reorganize tests, we should make as clear separation and categorization as possible, covering all testing [15:47] and if more stuff is in the view, it can be tested separately [15:47] and more efficiently [15:47] thus speeding the test suite [15:48] bigjools: different code paths simply means different conditions [15:48] so the logic is in the view [15:48] intellectronica: it's not really how we do it. basically, we treat our tests for DB classes as 'unit tests'. they should have have as much coverage as possible. [15:48] but you still need coverage that the template is using the view correclty [15:48] flacoste: agreed [15:48] barry: ftests/tests is an historical separation [15:49] flacoste: s/historical/hysterical/ :) [15:49] but yeah [15:49] barry: +1 [15:49] anyway, we've gone over. my apologies for that. we'll continue this discussion on the list when mwhudson starts it [15:49] #endmeeting [15:49] Vote is in progress. Finishing now. [15:49] Final result is 10 for, 0 against. 0 abstained. Total: 10 [15:49] Meeting finished at 09:52. [15:49] thanks everyone! [15:50] barry: thank you, nice seeing you again :) [15:50] thanks barry [15:50] thanks barry & mootbot [15:50] jtv: you too! you're welcome to stop by any time :) === salgado_ is now known as salgado === salgado is now known as salgado-lunch === salgado-lunch is now known as salgado === _thumper_ is now known as thumper === salgado is now known as salgado-afk