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

henningeHi noodles775!09:29
noodles775Hi henninge :)09:31
henninge;)09:31
=== allenap changed the topic of #launchpad-reviews to: on call: allenap || reviewing: - || queue [-] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
henningenoodles775: could you please have a look at jtv's review UI-wise? https://code.edge.launchpad.net/~jtv/launchpad/translationimportqueueentry-info/+merge/1896309:31
henningenoodles775: I just attached some screenshots for you to look at. Scroll down to after my code review. ;)09:32
noodles775henninge: I can, but it'd be great to check first if sinzui was keen (afaiui, he's keen to build up ui reviews). I can then go through it after that if required.09:32
henninges/review/merge proposal/09:32
noodles775But if it's urgent, I can do it today?09:33
henningenoodles775: will sinzui not be available today? It could wait until he gets up ...09:33
henningenoodles775: according to Matt's mail he should be here, so it can wait.09:35
henningenoodles775: thanks09:35
=== matsubara-afk is now known as matsubara
henningeHi jpds! I have not yet been able to land your branch. The ec2 test runs kept breaking off.10:22
henningejpds: can you please merge the current devel into your branch and push it again?10:22
henningeI am talking about lp:~jpds/launchpad/fix_518232, btw. ;-)10:23
jpdshenninge: I get http://pastebin.ubuntu.com/373098/10:25
jpdshenninge: On an up-to-date devel.10:25
henningejpds: sorry, that was the wrong way round ;-)10:25
jpdsAh, I get Nothing to do.10:26
henningejpds: make sure to revert that merge on devel. "bzr revert" should do it if you did not commit.10:26
henningejpds: what I meant was this : http://pastebin.ubuntu.com/373099/10:27
jpdsI did bzr revert --no-backup10:27
al-maisanhello allenap, I have an easy branch for you :)10:34
al-maisanhttps://code.edge.launchpad.net/~al-maisan/launchpad/flip-the-switch-516545/+merge/1899210:34
allenapal-maisan: Cool, on it :)10:34
al-maisanallenap: thanks!10:35
jpdshenninge: All done.10:37
henningejpds: cool, I'll try landing again.10:38
=== jtv changed the topic of #launchpad-reviews to: on call: allenap, jtv || reviewing: - || queue [-] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
allenapal-maisan: r=me, with one small comment.10:52
al-maisanallenap: thanks, on the phone.10:52
henningejpds: ec2 test instance is running as usual this time. Looking good. ;)11:11
=== mrevell is now known as mrevell-lunch
jtvhenninge: updated...  it did grow the diff some.13:25
=== mrevell-lunch is now known as mrevell
=== jamalta-afk is now known as jamalta
henningejtv: ping14:33
mrevellallenap, review a branch for me NOW14:38
allenapmrevell: Aye aye.14:38
mrevellallenap, https://code.edge.launchpad.net/~matthew.revell/launchpad/ppa-add-repo-help-492283/+merge/1901014:38
mrevellta14:38
bigjoolshow to win friends and influence reviews, by mrevell14:39
mrevellyessir14:39
=== allenap changed the topic of #launchpad-reviews to: on call: allenap, jtv || reviewing: mrevell, - || queue [-] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
allenapmrevell: rejected=me, incorrectly formatted cover note.14:41
mrevellallenap, Are you complaing about my TPS reports?14:43
allenapmrevell: Launchpad cannot compete in the marketplace without correct TPS reports. Please sign up for the TPS refresher programme.14:45
allenapmrevell: How the (&&%$%^& do I see this new help on launchpad.dev?14:47
jtvhenninge: pong14:49
mrevellallenap, good question, I take your point -- https://launchpad.dev/~cprov/+archive/ppa14:57
=== matsubara is now known as matsubara-lunch
=== sinzui changed the topic of #launchpad-reviews to: on call: allenap, jtv || reviewing: mrevell, - || queue [sinzui] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
al-maisanhello jtv, would you be in a position to review a branch of mine?15:22
al-maisanhttps://code.edge.launchpad.net/~al-maisan/launchpad/disabled-copyarch-519665/+merge/1901915:22
jtval-maisan: right after the reviewers meeting and team standup, sure15:22
al-maisanah15:22
al-maisanoh15:22
al-maisanI missed that..15:22
=== al-maisan changed the topic of #launchpad-reviews to: on call: allenap, jtv || reviewing: mrevell, - || queue [sinzui, al-maisan] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
jtvallenap: should I do sinzui's branch first?15:24
allenapjtv: Okay, sounds good.15:25
jtval-maisan: so you're in line after curtis then15:25
al-maisanyup15:25
=== allenap changed the topic of #launchpad-reviews to: on call: allenap, jtv || reviewing: al-maisan, sinzui || queue [sinzui, al-maisan] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
=== allenap changed the topic of #launchpad-reviews to: on call: allenap, jtv || reviewing: al-maisan, sinzui || queue [] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
abentleyallenap, jtv: Could you please review https://code.edge.launchpad.net/~abentley/launchpad/forbidden-oops/+merge/19021 ?15:37
allenapabentley: Sure.15:37
=== allenap changed the topic of #launchpad-reviews to: on call: allenap, jtv || reviewing: al-maisan, sinzui || queue [abentley] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
abentleyallenap, thanks.15:37
jtvallenap: I don't see sinzui's MP anywhere... do you?15:42
sinzuijtv: https://code.edge.launchpad.net/~sinzui/launchpad/launchapd-apocalypse-1/+merge/1846215:43
allenapjtv: There it is ;)15:43
jtvoh, that review's already been claimed15:43
jtvsinzui: do you want it handled by OCR or stick with Edwin/Abel?15:44
sinzuijtv: I really want the branch landed, so please review it. It is very boring.15:45
jtvsinzui: you lost me at "boring"15:45
jtvbut alright :)15:45
sinzuijtv: the migrater script create large diffs of mechanical changes15:46
jtvnow if only we had a mechanical reviewer...15:46
jtvsinzui: as for the renaming, personally I'm fine with "hwdb" as a prefix (which must be short) but "hardwaredb" as the module name (which must be reasonable but legible).15:47
=== EdwinGrubbs changed the topic of #launchpad-reviews to: on call: allenap, jtv, Edwin || reviewing: al-maisan, sinzui || queue [abentley] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
jtvsinzui: if test_views.py is new, not copied over, then please update the copyright year15:51
jtvalthough this one looks familiar... if it's a copy-paste job, shouldn't we have a helper for this?15:51
sinzuijtv: right, the migrater assumes we did what we claimed we would do in 200915:51
jtvsinzui: electric monk?15:52
jtvWe're finally writing software to believe things for us that we don't have time to believe ourselves now?15:52
sinzuijtv:I think this is a case where many teams did not take this effort seriously. This issue looks like a large mass of uncompleted work15:53
EdwinGrubbsabentley: I'm starting to review your forbidden-oops branch.15:53
=== EdwinGrubbs changed the topic of #launchpad-reviews to: on call: allenap, jtv, Edwin || reviewing: al-maisan, sinzui, abentley || queue [] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
jtvsinzui: you mean the migrator?15:54
abentleyEdwinGrubbs, allenap already agreed to review it.15:54
sinzuijtv: canonical.launchpad should not exist.15:54
jtvsinzui: your branch brings us a step closer.  Maybe file a foundations bug for the duplicate file?15:55
sinzuijtv: it remains the primary cause of circular imports, code that does not follow our style, code that you must hunt to fine, code that you cannot test on the module level for the feature15:55
abentleyEdwinGrubbs, I'm fine with you reviewing it, just want to avoid two people reviewing it.15:55
EdwinGrubbsmakes sense15:56
sinzuiI started another branch that modifies the migrater to support services so that I can move them on mass.15:56
EdwinGrubbsallenap: do you want me to take it.15:56
allenapEdwinGrubbs: If abentley is happy with that, then sure. I'll start it in just a few minutes otherwise; just finishing al-maisan's review.15:57
jtvsinzui: ambiguous parse...  sorry to be dense but is "support" a verb in that sentence?15:57
jtv(I could read it either way)15:57
EdwinGrubbsallenap, abentley: I'll start on it now.15:57
=== matsubara-lunch is now known as matsubara
sinzuijtv: many of the unmigrated code should be subtrees in lp/serivces. Each has its own interfaces and models directory16:00
jtvsinzui: oic, that makes sense yes—a lot of the stuff that's still in l.c.l is there for that reason, I think16:01
jtvsinzui: about the review... in lib/lp/hardwaredb/tests/test_doc.py, you're using our long-list notation style for an arguments list.  I didn't know you could have a trailing comma there!16:02
sinzuijtv: I think pep8.py demands it to be there. The file was made by the migrater16:02
sinzuiof, no it wasn't, I had to edit it16:03
noodles775Hi sinzui, would you have time for a small UI review? https://code.edge.launchpad.net/~michael.nelson/launchpad/509370-access-non-unique-ppa-name/+merge/1902216:03
jtvsinzui: I didn't know pep8 said that... it's certainly not what we normally do.  Would you be willing to take it out?16:03
noodles775sinzui: it's not urgent, so I can wait for someone else if not.16:03
noodles775mrevell: Do you mind going over the wording change on the above MP too?16:04
* mrevell reads up16:04
mrevellnoodles775, would like to16:04
mrevellmeaning, yes, I'll look now16:05
noodles775mrevell: thanks.16:05
jtvsinzui: in the migrater, you're protecting the removal of the setup and teardown hooks against exceptions... is that specifically to guard against the case where they were never inserted?  If so, better to specify the exception type (and make sure they're in the safe order)16:05
sinzuijtv: it does say that. one day I will replace my navel-lint script that I gave Launchpad with my  pure python lint that I switched to last year16:05
jtvsinzui: what does say what?16:07
sinzuijtv: One of the setup/teardowns was written oddly in the code and that killed the migrater. I added the try/except to see it complete. so that I could manually fix the issue. I discovered that the code was migrated correctly, so I left the try/except there16:07
sinzuijtv: I would rather 1) remove the script, and 2) other teams complete the work we agreed they would do. I am just trying to finish their work16:08
=== deryck changed the topic of #launchpad-reviews to: on call: allenap, jtv, Edwin || reviewing: al-maisan, sinzui, abentley || queue [deryck] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
deryckhi allenap, jtv, and EdwinGrubbs -- I put one on the queue if someone can spare the review.16:12
jtvsinzui, deryck: otp16:20
jtvsinzui: I don't suppose there's any chance of this messing up a migration, ever?16:25
jtvthe try/except clause, I mean?16:25
=== allenap changed the topic of #launchpad-reviews to: on call: allenap, jtv, Edwin || reviewing: deryck, sinzui, abentley || queue [] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
sinzuijtv:I can remove it since I am done with it. I usually do that, but I think that is also a contributing factor why engineers are not using the tool. Only jml has committed fixes to the script besides myself16:26
jtvsinzui: no point in leaving it broken, I guess—especially now that what's left is the modules that weren't migrated easily early on16:27
EdwinGrubbsabentley: review sent16:27
=== EdwinGrubbs changed the topic of #launchpad-reviews to: on call: allenap, jtv, Edwin || reviewing: al-maisan, sinzui, - || queue [] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
jtvsinzui: so if this solves a real problem, leave it in.  But a comment would be helpful either way.16:27
jtvon call: allenap, jtv, Edwin || reviewing: al-maisan, -, - || queue [] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews16:48
jtvallenap: did you take muharem's branch?16:48
jtvallenap: I just went over it as well, so if you're just starting, I can take it over from you16:49
allenapjtv: I did one of his branches recently.16:49
jtvallenap: the one about suspending jobs for disabled archives16:49
allenapjtv: That's the badger.16:49
* jtv refreshes page16:49
jtvoh right16:50
jtvI do wonder what the pre-imp said about re-enabling archives16:50
jtvI had a lot of trouble with that test function as well—the scope of the "not" in the name is ambiguous.  AFAICS it would've been as easy, but clearer, to write to separate checks16:51
allenapjtv: Yeah... you should comment. I didn't think about that.16:52
* jtv comments16:53
jtvallenap: done17:00
abentleyEdwinGrubbs, thanks for your review.17:03
=== jamalta_ is now known as jamalta
=== allenap changed the topic of #launchpad-reviews to: on call: jtv, Edwin || reviewing: sinzui, - || queue [] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
jtvallenap: good night!17:38
=== jtv changed the topic of #launchpad-reviews to: on call: jtv, Edwin || reviewing: -, - || queue [] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
allenapjtv: Cheerio :)17:38
=== jtv changed the topic of #launchpad-reviews to: on call: Edwin || reviewing: - || queue [] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
jtvEdwinGrubbs: you're on your own17:58
EdwinGrubbsbye17:59
=== deryck is now known as deryck[lunch]
bacsinzui: where is the branch you mentioned?  even if it isn't ready to review i'd like to look at it.18:22
sinzuibac: indeed I was about to tell you to look at lp:~sinzui/launchpad/all-upstream-links . There is a test I need to update since beuno and I decided to present the table differently.18:28
bacsinzui: is 'status' too weasly as in 'Upstream information status"18:46
sinzuibac:umm...yes it is18:46
bacyeah, i thought so18:48
sinzuibac: This information is not necessarily about state. I think of these points as services, but I know that is not why we need to know them. This is really about the points where a project connects to different kinds of contributors18:48
bacwhat if were just labeled "Upstream Connections"18:49
sinzuibac: okay, I like that better than every other thought I have had....18:50
bacjust grasping at straws here18:50
sinzuibac: I merged this information into the project information portlet. Maybe we can test this portlet name by naming a new portlet on the project page. <Community|Contributor> connections?18:51
bacok18:52
sinzuibac: think the launchpad projects you work with. Would owners complete this information if it were presented with this name?18:54
sinzuibac: is "Upstream contributor connections" a better name for your portlet?18:55
baci like the layout you've done.  but i think we need to make it easier to navigate to the action.18:56
bacif i wanted to set the bug tracker where is it done?18:57
sinzuibac: I think that is the next blueprint...18:58
sinzuiwe really need to get this blueprints's UI on edge for critique while we work on the upstream side...18:58
bacso links to the places to set the data will come later?18:59
sinzuibac: There are several issues, that are too much for this release: 1) change permissions so that you can set the information, and 2) change the forms so that the information can be set in context19:00
bacsinzui: ok.  that makes sense.19:00
sinzuibac: Can you really set the series branch from a vocabulary? And as for the f&cking bug tracker. you need to go to the hidden page to register it, then find the field on the project to set it--we can solve this like the Create release link on series I hope19:01
=== deryck[lunch] is now known as deryck
bacsinzui: do we want to macrotize the work you've done...or push the bool computations into a view mixin?19:08
sinzuibac: I think so.19:08
bacsinzui: which?  both?19:08
sinzuibac: my branch introduces: <metal:yes-no define-macro="yes-no">19:09
baci'd say both.  i'd rather have the login in a view19:09
bacyeah, the yes-no is cool19:09
bacbut i don't want to repeat  tal:define="bool not:series/translations_autoimport_mode/enumvalue:NO_IMPORT">19:10
bacand the bug tracker logic is more complicated than you've shown b/c it has to take parent project group info into account19:10
sinzuiIf the tables I created work for the portlet, I would push them into either in a macro or an view that exposes the four points19:11
bacsinzui: ok, let me steal from your branch and see if it works.  we can refactor afterwards19:12
sinzuibac: what? why can my project group have a bug tracker but not let me report a bug on the project group?19:12
bacsinzui: if firefox.bugtracker is None and official_malone is None but mozilla has a bug tracker then it will inherit mozilla's19:13
bacthat's my understanding19:13
sinzuiI did not know that, and that make me very upset that I cannot report a bug against mozilla19:14
sinzuibac: but given this, I favor a view that adapts a series or project that exposes the information. so that the template remains stupid19:15
baci'm all for stupid-ass templates19:15
bacsinzui: but i think i've explained myself badly19:15
bacor even poorly19:15
sinzuibac: it should adapt the series because that is what is in the Packaging object19:16
bacyou can report a bug against mozilla and firefox could have its own bug tracker but if it doesn't it uses the parent's19:16
sinzuibac: You cannot report a bug against launchpad-project...it defaults to blueprints. Most bugs reported in blueprints were from users who know launchpad is busted and they could not identify which componenet19:20
baci didn't know that19:21
* bac has never tried19:21
sinzuiproject groups do get a working dupe finder though...much better than our retarded decision to ask users to report bugs against /launchpad. Most bugs reported there are dupes. At least the bugs reported against blueprints are not19:21
sinzuibac: I updated my tests to check for "Upstream Contributor Connections" in the table. Are you working on a view+template to adapt the series to to two list layout?19:58
bacsinzui: not yet.  i was going to do some hard code experiments to see what how i can format the existing portlet19:59
sinzuibac: I was going to put my branch into review. I can instead extract the portable info to a view and template now20:00
bacsinzui: that would be good20:01
sinzuiokay I will start20:01
=== matsubara is now known as matsubara-afk
=== salgado is now known as salgado-afk
EdwinGrubbsbac: I just wanted to check if you had any concerns about my reply to your review since I had left some of the changes out due to complications.23:07
bacnope23:07
bacsorry i didn't comment23:07
bacEdwinGrubbs: i did mark it as 'approved' after your reply...which was a subtle way to signal consent23:07
EdwinGrubbsok, thanks. I hadn't noticed that it was approved before, or I would have asked you earlier.23:08
=== jamalta is now known as jamalta-afk
sinzuibarry: land it23:14
barrysinzui: rock23:14
sinzuifunny, that is almost the same as my review23:15
barrysinzui: :)23:15
barrysinzui: while i have you here, can you verify for me?  we only store oauth tokens for Persons not Accounts, right?23:15
sinzuibarry: it is on the Person23:17
barrysinzui: that's what i thought.  what i don't know is whether we can limit reviews to folks who have lp accounts.  they might only have logins to ubuntu.com23:17
barryif it's the latter, then the problem we have is that we need to verify who is rating an app, and i think without oauth we have no way to do that23:18
sinzuibarry: since lp profiles are created on demand when someone logins to lp, it is kind of moot23:18
barrysinzui: hmm... so let's say they've never heard about lp, but they've bought something from the store or set up their u1 account...23:19
sinzuibarry: PersonSet.enrsurePerson('ubuntu-one-user') will create the user when he uses lp23:19
barrysinzui: does that work if the first time they see lp is through an oauth request via launchpadlib?23:20
sinzuiI wouldn't know.23:20
barrysinzui: okay, i'll try to hunt that down23:20
sinzuiauth is a foundations/isd matter. I see from bugs too many parts of launchpad try to woek with an account...the look up for a person fails the moment the email is accessed, but by using ensurePerson(), the conversion happens without pain23:21
barrysinzui: it feels like we're really close to something usable.  essentially we just want to use lp to verify who the person is and link their review to a login.u.com account23:21
sinzuibarry: I think the crux of the issue is oauth. The steps are:23:23
sinzui1) user submits a review to lp23:23
sinzui2) lp gets user via ensurePerson()23:23
sinzui3) lp asks user to authorise the script23:23
barrysinzui: yes, i think that's about it23:24
sinzuibarry: you could use anonymous, and it may be possible to insert the user who is using the client23:24
barrysinzui: i don't follow23:24
sinzuiI do not know how it is possible to allow an anonymous script to do an insert, but if it could happen, the script passes the review and with the user the client *claims* is using it23:25
sinzuiI have never used anonymous access.23:26

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