=== 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 [12:47] wallyworld_: 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:48] gmb: which one? the codehosting error leakage? [12:48] wallyworld_: Yes, sorry. [12:50] 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 him [12:51] wallyworld_: 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:52] gmb: ok. i'll double check with tim to ensure he is 100% happy because i really don't want to screw anything up [12:53] thanks for looking at the code [12:53] wallyworld_: Cool, works for me. Best to request a review from him on the merge proposal so that we can track it. [12:53] wallyworld_: No problem. [13:05] wallyworld_: r=me. I've added thumper as a reviewer, too. === 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 [13:10] gmb: thanks for picking that up ;) [13:13] :) === mrevell is now known as mrevell-lunch [13:27] henninge: r=me with a couple of nitpicks. === 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 [13:37] gmb: thanks [13:39] np [13:40] gmb: oops, I left the changes in migrate_current_flag.py in there by accident. That was just meant for debugging something else. === 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 [13:48] henninge: Heh, okay. === mrevell-lunch is now known as mrevell === matsubara is now known as matsubara-lunch [14:27] hi gmb can i have a review of a small branch? [14:29] bac: Sure [14:29] gmb: https://code.edge.launchpad.net/~bac/launchpad/bug-674897/+merge/42238 [14:29] thanks [14:39] bac: r=me [14:42] thanks graham [14:48] anyone available to do a quick ui review on https://code.edge.launchpad.net/~jcsackett/launchpad/launchpad-ids-270310/+merge/42190? [14:58] jcsackett, can it be in about 1h, after my lunch? [14:58] salgado: sure, that sounds great. [14:58] salgado: when you get to it, screenshot is in Demo in the proposal write-up. [14:59] cool, will remember that === salgado is now known as salgado-lunch === matsubara-lunch is now known as matsubara [15:17] gmb, leonardr: could you please review this MP: https://code.edge.launchpad.net/~adeuring/launchpad/bug-596944-model/+merge/42253 ? [15:18] adeuring, sure [15:18] thanks! [15:22] adeuring: 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] leonardr: many kernel or X related bugs are harware related. And you have one symptom caused by drivers for different hardware [15:23] ok [15:23] leonardr: this lets people say "yes, that's my bug", when it fact isn't === salgado-lunch is now known as salgado [16:08] adeuring, r=me [16:08] leonardr: thanks! === benji is now known as benji-lunch [16:55] salgado: sinzui grabbed the ui review i needed, so you're off the hook. [16:56] oh, sorry [16:56] I am still getting my head together after a week off [16:57] jcsackett, yeah, I noticed that when I got back from lunch [16:57] salgado: cool. === 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 [19:38] Hi leonardr! [19:38] Would be great if you could review my branch, please. ;) [19:39] https://code.launchpad.net/~henninge/launchpad/db-devel-bug-611668-filtermethods-2/+merge/42293 [19:39] henninge: sure, if i can do it in the next 20 minutes... [19:39] have a look. [19:39] leonardr: it's oversized but has a lot of repetetive changes in it. [19:39] henninge: describe to me the new translation model you mention in the mp? [19:40] translations used to be flagged as "current" and/or "imported" and we had different sets for a project and its linked source package. [19:41] the basis for the new model is that translations are shared between a project and its linked Ubuntu package. [19:41] so the meaning for the two flags changed and they were renamed. [19:42] They are now "is_current_ubuntu" and "is_current_upstream" [19:43] which indicate if a particular translation is used by both the project and the Ubuntu packaged or if the two translations differ. [19:43] scratch that second half [19:43] ... or if it is just used on one side. [19:44] so 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] meaning "upstream" and "Ubuntu" or vice versa, depending on wether you look at the translations for a project or for an Ubuntu package. [19:45] leonardr: can you follow ... ? ;-) [19:46] yeah, i think so [19:46] The concept of "imported" is gone. [19:47] "imported translation", I should say [19:47] and has been replaced by "translation on the other side" [19:47] henninge: 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] or, rather, not from a utility but from some other data model object [19:47] the SideTraits [19:48] is it hard-coded in different subclasses of SideTraits? [19:48] exactly [19:48] there are only two subclasses [19:48] "upstream" and "ubuntu" [19:48] ok [19:49] and the flag names "is_current_ubuntu" and "is_current_upstream" are hardcoded in those classes. [19:49] (hence no quoting, if that is what you were wondering ;) [19:50] henninge: why did makeTranslationMessage become makeCurrentTranslationMessage? just to avoid ambiguity? [19:50] i saw that happened in the earlier branch too [19:51] when do you pass in diverged=True and when not? what's going on in the different methods starting at line 212? [19:51] (sorry for not digging in myself, but it'll go faster if you just answer my stupid questions) [19:51] that's ok [19:52] part 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] it has been replaced by a couple of light-weight methods. [19:53] makeCurrentTranslationMessage uses those new method, whereas makeTranslationMessage uses updateTranslation to create translation messages. [19:53] henninge: what's the difference between a diverged translation and a changed translation? [19:54] the difference is between "diverged" and "shared" [19:54] "shared" translations are used across productseries or distroseries respectively. [19:54] "diverged" translations are pinned to a specific series and take precedence over shared ones. [19:55] * henninge looks at line 212 [19:56] henninge: i still don't understand what a 'changed' translation is [19:56] ah! [19:56] Changed is really an old term [19:57] how 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:58] leonardr: exactly. It has no "is_current" flag set. [19:58] unprivileged uses can enter suggestions which can then be accepted by translation reviewers. [19:59] henninge: StatistcsFiltersTestScenario should be Statistics... [19:59] which results in setting the is_current* flag [19:59] oh, right [19:59] is this a class you intend to fill out? it doesn't do anything right now [19:59] StatistcsFiltersTestScenario? [19:59] it does. [20:00] It is used by TestUpstreamFilters and TestUbuntuFilters to make a test case. [20:00] They are all based on StatisticsTestScenario which has the actual tests. [20:01] the tests are all run from both sides "Upstream" and "Ubuntu" [20:01] leonardr: is that what you meant? [20:01] I still meant to explain about "changed" [20:02] ok, i see what you mean. yes, explain about changed [20:02] It used to be that a translation was "imported" from a file, usually what the project had published upstream. [20:03] so it was imported with both "is_current" and "is_imported" set. [20:03] Now, if somebody went and changed that translation, effectively adding a new translation, the flags would be split between the two. [20:04] One is actually used, so "is_current", the other still shows how it was imported, so "is_imported" [20:04] The "ChangedInUbuntu" filter showed all strings for which a translation different from the imported one exists. [20:06] Since 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] that's why I changed the name to "DifferentTranslations" [20:06] leonardr: is that clearer now? [20:07] henninge: i believe i was confused by the code starting on line 624, where you use 'changed' in the sample data [20:08] I did? [20:08] yeah, line 627, "changed translation" [20:09] i don't really understand why it was "changed" and not "diverged", except that you didn't specify diverged=true [20:10] leonardr: look at the previous all to makeCurrentTranslation [20:10] line 615 [20:10] it specifies "current_other=True" [20:10] which means the translations is created with both flags set. [20:10] is_current and is_imported [20:10] ok [20:11] if you set diverged=True then is_current is false and is_imported is true? [20:11] well, is_current_ubuntu and is_current_upstream nowaday [20:11] and if you set nothing, what happens? [20:11] no flags == suggestion [20:13] "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 series [20:13] if that property ("potemplate" btw) is None, the message is "shared". [20:14] henninge: 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 tomorrow [20:14] i think i'm pretty close to approving this [20:14] I may or may not be around in two hours. [20:14] ok, i'll ping you [20:15] thanks for taking your time to think into this [20:15] yes, please try. === 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