/srv/irclogs.ubuntu.com/2010/09/17/#launchpad-reviews.txt

=== Ursinha is now known as Ursinha-afk
lifelessLFR https://code.edge.launchpad.net/~lifeless/launchpad/registry/+merge/3577405:23
jtvallenap: I've got a modest branch up for review as well, if you have time: https://code.launchpad.net/~jtv/launchpad/bug-594220/+merge/3577005:51
jtv(bit early for you though innit?)05:51
jtvStevenK: is allenap really still reviewing your branch, or is the topic outdated?06:03
lifelessstale topic06:03
=== jtv changed the topic of #launchpad-reviews to: On call: - || Reviewing: - || queue: [jtv] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
jtvso there06:04
jtvand this system has gotten too weird for me; I'll reboot06:04
jtvhi henninge!07:33
henningeHi jtv!07:34
* StevenK gets more tempted to write a review helper bot that will manage the topic and MPs07:35
StevenKI could use PoCo::IRC just to annoy people too :-P07:35
allenapjtv: Sorry, I forgot to take my name out of the topic :-/09:13
jtvallenap: we figured it out, no worries :)09:13
StevenKallenap: And you didn't actually review my branch at all!09:13
allenapStevenK: I was a whisker from finishing your branch review last night but I had to go. I'll finish it now.09:13
StevenKHehe09:13
StevenKallenap: It's perfectly fine, thanks. :-)09:13
allenapStevenK: Done, needs (a bit of) fixing :)09:20
noodles775henninge: When you've time: http://launchpadlibrarian.net/55794871/635005-updated.png09:21
noodles775There are two things I didn't do (indentation, download link) and one extra thing (binary descriptions).09:22
noodles775henninge: I did try the indentation, but it seems that we explicitly set ul's and dl's to margin/padding 0px; so I think that's a site-wide decision that I didn't want to touch as part of this branch.09:23
noodles775Regarding the download link, .... actually, I'll send the MP email, so your mentor can also read.09:23
noodles775henninge: hrm, I'd already mentioned the link on the previous email. So, nothing more to say :)09:24
StevenKallenap: I can't use the ZCML for auth, sadly. Using soyuz-team is a stop-gap first-step. When we want other people to be able to use it, it will switch to require the user being a driver of the distribution.09:24
allenapStevenK: Can you explain why?09:24
StevenKallenap: Why we require only soyuz-team, or the user being a driver?09:25
allenapStevenK: No, why not ZCML? Is there a technical reason? I'm interested as much as anything.09:26
StevenKallenap: I didn't think you can use ZCML if it requires something more complex than the permission the user has.09:27
allenapStevenK: Permissions are given to user by a security adapter based upon the context. So, for an IDistroSeries, launchpad.Edit can be granted if the user is in ~soyuz-team. Take a look at some of the adapters in canonical.launchpad.security.09:28
StevenKallenap: Ah, sorry -- I was skipping ahead. ~soyuz-team is not the final solution. I don't think I can do it if it's dependant on what distribution the belongs to09:29
StevenKSigh, words are not my friend today09:30
StevenKallenap: I have a stand-up starting, well, when bigjools notices what time it is. Would you like a 5 minute chat about it after that?09:31
allenapStevenK: :) Sure, ping me when you've got time.09:31
henningenoodles775: care to paste the mp url again, please? ;-)09:33
noodles775henninge: https://code.launchpad.net/~michael.nelson/launchpad/635005-difference-details-2/+merge/3564009:33
StevenKallenap: Ready when you are, are you mumble-enabled?09:43
=== adeuring changed the topic of #launchpad-reviews to: On call: adeuring || Reviewing: - || queue: [jtv] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
henningenoodles775: approved* ;-)10:04
noodles775Thanks henninge10:04
* henninge needs to reboot computer10:06
=== bigjools changed the topic of #launchpad-reviews to: On call: adeuring || Reviewing: - || queue: [jtv, bigjools] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
bigjoolshappy birthday henninge10:16
=== adeuring changed the topic of #launchpad-reviews to: On call: adeuring || Reviewing: bigjools || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== adeuring changed the topic of #launchpad-reviews to: On call: adeuring || Reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
jtvhey abel, stealth review—thanks!10:37
=== mrevell is now known as mrevell-lunch
noodles775Hi adeuring, I've got a 797liner if you've time. Just let me know if you'd prefer I split it up:12:23
noodles775https://code.edge.launchpad.net/~michael.nelson/launchpad/635005-difference-details-2/+merge/3564012:23
adeuringnoodles775: nah, I'll look at the whole branch12:23
noodles775adeuring: great, thanks. I'll just update the description explaining what the bloat is.12:24
=== adeuring changed the topic of #launchpad-reviews to: On call: adeuring || Reviewing: noodles775 || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
noodles775adeuring: description updated.12:27
noodles775adeuring: also (sorry), I've just realised that I no-longer need the generic CommentView... I'll remove it.12:33
adeuringnoodles775: no problem -- i just realized that I hadn't have lunch yet, will make a lunch break before I start to look at your branch ;)12:34
noodles775Great, enjoy :)12:34
=== mrevell-lunch is now known as mrevell
=== matsubara-afk is now known as matsubara
bachi adeuring13:57
baccan i add one to your queue?13:57
=== bac changed the topic of #launchpad-reviews to: On call: adeuring, bac || Reviewing: noodles775, - || queue: [bac] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
bacadeuring:  https://code.edge.launchpad.net/~bac/launchpad/lp-db-setup/+merge/3582213:58
gmbadeuring, bac I have a very large (1300 lines) lazr-js branch that needs review. This adds a new Wizard widget. Can either of you guys review it?13:58
gmb(A lot of those lines are '},' of course ;))13:59
bacgmb: i will but you may still want to run it by a JS expert13:59
adeuringbac: sure, let me first finish noodles775 review14:00
bacadeuring:  no rush14:00
=== bac changed the topic of #launchpad-reviews to: On call: adeuring, bac || Reviewing: noodles775, gmb-js-from-hell || queue: [bac] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
gmbbac, Eyefankyoo. I'll see if I can find an eggspurt.14:01
gmbbac, https://code.edge.launchpad.net/~gmb/lazr-js/wizard-widget/+merge/35827, FTR.14:02
=== Ursinha-afk is now known as Ursinha
gmbmars, Around?14:12
adeuringnoodles775: r=me14:30
noodles775Thanks adeuring14:30
=== adeuring changed the topic of #launchpad-reviews to: On call: adeuring, bac || Reviewing: bac, gmb-js-from-hell || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews abgeändert
noodles775rockstar: Hi! When you get around to mentoring henninge's UI review, would you mind also taking a brief look at the code and make sure I'm not abusing the lp.services.comments in a way you guys didn't intend?14:31
noodles775https://code.edge.launchpad.net/~michael.nelson/launchpad/635005-difference-details-2/+merge/3564014:32
marsgmb, pong, what's up?14:45
gmbmars, I have a large (~1300-line) lazr-js branch that adds a Wizard widget (building upon work that rockstar had already done, but which hadn't landed). bac is reviewing it but he suggested that I should find a JS expert to take a look, too. Your name was top of my list. Do you have time to take a look?14:47
marsgmb, unfortunately I do not have time today.14:48
marsgmb, Paul and Edwin are two other good candidates14:49
gmbmars, Okay, no worries. I'll ask someone else.14:49
gmbIndeed.14:49
gmbSo, rockstar, are you free to look at how I've mangled your widget?14:49
gmbooh, that sounded wrong.14:49
adeuringbac: r=me14:49
marslol14:49
=== adeuring changed the topic of #launchpad-reviews to: On call: adeuring, bac || Reviewing: -, gmb-js-from-hell || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
bacadeuring:  thanks14:53
bacgmb:  dumb question - should the examples work if simply loaded into ff15:12
gmbbac, Yes. And that said, let me check that I didn't break them, 'cos I've just realised that I might have.15:12
bacgmb:  yeah, none of them do squat for me15:13
bacgmb:  could you have messed them all up?15:13
gmbbac, Works for me (bar one small tweak; fixed and pushed).15:14
gmbbac, Did you make build in the root of the branch?15:14
bacgmb: gah15:15
gmbHah15:15
gmbbac, It took me a while to figure that out, too.15:16
gmbJS shouldn't be this hard. YUI, I'm looking at you, here.15:16
bacgmb: ok, so i got it built and most JS examples are working now.  your wizard doesn't seem to, though, as it just shows Step One15:23
bacgmb: am i doing something else wrong?15:24
gmbbac, So, the 'next' button doesn't work, then?15:24
gmbNote that I've spent more time on tests than on the example, so if it's lacking, that's why.15:25
bacgmb: there is no next button.  just a "re-open the wizard" link15:25
gmb...15:25
gmbbac, That's very, very odd.15:26
gmbCan you take a look at Firebug, see if there are any errors?15:27
gmbbac, In fact, I'd go so far as to say the example should be completely ignored, because it's rubbish compared to other examples.15:28
bacgmb: if i load the file i do not get an overlay15:31
bacbut if i open firebug and then load the file then the overlay appears15:31
* gmb tries to reproduce15:31
rockstargmb, I'm happy to look at it if you don't have a reviewer yet.15:32
gmbrockstar, bac's looking but having some issues; I'd appreciate your eye on the code itself (ignore the example, though, it's bobbins).15:34
gmbHuh.15:35
bacrockstar: i will do a full review per our discussion a few weeks ago that everyone should do JS reviews15:35
gmbbac, I can reproduce that.15:35
gmbbac, Try chromium. It works fine there.15:35
bac:)15:35
rockstarbac, great, thanks.15:35
gmbMeanwhile, I'll try to hammer firefox into submission.15:35
bacrockstar: but i suggested to gmb that he get a JS expert to look at it too15:36
rockstarbac, yeah, I'd at least like to look at it from a "is it YUI-y" standpoint.15:36
gmbbac, I know why it happens, I think. Hang on.15:36
rockstargmb, before you land it (and after bac reviews it) I'd love to take a whack at reviewing it as well.15:39
gmbbac, Pull and rebuild. Fixed it by a cunning s/console/Y/g15:39
gmbrockstar, Please do. I'm sure it's littered with horrors.15:39
gmbAnd things I've forgotten to add tests for.15:39
* gmb hates doing the tests second.15:39
rockstargmb, yeah, but I think testing this kind of interaction is hard without huge things like windmill.15:39
gmbrockstar, Agreed.15:41
bacgmb: works brilliantly now15:43
gmbbac, Well, it works 100% better than it did, anyway :)15:44
=== matsubara is now known as matsubara-lunch
bacgmb: your testing is very thorough and easy to follow16:58
bacgmb: i am confused by test_wizard_needs_steps17:00
gmbbac, How so?17:01
bacgmb: in it you seem to be instantiating with no steps, which is a no-no, but assert that it instaniated properly17:01
=== benji is now known as benji-lunch
bacgmb: am i misreading it?17:01
gmbbac, Ah, JS testing FTFL.17:01
gmbbac, See the _should definitions17:02
bacyeah, i did but clearly nothing clicked17:02
gmbbac, test_wizard_needs_steps is understood to have passed if it raises an error.17:02
gmbbac, I'll add a comment to make this clear, but it is beyond horrible that we can't do Assert.throws() or some such.17:03
bacso the assert does fail17:03
bacand that failure is noted in the _should17:03
bacso by failing it passes17:04
gmbbac, Yes17:04
* bac cries17:04
bacyes, i knew that at one time17:04
bacbut my brain purged it as it was jibberish17:04
gmbYeah.17:04
bacgmb: in  _renderUIWizard: you check to see that there are some steps17:07
bacgmb: is that necessary since you did the check at instantiation?17:08
gmbbac, Oops, no. I'll remove that.17:08
=== deryck is now known as deryck[lunch]
=== bac changed the topic of #launchpad-reviews to: On call: adeuring, bac || Reviewing: -,- || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
bacgmb r=bac but i hope rockstar has time to have a look17:13
rockstarbac, I will MAKE time.17:14
gmbbac, ta17:14
=== adeuring changed the topic of #launchpad-reviews to: On call: bac || Reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== salgado is now known as salgado-lunch
gmbbac, It should be noted FTR that rockstar did many of the changes for which you've given positive comments. :). However, sadly, I can't blame any problems on him.17:28
rockstargmb, the fact that you pulled it from the railroad tracks before the train came should also be noted.17:28
rockstargmb, where is this proposal?17:29
gmbrockstar, Oh yes, that might help you... https://code.launchpad.net/~gmb/lazr-js/wizard-widget/+merge/3582717:29
allenapbac: Could you sanity check this please? http://paste.ubuntu.com/495399/ - it's a change suggested by lifeless in https://code.edge.launchpad.net/~allenap/launchpad/bugsubscription-to-storm/+merge/3553717:39
allenapbac: Argh, I've got to go! Don't worry about it. Thanks anyway.17:41
=== matsubara-lunch is now known as matsubara
=== benji-lunch is now known as benji
=== salgado-lunch is now known as salgado
EdwinGrubbsbac: I have a 950 line branch. Do you want to review it? It will still need a follow-up branch to add the cronjob before it lands.18:42
bacEdwinGrubbs: i'll be happy to review it19:03
=== bac changed the topic of #launchpad-reviews to: On call: bac || Reviewing: Edwin || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
bacEdwinGrubbs let me know when you've submitted a MP19:07
=== bac changed the topic of #launchpad-reviews to: On call: bac || Reviewing:- || queue: [Edwin] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== Ursinha is now known as Ursinha-lunch
EdwinGrubbsbac: here it is: https://code.edge.launchpad.net/~edwin-grubbs/launchpad/bug-615654-queue-addmember-emails/+merge/3586219:23
=== bac changed the topic of #launchpad-reviews to: On call: bac || Reviewing: Edwin || queue: [-] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
EdwinGrubbsbac: I'm headed to lunch.19:40
bacEdwinGrubbs ok19:40
bacdon't go to that place where they yell at you19:40
EdwinGrubbsI wonder how they would do as code reviewers.19:43
=== EdwinGrubbs is now known as Edwin-lunch
=== Ursinha-lunch is now known as Ursinha
EdwinGrubbsbac: thanks for the review. I'll try to get the reply done shortly. I tried going to Starbucks after lunch, but freenode had banned its IP address. Stupid caffeinated hackers.21:34
bacreally?  hadn't heard of that before21:34
bacEdwinGrubbs: i would suggest bip but it's a pita21:34
sinzuibac ping21:48
bachi sinzui21:48
=== bac changed the topic of #launchpad-reviews to: On call: bac || Reviewing: - || queue: [-] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
sinzuibac: I am preparing a migration branch for mailman. Will you have time to review it?21:48
bacsinzui: how big?21:49
sinzui417, 30 lines are not mechanical--two tests were broken by recent changes21:50
baci can definitely do it tonight21:50
bacsinzui: around 6 we're leaving but i'm can do it in the car and send it when we arrive21:51
sinzuiit is very boring. I was just disappointed to see the tests were broken in july/August21:51
bacsinzui: they were broken and then disabled?21:52
bacsinzui: or are they only run on demand?21:52
sinzuilatter --layer=Mailman and they only pass on repeated tries21:53
bacoutta sight...gonna break21:53
sinzuiI am so angry with these tests. One that is broken does not need to be on the mailman layer.21:54
sinzuiI do not know where to begin fixing these tests21:54
bacso when do you think the branch will be ready?21:55
sinzui5 minutes21:55
bacoh, sweet21:55
sinzuibac: I am still waiting for the diff to appear: https://code.edge.launchpad.net/~sinzui/launchpad/discard-list-spam-0/+merge/3588522:03
* bac makes my own diff22:03
bacsinzui: wow!  that was boring22:20
bacr=me22:20
sinzuirunning the tests is much more boring22:20
sinzuiI need caffeine, Guinness, and maybe LSD to find a way to make this testable.22:21
EdwinGrubbs bac: do you know if there is a helper function like assert that raises ValueError> My single line asserts turned into 4-line if-statements.22:23
EdwinGrubbss/>/?/22:23
bacEdwinGrubbs: i don't know.22:24
bacEdwinGrubbs: it sounds like a good helper, though22:26
bacsorry for the clutter22:26
EdwinGrubbssinzui: I was looking at volunteering with Junior Achievement. Apparently, it would take a couple hours a week for eight weeks. Is it ok if I shift my schedule on those days, and is it ok if I miss the standup on those days?22:32
EdwinGrubbssinzui: oops, this should go in the lp-registy channel.22:32
=== matsubara is now known as matsubara-afk
=== bac 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
benjiEdwinGrubbs: I'd have to look at the style guide to see if it's allowed, but removing the newline after the "if" seems reasonable:  "if not value_is_good: raise ValueError('you suck')"22:48
EdwinGrubbsbenji: well, the main reason that the ValueError is really long is that I was making a very clear error message. I guess I really only need to include the bad value, since the variable name and type can be found in the source code.22:57
benjiEdwinGrubbs: I suggest a message like "foo_var must be a positive integer, got %r instead" % (foo_var,)22:58
EdwinGrubbsproviding that long error message over and over again seems like a perfect reason for a helper function, but providing the variable and the variable name either means adding a redundant looking arg, using vars(), or crawling up the stack. bleh.23:02
* benji goes afk23:05
lifelessbenji: EdwinGrubbs: FWIW: practicality over purity.23:21
lifelessour style guide is a *guide* not a straightjacket.23:21
=== Ursinha is now known as Ursinha-afk

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