/srv/irclogs.ubuntu.com/2009/11/10/#launchpad-reviews.txt

=== Ursinha is now known as Ursinha-afk
=== flacoste_lunch is now known as flacoste
=== gmb changed the topic of #launchpad-reviews to: on call: gmb || reviewing: sinzui || queue [sinzui] || This channel is logged: http://irclogs.ubuntu.com
=== bac changed the topic of #launchpad-reviews to: on call: gmb, bac || reviewing: sinzui || queue [sinzui] || This channel is logged: http://irclogs.ubuntu.com
=== Ursinha-afk is now known as Ursinha
=== gmb changed the topic of #launchpad-reviews to: on call: gmb || reviewing: - || queue [] || This channel is logged: http://irclogs.ubuntu.com
=== gmb changed the topic of #launchpad-reviews to: on call: gmb || reviewing: lunch || queue [] || This channel is logged: http://irclogs.ubuntu.com
=== bac changed the topic of #launchpad-reviews to: on call: gmb,bac || reviewing: lunch || queue [] || This channel is logged: http://irclogs.ubuntu.com
al-maisan_stub: I'd appreciate it if you could look at https://code.edge.launchpad.net/~al-maisan/launchpad/builddsc-478919/+merge/14689 at your earliest convenience.12:03
al-maisan_stub: this patch should be much more readable as I promised the last time ;)12:04
stub:-)12:04
stubal-maisan_: Will there be BuildQueue records that reference a Job that does not have a corresponding BuildPackageJob record?12:11
al-maisan_stub: no, they always come in pairs12:12
al-maisan_Job and BuildPackageJob always come in pairs that is12:12
stubIt is probably better to link BuildQueue to BuildPackageJob then rather than directly to Job. That will enforce that better.12:12
al-maisan_stub: the issue here is that there will be other types of jobs (in addition to BuildPackageJob) later12:13
stubOk. So in the future a BuildQueue record may be linked to a Job without a BuildPackageJob.12:14
al-maisan_that's why BuildQueue refers to Job as opposed to some of these specific rows12:14
al-maisan_stub: there will be e.g. a combination of Job and BuildFromBranchJob12:15
al-maisan_.. or of Job and RosettaJob12:15
al-maisan_hance BuildQueue refers to Job and not to any of: BuildPackageJob, BuildFromBranchJob or RosettaJob12:16
al-maisan_directly12:16
stubRosettaJob sounds like a dodgy table name, but we can worry about that when it is suggested. Patch looks good.12:26
al-maisan_stub: 'RosettaJob' was just an example. Thank you for reviewing it!12:34
=== matsubara_ is now known as matsubara
=== gmb changed the topic of #launchpad-reviews to: on call: gmb || reviewing: - || queue [] || This channel is logged: http://irclogs.ubuntu.com
=== bac changed the topic of #launchpad-reviews to: on call: gmb,bac || reviewing: - || queue [] || This channel is logged: http://irclogs.ubuntu.com
leonardrgmb or bac, i have a trivial branch for you: https://code.edge.launchpad.net/~leonardr/lazr.restful/474522-unmarshall-uri/+merge/1469114:01
bacleonardr: i can take it14:01
=== bac changed the topic of #launchpad-reviews to: on call: gmb,bac || reviewing: -,leonardr || queue [] || This channel is logged: http://irclogs.ubuntu.com
bacleonardr: done.  thanks.14:22
=== bac changed the topic of #launchpad-reviews to: on call: gmb,bac || reviewing: -,- || queue [] || This channel is logged: http://irclogs.ubuntu.com
allenapgmb: Fancy a review? :) https://code.edge.launchpad.net/~allenap/launchpad/ec2-parry/+merge/1469315:03
allenapgmb: There are 4 diffs in that review. If you could do one of them I'd be mucho grateful.15:04
gmballenap: Sure, I'll take one.15:07
gmballenap: Wouldn't it be easier to use bzr pipeline to split it up into different branches, or is the change pretty much atomic?15:07
gmbAnyway, I'll take the first diff to start with.15:08
=== gmb changed the topic of #launchpad-reviews to: on call: gmb, bac || reviewing: allenap-1, - || queue [allenap-2, allenap-3, allenap-4] || This channel is logged: http://irclogs.ubuntu.com
allenapgmb: I probably should. I'm happy to do it if you want?15:14
gmballenap: Might be worth giving it a shot, otherwise the m-p is going to get confusing.15:14
allenapgmb: The first diff is the biggest, the most complex, but probably the most interesting.15:14
gmbI'll keep looking over it, then :)15:14
allenapgmb: I'll split it up too. Worth learning if nothing else (I used the predecessor to pipeline once and got very very confused).15:15
gmbDidn't we all?15:15
gmballenap: Your XXX about permissiveness should have a bug filed for it.15:32
allenapgmb: Ah yes... there are a lot of XXXs in there. I shall file bugs for all of them.15:33
gmbCool.15:33
=== sinzui changed the topic of #launchpad-reviews to: on call: gmb, bac || reviewing: allenap-1, - || queue [allenap-2, allenap-3, allenap-4, sinzui] || This channel is logged: http://irclogs.ubuntu.com
gmballenap: Your first diff looks good. Once you've split it up, request a review from me and I'll approve it.15:44
allenapgmb: Cool, thanks :)15:44
gmbbac: I've got to go afk for a while to pick my missus up from work. I'll come back online later and finish my review shift then, if you haven't powered through them all ;)15:44
=== gmb changed the topic of #launchpad-reviews to: on call: bac || reviewing: -, - || queue [allenap-2, allenap-3, allenap-4, sinzui] || This channel is logged: http://irclogs.ubuntu.com
* gmb -> exeunt15:45
bacgmb:  great15:45
leonardrbac,can you take a look at this trivial backport of my branch which you reviewed earlier?15:56
leonardrhttps://code.edge.launchpad.net/~leonardr/lazr.restful/474522-oops-backport/+merge/1469615:56
bacsinzui: when you get a chance: https://code.edge.launchpad.net/~bac/launchpad/bug-476833/+merge/1469716:08
bacleonardr: sure16:08
sinzuibac: I start it in a few minutes16:09
bacsinzui: no rush.  i'm going to lunch soon16:09
bacleonardr: done16:10
leonardrgreat16:10
=== bac changed the topic of #launchpad-reviews to: on call: bac-lunch || reviewing: -, - || queue [allenap-2, allenap-3, allenap-4, sinzui] || This channel is logged: http://irclogs.ubuntu.com
=== bigjools changed the topic of #launchpad-reviews to: on call: bac-lunch || reviewing: -, - || queue [allenap-2, allenap-3, allenap-4, sinzui, bigjools (CP candidate)] || This channel is logged: http://irclogs.ubuntu.com
=== bac changed the topic of #launchpad-reviews to: on call: bac || reviewing: -, - || queue [allenap-2, allenap-3, allenap-4, sinzui, bigjools (CP candidate)] || This channel is logged: http://irclogs.ubuntu.com
=== bac changed the topic of #launchpad-reviews to: on call: bac || reviewing: - || queue [allenap-2, allenap-3, allenap-4, sinzui, bigjools (CP candidate)] || This channel is logged: http://irclogs.ubuntu.com
=== bac changed the topic of #launchpad-reviews to: on call: bac || reviewing: bigjools || queue [allenap-2, allenap-3, allenap-4, sinzui] || This channel is logged: http://irclogs.ubuntu.com
bachi bigjools17:44
bigjoolshi bac17:45
bacbigjools: just looking at your branch17:45
bigjoolsgreat17:45
bacbigjools: if you change line 85 to be17:46
bacfor build in builds_list{:num_builds]17:46
bacyou can get rid of the break logic17:46
bigjoolstrue17:46
bacalso, what about exporting the magic number of 80 to a symbol, since you say it will likely change in the future17:47
bigjoolsbac: it will almost certainly change - to a completely different algorithm17:47
bacother than those small suggestions it looks good17:47
bigjoolsthis is a stopgap measure17:47
bigjoolshow'd ya like the monster query? :)17:47
bacbigjools: ah, ok.  i just find those hard-code values to be cringey17:47
baceek17:48
bigjoolsyeah I know, I didn't really like it either, but I figured since it was going to get removed ...17:48
bigjoolsbut I don't mind changing it if you prefer17:48
bacbigjools: just do it if you have to touch this again.  then you'll appreciate it.17:49
bigjoolsokay17:49
bigjoolsnot a problem17:49
baclooks good.  let me do it up official17:49
bigjoolsok, thanks bac, I'll land it later tonight my time, I gotta go now17:49
bacok17:50
=== bac changed the topic of #launchpad-reviews to: on call: bac || reviewing: sinzui || queue [allenap-2, allenap-3, allenap-4] || This channel is logged: http://irclogs.ubuntu.com
bacsinzui: this is the branch you queued up:  https://code.edge.launchpad.net/~sinzui/launchpad/distroseries-breadcrumb-bug-400643/+merge/14657  ?17:56
sinzuibac: yes. Sorry for 500 lines of mechanical changes17:57
bacsinzui: np17:57
sinzuiWe have got to get rid of those unused and untested application search options18:00
* sinzui considers the Christmas holidays to remove the badness18:00
sinzuibac: r=me as it is. I have no remarks other than thanks for the comprehensive tests18:01
bacsinzui: cool, thanks18:01
=== henninge_ is now known as henninge
sinzuirockstar: I have some questions for you at https://code.edge.launchpad.net/~rockstar/launchpad/inline-mp-status/+merge/14700? I think there are some improvements you can make to the code and a have a few questions. I think you can answers my questions quickly18:33
* rockstar looks18:33
rockstarsinzui, okay, so there was some lint and that commented out error handler that were removed after you saw the patch.18:36
rockstarThe patch should be updated to show that.18:36
sinzuifab18:37
rockstarsinzui, also, the lazr-js widgets make baby jesus cry because they use ids.  The branch index page currently has this bug, and we'll fix that this week.18:38
* sinzui nods18:39
rockstarsinzui, technically, that "handcrafted" link is tested, since it adds a class that the widget needs to be able to find.  The windmill test then tests it.18:42
sinzuiSo we are certain that enabled works under all conditions and that is the correct text?18:43
rockstarsinzui, and I see no reason why this javascript shouldn't be compressed.  It's just that I didn't know about that base-layout-macros.18:43
rockstarsinzui, oh, I see what you're saying.  That is tested well in pagetests.18:44
rockstarThe only thing I changed was adding a class.18:44
sinzuirockstar: The list of scripts used to be in main-template. The moved to macros last June18:44
rockstarsinzui, okay, so where is base-layout-macros?18:45
sinzuiWhy are we testing something defined in a view in a page test? Are you testing that the link is there and then not there for all scales of permission? Are we uncertain the @require('launchpad.Edit') works?18:46
sinzuilib/lp/app/templates/base-layout-macros.pt18:46
rockstarsinzui, I'm pretty sure that link is tested properly.  If it's not, it's still out of the scope of this branch.18:47
sinzuirockstar: we have a formatter so that we never have to ask these questions.18:48
sinzuiif the formatter does not work, we should fix it18:48
rockstarsinzui, yes, but the formatter does not provide for being able to set ids of the links.  This is a known problem.18:49
sinzuifor example, what if we change the icon of the link, so we want to change every template that duplicated the instruction18:49
sinzuirockstar: that link does not have an id. I am confused18:50
rockstarI am confused too.  WTF...18:50
sinzuirockstar: the difference between that template and the macro is that macro also guarantees not extra whitespace is generated18:51
rockstarsinzui, is that really a problem?18:51
sinzuiWe had s lot of mismatched icons during the 3.0 conversion because they were hard coded.18:52
sinzuirockstar: please update this link to the standard. when you use the formatter, you know you do not need to test the icon, the text, or if it is enabled.18:53
rockstarsinzui, the formatter doesn't let me set the class of the edit icon, does it?18:54
* rockstar doesn't see.18:54
=== danilos is now known as danilo-afk
sinzuirockstar: it sets the <a> link class, then created a <span class="invisible-link">link text</span>18:57
sinzuiThere is no icon, we use sprites18:57
rockstarsinzui, yes, but the class on the icon is important to the widget.18:57
sinzuiokay now we are making progress18:57
rockstarSo we didn't need the handcrafted link before, but we do now.18:57
sinzuiDoes beuno know that his maoist death march to sprites is being undermined by the Chang Kai Shecks' nationalist lazr.js force18:58
sinzuirockstar: I leave the link as it is since as you point out, it is required.18:59
sinzuirockstar: I think we are done19:01
rockstarsinzui, thanks.19:01
sinzuirockstar: r=me19:02
rockstarsinzui, I do think we need to re-consider that kind of markup that lazr-js widgets need.19:02
sinzuirockstar: I have a branch that fixed some UI issues in blueprints. can you take a look at the QA section in the proposal and the images I added in a comment: https://code.edge.launchpad.net/~sinzui/launchpad/blueprints-ui/+merge/1463919:05
leonardrsinzui: can i jump the allenap-ful queue with a tiny branch that just upgrades some launchpad packages?19:08
leonardrhttps://code.edge.launchpad.net/~leonardr/launchpad/launchpadlib-devel/+merge/1470519:08
sinzuileonardr: certainly with me. I am not an OCR19:08
* sinzui looks19:08
leonardrargh19:08
leonardrthe topic scrolled off my screen and so "sinzui" was the first name i saw19:09
sinzuinp19:09
leonardrbut you might want to review that anyway since it fixes the problem you were complaining about19:09
sinzuiindeed I know the issue19:09
sinzuiI am just waiting for the diff to appear19:09
=== bac changed the topic of #launchpad-reviews to: on call: - || reviewing: - || queue [allenap-2, allenap-3, allenap-4] || This channel is logged: http://irclogs.ubuntu.com
bacsinzui: are you reviewing leonardr or do you want me to19:14
sinzuiI will review it19:15
bacsinzui: we've spent more time discussing who gets to review it than it'll take.  i'm glad to see it land!19:16
sinzuiindeed!19:16
sinzuileonardr: land your branch19:16
leonardrok19:20
=== matsubara is now known as matsubara-afk
sinzuibac: are you still about for a review21:41
bacsinzui: we're on our way out the door.21:41
sinzuiokay21:41
bacis it short?21:41
sinzuiThe fix is, I got consumed in by sorting the imports https://code.edge.launchpad.net/~sinzui/launchpad/active-series-sort-bug-464014/+merge/1472021:42
sinzuibac I created series like lucid 10.04 and verify we sort it on the DSP page21:42
bacsinzui: i'll have a look now21:45
thumpersinzui: up to relook at the project page change?21:49
thumpersinzui: it has a test now :)21:49
sinzuisure21:49
bacsinzui: done.  nice.21:52
* bac EOD & off to dinner21:52
sinzuifab: I can make some people happy21:53
sinzuithumper: lines 87-91 are like many tests that failed because there is no confirmation or the confirmation is delayed until it is not clear what went wrong. You can fix this and justify the use of a story by completing the story, The owner should not be opening his browser on line 113, if he is not already on the correct page, lines 87-91 failed.22:10
sinzuiI think you can fix this my switching the order of 102 and 113 and removing the call for owner_browser.open('http://launchpad.dev/fooix')22:11
thumpersinzui: I think the reason the browser is opened, is that once the branch is linked, it ends up on the product series page, not the project page22:12
thumpersinzui: we could add yet another view that knows to go back to the main page22:12
sinzuithumper: not think, we must know. That view should return the user, that is part of the story22:12
thumpersinzui: I'm open to suggestions22:12
sinzuiif you want to test state write a doctest or unittest22:13
thumpersinzui: so, what do you suggest for the story?22:13
thumpersinzui: write it as it happens22:13
thumpersinzui: or change what happens22:13
sinzuichanging the order will make a simple narrative instead of something from a David Lynch movie22:14
sinzuiowner seeing nothing, he uses the edit link, he submits the form, he sees it worked22:14
sinzuianon visits and sees the information too22:15
sinzuithumper: my only remark about the template change is line 149. I expected to see a "sprite" with 'info', then I asked why there isn't a menu link for this? Is there a menu link to browse the source code?22:20
thumperprobably not22:21
thumperthere isn't always a link22:21
sinzuithat is disappointing22:21
thumperhow do we handle sometimes menu items?22:21
thumperare you meaning on the menu for the branch?22:22
sinzuithumper the only uses of class="info" are on lists, there are only three of them, and I believe I have a branch that removed two of them22:23
thumperhmm22:23
sinzuithumper: I was hoping for a menu item so that you did not have to make the sprite22:24
sinzuithumper: I see lots of class="sprite info"22:24
thumperI can change it22:25
=== fjlacoste is now known as flacoste
sinzuithumper: I think we are done here. fix the link and reorder the test.22:32
thumpersinzui: ok22:32

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