/srv/irclogs.ubuntu.com/2010/11/30/#launchpad-reviews.txt

=== gmb changed the topic of #launchpad-reviews to: On call: gmb || Reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== matsubara-afk is now known as matsubara
=== gmb changed the topic of #launchpad-reviews to: On call: gmb || Reviewing: lunch || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== gmb changed the topic of #launchpad-reviews to: On call: gmb || Reviewing: wallyworld || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
gmbwallyworld_: Who was your pre-implementation contact for your branch? I ask because whilst your solution seems sane I don't have enough domain knowledge to know whether or not there's a better way to do it.12:47
wallyworld_gmb: which one? the codehosting error leakage?12:48
gmbwallyworld_: Yes, sorry.12:48
wallyworld_gmb: i talked with tim, aaron, and michael hudson. michael has an issue about raising a second oops but i couldn't see another way to do it. but i'm really new to this section of code. i'm sure tim wouldn't mind if you wanted to run any concerns by him12:50
gmbwallyworld_: I just wanted to check who you'd talked with about it; I'm not familiar with the code either. If Tim et. al. have given you their blessing that's good enough for me.12:51
wallyworld_gmb: ok. i'll double check with tim to ensure he is 100% happy because i really don't want to screw anything up12:52
wallyworld_thanks for looking at the code12:53
gmbwallyworld_: Cool, works for me. Best to request a review from him on the merge proposal so that we can track it.12:53
gmbwallyworld_: No problem.12:53
gmbwallyworld_: r=me. I've added thumper as a reviewer, too.13:05
=== gmb changed the topic of #launchpad-reviews to: On call: gmb || Reviewing: jcsackett || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== gmb changed the topic of #launchpad-reviews to: On call: gmb || Reviewing: henninge || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
henningegmb: thanks for picking that up ;)13:10
gmb:)13:13
=== mrevell is now known as mrevell-lunch
gmbhenninge: r=me with a couple of nitpicks.13:27
=== gmb changed the topic of #launchpad-reviews to: On call: gmb || Reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
henningegmb: thanks13:37
gmbnp13:39
henningegmb: oops, I left the changes in migrate_current_flag.py in there by accident. That was just meant for debugging something else.13:40
=== leonardr changed the topic of #launchpad-reviews to: On call: gmb, leonardr || Reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
gmbhenninge: Heh, okay.13:48
=== mrevell-lunch is now known as mrevell
=== matsubara is now known as matsubara-lunch
bachi gmb can i have a review of a small branch?14:27
gmbbac: Sure14:29
bacgmb: https://code.edge.launchpad.net/~bac/launchpad/bug-674897/+merge/4223814:29
bacthanks14:29
gmbbac: r=me14:39
bacthanks graham14:42
jcsackettanyone available to do a quick ui review on https://code.edge.launchpad.net/~jcsackett/launchpad/launchpad-ids-270310/+merge/42190?14:48
salgadojcsackett, can it be in about 1h, after my lunch?14:58
jcsackettsalgado: sure, that sounds great.14:58
jcsackettsalgado: when you get to it, screenshot is in Demo in the proposal write-up.14:58
salgadocool, will remember that14:59
=== salgado is now known as salgado-lunch
=== matsubara-lunch is now known as matsubara
adeuringgmb, leonardr: could you please review this MP: https://code.edge.launchpad.net/~adeuring/launchpad/bug-596944-model/+merge/42253 ?15:17
leonardradeuring, sure15:18
adeuringthanks!15:18
leonardradeuring: out of curiosity, do projects want to turn this off because our detection algorithm doesn't work for them, or because 'duplicate' bugs are helpful to them?15:22
adeuringleonardr: many kernel or X related bugs are harware related. And  you have one symptom caused by drivers for different hardware15:22
leonardrok15:23
adeuringleonardr: this lets people say "yes, that's my bug", when it fact isn't15:23
=== salgado-lunch is now known as salgado
leonardradeuring, r=me16:08
adeuringleonardr: thanks!16:08
=== benji is now known as benji-lunch
jcsackettsalgado: sinzui grabbed the ui review i needed, so you're off the hook.16:55
sinzuioh, sorry16:56
sinzuiI am still getting my head together after a week off16:56
salgadojcsackett, yeah, I noticed that when I got back from lunch16:57
jcsackettsalgado: cool.16:57
=== benji-lunch is now known as benjui
=== benjui is now known as benji
=== gary_poster_ is now known as gary_poster
=== henninge_ changed the topic of #launchpad-reviews to: On call: gmb, leonardr || Reviewing: - || queue: [henninge] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== henninge_ changed the topic of #launchpad-reviews to: On call: leonardr || Reviewing: - || queue: [henninge] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== henninge_ is now known as henninge
henningeHi leonardr!19:38
henningeWould be great if you could review my branch, please. ;)19:38
henningehttps://code.launchpad.net/~henninge/launchpad/db-devel-bug-611668-filtermethods-2/+merge/4229319:39
leonardrhenninge: sure, if i can do it in the next 20 minutes...19:39
henningehave a look.19:39
henningeleonardr: it's oversized but has a lot of repetetive changes in it.19:39
leonardrhenninge: describe to me the new translation model you mention in the mp?19:39
henningetranslations used to be flagged as "current" and/or "imported" and we had different sets for a project and its linked source package.19:40
henningethe basis for the new model is that translations are shared between a project and its linked Ubuntu package.19:41
henningeso the meaning for the two flags changed and they were renamed.19:41
henningeThey are now "is_current_ubuntu" and "is_current_upstream"19:42
henningewhich indicate if a particular translation is used by both the project and the Ubuntu packaged or if the two translations differ.19:43
henningescratch that second half19:43
henninge... or if it is just used on one side.19:43
henningeso a lot of the transition is to make code "side aware", that is they have a concept on "this side" and "the other side".19:44
henningemeaning "upstream" and "Ubuntu" or vice versa, depending on wether you look at the translations for a project or for an Ubuntu package.19:44
henningeleonardr: can you follow ... ? ;-)19:45
leonardryeah, i think so19:46
henningeThe concept of "imported" is gone.19:46
henninge"imported translation", I should say19:47
henningeand has been replaced by "translation on the other side"19:47
leonardrhenninge: it looks like in pofile.py you have a database field name obtained from a utility. is that ok? is that field name hard-coded in different utilities?19:47
leonardror, rather, not from a utility but from some other data model object19:47
henningethe SideTraits19:47
leonardris it hard-coded in different subclasses of SideTraits?19:48
henningeexactly19:48
henningethere are only two subclasses19:48
henninge"upstream" and "ubuntu"19:48
leonardrok19:48
henningeand the flag names "is_current_ubuntu" and "is_current_upstream" are hardcoded in those classes.19:49
henninge(hence no quoting, if that is what you were wondering ;)19:49
leonardrhenninge: why did makeTranslationMessage become makeCurrentTranslationMessage? just to avoid ambiguity?19:50
leonardri saw that happened in the earlier branch too19:50
leonardrwhen do you pass in diverged=True and when not? what's going on in the different methods starting at line 212?19:51
leonardr(sorry for not digging in myself, but it'll go faster if you just answer my stupid questions)19:51
henningethat's ok19:51
henningepart of the change in this feature is that we got rid of an old method called "updateTranslation" which had grown out of proportion and is deeply rooted in the old model.19:52
henningeit has been replaced by a couple of light-weight methods.19:52
henningemakeCurrentTranslationMessage uses those new method, whereas makeTranslationMessage uses updateTranslation to create translation messages.19:53
leonardrhenninge: what's the difference between a diverged translation and a changed translation?19:53
henningethe difference is between "diverged" and "shared"19:54
henninge"shared" translations are used across productseries or distroseries respectively.19:54
henninge"diverged" translations are pinned to a specific series and take precedence over shared ones.19:54
* henninge looks at line 21219:55
leonardrhenninge: i still don't understand what a 'changed' translation is19:56
henningeah!19:56
henningeChanged is really an old term19:56
leonardrhow come you usually change makeTranslationMessage to makeCurrentTranslationMessage, but on line 758 you change it to makeSuggestion? Is a suggestion a type of translation message, like a user-contributed one?19:57
henningeleonardr: exactly. It has no "is_current" flag set.19:58
henningeunprivileged uses can enter suggestions which can then be accepted by translation reviewers.19:58
leonardrhenninge: StatistcsFiltersTestScenario should be Statistics...19:59
henningewhich results in setting the is_current* flag19:59
henningeoh, right19:59
leonardris this a class you intend to fill out? it doesn't do anything right now19:59
henninge StatistcsFiltersTestScenario?19:59
henningeit does.19:59
henningeIt is used by TestUpstreamFilters and TestUbuntuFilters to make a test case.20:00
henningeThey are all based on StatisticsTestScenario which has the actual tests.20:00
henningethe tests are all run from both sides "Upstream" and "Ubuntu"20:01
henningeleonardr: is that what you meant?20:01
henningeI still meant to explain about "changed"20:01
leonardrok, i see what you mean. yes, explain about changed20:02
henningeIt used to be that a translation was "imported" from a file, usually what the project had published upstream.20:02
henningeso it was imported with both "is_current" and "is_imported" set.20:03
henningeNow, if somebody went and changed that translation, effectively adding a new translation, the flags would be split between the two.20:03
henningeOne is actually used, so "is_current", the other still shows how it was imported, so "is_imported"20:04
henningeThe "ChangedInUbuntu" filter showed all strings for which a translation different from the imported one exists.20:04
henningeSince the "imported" concept has been replaced by the "upstream/ubuntu" concept, the Filter now shows where translations differ between the project and its linked Ubuntu package.20:06
henningethat's why I changed the name to "DifferentTranslations"20:06
henningeleonardr: is that clearer now?20:06
leonardrhenninge: i believe i was confused by the code starting on line 624, where you use 'changed' in the sample data20:07
henningeI did?20:08
leonardryeah, line 627, "changed translation"20:08
leonardri don't really understand why it was "changed" and not "diverged", except that you didn't specify diverged=true20:09
henningeleonardr: look at the previous all to makeCurrentTranslation20:10
henningeline 61520:10
henningeit specifies "current_other=True"20:10
henningewhich means the translations is created with both flags set.20:10
leonardris_current and is_imported20:10
leonardrok20:10
leonardrif you set diverged=True then is_current is false and is_imported is true?20:11
henningewell, is_current_ubuntu and is_current_upstream nowaday20:11
leonardrand if you set nothing, what happens?20:11
henningeno flags == suggestion20:11
henninge"diverged" is not indicated by the flags but by another propety of the translation that links this translation to a specific translation template which in turn is linked to a specific series20:13
henningeif that property ("potemplate" btw) is None, the message is "shared".20:13
leonardrhenninge: i absolutely must go, sorry. i can take another look when i come back (probably in about 2 hours), or you can find someone else, or we can take it up tomorrow20:14
leonardri think i'm pretty close to approving this20:14
henningeI may or may not be around in two hours.20:14
leonardrok, i'll ping you20:14
henningethanks for taking your time to think into this20:15
henningeyes, please try.20:15
=== leonardr changed the topic of #launchpad-reviews to: On call: - || Reviewing: - || queue: [henninge] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== matsubara is now known as matsubara-afk
=== salgado is now known as salgado-afk

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