/srv/irclogs.ubuntu.com/2009/02/11/#launchpad-meeting.txt

=== mthaddon_ is now known as mthaddon
=== Ursinha is now known as Jorjao
=== Jorjao is now known as Amelinha
=== Amelinha is now known as Ursinha
=== bac_afk is now known as bac
=== vednis is now known as mars
barry#startmeeting15:00
MootBotMeeting started at 09:00. The chair is barry.15:00
MootBotCommands Available: [TOPIC], [IDEA], [ACTION], [AGREED], [LINK], [VOTE]15:00
barryhello everyone and welcome to this week's ameu reviewer's meeting.  who's here today?15:00
danilosme15:00
EdwinGrubbsme15:00
marsme15:00
bigjoolsme15:01
bacme15:01
barryjtv: hi!15:02
jtvhi barry!15:02
barryadeuring: ping15:02
barryallenap: ping?15:02
adeuringwhoops, me15:02
salgadome!15:02
barryBjornT: ping15:02
gary_posterme15:02
barrycprov: ping15:02
BjornTme15:02
barrygmb: ping15:03
barryintellectronica: ping15:03
gmbme15:03
barryrockstar: ping15:03
intellectronicame15:03
jtvme15:03
barrysinzui: ping15:03
sinzuihi barry15:03
flacosteme15:03
barryhi everyone15:04
sinzuime15:04
barry[TOPIC] agenda15:04
MootBotNew Topic:  agenda15:04
barry * Roll call15:04
barry * asiapac meeting time change15:04
barry * deprecate zapi and ztapi in favor of zope.component APIs, gary15:04
barry * Action items15:04
barry * Mentoring update15:04
barry * Peanut gallery (anything not on the agenda)15:04
barry[TOPIC]  * asiapac meeting time change15:05
MootBotNew Topic:   * asiapac meeting time change15:05
barryso just a quick note that we've changed the date and time of the asiapac meeting.  10pm my time was just too difficult for me to remember, so now it's wednesdays utc 230015:05
barrywhich i think also makes it easier to communicate between the two review teams15:06
barryjust in case y'all wanted to drop by :)15:06
danilosin case I have no idea what to do at midnight, I might ;)15:06
barry:)15:06
barry[TOPIC]  * deprecate zapi and ztapi in favor of zope.component APIs, gary15:06
MootBotNew Topic:   * deprecate zapi and ztapi in favor of zope.component APIs, gary15:06
barrygary_poster: the floor is yours15:07
flacostefor US fols, that's nice, we'll be able to drop by15:07
gary_poster:-) k15:07
barryflacoste: yep.  we don't have jamesh's tz to worry about any more :)15:07
gary_posterZope deprecated zapi and ztapi quite awhile ago15:07
gary_posterJim Fulton significantly refactored the zope.component API so that it was easier to use it directly15:07
gary_posterthese APIs are more parallel (register/unregister for instance for adapters and utilities)15:08
rockstarme15:08
gary_posterand also don't hide how views work as adapters, for instance, behind what I believe to be an unnecessary and ultimately confusing veil15:08
gary_posterI think we (probably me) should come up with a cheat sheet on "if you were doing this, try doing this"15:09
gary_posterbut Zope is already leaving that stuff behind, and I think we should too15:09
barrygary_poster: what kinds of things do we commonly do now that would be better off w/o zapi?15:09
sinzuiI only see zapi and ztapi in old code. I have never reviewed code that added it.15:09
barrygary_poster: % fc lib/canonical zapi | wc -l15:09
barry2315:09
gary_postersinzui: so, do you mean, it is already effectively deprecated?15:10
sinzuigary_poster: I think so15:10
barrysinzui: 23 hits on zapi, 35 hits on ztapi15:10
barrywhich doesn't seem like much15:11
gary_posterbarry: zapi should be completely unnecessary.  same with ztapi.  It's just cruft, keeping people from understanding the actual use of the component code, for no particular win15:11
gary_posterok, so maybe simple proposal:15:11
sinzuigary_poster: I only know what Phillip wrote in his book. I think flacoste/SteveA have driven us from using it in the past two years.15:11
gary_poster1) Someone (I?) does (do) a branch that rips out the remainder15:12
barrymaybe the newest code is in l/c/lazr/rest/tales.py?15:12
gary_poster2) that policy is official15:12
allenapme15:12
gary_posterthe reason that this came up is that I saw leonardr use it15:12
barry+1, +115:12
gary_posterok15:12
gary_posterat least that was non-controversial ;-)15:13
barrygary_poster: maybe start with lib/canonical/lazr?15:13
gary_posteryeah15:13
jtvgary_poster: it was the "(I?)" part that sold us15:13
gary_posterlol :-)15:13
gary_posterk, done, unless someone else wants to say something15:14
barryjtv: are you saying that gary_poster is our jerry maguire?15:14
barrygary_poster: thanks15:14
gary_poster:-)15:14
barry[TOPIC]  * Action items15:14
MootBotNew Topic:   * Action items15:14
barry * abentley to email ml and gustavo with suggestions for improving storm15:14
barryabentley: just in time! :)15:14
abentleybarry: Done.15:14
jtvbarry: EPOPCULTREF15:15
abentleybarry: Response was not very positive.15:15
gary_posterheh15:15
barryabentley: yeah15:15
gary_posterconversation with stub seemed potentially fruitful though15:15
abentleyIn fact, he said if we like the SQLObject api, we should use the shim15:15
flacostewell15:17
barrywhat do you guys think?  personally, i prefer both native storm query syntax and native storm class definitions15:17
flacostethat has some drawbacks15:17
flacosteand I don't think the shim is what we want to use15:17
flacostenative storm query: yes15:17
flacostenative storm class defs: not sure at all15:17
abentleyI think stores should be optional.15:17
abentleyMost of the time, we don't want or need them.15:17
flacostethe problem with the shim is that the results objects are incompatible15:18
bigjoolsas I found to my cost15:18
abentleyOkay, so if we make our own base class, would that be acceptable?15:19
barryflacoste: what would you propose instead for class defs?  base class/metaclass?15:19
flacostebase class is probably best15:20
barryabentley: not outside the realm of possibility15:20
flacosteas metaclass usually makes people's brain explode15:20
barryflacoste: indeed15:20
barryflacoste: how would that change the attribute definition syntax?15:20
flacostei think we might need a metaclass for that, i don't know15:21
flacosteand maybe the native storm syntax isn't that bad15:21
barryflacoste: i think we would, but i guess my question is: what would you do differently?15:21
flacosteit's just that I agree with abentley that the ID stuff is kind of boring15:21
barrytrue15:22
flacostewell, the attribute names for instance15:22
flacostefield_id instead of fieldID15:22
bigjoolsthe only real problem with Storm syntax for me is importing a gazillion content classes15:22
allenapbigjools: That does have the advantage that things break hard when classes are changed.15:23
allenapand early.15:23
barryis anybody motivated enough to try an experiment here?15:23
abentleybigjools: Not seeing the connection.15:23
bigjoolsabentley: if you use Python expressions for the query joins ...15:24
abentleybigjools: Is that compared to raw SQL with SQLObject?15:24
bigjoolsyes. if you write a string in SQL then you don't have the import pain, but then Storm can't work out the FROM tables15:25
jtvbarry: what experiment did you have in mind?15:25
flacostebarry: well, i think abentley's gripes are good, so if he's willing to try to cook up a base class that suits him, that would be a good start15:26
bigjoolsallenap: that's a great point15:26
abentleyflacoste: Sure, I'm happy to start with that.  Metaclass foo later.15:26
barryjtv: a base class/metaclass to make various common boring or painful things easier15:26
barryabentley: cool.  i know there's an experiments page somewhere but my firefox is misbehaving right now15:27
barry[ACTION] abentley to experiment with a base class to ease the pain and boredom with storm15:28
MootBotACTION received:  abentley to experiment with a base class to ease the pain and boredom with storm15:28
barry * flacoste to take dead zone reviews issue to ml15:29
flacostedone15:29
flacostenot sure of the resolution there15:29
flacostethough15:29
barryflacoste: me neither15:29
barryjtv: what do you think about that thread?15:29
barryjtv: i think you and stub get weighted more heavily here as you're the most tz challenged15:30
* barry taps the mic and asks "is this thing still on?"15:31
jtvbarry: I do agree, just slightly concerned about having yet more ways to write a database class15:31
jtvbarry: sorry, hard to type at this temperature15:31
rockstarjtv, +115:31
barryjtv: TOOWTDI15:31
barryjtv: and you're dutch so it should be obvious to you15:31
gary_poster:-)15:31
barryjtv: sorry, i meant the dead zone review thread15:32
jtvbarry: ahhh15:32
jtvbarry: I thought we already were discussing that on the ml15:33
* jtv reads back15:33
barryjtv: we are, just wanted to give you a higher bandwidth channel.  but it's okay, we can continue on the ml15:33
jtvbarry: yes, sorry, having that one line added in the middle changed the meaning of my backlog15:34
jtvI think we agreed that cover letters are good, and possibly better than asking a reviewer personally15:34
barrycover letters + mp + (maybe?) irc topic?15:35
jtvbarry: ah yes, the topic line, I liked that15:35
barryjtv: cool.  let's see if we can make that work. we can always try something else if need be15:36
jtvmaybe a "candidate queue"?15:36
jtvafter all, the "queue" is what an OCR has accepted15:36
jtvor a "review backlog"15:36
barryjtv: backlog: xxx in the topic?15:37
jtvbarry: looks lovely15:37
daniloswe can have two queues, one for on call, another for backlog, with OCRs reviewing alternately one from each15:37
barrydanilos: +115:37
jtvoh, practical problem: how does the next reviewer know which *branch*?  that's too long to record in the topic15:37
barryjtv: give an mp #?15:38
daniloshow about just using links to bugs or MPs?15:38
jtvYeah, nick:mp# would do it for me15:38
barrydanilos: i think that makes the topic too long15:39
abentleyhmm: The MP ids are unique.  Maybe we should provide a direct link to them.15:39
danilosabentley: yeah, that would be an improvement (something like we have for bugs)15:39
barryabentley: do you mean, have the bot recognize "mp 1234"?15:40
danilosbarry: I meant only bug ids (and bugs will point to branches, which will point to mps :)15:40
barrydanilos: ah yes, fair enough15:40
danilosI'd prefer a bookmarklet https://code.launchpad.net/+merge-proposal/%s :)15:40
jtvdanilos: good idea, but blueprint names get longer15:41
danilosjtv: they are also not linked to branches afaik15:41
abentleybarry: No, I meant to be able to put code.launchpad.net/mp/1234 as a url.15:41
barryabentley, jtv, danilos let's see if we can hash out the details on the ml15:41
jtvdanilos: good point :)15:41
barryonly a couple of minutes left, so...15:42
barry * gary to email list about RENormalizing test, investigate alternate inline spellings15:42
gary_posterdone.  See how to do it.  doctest not easily extensible for this, so will need to hack.15:42
barryi think that one's done15:42
barrygary_poster: thanks15:42
barry * barry to add `pretty()` functions to reviewers docs15:43
barryi suck, not done15:43
barry * flacoste to work on API reviewer cheat sheet15:43
flacostei suck, not done15:43
barry[TOPIC] peanut gallery15:43
MootBotNew Topic:  peanut gallery15:43
danilosI'd like to raise one issue here15:43
barrydoes anybody have anything not on the agenda?15:43
barrydanilos: go4it15:43
flacosteif it's not done next week, i change my name to flacoste_hoover15:43
danilosthe lightness of our reviews makes them not be that useful anymore as a learning tool15:43
barryflacoste: :)15:43
daniloswe need to reiterate some points even if they are not necessarily what we expect developer to do15:44
flacostewhat do you mean?15:44
flacosteor can you give an example?15:44
daniloseg. concrete example I have: we should mention LaunchpadForm for any form which is not using it15:44
flacostegood point15:44
danilosHenning was not aware of LaunchpadForm and hacked around even though he modified quite a few forms before15:44
danilosjust a question for reviewers to ask: "why is this not using this and that infrastructure we have"15:45
barrydanilos: +115:46
gmbI didn't realise that our reviews were that shallow.15:46
* bigjools fears for future Soyuz reviews15:46
gmbJust last week EdwinGrubbs pointed out a much easier way for me to do something that I'd spent ages hacking around with.15:47
danilos(even if reviewer knows the answer, we should help developers get to learn more about existing infrastructure, since there's so much of it)15:47
bigjoolswe need an infrastructure cheat sheet15:47
gmbbigjools: The only way you can have a shallow soyuz review is if the person doing the review is dead.15:47
al-maisan:)15:47
gary_poster:-)15:47
flacostelol15:47
bigjoolsgmb: that can be arranged!15:47
danilosbigjools: the idea is not to force people to switch to new infrastructure, just to be aware of it, and understand why it's not being used15:47
bigjoolsdanilos: that's fine - I just know that we have lots of, er, legacy code shall we say, done before a lot of the infrastructure was in place15:48
bacit works the other way too.  yesterday i saw something cool sinzui was doing in a doctest i was reviewing and adopted it.15:48
danilosbac: indeed15:48
bigjoolsbac: yes, that's a great reason to be a reviewer15:49
danilosanyway, we're over time already, and I think I am done15:49
barrybac: we should find a way to share those insights across the team!15:49
barrydanilos: thanks. and apologies for going over15:49
* sinzui just wanted the code to be readible15:49
danilosbarry: we've tried so far to do that using wikis and mailing lists, but it doesn't really work out15:49
marsdanilos, how about cleaning up technical debt as a learning exercise, rather than reviewing or using a cheat sheet?15:49
* barry will eagerly await bac's email describing this insight :)15:49
bigjoolsI would like a cheat sheet, personally15:49
marsthat's how I started - fixing callsites, submitting 2000-line patches...15:50
jtvmars: it's not always stuff you'd easily recognize as tech debt15:50
gary_postercheat sheets get awfully big15:50
bigjoolsthen the info is shared15:50
gary_posterwe already have some15:50
danilosgary_poster: only if you want to cheat in everything you do :)15:50
gary_posterthat are really really big15:50
gary_poster:-)15:50
bigjoolsgary_poster: they can't get bigger than the doctests we have though :)15:50
gary_posterheh15:50
barry:)15:50
barryanyway.  let's break for today15:50
barry#endmeeting15:50
MootBotMeeting finished at 09:50.15:50
flacostethanks barry15:50
barrythanks everyone!15:51
bigjoolsthanks barry15:51
jtvthanks barry15:51
gary_posterthanks, bye15:51
danilosthanks all15:51
=== bac is now known as bac_lunch
=== bac_lunch is now known as bac
=== salgado is now known as salgado-afk
barry#startmeeting23:01
MootBotMeeting started at 17:01. The chair is barry.23:01
MootBotCommands Available: [TOPIC], [IDEA], [ACTION], [AGREED], [LINK], [VOTE]23:01
barryhello and welcome to the first of our newly scheduled asiapac reviewers meetings.  who's here today?23:01
* barry pings jml thumper and mwhudson 23:01
mwhudsonhello23:01
* thumper pongs23:02
thumper:)23:02
jmlbarry: hi23:02
barryyay!  how's it going guys?23:02
thumperbusy23:02
jmlyeah, very busy23:02
thumpertoo many things to do at once23:03
barrymwhudson: very very busy?23:03
jmlpeople keep finding bugs in our software23:03
thumperoh, and I have a dentist appt in 1 hour23:03
mwhudsonbarry: you guessed it!23:03
thumperwhich I need to walk to23:03
barrywell then, we'll make this quick!23:03
barry[TOPIC] agenda23:03
MootBotNew Topic:  agenda23:03
barry* Roll call23:03
barry * asiapac meeting time change23:03
barry * deprecate zapi and ztapi in favor of zope.component APIs, gary23:03
barry * Action items23:03
barry * Mentoring update23:03
barry * Peanut gallery (anything not on the agenda)23:03
barrythat's basically copied from the ameu meeting this morning, which i have not had time to write up yet23:04
thumperok23:04
mwhudsonwell the first one seems to have worked23:04
barryindeed!23:04
barry[TOPIC]  * deprecate zapi and ztapi in favor of zope.component APIs, gary23:04
MootBotNew Topic:   * deprecate zapi and ztapi in favor of zope.component APIs, gary23:04
barrylet me see if i can channel gary_poster23:04
thumperdo anyone outside foundations care?23:05
jmlbarry_imposter23:05
thumperhaha23:05
barrythumper: probably not.  there's only about 70 hits for both in our code base23:05
mwhudsoni've used ztapi in a test i think once23:05
barryand most of those are in very old code23:05
mwhudsoni won't do it again :)23:05
mwhudsonnext23:05
barrymwhudson: yeah, you better not.  gary_poster is a big guy23:06
barry[TOPIC]  * Action items23:06
MootBotNew Topic:   * Action items23:06
mwhudsoni can't imagine him as a brawler though some how23:06
barry:)23:06
barry * abentley to email ml and gustavo with suggestions for improving storm23:06
jmlI think that's been done for some time :)23:06
barryabentley: right.  though today we talked about an experiment that abentley will conduct to see if he can create a base class that makes some annoyances simpler23:07
barrywe still do not want to use the sqlobject shim23:07
jmlbarry: sure.23:07
barrywe were generally agreed that native storm class defs and queries are fine with us23:07
jmlok.23:08
barrythough foo_id is boring23:08
barryand needing to specify the store is boring23:08
barrywe'll see what he comes up with23:08
thumperLPStorm class?23:08
jmlit's also complicated :)23:08
mwhudsondo you have to have the foo_id as a separate definition?23:08
jmlbarry: so I guess this is out-of-scope for reviewer meetings for the moment?23:08
barrythumper: something like that, tho i suspect a metaclass may be necessary23:08
thumpermwhudson: I believe so23:08
barrymwhudson: yep23:08
thumperI've seen both field_id and fieldID23:09
thumperdo we have a standard?23:09
barrymwhudson: foo_id = Int(primary=True); foo = Reference(foo_id, Foo.id)23:09
barrythumper: we do not23:09
* barry prefers and uses foo_id23:09
* thumper votes for field_id23:09
barrythumper: rock on23:09
mwhudsonbarry: wouldn't foo = Reference(Int(primary=True), Foo.id) work?23:09
barrymwhudson: interesting!  dunno23:09
thumperbarry: can you add an agenda item to add it for the next reviewer meeting23:09
mwhudsonif it does, i think we can write a convenience class....23:10
barry[ACTION] barry will add foo_id vs fooID to next reviewers meeting23:10
MootBotACTION received:  barry will add foo_id vs fooID to next reviewers meeting23:10
mwhudsonFKeyIDRef or something23:10
thumpermwhudson: sometimes you need to do field.foo_id.is_in([1,2,3])23:10
jmlmwhudson: best. name. evar. :P23:10
mwhudsonah ok23:10
thumpermwhudson: a bit hard to do without a defined foo_id23:10
mwhudsoni should mention this on the list i guess23:10
barrymwhudson: please do23:10
barrynext?23:11
thumperya23:11
thumperyarp23:11
barry * flacoste to take dead zone reviews issue to ml23:11
barryhe did this23:11
barryjtv was at our meeting and i think we've decided on mp + cover + an irc cue23:11
barrybasically jtv and stub would add a cue to the, er queue to let ocrs know that thye have branches they'd like reviewed23:12
barryor something like that.  i don't remember the details, but i'll write it up when i go through the minutes23:12
thumperI've also cleaned up the claiming a team review23:13
thumperso we should have less pending team review23:13
thumpers23:13
thumperwhen someone has done one23:13
mwhudsoni guess in time, jtv and stub will end up reviewing each other's branches a lot23:13
barryyep, stubs a mentat now23:13
jmlthumper: the remaining issue is that it's still hard to see which branches need review.23:13
thumperaction for me: make sure a default reviewer is added through bzr send if none specified23:13
* thumper thinks23:13
thumperif we have a bug for this23:14
barrythumper: yes please.  and btw, i used bzr send for the first time yesterday. awesome sauce23:14
thumperincrease its priority23:14
jmlthumper: partly because the mp status isn't always updated.23:14
thumperbarry: just wait for the changes with jml is reviewing23:14
thumperjml: I've got some ideas23:14
thumperlets make the views better23:14
jmlthumper: partly because there aren't clear mp statuses for "reviewed, waiting on reply"23:15
* barry *can't* wait :)23:15
thumperjml: lets make one23:15
thumperjml: we use a decorated class now anyway23:15
jmlthumper: let's talk about it after :)23:15
thumperjml: let's just invent a new status column23:15
* thumper nods23:15
barrysounds good.  thanks guys23:15
barry * gary to email list about RENormalizing test, investigate alternate inline spellings23:16
barryhe did this23:16
barrydoctest is hard to extend23:16
barry'nuff said23:16
* jml coughs politely23:16
* mwhudson is tempted to say "two wrongs don't make a right"23:16
barry:)23:16
barryboth flacoste and i suck at our two action items so i won't even mention them23:17
mwhudsonif you can't specify this close-to-inline, it's a terrible terrible idea23:17
jmlbarry: you probably should :)23:17
mwhudsonotherwise, it's just terrible, perhaps23:17
barry * barry to add `pretty()` functions to reviewers docs23:17
barry * flacoste to work on API reviewer cheat sheet23:17
jmlthese are both good ideas.23:18
barrymwhudson: we all agree on that!23:18
mwhudsongood23:18
barryjml: yep, we should suck less and do more23:18
barryanyway, that's about it for my list.  do you guys have anything y'all want to talk about?23:18
thumperI'm working my way through the code-review bugs23:19
thumperif people have a strong opinion about something23:19
thumperthey should contact me directly23:20
jmlbarry: I have a couple of things23:20
thumperotherwise they'll be fixed in thumper-priority23:20
mwhudsoni guess i could say the same about loggerhead/codebrowse23:20
barrythumper: isn't that thumpertime?23:20
barrythumper: thanks23:20
barryjml: go ahead23:20
thumperbarry: something like that :)23:20
jmlfirst, the reviewer checklist23:20
jml1. it's getting kind of long23:21
jml2, it's hard to find23:21
jmlthe first one is a someday/maybe thing23:21
jmli.e. it doesn't matter too much, but it would be nice if it were shorter and more usable23:22
jmlbut I actually don't know where to find the latest version :)23:22
barryagreed, agreed. it's on My List to garden it and move it to dev.lp.net23:22
jmlcool.23:22
jmlsecond, mentoring23:22
jmlI'm mentoring stub, and I don't feel I'm doing a particularly good job of it.23:23
barryjml: because of the tz?23:23
jmlbarry: partly23:23
jmlbarry: in more than one way, actually. there's not a huge deal of overlap, for a start.23:23
jmlbarry: but also my OCR day is busiest in the morning, as people from the Americas submit things on their Thursday evening.23:24
barryjml: and you overlap with stub in the morning?23:24
jmlmy afternoon.23:25
thumperstub's morning23:25
barryjml: i can chat with flacoste and/or stub if you want to see if we can line someone else up23:25
jmlalso, are there any docs on mentoring on the wiki?23:26
barryjml: some i think, but probably not much23:26
jmlbarry: that might be a good idea. let's leave it for another week though & see how it goes.23:26
mwhudsonoverlapping in the mentees morning isn't really the right end of things, i guess23:26
barryjml: sounds good23:26
jmlthat's it from me.23:27
barrythat tz is just a challenge all around unfortunately23:27
barrycool, thanks jml.  anything else guys?23:27
thumpernope23:27
mwhudsonnope23:28
barryguess we're done!23:28
barry#endmeeting23:28
MootBotMeeting finished at 17:28.23:28
thumperyay23:28
mwhudsonthanks bazza23:28
barrythanks.  btw, i really like this meeting time23:28
jmlbarry: ya :)23:28
jmlme too.23:28
barrygreat! see y'all back at the ranch23:28

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