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

=== matsubara is now known as matsubara-afk
pooliemwhudson: (i'm here now)00:59
mwhudsonpoolie: ah yes, probably better00:59
mwhudsonpoolie: nope looks great01:00
mwhudsonyou need me to land it?01:00
mwhudsonpoolie: can you add a commit message?01:00
pooliesure01:06
pooliedo i need any special formats or boilerplate or is that added automatically?01:07
mwhudsonpoolie: i need to scoot out in about 5 minutes, so if you can do that quickly i can fire up ec2 land before i go01:07
mwhudsonpoolie: no, ec2 land adds the boilerplate01:07
pooliedone01:08
mwhudsonpoolie: thanks, launching ec2 land now01:08
pooliethanks01:10
pooliei guess i should work out how to do that myself01:10
* mwhudson afk01:11
=== 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
allenap.eaw09:52
allenapOops.09:52
jtvadeuring: got one for you!  https://code.launchpad.net/~jtv/launchpad/bug-645925/+merge/3654011:43
adeuringjtv: sure, I'll look11:43
jtvthanks11:44
=== adeuring changed the topic of #launchpad-reviews to: On call: adeuring || Reviewing: jtv || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== danilo_ is now known as danilos
adeuringjtv: you are changing the permissions for lp-main, brnachscanner and fiera, but you test only the permission for branchscanner. what about the other two users? Do we need these changes, are existing tests / real world code breaking without the extended permissions, or should we add tests?11:54
jtvadeuring: lp-main is just on general principle (for UI we want to add, manual db maintenance etc).  The fiera change was just for a bit of extra robustness in case the exact interaction between the ORM and the db changes.11:56
jtvI originally had a test that tested against several db users, but ended up culling the ones that weren't directly relevant because I felt it turned the whole db access model into too much of a guessing game.11:57
jtvBut some kind of SELECT check before doing an INSERT, or an INSERT later becoming an INSERT/SELECT/UPDATE is quite natural.11:58
adeuringerm, I think its not the tests that make it a guessing game, I think ;)11:58
jtvThat's right, but the tests should also reflect what goes on.11:59
jtvNot "err it's probably one of these, I'll just test against all of them."11:59
adeuringhm, yes... OK, so r=me11:59
jtvThanks!12:00
jtvBelieve me, I didn't _feel_ like limiting it to 1 db user. :)  I just felt that it was one giant copout until I did—not really better than just giving everyone permission or using the write group.12:00
=== 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
noodles775salgado: hi! is someone meant to mentor your ui review from yesterday? If so, I'd be keen for them to do it before I switch to use the radio buttons etc.13:22
salgadonoodles775, yes, sinzui is my mentor13:25
sinzuiI will do it shortly13:26
noodles775Great, thanks guys.13:26
=== sinzui changed the topic of #launchpad-reviews to: On call: adeuring || Reviewing: - || queue: [sinzui, sinzui] || 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: sinzui || queue: [sinzui] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== bac changed the topic of #launchpad-reviews to: On call: adeuring, bac || Reviewing: sinzui || queue: [sinzui] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
bacgood morning adeuring14:12
=== bac changed the topic of #launchpad-reviews to: On call: adeuring, bac || Reviewing: sinzui, sinzui || queue: [-] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== matsubara-afk is now known as matsubara
noodles775Thanks sinzui - I'll update to the radio buttons now.14:25
adeuringmorning bac14:30
=== adeuring changed the topic of #launchpad-reviews to: On call: adeuring, bac || Reviewing: - || queue: [sinzui] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
adeuringsinzui: r=me14:31
sinzuithanks14:31
bachi salgado, can you do a UI review for me, por favor?14:34
salgadobac, claro!14:35
bacbueno!  https://code.edge.launchpad.net/~bac/launchpad/bug-643538-code/+merge/3637714:36
bacmrevell: do you have time today to do a text review?14:41
mrevellYes bac, certainly. I have a call at the top of the hour. I'll do it after that.14:42
bacmrevell: ok, thanks14:42
allenapadeuring, bac: Mind if I push a branch into the fifo?15:03
adeuringallenap: I'll look15:03
bacallenap: not at all15:03
allenapadeuring: Thanks.15:03
bacsinzui: what branch do you need to have reviewed?  i don't see it on +activereviews15:06
sinzuithe one I asked jtv to review earlier this week15:09
=== bac changed the topic of #launchpad-reviews to: On call: adeuring, bac || Reviewing: -, sinzui || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
bac sinzui: found it!  MP-hide-n-seek makes it interesting15:13
abentleybac, how was it hidden?15:13
bacabentley: he had assigned it to jtv, so it didn't show up under "Requested reviews I can do"15:14
abentleybac, adeuring: could you please review https://code.edge.launchpad.net/~abentley/launchpad/unauthorized-email/+merge/36504?15:14
abentleybac, ah.  Stale data, then.  Dunno how that could be fixed.  Obviously he can reassign it to you or one of your teams.15:15
adeuringabentley: I just started a review for Gavin...15:16
bacabentley: or he could paste the URL when requesting a review.  no biggie, i've located it.15:16
bacabentley: please add to queue15:16
=== adeuring changed the topic of #launchpad-reviews to: On call: adeuring, bac || Reviewing: allenap, sinzui || queue: [abentley] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
adeuringallenap: there is a somewhat terse XXX in 218 of the diff. could you exand it either into a "standards comopliant" XX or remove it? otherwise, a nice refactoring, r=me15:29
allenapadeuring: Sure, and thanks :)15:29
=== adeuring changed the topic of #launchpad-reviews to: On call: adeuring, bac || Reviewing: abentley, sinzui || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
adeuringabentley: r=me15:52
=== adeuring changed the topic of #launchpad-reviews to: On call: adeuring, bac || Reviewing: -, sinzui || queue: [abentley] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
abentleyadeuring, thanks.15:52
bachi sinzui, i'm looking at test_product_change_owner_changes_entry_importer and am confused15:59
sinzuibac: yes?16:06
bacsinzui: it doesn't seem to test what it claims, as i read it16:06
bacthe final assert tests that the entry importer is still the old_owner16:06
baci expected it to be the new owner16:07
jcsacketti just got subscribed to the cdo mailing list...anyone know what that's about?16:09
=== deryck is now known as deryck[lunch]
jcsackettsorry, wrong channel for that question.16:15
=== bac changed the topic of #launchpad-reviews to: On call: adeuring, bac || Reviewing: -, abentley || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
salgadobac, so, to see your changes I need to create a new project and, change the uses_code thing to all different states and check what the project's code page looks like?16:24
salgadothe mp doesn't clearly say what was changed...16:24
bacsalgado: yes.  did you see the screenshots?  sorry for the unclear MP16:24
salgadono, I didn't16:24
bacsalgado: did i forget to put them?  looks...16:25
salgadoI was looking just at the description, which I got by email16:25
* salgado checks the mp on the web UI16:25
bacsalgado, mrevell: please see the first comment on the MP16:25
salgadobac, they're there16:25
bacsorry that if forgot to include it in the original text16:26
salgadoit's fine; I should've looked at the web UI as well16:26
=== Ursinha is now known as Ursinha-lunch
mrevellHi Brad16:33
mrevellbac, For the first screenshot, I have a couple of questions:16:34
mrevell1. I feel the text looks a little tough to get into. Is there a technical reason, or would you otherwise object to, using a bullet list to present the options?16:35
bacmrevell: there is no reason.  the text is basically the same as it used to be.  improvements encouraged.16:36
mrevellThanks bac, I'll suggest some in the comment on the review, in that case.16:36
mrevellI have no second question, it seems. At least not for screenshot 0.16:37
bacok16:37
sinzuibac: I have no idea how I screwed up the test/code. The test is not running because the attr assignment is independent of the subscriber event. I want to show them connected so I need to refactor the whole testcase to ensure the all events are complete before I do the assertion16:45
bacsinzui: that makes sense16:46
=== matsubara is now known as matsubara-lunch
=== benji is now known as benji-lunch
bacmars: ping16:53
marsHi bac16:53
bachi mars, i'm looking at your branch for the py2.5 checker.16:54
marsok16:54
bacmars: what do you think of lifeless' suggestions?16:54
marsto trash it? :)16:54
bacmars: no16:54
bacnot to trash it but to add it to 'make check'16:54
bacand to answer the question about lucid builders16:55
marsIt could be done16:56
bacmars: you don't sound enthusiastic16:56
marsI would a) make it a stand-alone script; call that script from lint; call that script from 'make check'; add Py2.5 to the lucid builders16:57
bacmars: yes, i agree that would cover it16:57
sinzuibac: I am screwed. setting a field attr does not implicitly call notify with the ObjectModifiedEvent. I either need to restore the getter-setter for owner or I discover a wrapper that does what I expect16:57
marsbac, so what to do about the MP status - rejected, I guess?16:57
marsto be superceded at a later date16:57
marsbac, I'll update it16:58
bacmars: i'd mark it 'needs fixing'16:58
=== adeuring changed the topic of #launchpad-reviews to: On call: bac || Reviewing: abentley || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
marsthat is a good idea16:58
baci'll do it16:58
=== deryck[lunch] is now known as deryck
bacmars: are you implying it'll be a while before you get to it?16:59
marsbac, I don't know when I get to it again, so yes, I am implying that16:59
marscould be Monday16:59
marscould be... infinitely longer than Monday16:59
bacmars: i disagree with lifeless on the 'wouldn't bother' part.  i'd say land what you have now...and commit to the changes outlined above in the near future.17:00
bacmars: there are some devs that regularly run make lint17:01
marsbac, good point17:01
bacmars: so i leave it up to you.   land now with a big XXX or defer.17:02
marsok, I will do it that way, and add a comment about the follow-up17:02
bacok, great17:02
=== salgado is now known as salgado-lunch
=== matsubara-lunch is now known as matsubara
=== Ursinha-lunch is now known as Ursinha
=== benji-lunch is now known as benji
=== 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
bacjcsackett: is your unknown-translations ready to land?  can i mark it 'approved'?18:11
jcsackettthere's still some debate going on with it, i believe.18:12
jcsackettoh, no, nevermind, sinzui marked it as cool too.18:12
jcsackettyes, go ahead.18:12
jcsackettbac^18:13
* jcsackett needs to keep better track of his email.18:13
=== gary_poster is now known as gary-lunch
benjibac: I'm not sure what the procedure is on this: I have a branch which allenap reviewed yesterday and included a few comments, one of which he said was required to fix before landing, but marked his comment "Needs fixing".18:50
benjiso my question is: should I get it re-reviewed before landing, or just mark it "Approved" myself?18:50
benji(https://code.edge.launchpad.net/~benji/launchpad/wadl-refactoring/+merge/36452 is the MP in question)18:50
bacbenji: generally "needs fixing" means it should be looked at again before landing19:01
bacbenji: the alternative is for a reviewer to suggest some (generally trivial) changes but mark it 'approved' the first go round.19:01
benjibac: in that case: tag, you're it19:02
bacbenji: gladly19:02
=== salgado-lunch is now known as salgado
bachey benji19:28
bac284        self.assertIsInstance(matcher.match("foo"), DoesNotContain)19:28
baccan you swap those so it is expected, actual19:28
bacimport _pythonpath # not lint, actually needed19:28
benjisure19:29
bacCapitalize and add a period to the comment so that it is a complete sentence19:29
=== gary-lunch is now known as gary_poster
bac20from lp.testing.matchers import (19:29
bac 21    StartsWith,19:29
bac 22    Contains,19:29
bac 23    )19:29
bacalphamotize19:29
* bac hmm i guess i should add these to the MP19:29
benjibac: actually, assertIsInstance won't work like that; it's defined as taking (obj, class)19:30
bacbenji: ok, nm then.  :)19:30
benjithe other two changes are made and as soon as the tests finish will be pushed19:32
bacbenji: i snuck in a third...  :)19:34
bacbut i'm done19:34
benjik :)19:34
sinzuibac: I have a fix for my branch. I am unhappy with it. I now have a good understanding why fields do not notify change events.19:43
bacsinzui: well if you're unhappy with it, i'm unhappy with it.19:43
sinzuiI will clean up my work and explain my sour victory19:43
bacok19:43
=== bryceh changed the topic of #launchpad-reviews to: On call: bac || Reviewing: - || queue: [bryceh] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
jcsackettbac, got time for another in the queue?20:17
jcsacketthttps://code.edge.launchpad.net/~jcsackett/launchpad/private-team-to-private-team-519306/+merge/3658920:18
jcsackett(it's quite small)20:18
=== jcsackett changed the topic of #launchpad-reviews to: On call: bac || Reviewing: - || queue: [bryceh, jcsackett] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
bacjcsackett: sure20:22
jcsackettthanks, bac.20:22
bacjcsackett: how about using httplib.BAD_REQUEST instead of a magic number, albeit a universally recognized magic number?20:29
=== sinzui changed the topic of #launchpad-reviews to: On call: bac || Reviewing: - || queue: [bryceh, jcsackett, sinzui] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
sinzuibac: I put myself back in the queue for a re-review20:31
bacsinzui: ok20:31
jcsackettin the webservice_error(), bac? i'd be good with that.20:32
bacjcsackett: yeah.  well, s/400/.../ in your files20:32
jcsackettdig. i can certainly do that.20:33
bacjcsackett: r=bac20:34
bacwith three little requests20:35
jcsackettall good ones, bac. i'll take care of it. thanks!20:35
bachey bryceh i didn't see you'd snuck a review into the queue.  pinging the reviewer will get you a faster response.20:35
bacjcsackett: do you have another or was it just the one?20:36
jcsackettthat's it.20:36
=== bac changed the topic of #launchpad-reviews to: On call: bac || Reviewing: bryceh || queue: [sinzui] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
brycehbac, sorry, you'd sounded busy20:38
=== bac changed the topic of #launchpad-reviews to: On call: bac || Reviewing: sinzui || queue: [-] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
bacsinzui: originally you expected the notify to just happen automatically when the attribute changed and that's just not how it works?21:13
sinzuibac: there is no notification. none, nada21:14
bacsinzui: but that is because you/we misunderstood the mechanism or is something busted?21:14
sinzuiI misunderstood21:14
bacok.  i encounter the notify mechanism so infrequently that i don't have a good grasp of it21:15
sinzuiI was mislead by the existing subscriber to product change events. I assumed that since there was one and I could see no explicit calls for it, that field did the notify for us21:15
sinzuiI should delete the pretend subscriber21:16
baci think the change you have now is very good.  i've noted two requests in the MP21:16
* sinzui makes changes21:18
bdmurraysinzui: my +subscriptions has been updated and is ready for a rereview - https://code.edge.launchpad.net/~brian-murray/launchpad/limited-subscriptions-page/+merge/3517721:31
* sinzui looks21:31
sinzuibdmurray, I just had a very bad experience as sample person. I looked as my +subscriptions and decided to remove the blackhole one.21:49
sinzuibdmurray, https://bugs.launchpad.dev/ubuntu/hoary/+bug/2/+subscribe does not let me unsubscribe, and cancel takes me to a page I have not seen :(21:49
bdmurraysinzui: looking into it thanks21:50
bdmurraysinzui: okay, I can see the unsubscribe issue you've described but cancel works for me21:53
sinzuiI think you watned to use checkboxes, https://bugs.launchpad.dev/jokosher/+bug/14/+subscribe is also wrong21:53
_mup_Bug #14: There is no link to the bugtrackers config page <Launchpad Bugs:Fix Released> <https://launchpad.net/bugs/14>21:53
sinzuino cancel is also broken on that page, I see the bug page instead of the +subscriptions page21:54
bdmurrayand I pushed revision 11483 right?21:55
bdmurraysinzui: so bug 2 shouldn't have shown up in the result set as sample person is not a direct subscriber of that bug.  I've fixed the query in the view.22:01
sinzuibdmurray, I think the issue is that I am seeing radio button, but the widget should be checkboxes.22:03
bdmurraysinzui: I'm not sure how this is related to the work I've done.  I've only added ReturnToReferrerMixin to the +subscribe page22:05
sinzuino, you added it to a base class, I see in the MP class PersonSubscriptionsView(BugTaskSearchListingView):22:06
sinzuiyou did no write a story, and that is why it is surprising that this is broken. Let me attempt to write a real story and we can set the bar for minimum functionality22:07
=== Ursinha is now known as Ursinha-afk
=== salgado is now known as salgado-afk
=== Ursinha-afk is now known as Ursinha

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