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

wallyworldStevenK: ping?01:01
=== _thumper_ is now known as thumper
lifelessmwhudson: so, will you be up for reviewing my branch?[no panic, just wanting to know if you're 'tagged' or not]02:44
mwhudsonlifeless: looking at it now, yes02:44
lifelesscool, thanks02:45
mwhudsonlifeless: um TacTestSetup calls Fixture.setUp() twice02:45
lifelessheh, fortunately thats idempotent.02:45
lifelessfixing02:45
mwhudsonlifeless: why is that lib/lp/testing/fakelibrarian.py shim still needed?02:52
mwhudsonlifeless: couple more questions/comments on the proposal, but reviewed03:00
lifelessmwhudson: because db-devel has more uses, I suspect03:01
mwhudsonlifeless: ah ok03:01
lifelessI seriously doubt that there is just one use in the entire codebase03:01
lifelessIMBW03:01
lifelessthe docstring in __init__ is a pep8 variable docstring03:02
lifelessupdated the audit bit03:03
lifelesssorry, pep25703:03
lifeless"String literals occurring immediately after a simple assignment at the top level of a module, class, or __init__ method are called "attribute docstrings"."03:03
mwhudsonlifeless: oh right03:06
mwhudsoni'm not sure that idea ever really took off...03:06
lifelessI shall carry the flag!03:07
lifelessUntil someone (like the friendly pydoctor maintainer) makes it work.03:07
mwhudsonheh heh03:08
lifelessseriously, I can use a comment if you'd prefer.03:09
lifelessI do quite like the idea of that being extractable.03:09
lifelessparticularly as I don't like documenting _ variables as :ivar:03:09
mwhudsoni think perhaps a comment is more appropriate03:10
mwhudsoneventually i might get around to the thing i keep meaning to do in pydoctor -- a 'maintainer mode' where _things are not shown by default03:10
mwhudsonbut you can click something and they appear03:10
wallyworldStevenK: you around today?06:26
StevenKwallyworld: Indeed, what's up?06:27
wallyworldhi, i just need you to do a review as per tim's request. i'll paste the link06:28
wallyworldhttps://code.edge.launchpad.net/~wallyworld/launchpad/reassign-reviewer-cancel-option/+merge/3667106:28
wallyworldshould be a simple one hopefully :-)06:29
wallyworldthanks in advance06:29
StevenKwallyworld: Looking as soon as Firefox deigns to listen to me06:29
wallyworld:-)06:30
StevenKwallyworld: Done06:31
wallyworldwhat, already?06:31
StevenKwallyworld: It's a very small branch, as you say06:31
wallyworld:-)06:31
wallyworldthanks06:32
wallyworldStevenK: one question. the mp screen says that my original mp request still needs to be claimed, hence the overall review status is "Pending"06:36
wallyworldwho needs to go and and mark it as approved? me or you?06:37
StevenKwallyworld: It's because I can only do 'code*' not 'code'06:37
wallyworldwhat does code* mean?06:37
StevenKI'm only a reviwer-in-training06:37
StevenK*reviewer-in-training06:37
wallyworldoh, ok. i'll wait for tim tomorrow06:37
wallyworldthanks for the info. i'm still new at this :-)06:38
pooliebac: hi, up yet?09:11
poolieis anyone able to review https://code.edge.launchpad.net/~mbp/launchpad/flags-gui/+merge/3641509:13
jtvpoolie: I'll trade you for https://code.edge.launchpad.net/~jtv/launchpad/henninge_validate_translation-cleanup/+merge/3668309:14
=== henninge changed the topic of #launchpad-reviews to: On call: henninge || Reviewing: sinzui || queue: [-] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
poolie> En passant?09:15
pooliei think your description is incompletely translated :-P09:15
pooliejtv it seems plausible to me but i've never looked at this before09:16
jtvpoolie: "In passing."  It's commonly used in chess, I believe.09:16
pooliei know09:16
jtvLooks like poolie eod'ed.  Can someone else review this simple cleanup for me?  https://code.launchpad.net/~jtv/launchpad/henninge_validate_translation-cleanup/+merge/3668309:59
=== henninge changed the topic of #launchpad-reviews to: On call: henninge || Reviewing: - || queue: [-] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== jtv is now known as jtv-afk
=== jtv-afk is now known as jtv
jtvWho's free to review this _easy_ branch for me?  The OCR can't do it due to conflict of interest: https://code.launchpad.net/~jtv/launchpad/henninge_validate_translation-cleanup/+merge/3668312:13
henningejtv: you might like this one: https://code.edge.launchpad.net/~henninge/launchpad/devel-update-copyright/+merge/3670112:57
* jtv makes a quick guess12:58
* henninge lunches12:58
=== henninge changed the topic of #launchpad-reviews to: On call: henninge || Reviewing: lunch || queue: [-] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
jtvhenninge: you're saying that rewriting all our source files just before committing them to mainline does not need testing?  :-)12:58
jtvNon-OCR reviewer needed!  https://code.launchpad.net/~jtv/launchpad/henninge_validate_translation-cleanup/+merge/3668313:22
=== mrevell is now known as mrevell-lunch
=== henninge changed the topic of #launchpad-reviews to: On call: henninge || Reviewing: - || queue: [-] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
noodles775salgado: hi! I've done a new demo based on your ui review (for blacklisting distro series differences): http://people.canonical.com/~michaeln/tmp/644328-review-salgado.ogv14:33
noodles775Let me know if you've time to take a look.14:33
salgadonoodles775, sure, checking14:34
noodles775Thanks. Just for reference, it's this MP: https://code.edge.launchpad.net/~michael.nelson/launchpad/644328-blacklist-ui/+merge/3644214:34
=== mrevell-lunch is now known as mrevell
noodles775salgado: thanks for the review - can you pls add an approve review with the review type as ui*, if you're approving?15:11
salgadonoodles775, oh, sure, forgot about that15:12
noodles775salgado: and I just found that wrapping the radio inputs in an empty form element gets the checked radio displaying too :)15:16
salgadocool!15:16
achunihenninge: hi! have a minute for a one-byte review? :)15:25
henningeachuni: sure, fling it over15:26
henningethe byte ;)15:26
achuni:D15:26
achunihttps://code.launchpad.net/~elachuni/launchpad/use-latest-shipit/+merge/3672015:26
henningeachuni: r=me ;)15:27
achunihenninge: neat, thanks :)15:28
=== noodles775 changed the topic of #launchpad-reviews to: On call: henninge || Reviewing: - || queue: [noodles775] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
noodles775Hi henninge! I'm just updating the windmill test, but if you've time, can you take a look at https://code.edge.launchpad.net/~michael.nelson/launchpad/644328-blacklist-ui/+merge/3644215:32
=== abentley changed the topic of #launchpad-reviews to: On call: henninge, abentley || Reviewing: -,- || queue: [noodles775] || 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, abentley || Reviewing: noodles775,- || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
henningenoodles775: Hi!15:46
* henninge was thinking UI review ... ;-)15:46
henningenoodles775: sure, I can do a code review for you ...15:46
noodles775henninge: nah, just code, but if you've anything to add to the ui review, feel free :)15:47
noodles775Thanks!15:47
henningenoodles775: 38+    """A mixin for classes that share some method implementations."""15:48
henningeOh, really!?15:48
henninge;-)15:48
henningenoodles775: I mean, that's what a mixin is all about, is it not? ;)15:48
noodles775henninge: line 66 :)15:48
henningeah, hadn't gotten that far ;)15:49
noodles775(ie. I didn't change it, just moved it, but can change if you'd like)15:49
henningeyes, please15:49
henninge"non-sensical comments are useless" ...15:49
noodles775Yep, TBH I didn't even read it when moveing the class, but I'll update it.15:49
henningenoodles775: "test_is_ajax" should be two test methods15:53
noodles775OK, and the same will go for two other tests you'll find later then.15:54
noodles775(test_show_blacklist_options and test_blacklist_options_initial_values)15:54
henningenoodles775: yup15:54
* henninge is a fan of the "one assert per test" idea15:55
noodles775yeah, same, but in those cases it seemed a bit overboard, but perhaps not.15:55
* noodles775 notices an import he forgot to move to the top too.15:55
=== jcsackett changed the topic of #launchpad-reviews to: On call: henninge, abentley || Reviewing: noodles775,- || queue: [jcsackett] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
jcsackettabentley: you free for a review?15:59
abentleyjcsackett: yes.15:59
jcsackettabentley, fantastic! mp is at https://code.edge.launchpad.net/~jcsackett/launchpad/bad-state-transition-641266/+merge/3672615:59
jcsackettit's not a very big one. :-)15:59
=== deryck is now known as deryck[lunch]
=== abentley changed the topic of #launchpad-reviews to: On call: henninge, abentley || Reviewing: noodles775,jcsackett || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
abentleyjcsackett: On line 19, you have """comment""".  Please put an actual docstring.16:10
jcsackettabentley: yeah, that would be better, wouldn't it? sorry, forgot i had put in that place holder.16:11
abentleyjcsackett: I have never seen raise expose( done before, even for exceptions that need to be exposed.  Are you sure you need it?16:11
jcsackettsinzui and i discussed it, and it was key to resolving a similar oops.16:12
jcsackettabentley: my understanding was that the entire purpose of expose() was to make certain the exception gets raised across the API appropriately.16:13
abentleyjcsackett: IME you just need webservice_error(httplib.BAD_REQUEST) for that.16:13
jcsackettabentley: i'll try making that change and seeing how tests work; assuming everything still passes i'll commit the removal of expose.16:14
abentleyjcsackett: there are only two uses of the string 'raise expose' under lib/lp.  I bet they're either unnecessary, or used to wrap an externally-defined exception.16:17
=== Ursinha is now known as Ursinha-lunch
jcsackettabentley: good to know. test is running right now.16:18
jcsackettabentley: results will take a bit longer; need to make build after merging in devel this morning.16:19
abentleyjcsackett: so the "Unknown status: " exception cannot be encountered over the web service?16:21
=== salgado is now known as salgado-lunch
jcsackettnot with launchpadlib--it catches it internally; as the branch explicitly targets the invalid transition over launchpadlib that's what i focused testing on.16:22
abentleyjcsackett: so it could be encountered with other clients that aren't launchpadlib?16:23
jcsacketti would assume; as i said, i felt looking through all of those options was out of scope for the branch/bug.16:23
jcsackettthat said i'm not entirely against adding additional test coverage; i put this up for MP b/c i thought the scope was met, but i can be convinced otherwise.16:25
noodles775henninge: I've just pushed r9811 which updates a windmill test to check the blacklisting UI.16:25
henningeoh, ok.16:25
jcsackettabentley: without expose() the status is returned as 500, not 400.16:36
jcsackettabentley: i have pushed up a change with a docstring in place of the placeholder i missed.16:41
abentleyjcsackett: in lp/code/model/branch.py BranchMergeProposalExists is raised without expose, and lp/code/stories/branchmergeproposal.txt shows it gives a 400.16:46
=== matsubara is now known as matsubara-lunch
jcsackettabentley: i'm simply reporting what is happening here. given there is very little complexity to what's going on, it's my intuition that expose is needed here, since otherwise expected behavior doesn't occur.16:51
jcsacketti will take a look at branchmergeproposal16:51
abentleyjcsackett: It would be unfortunate if we had to start wrapping expose() around everything we were raising.  I'd like to get to the bottom of this.16:52
jcsackettabentley: it doesn't look like branchmergeproposal is using launchpadlib for its test.16:53
abentleyjcsackett: correct.  That test pre-dates the use of launchpadlib for testing the API.16:54
jcsackettabentley: i've already encountered places where launchpadlib behaves differently--mightn't it be the case that therein lies the issue?16:55
abentleyjcsackett: launchpadlib shouldn't translate 400 errors into 500 errors, if that's what you mean.16:56
=== deryck[lunch] is now known as deryck
jcsackettof course not. i simply mean that as the clearest difference in access, i would guess something is going on there.16:57
james_wwebservice_error isn't quite enough to do what you want16:59
james_wone moment while I find the file16:59
james_w./lib/lp/code/interfaces/webservice.py for why BranchMergeProposalExists returns 400 in that test17:00
james_wregistry apparently doesn't use the new preferred pattern for that yet17:00
jcsackettjames_w: i'm not sure i understand; i'm seeing a page of imports, nothing else. is this to get around cyclical import errors?17:02
james_wjcsackett: no, it's to make lazr.restful aware of the errors17:03
james_wit introspects the classes rather than the obects when they are raised IIRC17:03
jcsackettjames_w: is the mechanism or requirement for this documented anywhere? i can understand importing the errors, but am unsure why the other imports exist given that explanation.17:05
* jcsackett is a trifle confused.17:05
james_wthe other things are things that have exported() declarations IIRC17:05
james_wI thought this was written on the wiki somewhere but I can't find it now17:08
jcsackettjames_w: thanks.17:08
jcsacketti'll try creating a similar file and removing expose.17:08
james_wlib/canonical/launchpad/interfaces/17:10
james_wthat's where registry and the other components that haven't created their own file dump all of that stuff17:10
james_wcode has lib/lp/code/configure.zcml:  <webservice:register module="lp.code.interfaces.webservice" />17:10
jcsackettah ha! that's the magic.17:13
jcsacketti will set that up. may be a bit before i can ping back though as i have another branch i need to take a look at.17:13
jcsackettabentley: given the above, you may want to put me in Needs Info or similar and get me out of the queue for now.17:14
=== benji is now known as benji-lunch
=== henninge changed the topic of #launchpad-reviews to: On call: abentley || Reviewing: jcsackett || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
henningesinzui: I did this after my review this morning. If you find it useful, you can approve it ;-)17:28
henningehttps://code.edge.launchpad.net/~henninge/launchpad/devel-update-copyright/+merge/3670117:28
sinzuisweet!17:29
* henninge has to go now17:29
=== Ursinha-lunch is now known as Ursinha
=== salgado-lunch is now known as salgado
=== matsubara-lunch is now known as matsubara
=== sinzui changed the topic of #launchpad-reviews to: On call: abentley || Reviewing: jcsackett || queue: [sinzui, sinzui] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
sinzuiabentley, I have two chr related branches for review if you have time today, contact-launchpad-0, contact-launchpad-218:09
leonardrabentley, i'd like your opinion of https://code.edge.launchpad.net/~leonardr/lazr.restful/invalid-uri/+merge/3675918:15
=== benji-lunch is now known as benji
=== abentley changed the topic of #launchpad-reviews to: On call: abentley || Reviewing: sinzui || queue: [sinzui, leonardr] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
abentleysinzui: singular of "emails" is "email" on line 12818:42
abentleysinzui: I am confused about the sort order at 190.  (doesn't look alphabetical...)18:44
abentleysinzui: nm.18:45
=== abentley changed the topic of #launchpad-reviews to: On call: abentley || Reviewing: sinzui || queue: [leonardr] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== abentley changed the topic of #launchpad-reviews to: On call: abentley || Reviewing: leonardr || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
abentleyleonardr: it looks reasonable to me.18:57
abentleyleonardr: you asked for my opinion, but I'd be happy to approve it as well.18:59
leonardrabentley, yes, that was a polite way of asking for a review19:00
abentleyleonardr: r=me19:00
=== 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
=== matsubara is now known as matsubara-afk
=== 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
rockstarAnyone around for a review?22:35
=== salgado is now known as salgado-afk
rockstarsinzui? ^^22:36
sinzuirockstar, yes22:37
rockstarhttps://code.edge.launchpad.net/~rockstar/launchpad/edit-recipe-too-new/+merge/3680022:37
sinzuirockstar, r=me22:40
rockstarsinzui, thanks22:40
=== Ursinha is now known as Ursinha-afk
=== matsubara-afk is now known as matsubara

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