/srv/irclogs.ubuntu.com/2008/10/08/#launchpad-meeting.txt

=== mrevell is now known as mrevell-lunch
=== salgado-afk is now known as salgado
=== cprov1 is now known as cprov
=== mrevell-lunch is now known as mrevell
barry#startmeeting15:00
MootBotMeeting started at 09:01. The chair is barry.15:00
MootBotCommands Available: [TOPIC], [IDEA], [ACTION], [AGREED], [LINK], [VOTE]15:00
intellectronicame15:01
barryhello everybody and welcome to this week's meeting.  who's here today15:01
rockstarme15:01
sinzuime15:01
bacme15:01
gmbme15:01
marsme15:01
bigjoolsme15:01
flacosteme15:01
salgadome15:01
allenapme15:02
abentleyme15:02
cprovme15:03
EdwinGrubbsme15:03
barry[TOPIC] agenda15:04
MootBotNew Topic:  agenda15:04
intellectronicabarry: Bjorn mentioned that he'll be away this afternoon, maybe he's not back yet15:04
barry== Agenda ==15:04
barry * Roll call15:04
barry * Cross-referencing monkey patches in code (intellectronica, bigjools)15:04
barry * If there's time, the old boring script15:04
barry   * Next meeting15:04
barry   * Action items15:04
barry   * Queue status15:04
barry   * Mentoring update15:04
barry[TOPIC]  * Cross-referencing monkey patches in code (intellectronica, bigjools)15:05
MootBotNew Topic:   * Cross-referencing monkey patches in code (intellectronica, bigjools)15:05
barryintellectronica, bigjools the floor is yours15:05
intellectronicaok, i'll go15:05
* bigjools looks at intellectronica since he added the topic :)15:05
intellectronicasometimes we need to monkey patch code15:06
intellectronicathis became quite frequent since we started exporting stuff to the API15:06
flacoste?15:07
bigjoolscircular imports15:07
intellectronicasince in order to avoid circular imports we often need to amend classes after they're first declared15:07
barryintellectronica: can we define "monkey patch" :)15:07
flacostethat,s not monkey patching!15:07
flacostethat's working around circular imports!15:07
intellectronicaflacoste: ok, since you oobviosly understand what i'm talking about, how about you propose a better definition?15:07
sinzuibarry is the master of monkeypatching15:07
sinzuisee launchpad/mailman/monkeypaches15:08
flacosteintellectronica: well, you are talking about the working around of circular imports, right?15:08
intellectronicaflacoste:15:08
intellectronicaflacoste: yup15:08
* barry is a patched monkey15:08
flacosteintellectronica: ok, so what is the issue you wanted to raise about this?15:09
intellectronicasee l/c/l/interfaces/bugtask.py:634 for a representative example of the problem i'm referring to15:09
intellectronicaso, while working through a problem bigjools and i realised that it's often quite difficult, when you look at the class definition, to know where it's being amended15:09
intellectronicaand wanted to suggest that we make it a requirement to cross reference the places using comments15:10
intellectronicaso that next to the general definition, you'll have to add a comment saying where it's being patched15:10
barryintellectronica: that seems like good practice to me15:11
flacosteso where we have schema=Interface, # ITeamMembership15:11
flacostewe would have15:11
flacosteschema=Interface, # ITeamMembership, in teammembership.py?15:11
bigjoolssee interfaces/archive.py for an example of how bac recommended I do this yesterday15:12
intellectronicaflacoste: yes, maybe even something more specific, as long as it's maintainable15:12
abentleyI think that this fixup requirement is a framework bug.  We should allow schema='ITeamMembership'15:12
marsflacoste, wild speculation, can Zope 3.4 deferred imports take care of this?15:12
barryabentley: you beat me to it.  +115:12
intellectronicaabentley: that's a _really_ nice idea15:12
flacosteyes, now that we have zope 3.4, we can look into deferredimport15:12
barryeliminating the patch up is definitely the right way to go15:13
flacostegary reports that it's not necessarily nice15:13
flacosteso if that turns out to be true15:13
abentleyI'm happy with requiring an xreference until that's fixed.15:13
flacostewe should look into supporting schema='canonical.launchpad.interfaces.ITeamMembership'15:13
barryagreed.  so who can i give an action item to for that?15:14
flacostefoundations15:14
flacostewe can look into deferredimport15:14
flacosteand fix all of them15:14
flacosteotherwise, we'll file a bug15:14
barry[ACTION] flacoste & foundations to look into techniques for eliminating back-patching of schema types to avoid circular imports15:15
MootBotACTION received:  flacoste & foundations to look into techniques for eliminating back-patching of schema types to avoid circular imports15:15
flacosteactually, iirc, there is already a bug reported about using deferredimport15:15
barryanything else on this topic?15:15
abentleyflacoste: We also have the option of using bzrlib's lazy_import.15:16
flacosteinteresting!15:16
flacostei diN,t know about that one15:16
* barry wishes python had a standard way of doing it15:17
abentleybarry: What about the one in the email module :-) ?15:17
barryabentley: yech :)15:17
* rockstar notes that barry can make a standard way of doing it with his commit access.15:17
* bigjools coughs and mentions that even C has a way of doing this15:17
* barry emits an evil chortle15:18
barrythat's all the fun stuff on the agenda, so it's boring script time15:18
barry[TOPIC] action items15:18
MootBotNew Topic:  action items15:18
barry * barry will move the preimp discussion to the ml15:18
barryfail.  but i did pull my half written email out of my drafts folder so i'll do that today <wink>15:19
barry * flacoste to take discussion of rest v. moin to ml15:19
flacostethat will happen once gary finishes his example15:19
flacosteshould be soon15:19
barryflacoste: excellent, thanks15:19
barry * rockstar to take discussion of adding launchpadlib tests for exposed api to ml15:20
rockstarOh noes!  This has been an my TODO list for a week!  I will start the discussion now.15:21
barryrockstar: thanks!15:21
barry * abentley to investigate current code coverage tools for lp tests15:21
abentleybarry: I haven't done this yet.15:21
barryabentley: np, we'll just carry it over15:22
gmbabentley: ISTR allenap did something related to this a way back.15:22
gmbUnless I remember incorrectly.15:22
gmbabentley: So it might be worth tapping his newly-returned cranium for information.15:22
sinzuiabentley: gmb: allenap did!15:22
gmbThank you, Launchpad team historian.15:23
barry:)15:23
barry[TOPIC]    * Queue status15:24
MootBotNew Topic:     * Queue status15:24
barryany comments on the queue?  either the review queue, pqm, etc.15:24
gmbApart from the occasional overnight buildup15:25
gmb(AMEU time)15:25
gmbThe queue is very manageable at the moment.15:25
gmb(At least ona Thursday)15:26
intellectronicawe've got more reviewers, that really helps15:26
barrybtw, i'm hoping that by epic we can try merge proposals again.  the redesigned u/i really looks great15:26
barryintellectronica: indeed.15:26
rockstarbarry, that should land soon15:27
barryrockstar, abentley: correct me if i'm wrong, but diffs are still a ways away15:27
* rockstar looks at abentley 15:27
abentleybarry: Hard to say.15:27
rockstarDatabase patches...  :)15:28
barryah :)15:28
abentleyI'll be implementing diffs this week or next, I think.15:28
barryabentley: will that include diffstats?15:28
abentleybarry: Not initially.15:29
* bigjools has to duck out now15:30
barrycool, thanks15:30
barry[TOPIC]    * Mentoring update15:30
MootBotNew Topic:     * Mentoring update15:30
barryany feedback here?15:30
gmbbarry: mars is doing an exceelent job.15:31
bacrockstar continues doing a great job15:31
gmbNot all that many reviews to do, sadly.15:31
* rockstar feels warm inside15:31
* gmb hands rockstar an antacid15:31
* barry feels bad that he's missed abentley's last few sessions15:31
barryabentley: we'll get back on track after epic15:32
abentleybarry: We managed alright.15:32
barryabentley: yep, appreciated!15:32
abentleyThe big problem was getting attention from Rinchen and kiko the first time, when I didn't know what to do.15:32
barryyep, they're busy guys :)15:33
barryanyway, that's all i have today.  do you have any topics not on the agenda?15:33
rockstarNegative15:33
abentleybarry: No.15:33
barryokie dokie!  have a great week everybody and thanks for coming15:34
barry#endmeeting15:34
MootBotMeeting finished at 09:34.15:34
gmbThanks barry.15:34
=== salgado is now known as salgado-lunch
=== salgado-lunch is now known as salgado
=== salgado is now known as salgado-afk

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