=== abentley1 is now known as abentley === abentley1 is now known as abentley === ursula is now known as Ursinha === mrevell is now known as mrevell-lunch === matsubara-afk is now known as matsubara === mrevell-lunch is now known as mrevell === sinzui changed the topic of #launchpad-reviews to: on-call: - || reviewing: - || queue [sinzui] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews === henninge changed the topic of #launchpad-reviews to: on-call: henninge || reviewing: - || queue [sinzui] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews [14:16] * henninge forgot what "Monday" means ... ;) [14:28] sinzui: ping [14:28] hi henninge === henninge changed the topic of #launchpad-reviews to: on-call: henninge || reviewing: sinzui || queue [] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews [14:28] sinzui: I am looking at the obsolete-styles branch. === abentley changed the topic of #launchpad-reviews to: on-call: henninge, abentley || reviewing: sinzui, - || queue [] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews [14:30] sinzui: I am not sure about this kind of indention: http://paste.ubuntu.com/331726/ [14:30] I am [14:30] I am sure that is the best indentation [14:30] sinzui: ;) [14:31] henninge: CSS is like C, there is no indention, so we choose what we like. I like Python [14:31] sinzui: I was about to ask if that is the goal. [14:31] henninge: That is also the indentation in style-3.0.css [14:32] sinzui: I see [14:32] sinzui: should style.css be fixed eventually or will it go away, anyway? [14:33] It should go away [14:33] ok [14:33] once this branch lands, We can move the official global styles to the new CSS. We then have to decide what to do about the locale rules in the old stylesheet. === salgado is now known as salgado-lunch [14:48] sinzui: I see added vertical space between the footer and the content on branch and translations pages. It looks like this is now the same as on the overview page and I think it looks good. Was that intentional? [14:49] Yes. There were a few pages that were normalised by this [14:49] cool [14:50] Hey, anyone want to take a look at the what's new branch? The diff is tiny -- https://code.edge.launchpad.net/~matthew.revell/launchpad/whatsnew-3111/+merge/15426 [14:51] abentley: ^ === abentley changed the topic of #launchpad-reviews to: on-call: henninge, abentley || reviewing: sinzui, mrevell || queue [] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews [14:53] mrevell: r=abentley [14:53] thanks abentley! === abentley changed the topic of #launchpad-reviews to: on-call: henninge, abentley || reviewing: sinzui, - || queue [] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews [14:56] sinzui: r=me === henninge changed the topic of #launchpad-reviews to: on-call: henninge, abentley || reviewing: -, - || queue [] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews [14:56] henninge: thanks. === matsubara is now known as matsubara-lunch === danilo_ is now known as danilos [15:17] henninge: regarding MP reviews, when adding a new MP, should I ping someone, or it is ok just to add them in LP ? === beuno is now known as beuno-lunch [15:28] adiroiban: it is always a good idea to ask here. [15:29] adiroiban: the rule is: *You* are responsible for getting a review for your branch. [15:29] henninge: ok. then I should ping the current reviewer and ask him/her to look to my MPs ? [15:29] adiroiban: which is me, so you already did ... ;) [15:30] yep. One of my MPs is handled by Danilo [15:30] adiroiban: how many are there? [15:31] henninge: right now I got 4... for trivial bugs [15:31] adeuring: I see two, bug-135008 and bug-97293 [15:31] wow, these are old ;) [15:32] adiroiban: ^ [15:32] adeuring: tschuldigung [15:32] henninge: kein problem :) [15:32] adiroiban: which of these will be reviewed by danilo? [15:33] https://code.edge.launchpad.net/~adiroiban/launchpad/bug-487970/+merge/15250 [15:33] adiroiban: sorry, I failed bady on Friday merging your branch :( I'll try it again when PQM opens again [15:33] this one is reviewed by Adel https://code.edge.launchpad.net/~adiroiban/launchpad/bug-193750/+merge/15292 [15:34] but there are other 2 without a reviewer [15:34] https://code.edge.launchpad.net/~adiroiban/launchpad/bug-135008/+merge/15347 [15:34] https://code.edge.launchpad.net/~adiroiban/launchpad/bug-97293/+merge/15391 [15:34] adiroiban: I'll take one and slap eon on the queue. Maybe abentley will take one, too. === henninge changed the topic of #launchpad-reviews to: on-call: henninge, abentley || reviewing: adiroiban, - || queue [adiroiban] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews [15:36] oh, that one is trivial [15:36] henninge: yep. all of them are trivial :p [15:38] adiroiban: are you familiar with YUI? [15:38] nope [15:38] henninge: Which one are you doing? [15:39] abentley: 97293, bug I can do both if you are busy, they are quite small. [15:39] henninge: No, I'm not busy. [15:39] ;) [15:40] adeuring: instead of document.getElementById we use Y.get( '#...') [15:40] adiroiban: ^ [15:41] henninge: ok. I can do that. I was just looking at selectWidget function from the same file [15:41] or maybe that should be Y.one in yui3? [15:41] adiroiban: yes, this code is older than the introduction of yui3 [15:41] henninge: selectWidget [15:43] adiroiban: let me look at the full code ... === salgado-lunch is now known as salgado [15:48] adiroiban: yeah, this whole file would need to be converted to use yui. So never mind yui3 for now... [15:49] henninge: i'm still learning about LP dev practice. In the future I will try to use YUI3 [15:50] adiroiban: that is good! but in this case not using it probably was the better choice, to keep the code consistent. [15:51] henninge: Do you know why there's a search_lang attribute on LanguageSet? It doesn't seem to be part of the model. [15:52] abentley: search_lang is the HTTP_GET argument . not part of the model [15:52] abentley: it is only relevant for the form. Is the string used to match language names while doing the search [15:53] abentley: maybe I did something stupid, and „search_lang” should have been defined in another place [15:53] abentley: Let me look at it. [15:53] adiroiban: If it is only relevant for the form, why is it on the ILanguageSet interface? [15:54] henninge: It's adiroiban's addition, I see now. [15:55] abentley: i didn't know where it needs to be defined... so i put it there [15:56] abentley: can you suggest me how it should have been implemented? I can fix that :) [15:56] adiroiban: I suggest defining a new interface called ILanguageSearch in lib/lp/translations/browser/language.py [15:57] abentley: ok. you can leave all your observation as a comment in MP and I will try to solve those requests [15:59] adiroiban: Since ILanguageSearch will have only the member you want, you won't need the field_names list. === matsubara-lunch is now known as matsubara [16:01] adiroiban: What was your motivation for changing LanguageSetView into a LaunchpadFormView? === abentley changed the topic of #launchpad-reviews to: on-call: henninge, abentley || reviewing: adiroiban, adiroiban || queue [] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews [16:02] abentley: i was thinking this is the „standard” way of adding JS autoselect entry to a form [16:04] adiroiban, hey, thanks for all the work, I see you are coding on steroids :) I've reviewed your branch, do note that we won't be able to land any one of them before Wednesday, and most likely not before next Monday (we are only allowing release-critical landings right now) [16:04] abentley: I looked at all the other forms that have auto-focus enabled and they were all using LaunchpadFormView [16:05] adiroiban: Why do you tal:define script and use script in tal:content, instead of doing tal:content="view/focusedElementScript" ? [16:05] adiroiban: r=me === henninge changed the topic of #launchpad-reviews to: on-call: henninge, abentley || reviewing: -, adiroiban || queue [] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews [16:06] adiroiban: you will have to wait until next week to land it, though, as this will not be considered release-critical. [16:06] abentley: at is was use both in tal:condition and tal:content [16:06] adiroiban: please ping danilo or me on Monday to do it for you. [16:07] abentley: as is was use both in tal:condition and tal:content. I can change it if required [16:07] adiroiban: I am asking questions so I understand your patch better. I'm not implying your choices are wrong. [16:08] abentley: np. [16:09] adiroiban: So the only problem I see is the first one: putting search_lang on ILanguageSet. The rest looks fine, now that I understand it. [16:10] abentley: ok. I will fix that. [16:11] henninge, abentley: could one of you have a look at https://code.edge.launchpad.net/~bac/launchpad/ec2_attached/+merge/15272 [16:11] bac: looking [16:16] adiroiban: The Interfaces in our "interfaces" directories are meant to correspond with model objects. ILanguageSet shouldn't specify anything that LanguageSet can't provide, which is why search_lang didn't belong on ILanguageSet. Does that make sense? [16:17] abentley: yep. I was not aware of that policy === henninge changed the topic of #launchpad-reviews to: on-call: henninge, abentley || reviewing: bac, adiroiban || queue [] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews [16:17] bac: stray blank line at line 8 of the diff. [16:17] henninge, adiroiban: re bug-97293, there's a jslint warning: was that there before as well? if it was, never mind it, but if it wasn't, you should fix it first :) [16:18] danilos: oops, missed that [16:18] danilos: it was there [16:18] i did not touched that line === abentley changed the topic of #launchpad-reviews to: on-call: henninge, abentley || reviewing: bac, - || queue [] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews [16:18] adiroiban, ok, if you can figure out how to fix it, that'd be great, if not, never mind :) [16:18] danilos: I have no idea how to fix it [16:19] adiroiban, ok, then just ignore it (or perhaps file a bug against launchpad-foundations) [16:19] henninge: gone [16:20] danilos: i can read about JS closures and try to fix it ... if I will fail, will file a bug [16:21] bac: I am surprised there are not more parameters to the Option constructor but I guess boolean values defaulting to False are the default, right? [16:21] adiroiban, I think this is best left for whoever made it such, the code where it happens does look ugly with a debugging function being defined in a loop [16:21] henninge: i can double-check that [16:22] bac: the Option 'force' above that looks the same ... [16:22] henninge: yes, that was my example [16:22] adiroiban, it's not really a function definition, it's a YUI3 way of doing things, so I just wouldn't worry about it :) [16:22] danilos: I agree. [16:22] danilos: ok. then no need to file a bug? [16:23] adiroiban, you can if you want to, but don't spend time trying to fix it :) [16:23] danilos: ok [16:23] bac: where does run get called? I see the extension of the parameter list but would expect that to happen at the call site, too. [16:25] bac: oh, it's from EC2Command [16:25] henninge: let me look. it's part of the 'commandant' machinery [16:25] bac, yes, I just just figured. [16:26] bac: r=me [16:27] thanks henninge. === henninge changed the topic of #launchpad-reviews to: on-call: henninge, abentley || reviewing: -, - || queue [] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews [16:30] abentley: regarding the addition of LanguageSearch interface. Should I put it in lp.translations.interfaces.language rather than lp.services.worlddata.interfaces.language ? [16:32] adiroiban: As you explained, it has no purpose outside the context of the view. Therefore, I suggest putting it next to the view. I don't think it has value as a public API. [16:33] abentley: next to view means putting the interface in the same file ? [16:34] adiroiban: Yes. [16:34] abentley: :) ok [16:35] I specified that file here and in the review. [16:48] abentley: I have pushed the required changes. What would be the next step? [16:49] adiroiban: I'll have a look. [16:50] abentley: what is the normal LP process. Should I add a comment, ping you... or both ? [16:51] adiroiban: Normally, you'd add a comment saying you've made the requested changes. [16:51] adiroiban: Why have you added ILanguageSetSearch to lib/lp/services/worlddata/interfaces/language.py ? [16:52] abentley: it should be an error. [16:52] adiroiban: I don't understand. [16:52] abentley: it's just me being stupid . I'll fix that right away [16:53] adiroiban: Okay. [17:00] adiroiban: This looks good to me now. [17:00] abentley: sorry for messing it [17:00] adiroiban: np [17:03] abentley: ok. Should i ping you on Monday, or everthing is ok? [17:04] adiroiban: Please ping me on Monday. [17:05] abentley: ok. Henning told me I responsible for getting a review for your branch. I am also responsible for getting it merged into devel ? [17:06] adiroiban: I'm not sure. This is the first patch I've handled from a non-committer. [17:06] abentley: ok. [17:07] adiroiban: It would be simpler if this wasn't week 4. [17:10] abentley, adiroiban: I'd say you are responsible as long as non of us says "I'll handle it from here on" ;) [17:11] adiroiban: So get back to us about it in a week and we'll take the landing off your hand. [17:11] henninge: ok. no hurry to have them accepted/merged. I just wanted to learn the workflow [17:11] abentley: you can just land it, it will be credited to Adi. [17:12] adiroiban: Have you signed the contributor agreement? [17:12] adiroiban: we are in feature-freeze this week because of the roll-out, that is the only reason for not going straight ahead. [17:12] abentley: yep [17:12] abentley: you can check here https://edge.launchpad.net/~contributor-agreement-canonical [17:13] adiroiban: It *may* be best to have one person land all your branches. [17:13] but I am not sure. [17:13] henninge: ok. in that case, what is the next action I will have to do ? [17:15] adiroiban: The next step is run the full test suite on it (on ec2) and land the branch [17:15] adiroiban: oh, and since a week will pass, wou will also have to merge devel again to check for conflicts. [17:15] henninge_: hm... [17:16] henninge_: i can do the devel merge... but not sure about ec2 testing [17:16] adiroiban: once that is done (and resolved), ping me and I'll do the testing and landing. [17:16] adiroiban: no, you cannot. [17:17] henninge_ ok. [17:17] adiroiban: you *could* run the test suite locally (make check), that'll take a few hours, but there is no need for that. [17:18] henninge_: on my computer it will take days :) [17:18] henninge_: but I'm running the translation test suite [17:18] and also testing for specific stories [17:19] cool [17:19] adiroiban: I will go home now. ttyl [17:20] henninge_: have a nice evening === henninge_ changed the topic of #launchpad-reviews to: on-call: abentley || reviewing: - || queue [] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews [17:20] adeuring: you too! [17:21] henninge: ...and you ;) === beuno-lunch is now known as beuno === abentley is now known as abentley-lunch === deryck is now known as deryck[lunch] === abentley-lunch is now known as abentley === abentley1 is now known as abentley === deryck[lunch] is now known as deryck [20:07] abentley, I'm about to go EOD, but I have a really simple css fix. care to take a look, or can you do an offline review later? [20:13] deryck: I'll do an offline review later. [20:14] deryck: I've grabbed the branch [20:14] deryck: and happy to look at it [20:14] thumper, excellent, thanks! [20:14] thanks anyway, abentley (since thumper has it now) [20:36] thumper, I've got to bail for the day. Will check back later about the review. [21:17] abentley: i've got a branch coming up which is targeted to the next cycle. would you have time to look at it? [21:17] bac: probably. on a call. [21:18] abentley: ok. i'll paste it when it shows up. no rush. thanks. === salgado is now known as salgado-afk [21:28] abentley: when you have time: https://code.edge.launchpad.net/~bac/launchpad/bug-429802/+merge/15449 === matsubara is now known as matsubara-afk === abentley changed the topic of #launchpad-reviews to: on-call: abentley || reviewing: bac || queue [] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews [21:55] abentley, rc-ping, would you feel comfortable reviewing the JavaScript for https://code.edge.launchpad.net/~mars/launchpad/fix-picker-result-parsing-487975/+merge/15436? 39 lines. [21:57] * thumper looks [22:00] mars: There seems to be an extra space before the = in line 9 of the diff. [22:01] mars: Aside from that, it looks fine to me. [22:02] abentley, nice catch. Thanks for the review. [22:02] mars: np === abentley changed the topic of #launchpad-reviews to: on-call: - || reviewing: bac || queue [] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews [22:04] abentley: heh, I said exactly the same thing :) [22:09] thumper, thank you too. I'll send off this branch, then finish up your reply [22:09] mars: ok [22:11] thumper, the question I had about creating a new wrapper was the commit_message_listener function on line 25. [22:12] mars: I still feel like I'm missing something [22:12] thumper, that has a green and a red flash on the link. The current editor wrapper flashes the message itself. I take it this is an extra, additional bit of flash? [22:12] mars: ah [22:13] mars: this is flashing the menu link not the editor itself [22:13] mars: if the commit message ends up being empty [22:13] mars: we hide the multiline editor [22:13] mars: show the link again, and flash the link [22:13] ah [22:13] ok [22:14] mars: it would be nice to be able to use widget.on('save') [22:14] mars: rather than widget.editor.on('save') [22:14] mars: is this possible, because at the moment it doesn't work [22:14] yep [22:14] it didn't work in PR2. It probably works fine in 3.0 final. [22:15] rather, that feature didn't work in PR2 - I tried to code it already, and gave up :) [22:15] mars: what is that? [22:15] that's parsing the HTML representaion? [22:15] why is it doing that [22:15] we shouldn't be doing that [22:15] flacoste, one of many approaches I take it. [22:15] you should be requesting the field HTML output directly [22:16] that's a deprecated approach [22:16] this is an original widget [22:16] we talked about making that view a 404 [22:16] to fix that broken behaviour [22:16] and it's the third time that somebody "fixes" it [22:16] good thing you didn't then :) [22:16] that's crazy [22:17] mars: it doesn't work in 3.0 right now with the widgets we have [22:17] thumper, yep, I know. I would have to add it back into lazr-js, then publish that new version in LP before you could use it. [22:17] ok [22:18] thumper, so maybe in a release or two. Your branch did show some serious API problems though. I like that. [22:19] flacoste, is there a bug for "Don't use the XHTML view" I can reference with an XXX? [22:19] probably, but it will have been marked as 'Fix released' [22:19] flacoste, IIRC publishing instructions for the Right Way To Do It is on the UI Action items list [22:20] ok, I'll exhume the bug [22:36] flacoste, I can't find the bug number for XHTML representations. I'll just file a new one and mark it as an XXX. [22:38] flacoste, anything else needed for an r-c? [22:39] mars: nope, just updated the m-p [22:39] thanks [22:42] mars: so want to approve the js review? https://code.edge.launchpad.net/~thumper/launchpad/edit-commit-msg-link/+merge/15260 [22:42] thumper, doing so now [22:42] mars: thanks [22:43] salgado-afk (or flacoste): https://code.edge.launchpad.net/~thumper/launchpad/edit-commit-msg-link/+merge/15260 rc? [22:48] thumper, two small fixes, r=mars [22:48] mars: ok, ta [22:51] thumper, to clarify the code, a quick comment with the same reason you gave me on IRC should be enough. [23:38] thumper: rc=me [23:46] flacoste: ta