/srv/irclogs.ubuntu.com/2010/07/05/#launchpad-reviews.txt

=== henninge changed the topic of #launchpad-reviews to: On call: henninge || reviewing: - || queue: [-] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
noodles775Hi henninge, would you be able to review an MP of Jelmer's for us pls? https://code.edge.launchpad.net/~jelmer/launchpad/archive-arch-fix/+merge/2916008:34
* henninge looks and considers ... 08:42
henninge:-P08:42
noodles775:)08:42
henningenoodles775: yeah, ok ;)08:42
noodles775Great, thanks!08:42
=== henninge changed the topic of #launchpad-reviews to: On call: henninge || reviewing: jelmer || queue: [-] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
henningenoodles775: so, do I talk to you about the mp or shall I just reply by mail to jelmer so that he can process it?08:52
noodles775henninge: Best to do it on the MP if that's ok.08:53
henningeyes, find08:53
henningee08:53
henningedine08:54
henningefine08:54
henninge;)08:54
noodles775lol08:54
=== henninge_ changed the topic of #launchpad-reviews to: On call: henninge || reviewing: - || queue: [-] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== henninge_ is now known as henninge
henningenoodles775: reviewed but not yet approved.11:05
noodles775henninge: thanks for that.11:05
bigjoolshenninge: I'll take over11:15
bigjoolswasup?11:15
henningebigjools: I replied in the MP11:15
bigjoolshenninge: what's the URL for that please?11:16
henningehttps://code.edge.launchpad.net/~jelmer/launchpad/archive-arch-fix/+merge/2916011:16
bigjoolshenninge: what are you referring to with "I see more instances of that" ?11:30
bigjoolsoh the dodgy docstrings?11:31
henningeright11:31
bigjoolshenninge: replied11:42
henningecheers11:42
=== henninge changed the topic of #launchpad-reviews to: On call: henninge || reviewing: lunch || queue: [-] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== StevenK changed the topic of #launchpad-reviews to: On call: henninge || reviewing: lunch || queue: [StevenK] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
bigjoolshenninge: you really want another MP?13:49
henningebigjools: no, I just thought you'll need it to request the r-c, don't you?13:50
henningecp, not r-c13:50
bigjoolshenninge: I can do that on the existing one13:50
bigjoolsit's for r-c13:50
bigjoolsso it goes in this release13:50
henningeoh, right, we release13:50
henninge;)13:50
bigjools:)13:50
henninge bigjools: as you like it ;)13:51
bigjoolsthat restricted architecture stuff that was done as a while ago was a total shambles13:51
bigjoolsthis is not the first fix to what you'd think would be an obvious bug13:52
henningeuh-oh13:52
henningeI am still -1 on the (actual, expected) thing, btw.13:52
bigjoolsit reads so much better to me that way :/13:53
bigjoolsthen it's more like how we write code with a '==' operator13:53
mwhudsonyou could always use assertThat(value, Equals(expected)) :-)13:55
=== henninge changed the topic of #launchpad-reviews to: On call: henninge || reviewing: - || queue: [StevenK] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
adiroibanjtv, henninge hi, I have updated the branch for POFile statistics, to export them as a dedicated object https://code.edge.launchpad.net/~adiroiban/launchpad/bug-583934/+merge/2696514:11
jtvadiroiban: thanks, I'll take a look right now14:12
adiroibani had to create a canonical_url for the new object14:12
adiroibannot sure if we want that14:12
adiroibanor we want to create StatisticsObject for each statistics type14:12
adiroibanor a single StatisticsObject that will handle statistics for POFile, DistroSeriesLangauges, SourcePackages14:13
* StevenK pouts at adiroiban jumping the queue :-P14:25
adiroibanStevenK: sorry for that. This is a pre-imp chat , not a real MP14:29
StevenKadiroiban: It's all good :-)14:32
=== abentley changed the topic of #launchpad-reviews to: On call: henninge, abentley || reviewing: -,- || queue: [StevenK] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
jtvadiroiban: what you did looks right to me (though I'm not a zope expert) though I wouldn't special-case the "statistics" string in the navigation class.  Wouldn't +statistics (or +stats) be a cleaner way to solve this?15:06
adiroibanjtv: afaik, +somethins is for describing a view15:07
adiroibannot an object15:07
jtvadiroiban: frankly I've always wondered about that.  :)15:08
adiroibanalso, I don't know how to avoid the special casing on the URL traversal15:10
jtvTrue, you'll definitely have to have _some_ special-casing if we don't want to rearrange our URLs15:11
adiroibanjtv: what I am not sure that I did right, is the exposure of TranslationStatistics objects only in the API and not in the browser view15:12
adiroibanI am not sure if this is ok15:13
adiroibanor the rule is to have a direct match between API and the browser views15:13
jtvadiroiban: I don't know of any such rule... maybe someday we'll find it useful to attach a small view to this but that's for later I think.15:14
adiroibanok15:15
adiroibanthen I will go on and polish the code15:16
StevenKhenninge, abentley: Which one of you wants to look at my MP? :-)15:17
henningeStevenK: already lookin15:18
henningeg15:18
=== henninge changed the topic of #launchpad-reviews to: On call: henninge, abentley || reviewing: StevenK,- || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
adiroibanjtv: there is one more think I would like to ask. in model.POFile.translation_statistics , it creates a new statistics object on each call. Would it not be better to create a single statistics object in POFile.__init__, and retrieve it as a singleton?15:20
jtvadiroiban: I don't think it's worth it.15:21
jtvWe try not to cache things in ORM-backed classes.15:21
adiroibanjtv: for the future, I was thinking that we can move all translation statistics methods into this new object15:21
lifeless think + is used for many things15:21
lifeless+text, for instance15:21
jtvadiroiban: that still won't make it very expensive to create one of these objects, and bear in mind the object only lives for the duration of the request so it's not taking up space across requests either.  I just don't think it's a problem.15:22
adiroibanjtv: ok :)15:23
jtvWe have some other classes like this, like SourcePackage.15:23
adiroibanjtv: thanks. than I'm good. I will come back with a real MP :)15:30
jtvadiroiban: great, thanks!15:31
adiroibanlifeless: are you saying that I can use +statistics to retrieve an object and then have something like IPOFile/+statistics/+statisticsview ?15:34
lifelessmaybe15:34
lifelessI'm going to try sleeping again :P gnight15:34
adiroiban:)15:34
adiroibangood nigh15:34
StevenKhenninge: No news is good news?16:39
henningeStevenK: sorry but most likely yes ;)16:40
StevenKhenninge: Assuming silence to mean 'r=<nick>' is fraught with peril. And most likely, a lynching.16:42
henningeStevenK: yes, I got distracted but I am preparing my reply now. Hang in there.16:42
henningeStevenK: The test uses a celebrity for software-center-agent but the test uses this:16:45
henninge> +    >>> celebrity = factory.makePerson(name='software-center-agent')16:45
henningeOr am I missing a hidden functionality of makePerson that will return an existing person if the name matches?16:46
StevenKhenninge: software-center-agent doesn't exist in the sampledata16:46
henningeBut how can it be a celebrity, then?16:46
StevenKThe celebrity look up is done via name16:46
StevenKSo Julian and I thought it easier if the tests that needed it (of which there are about 4) just created it16:47
bigjoolscelebs don't need to be in the sampledata16:47
henningeI thought they do ...16:47
bigjoolsbut StevenK does need to write a database patch to add it to production ;)16:47
StevenKI do? It already exists in production16:48
henningebigjools, StevenK: But is it not bad practice to do something like getUtility(ILaunchpadCelebrities).software_center_agent when that is not defined in the interrface?17:06
bigjoolshenninge: what interface?17:07
StevenKThe interface code calls that17:09
StevenKhenninge: It only does so for commercial P3As17:09
jtvabentley, care to review this tiny branch?  https://code.launchpad.net/~jtv/launchpad/recife-test-fixup/+merge/2921617:11
abentleyjtv, sure.17:13
abentleyjtv, what does "recife" mean?17:13
jtvabentley: thanks.  Recife is a feature branch we're working on (after the location of the corresponding sprint).17:13
abentleyWhat does it mean?17:14
jtvIt is the location of the sprint corresponding to the feature we're working on.17:14
abentleyjtv, I'm sure it won't be confused with "recipe" at all :-P17:15
abentleyjtv, Why does being a feature branch mean that EC2 is no help?17:16
henningeStevenK: review sent, r=me but with a little uneasiness.17:16
jtvabentley: well, "ec2 land" is no help.17:16
jtvabentley: Thinking I could just grab Henning, I failed to explain much about the change.  A template can be attached to either a ProductSeries or a DistroSeries + SourcePackageName.  In a review change to a test I wanted to make a template as a "cousin" to an existing template.  But instead of creating it for a distroseries + sourcepackagename like the existing one, I created it for a productseries.17:17
abentleyjtv, I see.17:17
abentleyjtv, r=me.17:18
jtvabentley: thanks17:18
=== abentley is now known as abentley-lunch
=== henninge changed the topic of #launchpad-reviews to: On call: abentley || reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
bigjoolsjtv: so you're using code names named after the sprint location too huh?17:24
bigjoolsthis is a good trend.  I want a Maldives project.17:24
=== matsubara is now known as matsubara-lunch
jtvbigjools: not as such, but coming up with a terse description of the feature somehow never became much of a priority with such a catchy name.17:24
bigjoolsjtv: we started tagging bugs "wellington" remember :)17:25
mwhudsontahiti would be ok, too17:26
bigjoolsas would tortola17:27
bigjoolswhich is a really cool name17:27
jtvRead the draft treaty the global-warmists were working out in Kopenhagen...  Bali meeting, Bangkok meeting, Hawaii meeting...  really handy.17:27
bigjoolsthere's certainly some increased air temperature at those meetings17:29
=== salgado is now known as salgado-lunch
=== salgado-lunch is now known as salgado
=== matsubara-lunch is now known as matsubara
=== abentley-lunch is now known as abentley-
=== abentley- is now known as abentley
=== jtv is now known as jtv-afk
=== flacoste_afk is now known as flacoste
=== matsubara is now known as matsubara-afk
=== abentley 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
=== salgado is now known as salgado-afk

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