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

bachi henninge08:27
henningeHey bac! ;)08:28
bachenninge: so did you get UI graduated?08:28
henningebac: so rockstar tells me. Is it his call alone?08:28
bachenninge: no, he talked to me and sinzui.  i just wasn't sure.  the discussion of it in the meeting notes last week was a little anti-climatic08:29
bachenninge: so, congratulations!08:29
henningebac: Thank you!08:29
bachenninge: thanks to you.  i've updated the wikis to show it.08:30
=== jtv changed the topic of #launchpad-reviews to: On call: jtv || Reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
jtvhi bac, do you feel like reviewing my branch?  24 lines of diff but a huge cover letter.  :-)  https://code.launchpad.net/~jtv/launchpad/bug-662552-defer-potmsgset-filter/+merge/3942610:32
bacjtv: ok10:34
jtvthanks bac10:35
bacjtv: who is UCP?10:44
jtvUniversitat Politècnica de Catalunya10:44
jtvWhich I believe means Universidad Politécnica de Cataluña.10:45
jtvGreat database professor there.10:45
jtvMade things really accessible, and got his team to implement a real-world innovation in postgres instead of messing about with theory and simulations.10:48
bacthat's cool10:49
bacthanks for the branch and explanation.10:49
jtvthanks for the review—"mysterious" is about right.  :-)10:51
henningehey jtv, I am unsure atm: Will this code also return existing languages or throw an exception if the code exists?12:07
henningehttp://paste.ubuntu.com/520708/12:07
henningefrom LangugeSet12:08
jtvhenninge: well it constructs a Language.12:08
jtvSo there's your answer.  :)12:08
henningejtv: you are not helping12:08
jtvIt'll create a new Language object, and if one of the same code or englishname already existed, then you'll get a unique violation when it gets flushed to the database.12:09
henningejtv: now you are helping ;-)12:09
henningeI suspected that but forgot...12:09
* jtv regrets it already :)12:09
jtvIt's just a constructor.  Constructors don't look for existing objects.12:09
=== jtv 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
=== matsubara-afk is now known as matsubara
=== henninge changed the topic of #launchpad-reviews to: On call: - || Reviewing: - || queue: [henninge] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
henningejtv: It's a pitty you just eod'ed. You would have liked this one ... ;-)12:55
jtv?12:56
henningehttps://code.edge.launchpad.net/~henninge/launchpad/devel-productseries-views-tests/+merge/3943712:56
* jtv checks channel name12:56
henningeBut I will go to lunch myself now ...12:56
jtvyes, I just eod'ed.  :)12:56
henninge:-P12:56
lifelesshttps://code.launchpad.net/~lifeless/launchpad/zope.testing/+merge/3942312:59
=== jtv is now known as jtv-afk
jtv-afkhenninge: someone who probably isn't here right now just came by and spontaneously reviewed your branch14:17
henningejtv-afk: that is awfully nice of him (or her?) !14:31
=== henninge 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
=== adeuring1 is now known as adeuring
jcsackettis someone available to do a ui review on https://code.edge.launchpad.net/~jcsackett/launchpad/hidden-project-configuration-636000/+merge/3930615:12
leonardras long as we're asking for reviews, i need a code review for https://code.edge.launchpad.net/~leonardr/lazr.restfulclient/enhanced-consumer/ (writing mp now)15:16
leonardrjcsackett, i'd swap reviews with you if i were rated for ui reviews15:16
jcsackettleonardr: i'd take you on that if i were a reviewer. :-P15:16
leonardrlike two ships passing in the night15:17
* jcsackett laughs.15:22
henningejcsackett: I'll take it.15:27
jcsacketthenninge: thanks!15:27
leonardrsalgado, maybe you want to take a minute and review https://code.edge.launchpad.net/~leonardr/lazr.restfulclient/enhanced-consumer/+merge/39447 ?15:31
henningerockstar: when you get up, can you please add me to launchpad-ui-reviewers? ;-)15:35
=== Ursinha is now known as Ursinha-afk
rockstarhenninge, ah!15:36
henningeHi rockstar! ;)15:36
rockstarhenninge, hello sir.15:36
rockstarhenninge, done.15:37
henningerockstar: great, thank you! Now I can claime that review ...15:38
henninges/claime/claim/15:39
henningejcsackett: That looks very good, thank you! I just wonder if "Configuration links" is the best title.15:40
henningejcsackett: how about "Configuration steps"?15:40
jcsackettnot sure; that implies a sequence, and you don't really have to do any of them in sequence.15:40
jcsackettin all truth, we just really *want* people to set things up. if they don't care they don't have to do any of it.15:40
henninge"Configuration details"15:41
jcsacketthenninge: yeah, i can go with that.15:41
henningeIt's just that "links" are all over the place on a webpage15:41
jcsackettI was also thinking "Configure services"15:41
henningeOr that.15:41
jcsackettpreference, oh ui reviewer? :-)15:41
jcsacketti'm good with either, personally.15:42
jcsackettdoes one seem better or more in keeping with convention?15:42
henningewhat was it you copied from?15:43
henningeah, "extra options"15:45
henningeMay "Configuration options"?15:45
jcsackettthat works. and that does seem to follow the convention.15:46
jcsacketti'll make that change push it up. thanks, henninge.15:46
henningejcsackett: cool, let's use that.15:46
henningejcsackett: there is something else15:46
henningeI just ran the branch and it looks different to the screenshot.15:46
henninges/to/from/ ?15:46
* jcsackett looks alarmed.15:46
henningeThere is the blank line missing after "Configuration links"15:47
jcsackettah, yes. i killed the <br> from the code review and didn't update the screenshots.15:47
jcsackettsorry.15:47
jcsackettyou prefer with the blank line?15:47
jcsacketti wasn't sure either way to go on that.15:47
henningeActually, that was a bit too much. Could we have half a line?15:48
* henninge hacks15:48
=== Ursinha-afk is now known as Ursinha
jcsacketthenninge: i'm good with half a line, but i'll confess my css-fu is weak.15:50
henningejcsackett: turn "legend" into a div and give it a "margin-bottom: 0.5em;" . That looks fine.15:54
jcsacketthenninge: dig. will do.15:55
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
henningejcsackett: you will have to script your js code because this breaks it.15:56
henninges/script/fix/15:56
jcsacketthenninge: yeah, i think that javascript should just be #legend not span#legend anyway.15:57
henningejcsackett: or maybe just use a class?15:57
jcsacketthenninge: your right. ".legend" it is.15:57
henningejcsackett: call it ".configuration_optoins"15:58
jcsacketthenninge: okay.15:58
henningealthough ...15:59
henningeyeah, do that. I think it's better to give such specific classes specific names.16:00
henningejcsackett: .config-options16:01
henningelast word, promised ... ;-)16:02
henninger=me16:02
jcsackettthanks henninge. i'll make those changes. :-)16:02
=== EdwinGrubbs changed the topic of #launchpad-reviews to: On call: Edwin || Reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== matsubara is now known as matsubara-lunch
=== matsubara-lunch is now known as matsubara
=== jcsackett|afk is now known as jcsackett
jtvEdwin: free for a review?  https://code.launchpad.net/~jtv/launchpad/bug-662552-get-tm-or-dummy/+merge/3946720:01
jtvA lot of it is lint.20:03
StevenKjtv: I have a branch too, shall I add you to queue?20:10
jtvStevenK: yes please20:10
=== StevenK changed the topic of #launchpad-reviews to: On call: Edwin || Reviewing: - || queue: [jtv, StevenK] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== noodles775 changed the topic of #launchpad-reviews to: On call: Edwin || Reviewing: - || queue: [jtv, StevenK, noodles775] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
noodles775Hi Edwin-afk, could you please review the following when you've time: https://code.edge.launchpad.net/~michael.nelson/launchpad/627608-p3a-token-race/+merge/3946920:20
EdwinGrubbsjtv: sorry, I didn't see your comment. I'll start reviewing it now.20:20
jtvEdwinGrubbs: cool, thanks20:20
noodles775(one-line change with a new test)20:20
EdwinGrubbsnoodles775: sure. I guess I'll look at that first then.20:21
noodles775EdwinGrubbs: thanks!20:21
EdwinGrubbsnoodles775: what happens if the scripts fails to run? For example, if it can't connect to the database but the next minute it runs fine.20:25
noodles775EdwinGrubbs: ah, you mean if date_started *is* set, even though it didn't complete... good point.20:27
noodles775I'll check script-activity and ensure we have a successful record.20:29
noodles775EdwinGrubbs: OK, I need to update to ensure date_completed is not null in the query. I'll update the test, make sure it fails and fix.20:30
leonardrEdwin: pls ad https://code.edge.launchpad.net/~leonardr/lazr.restfulclient/enhanced-consumer/+merge/39447 to the queue?20:33
noodles775EdwinGrubbs: actually, afaics, script activity is only ever recorded on success (IScriptActivitySet has only a recordSuccess method).20:33
noodles775EdwinGrubbs: Assuming that's true, the current code is fine as is.20:33
EdwinGrubbsnoodles775: ok. Is the htaccess file the only thing that this script updates, so you are completely dependent on the ArchiveAuthToken.date_created and the last_success.date_started running on machines whose clocks are in sync?20:40
noodles775EdwinGrubbs: yes (actually the htpasswd). And again, that's a good point about needing to be in sync. Thinking.20:43
mwhudsonoh eh, i just reviewed that branch :-o20:44
noodles775Thanks mwhudson - do you know if the issue Edwin mentiones above could be a problem? (ie. the token is created on an app server, but the script activity will be on germanium). Can we trust the timestamps?20:46
mwhudsonnoodles775: i *think* i've asked is about this before, and we can rely on ntp running20:46
mwhudsonnoodles775: you might want to check though :-)20:46
* noodles775 checks20:47
mwhudsonnoodles775: there is also a chance that all times will be from the db20:47
noodles775mwhudson: date_started and date_completed are required args to IScriptActivitySet.recordSuccess, so I don't think they will be set by the db.20:48
mwhudsonyeah, indeed20:48
mwhudsonnoodles775: you _could_ probably pass UTC_NOW for date_completed20:49
mwhudsonbut we don't20:49
noodles775mwhudson: yeah, and we're checking date_started here.20:49
mwhudsonalso true20:49
mwhudsonnoodles775: i guess a fudge would be to check all tokens created >= date_started - 120:50
mwhudsonsecond20:50
EdwinGrubbsnoodles775: I think mwhudson fudge factor is reasonable. I'll let you two decide on the final implementation and start reviewing something else.20:53
noodles775EdwinGrubbs: so we can assume NTP is running (ie. minimal skew), but I'll add a 1-second....20:54
noodles775:)20:54
noodles775Thankyou EdwinGrubbs.20:54
StevenKEdwinGrubbs: Are you still reviewing21:00
StevenK?21:00
EdwinGrubbsStevenK: yes, I'll get to yours after jtv's.21:01
=== EdwinGrubbs changed the topic of #launchpad-reviews to: On call: Edwin || Reviewing: - || queue: [jtv, StevenK] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
StevenKEdwinGrubbs: Excellent, thank you. I have two. :-)21:09
=== matsubara is now known as matsubara-afk
=== Ursinha is now known as Ursinha-bbl
EdwinGrubbsjtv: review sent21:52
jtvthx21:52
=== EdwinGrubbs changed the topic of #launchpad-reviews to: On call: Edwin || Reviewing: - || queue: [StevenK, leonardr, StevenK] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
EdwinGrubbsStevenK: which branch would you like me to review first.21:55
StevenKEdwinGrubbs: The qafail22:00
jtvEdwinGrubbs: I'm definitely eod, but just put up another one: https://code.edge.launchpad.net/~jtv/launchpad/bug-662552-view-permissions/+merge/3948122:13
EdwinGrubbsjtv: I doubt that I will have time to get to it.22:14
jtvno worries22:14
EdwinGrubbsleonardr: wouldn't you want the OAuthAuthorizer.user_agent_params to include the oauth_consumer, especially if the application_name isn't set?22:48
leonardrOAuthAuthorizer: application_name defaults to oauth_consumer22:49
EdwinGrubbsok, I missed that22:49
leonardrmaybe we also want the oauth_consumer, i dunno. gary, maybe you can weigh in when you get a minute? (poss. in comments on https://code.edge.launchpad.net/~leonardr/lazr.restfulclient/enhanced-consumer/+merge/39447)22:50
gary_posterlooking22:52
StevenKEdwinGrubbs: Thank you for the review!22:53
EdwinGrubbsleonardr: it looks like you have a merge conflict in src/lazr/restfulclient/docs/operations.txt, although it will be trivial to fix.22:54
leonardrok22:55
gary_posterargh must run22:57
gary_posterleonardr: I'm sorry, I have to run.  Do you need me to check back in later, or is it alright?22:58
leonardrgary, it's ok22:58
gary_posterok thanks22:58
gary_posterg'night22:58
jcsackettleonardr: i added support for qastaging to launchpadlib if you would like to take a look: https://code.edge.launchpad.net/~jcsackett/launchpadlib/add-qastaging-to-uris/+merge/3948323:08
jcsacketthaving to manually throw in the url when qaing was bugging me.23:09
=== EdwinGrubbs changed the topic of #launchpad-reviews to: On call: Edwin || Reviewing: - || queue: [StevenK] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
EdwinGrubbsStevenK: I'll finish your other branch later tonight.23:11
=== EdwinGrubbs changed the topic of #launchpad-reviews to: On call: - || Reviewing: - || queue: [StevenK] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
StevenKEdwinGrubbs: Excellent, thank you23:11
leonardrjcsackett, i'll take a look tomorrow. remind me if i forget23:51

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