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

mwhudsonlifeless: reviewed00:12
lifelessmwhudson: thanks00:14
lifelessmwhudson: feedback on my feedback?00:50
mwhudsonlifeless: ok00:53
lifelessmwhudson: there was a question there :P00:55
lifelessmwhudson: for inlining the matcher00:55
mwhudsonlifeless: typing it up now, sorry :)00:56
lifelessah de nada00:56
lifelessI thought you were saying 'ok do it go ahead'00:56
mwhudsonit was just meant to be a generic acknowledgement, though it was unclear00:57
mwhudsonanwyay, typed up now00:57
lifelessthanks00:59
mwhudsona review for https://code.edge.launchpad.net/~mwhudson/launchpad/move-some-code-vocabularies/+merge/35974 woudl be nice01:58
lifelessdone02:03
lifelessmwhudson: ^02:05
mwhudsonlifeless: thanks!02:06
jtvAnyone up for a really simple review?  mwhudson maybe?06:51
jtvhttps://code.launchpad.net/~jtv/launchpad/bug-643240/+merge/3598406:51
lifelessdone06:54
jtvthanks!06:54
jtvThat was fast06:54
lifelessde nada06:55
=== henninge changed the topic of #launchpad-reviews to: On call: henninge || Reviewing: - || queue: [bryceharrington] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== mrevell_ is now known as mrevell
=== henninge changed the topic of #launchpad-reviews to: On call: henninge || Reviewing: bryceharrington || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== bigjools is now known as bigjools-afk
=== noodles775 changed the topic of #launchpad-reviews to: On call: henninge || Reviewing: bryceharrington || queue: [nooles775] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
gmbhenninge, Good afternoon. Can I add a branch to your queue?12:02
noodles775Hi henninge, when you've time, could you review an incremental for an approved MP? I've linked to a diff from the last comment at: https://code.edge.launchpad.net/~michael.nelson/launchpad/635005-difference-details-2/+merge/3564012:02
henningegmb: sure, please do12:02
henningenoodles775: I'd happy to do so but who is that 'nooles' guy?12:03
henninge;-)12:03
noodles775woops :)12:03
=== gmb changed the topic of #launchpad-reviews to: On call: henninge || Reviewing: bryceharrington || queue: [noodles775, gmb] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
gmbnoodles775, Fixed that for you :)12:03
noodles775Ta.12:03
henningesleeping people will have to wait ... ;)12:07
=== henninge changed the topic of #launchpad-reviews to: On call: henninge || Reviewing: noodles775 || queue: [noodles775, gmb, bryceharrington] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== henninge changed the topic of #launchpad-reviews to: On call: henninge || Reviewing: noodles775 || queue: [gmb, bryceharrington] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
henningenoodles775: Why is the marker interface not defined in interfaces?12:15
noodles775henninge: I'd put it there in the browser module because its only used for displaying comments, but right, that's probably an old habit.12:16
noodles775henninge: actually, hangon...12:17
noodles775henninge: because that's where the code guys had them - I didn't create ICodeReviewNewRevisions (also only used for display).12:18
noodles775I assume they had them there for that reason (see the comment for ICodeReviewNewRevisions in the diff)12:19
henningenoodles775: I see.12:19
henningenoodles775: I don't pretend to fully understand all effects of your change but what makes the attibutes move from the view to view.comment?12:28
noodles775henninge: that's not part of that diff - which is why it would be hard to understand. That was why a test failed :)12:29
henningenoodles775: ah!12:29
noodles775I'll just find the relevant lines of the MP diff...12:29
noodles775So from line 72ff on the MP diff, a bunch of attributes are moved from the view to the CodeReviewDisplayComment object.12:30
noodles775which caused the test failure because the templates were using the view :)12:30
noodles775henninge: sorry, I need to run out the door in a few mins for lunch... are there any other thoughts/questions that you've got?12:31
henningenoodles775: thanks, I understand12:31
henningenoodles775: no, I'll approve now. I didn't find anything ... ;) r=me12:32
noodles775Thanks henninge12:32
* henninge runs to lunch, too12:32
henningenp12:32
=== henninge changed the topic of #launchpad-reviews to: On call: henninge || Reviewing: lunch || queue: [gmb, bryceharrington] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== Ursinha-afk is now known as Urisnha
=== Urisnha is now known as Ursinha
=== sinzui changed the topic of #launchpad-reviews to: On call: henninge || Reviewing: lunch || queue: [gmb, bryceharrington, sinzui] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== Ursinha is now known as Ursinha-brb
=== sinzui changed the topic of #launchpad-reviews to: On call: henninge || Reviewing: lunch || queue: [gmb, bryceharrington, sinzui, sinzui] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
derycksinzui and salgado.  Hi!  bdmurray wasn't sure how to proceed, so I commented on his +subscriptions work that you guys reviewed.  If either of you could look and see if you agree with me, I'd appreciate it.15:32
deryckJust to help move him forward again.15:32
sinzuiI was waiting for salgado to respond. I think your proposed path is in line with my suggestions15:33
sinzuiI really hate the so-called story test though15:33
salgadoderyck, sinzui, just saw it here, will reply15:34
deryckyeah, I agree.  I think it's premature at this point.15:34
deryckMaybe he should just do view unit tests until we have a complete user story.15:34
derycksinzui, what do you think of that? ^^15:34
=== henninge changed the topic of #launchpad-reviews to: On call: henninge || Reviewing: gmb || queue: [bryceharrington, sinzui, sinzui] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== abentley changed the topic of #launchpad-reviews to: On call: henninge, abentley || Reviewing: gmb, - || queue: [bryceharrington, sinzui, sinzui] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== deryck is now known as deryck[lunch]
abentleybryceh, you should also request a DB review if you introduce a db patch.16:05
=== Ursinha-brb is now known as Ursinha
abentleybryceh, around?16:11
=== abentley changed the topic of #launchpad-reviews to: On call: henninge, abentley || Reviewing: gmb, sinzui || queue: [bryceharrington, sinzui] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== abentley changed the topic of #launchpad-reviews to: On call: henninge, abentley || Reviewing: gmb, sinzui || queue: [bryceharrington] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
bachenninge, abentley: a trivial one:  https://code.edge.launchpad.net/~bac/launchpad/bug-637102/+merge/3602816:23
=== bac changed the topic of #launchpad-reviews to: On call: henninge, abentley || Reviewing: gmb, sinzui || queue: [bryceharrington,bac] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
abentleysinzui, would it make sense to extract your monkeypatch of XMLRPCRunner.get_mailing_list_api_proxy to a Context Manager?16:34
sinzuiabentley, I do not understand your suggestion, but I welcome a graceful way to choose the proxy.16:35
sinzuiah, mailman is not running with zopisms so my favorite hack or registering something in the testrunners config will not work16:36
=== Ursinha is now known as Ursinha-lunh
=== Ursinha-lunh is now known as Ursinha-lunch
sinzuiabentley, If you can help me factor out the monkey patch, I will be delighted16:39
abentleysinzui, am writing up example.16:39
sinzuithanks!16:39
=== matsubara is now known as matsubara-lunch
abentleysinzui, something like this: http://pastebin.ubuntu.com/497078/16:40
abentleysinzui, it would be possible to generalize this to other mokeypatches.16:41
sinzuiabentley, I love this16:41
abentleysinzui, great.16:42
abentleys/addContext/useContext16:42
sinzuinotes16:42
sinzuinoted16:42
sinzuiI am do excited to have solved the mailman monkeypatch test strategy. No more anxiety when I hear mailman is broken16:43
abentleysinzui, for paranoia, it could make sense to check that self.mailing_list.getReviewableMessages().count() == 0 before you make any changes.16:47
sinzuiabentley, I can add that. I have a lot of confidence since the team is new in each case, and I am only testing one message each time, that if that fails, then teardown failed16:48
abentleysinzui, okay.16:48
abentleysinzui, r=me16:51
sinzuithanks. I will integrate the changes shortly16:52
=== henninge changed the topic of #launchpad-reviews to: On call: abentley || Reviewing: sinzui || queue: [bryceharrington,bac] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== abentley changed the topic of #launchpad-reviews to: On call: henninge, abentley || Reviewing: gmb, - || queue: [bryceharrington,bac] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
henningegmb: approved. Sorry, I should have looked at it sooner as it was really niece and smooth reviewing ... ;-)16:52
=== henninge changed the topic of #launchpad-reviews to: On call: abentley || Reviewing: - || queue: [bryceharrington,bac] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
gmbhenninge, No worries, and thanks.16:53
abentleybac, r=me16:53
=== abentley changed the topic of #launchpad-reviews to: On call: henninge, abentley || Reviewing: gmb, - || queue: [bryceharrington] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== abentley is now known as abentley-lunch
=== henninge changed the topic of #launchpad-reviews to: On call: abentley || Reviewing: - || queue: [bryceharrington] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== deryck[lunch] is now known as deryck
gmbrockstar, Did you have chance to look at my lazr-js branch yet?17:04
bacthanks abentley-lunch17:04
gmb(Realising of course that Monday has just started for you... :))17:04
brycehabentley-lunch, yep?17:07
=== benji is now known as benji-lunch
=== Ursinha-lunch is now known as Ursinha
=== matsubara-lunch is now known as matsubara
leonardrsinzui: i landed the branch you reviewed for me a few days back, and then immediately discovered that the requirements have changed so as to render the branch moot. can you help me a) review a branch that reverts the change i just made, and b) help me construct that branch in the first place?17:18
sinzui:(17:18
sinzuileonardr, do you want bzr command to do a reverse merge?17:18
leonardrsinzui: exactly17:19
leonardri just tried bzr merge -r 11577..11578 and it ran, but i haven't checked if it's right yet17:19
leonardrno, that didn't work17:19
sinzuiyou will need --merge3, but let me look locally17:20
=== salgado is now known as salgado-lunch
* sinzui pulls tip17:21
leonardrsinzui, my revision is 1157817:21
leonardrin case that wasn't clear17:21
sinzuibzr cdiff -r 11578..11577 | less -R17:23
leonardryes, that looks like it will undo my change17:23
sinzuithen...17:23
sinzuibzr merge --merge3 -r 11578..1157717:23
abentley-lunchleonardr, you need to specify the branch, unless you want 11578/11577 to be interpreted relative to the branch you normally merge from.17:43
abentley-lunchleonardr, so "bzr merge --merge3 -r 11578..11577 ."17:43
abentley-lunchleonardr, though --merge3 is the default, so you only need it if you've overridden the default.17:44
leonardrabentley-lunch: i think i've got it...17:45
=== abentley-lunch is now known as abentley
abentleybryceh, since this branch is proposed to land in db-devel, it's unlikely that the db patches would be shown if they were already in db-devel.18:01
=== jtv is now known as jtv-zzz
abentleybryceh, perhaps they hadn't landed at the time you proposed the merge?18:02
rockstargmb, I did look at it enough to realize it needs more of my attention than I could give to it at the time.18:03
rockstargmb, I'll have it finished when you get up tomorrow, is that good?18:04
abentleybryceh, I think the new style is to define permissions in terms of interfaces.  Did you consider that option?18:05
leonardrsinzui: https://code.edge.launchpad.net/~leonardr/launchpad/revert-oauth-aware-website/+merge/3603818:08
=== benji-lunch is now known as benji
bdmurrayabentley: Could I get https://code.edge.launchpad.net/~brian-murray/launchpad/api-export-bug-activity/+merge/35897 added to the queue?18:23
abentleybdmurray, sure.18:24
abentleybryceh, OCR is meant to be interactive.  Please ping me when you are up for an interactive review.18:24
=== abentley changed the topic of #launchpad-reviews to: On call: abentley || Reviewing: bdmurray || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
abentleybdmurray, what is a BugField?18:27
bdmurrayabentley: double checking18:27
bdmurrayabentley: its a field that allows one to enter a bug number so maybe its unnecessary18:30
abentleybdmurray, I would expect IBugActivity.bug to be a reference to the bug, but it sounds like it's actually an int?18:32
bdmurrayabentley: yes, an int, the bug number, is correct18:33
abentleybdmurray, ISTM that specifying it as an Int will be clearer, and since users don't edit BugActivity, we won't lose any functionality.18:34
bdmurrayabentley: right, that makes sense to me18:34
abentleybdmurray, classes should have blank lines between their entries, e.g. export_as_webservice_entry(), datechanged, etc.18:35
abentleybdmurray, the description of message is copy-pasted.18:36
bdmurrayabentley: could you elaborate on both of those points?18:36
=== salgado-lunch is now known as salgado
abentleybdmurray, I am generalizing from the PEP8 requirement "Method definitions inside a class are separated by a single blank line."18:39
bdmurrayabentley: I meant I don't see where the error is18:39
abentleybdmurray, lines 33, 78, 80, 84, 88, 92, 96, 10018:40
bdmurrayabentley: hmm, there are not blank lines in IBug from interfaces/bug.py nor in IBugTask from interfaces/bugtask.py18:42
abentleybdmurray, that may be so.18:43
sinzuileonardr, I think the MP is for the wrong branch. I see your work and the work of others. Maybe you meant to merge into devel?18:45
leonardrsinzui, thanks, i was trying to figure out what was the problem18:45
sinzuijust delete the mp and be sure to choose /devel (launchpad's default is db-devel)18:46
leonardrsinzui: try https://code.edge.launchpad.net/~leonardr/launchpad/revert-oauth-aware-website/+merge/3604018:47
* sinzui waits for diff18:47
abentleybdmurray, it's possible that there's some skew in team styles here.  It's also possible that those files are not good examples, because they were created a long time ago.18:47
bdmurrayabentley: okay18:47
sinzuileonardr, r=me18:52
leonardrsinzui: think i should ec2 test or is that overkill?18:52
sinzuileonardr, I would ec2 to cover the small case where someone made a change on top of your changes18:52
leonardrsinzui, ok18:53
abentleybdmurray, I can't see anything definitive in our style guide.  https://dev.launchpad.net/PythonStyleGuide  The 10-line example under Properties hints at it.18:53
abentleybdmurray, for the copy/paste, "message" is described as "The related property of the bug that changed." which is not accurate.18:57
bdmurrayabentley: do you have an idea for a more accurate description?  I couldn't find anything describing the field.18:59
abentleybdmurray, sorry, I don't know what the field is used for.19:01
abentleyI think the test at line 154 is not useful.  It would not catch a case where bug activity were exposed as /bug_activity, for example.19:02
bdmurrayabentley: deryck and I've discussed the description some and have something better19:25
abentleybdmurray, great.19:25
=== salgado is now known as salgado-doctor
abentleybdmurray, ping me when you've pushed your changes.19:31
=== abentley changed the topic of #launchpad-reviews to: On call: abentley || Reviewing: - || queue: [bdmurray] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
rockstarabentley, here's a really little one.19:38
rockstarhttps://code.edge.launchpad.net/~rockstar/launchpad/not-logged-in-recipes/+merge/3604919:38
abentleyrockstar, don't introduce shout_at_engineer.  Use removeSecurityProxy if the usage is legit, or an XXX if there's a fix needed.19:40
rockstarabentley, ah, hadn't seen that.19:42
abentleyrockstar, you can also use getViewBrowser instead of canonical_url/logout/setupBrowser.19:42
rockstarabentley, no, I can't.  getViewBrowser logs me in.19:42
abentleyrockstar, okay, let's fix getViewBrowser, then.19:43
gmbrockstar, That works for me, thanks.19:51
rockstarabentley, getViewBrowser's login stuff goes pretty deep...19:54
abentleyrockstar, can't we just add a no_login parameter and call setupBrowser instead of getUserBrowser?19:55
rockstarabentley, yup, that's what I'm doing.19:55
abentleyrockstar, cool.19:56
rockstarabentley, updated (and removed the other instance of setupBrowser in another test) https://code.edge.launchpad.net/~rockstar/launchpad/not-logged-in-recipes/+merge/3604920:20
abentleyrockstar, r=me.20:22
rockstarabentley, yay.20:22
gary_posterabentley: quick one, maybe (and if it's not, maybe we should ignore the branch for now, because it was a flyby): https://code.edge.launchpad.net/~gary/launchpad/bug643715/+merge/3606020:28
bdmurrayabentley: I've pushed an updated branch leaving bug as a BugField as that is a link to the bug report and Int returns a dictionary of all the bug properties20:29
abentleybdmurray, I'll have a look in a minute.20:30
abentleygary_poster, your patch is treating revnos as if they were revision-ids.  It will fail to do an update if the definition of the revno has changed.20:34
gary_posterabentley: agreed, but when would that happen for this use case20:34
abentleygary_poster, if someone uncommits a revision.20:35
gary_posterew, didn't know you could do that with a public branch but I guess that makes sense within the model20:36
gary_posterok, that's a shame, but if that's a reasonable concern then we should just drop it.  thanks for the look abentley20:36
abentleygary_poster, np.20:37
abentleygary_poster, I think you also may not have accounted for the possibility that the branch has changed.  Also, it appears that your test will give false negatives if "revision" is not a revno.20:44
abentleybdmurray, I notice that you're still using BugField rather than Int.  Rationale?20:50
bdmurrayleaving bug as a BugField as                   that is a link to the bug report and Int returns a dictionary of all  the bug properties20:51
abentleybdmurray, so bug is a reference to the bug, not an Int?20:52
bdmurrayabentley: yes, afaict20:52
abentleybdmurray, okay.  "Int returns a dictionary of all  the bug properties" means that when you use it via the WS, you get a dict?20:54
bdmurrayabentley: yes, when exported it as an Int I was seeing bug properties like latest_patch_uploaded in a dictionary.20:55
abentleybdmurray, r=me.20:56
bdmurrayabentley: great, thanks!20:57
=== abentley changed the topic of #launchpad-reviews to: On call: abentley || Reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== abentley 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

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