[00:34] jml: your oops has come up : https://lp-oops.canonical.com/oops.py/?oopsid=OOPS-1719ED569 [00:34] jml: that doesn't look like you to me. === EdwinGrubbs changed the topic of #launchpad-reviews to: On call: - || Reviewing: jelmer || queue: [allenap, lifeless] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews [02:25] lifeless: If you have time, I have a branch that needs a db review. https://code.edge.launchpad.net/~edwin-grubbs/launchpad/bug-615654-registry-jobqueue-schema/+merge/35619 [02:27] EdwinGrubbs: Hi! Can you please look at the MP you reviewed for me last night? [02:28] EdwinGrubbs: I agree with your changes, I've applied and tested them. [02:28] EdwinGrubbs: hi, stub needs to review it [02:29] EdwinGrubbs: the policy is 'request from both of us so we both know' and 'stub does it unless hes on leave' [02:29] StevenK: I'll look at it now. [02:32] StevenK: that looks good. r=me [02:32] EdwinGrubbs: Thanks! [02:33] lifeless: ok, thanks [02:34] EdwinGrubbs: you did raise an interesting question though and I've commented there [02:34] EdwinGrubbs: I was talking with deryck this morning about having a single deferred email dispatcher [02:35] that would jsonify-or-so *all* the emails an appserver wants to send, shove that into one job, and then it gets committed as part of the transaction [02:35] and a Job would process those for the whole system after [02:41] Someone around who can review a small branch? [02:41] 1 small code change, mostly just lint [02:44] yes [02:45] lifeless: https://code.edge.launchpad.net/~stevenk/launchpad/db-clean-up-lint-idsjob/+merge/35621 [03:25] lifeless: Sorry to do this, but I'm about to head out, and I'd like that branch on ec2 while I'm out, can you push it up your stack, please? [03:32] StevenK: I did it already [03:36] lifeless: Sorry, I'm a muppet. [03:36] yes [03:36] :P === StevenK changed the topic of #launchpad-reviews to: On call: - || Reviewing: jelmer || queue: [allenap, lifeless, 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: noodles775 || Reviewing: jelmer || queue: [allenap, lifeless, StevenK] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews [10:12] resolved 7 conflicted files.. posting the diff now [10:13] Thanks jelmer === noodles775 changed the topic of #launchpad-reviews to: On call: noodles775 || Reviewing: jelmer || queue: [allenap, lifeless, StevenK, noodles775] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews [10:58] henninge: I've got another MP needing UI thought if you've time (but no rush): https://code.edge.launchpad.net/~michael.nelson/launchpad/635005-difference-details-2/+merge/35640 [10:59] noodles775: wow, with screencast? [11:00] noodles775: you rock! [11:00] henninge: well, I try to make it easy to understand (hard to describe in text) :) [11:01] noodles775: really great! Didn't you describe somewhere how you do these? Or did someone else? [11:02] henninge: I did put something on the wiki at some point... it's just gtk-recordmydesktop, thank them :) [11:03] noodles775: I would not expect to have a standard for comments with logos because we have never had any of those. [11:04] noodles775: on first view they struck me as taking up a lot of space. [11:04] noodles775: my take: we should not have two types of comments "with" and "without" logos. [11:04] henninge: yeah, I noted that in the MP, saying I should probably just do the same as mp/bug comments. The space is because the person logo (ie. it would be there photo), only comes in the 64x64 size. [11:05] s/there/their [11:05] * henninge did not read ... just watched in awe .. ;) [11:05] * henninge reads now [11:07] noodles775: yes, I think the comments should look like other comments we have elsewhere. [11:07] or we should commit to changing all comments to include headshots ... ;) [11:07] yep, agreed. [11:08] noodles775: that multiline comment - does it have double new lines or why is the line spacing so big? [11:09] henninge: the formatter being applied treats double new-lines in text as paragraph boundaries... I think I need to ensure paragraphs have less margin in those comments. [11:11] noodles775: It should be treated by the css for comments, like on any other comment. [11:11] noodles775: Meaning: I don't think you need to worry about that much. [11:11] henninge: yes, that's what I meant (ie. I need to check...) [11:12] henninge: are you running maverick? [11:12] yes [11:13] Can you please just run one test for db-devel and see if you get the error I mention on the MP? [11:14] I've just tried the following with r9787 of db-devel (which went through buildbot recently), but always get the error linked on the MP. [11:14] bin/test -vv -m test_archive -t test_getPublications_returns_all_published_publications [11:14] (just a random test). === allenap changed the topic of #launchpad-reviews to: On call: noodles775, allenap || Reviewing: jelmer, - || queue: [allenap, lifeless, StevenK, noodles775] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews [11:14] (well, one that uses the DB). [11:14] Good morning noodles775 :) [11:14] Hi allenap! Welcome back! [11:14] noodles775: you need to downgrade psycopg [11:15] noodles775: Cheers :) Right, on to lifeless's branch. === allenap changed the topic of #launchpad-reviews to: On call: noodles775, allenap || Reviewing: jelmer, lifeless || queue: [allenap, StevenK, noodles775] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews [11:15] henninge: ah, I do remember glancing over something with that info... thanks. [11:16] noodles775: download from here https://edge.launchpad.net/ubuntu/lucid/i386/python-psycopg2/2.0.13-2ubuntu2 [11:16] (edge css is broken again) [11:16] noodles775: then do "dpkg -i --force-downgrade" with it. [11:16] Thanks. === allenap changed the topic of #launchpad-reviews to: On call: noodles775, allenap || Reviewing: jelmer, StevenK || queue: [allenap, noodles775] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews [11:21] Gah, not doing very well this morning. [11:21] Oh? I just thought you were super fast :) [11:21] noodles775: Which of jelmer's branches are you reviewing? I'll do the other. [11:22] allenap: sorry, this one: https://code.edge.launchpad.net/~jelmer/launchpad/506256-remove-popen-2/+merge/35412 [11:22] I've just claimed to avoid more confusion :) === allenap changed the topic of #launchpad-reviews to: On call: noodles775, allenap || Reviewing: jelmer, jelmer || queue: [allenap, noodles775] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews [11:23] noodles775: I don't understand what the "Pacakge differences" section is telling me. [11:24] henninge: yes - it may need more explanation. So when there are different versions of a package in the two distro series... [11:24] there will be a base version (ie. the last common version before they diverged) [11:25] Those differences will be available on request (or generated automatically - still need to do that), to show the difference between the base version and each distro series version. [11:26] noodles775: Ah, I see. Those will be clickable and expand, too? [11:26] henninge: no, that wasn't planned, but could be nice. [11:26] noodles775: isn't the "last common version" information missing? [11:27] noodles775: but they will be linkified to an extra page? [11:27] henninge: yes, it says "unimplemented" in the demo (as I need to add a db column for it). [11:27] * henninge is blind [11:27] And yes, the diffs will link to librarian files. [11:28] noodles775: and it will always be those two link: "base to parent" and "base to derived" ? [11:30] henninge: sometimes just one (ie. when a package hasn't been updated in the parent series, but only the derived, it's no point generating the base-parent diff) [11:36] noodles775: so, because they are downloads AFAIUI, they should be preceeded by the download logo. [11:37] They don't work as downloads on other pages... let me check. [11:37] (not that that means they shouldn't) [11:38] noodles775: links to librarian? [11:38] links to text files on the librarian. [11:38] that depends on your browser settings, I think [11:39] henninge: right, and it's a .gz anyway... [11:39] So currently PackageDiffs aren't marked up as download links, but that would be great to change. +1 [11:40] noodles775: maybe call the section "Package differences from base version:" [11:40] noodles775: oh, where do I normally see them? [11:40] * henninge has not worked with those before [11:44] *sigh* [11:44] Last thing I said was:Expand 'hello' and you'll see a link for an available diff. [11:45] (for the link https://edge.launchpad.net/~michael.nelson/+archive/pocketsphinx/+packages?field.name_filter=&field.status_filter=&field.series_filter= ) === noodles785 is now known as noodles775 [11:48] noodles775: yes, those should have the download icon, too. [11:48] noodles775: I also wonder if a little indention sound be fitting because it is a list (mostly two entries). [11:48] jelmer: You've added some delete perms to the uploader (now that you're removing the buildqueue entries earlier), but does that mean we can remove DELETE perms elsewhere? [11:49] henninge: yes on both counts. [11:49] noodles775: That's a good point, let me check [11:49] I don't know how "sound" got in there ... ;) [11:50] I probably meant "would" ... [11:50] Yeah, I assumed you meant 'could' :) [11:52] jelmer: also, I guess you tried store.flush() before you ended up with the txn.commit()? [11:52] (or you know why that wouldn't work :) ). === allenap changed the topic of #launchpad-reviews to: On call: noodles775, allenap || Reviewing: jelmer, lunch || queue: [allenap, noodles775] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews [11:59] noodles775: Yeah, I did - although not for all instances individually. [12:05] noodles775: reviewed, needs-fixing as discussed. [12:06] Great, thanks henninge, I'll finish the windmill test too before requesting a re-review. === noodles775 changed the topic of #launchpad-reviews to: On call: noodles775, allenap || Reviewing: lunch, lunch || queue: [allenap, noodles775] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews [12:24] allenap: did you review StevenK's branch? I can't see one on the active reviews page either, but I did think he mentioned he had one. StevenK ? [12:25] jelmer: review sent... great work, just a few questions. [12:27] noodles775: Thanks [12:29] noodles775: Sorry, had the silly thing as WIP [12:30] noodles775: https://code.edge.launchpad.net/~stevenk/launchpad/db-add-derivedistroseries-api/+merge/35500 === mrevell is now known as mrevell-lunch [13:04] allenap: Thanks for the review === matsubara-afk is now known as matsubara [13:16] jelmer: You're welcome :) === allenap changed the topic of #launchpad-reviews to: On call: noodles775, allenap || Reviewing: lunch, noodles775 || queue: [allenap] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews === allenap changed the topic of #launchpad-reviews to: On call: noodles775, allenap || Reviewing: lunch, StevenK || queue: [allenap] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews === allenap changed the topic of #launchpad-reviews to: On call: noodles775, allenap || Reviewing: lunch, wallyworld || queue: [allenap] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews === noodles775 changed the topic of #launchpad-reviews to: On call: noodles775, allenap || Reviewing: allenap, wallyworld || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews === allenap changed the topic of #launchpad-reviews to: On call: noodles775, allenap || Reviewing: allenap, StevenK || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews [13:42] allenap: what order of subscriptions are returned by getSubscriptionsFromDuplicates()? [13:43] * allenap looks [13:44] sorry, I meant how many subscriptions - and whether it's currently a method with performance issues or not. [13:46] noodles775: I don't know if it has performance problems, but the code certainly appears sub-optimal. It should return one subscription per subscriber. Each subscriber could have more than one subscription so I've ensured that the earliest is always returned. I /think/ it was undefined before. [13:54] allenap: why is it valid for a person to have multiple (current/valid) subscriptions to the same bug? Or is it just because it can also be via teamparticipation? [13:55] Actually, looking at that query, it's only subscriptions for the person directly, so why can they have more than one? [13:55] noodles775: It's because the subscriptions are to duplicates. There could be several duplicates for a bug and one person could be subscriber to more than one. [13:55] Right - just spotted that... sorry for the noise. [13:58] noodles775: It's not noise! :) It's quicker to ask than to pore over code. Although I regularly pore over code when I could ask, ahem. [13:59] noodles775: http://paste.ubuntu.com/494739/ <-- a small optimization to that branch. Do you mind if I smuggle that in? [13:59] 'course not :) [14:01] noodles775: Thanks :) === Ursinha-afk is now known as Ursinha [14:07] noodles775: I've done the checks you mentioned your the review, and managed to avoid the remoteSecurityProxy call. However, I'd like to make an additional change - flushing the store of build in packagebuild to avoid potential race conditions between buildmaster and the upload processor. [14:07] Does that seem reasonable? [14:08] jelmer: sure. [14:15] allenap: OK, done. I added a thought for possibly doing that query all in the db... but haven't checked to see if it would work. [14:15] noodles775: I'm interested. [14:18] jelmer: have you/can you push an incremental? [14:18] noodles775: ok [14:43] noodles775: updated diff posted [14:43] Thanks jelmer === mrevell-lunch is now known as mrevell === benji____ is now known as benji [14:48] noodles775: I haven't looked at splitting up those two tests yet. [14:49] jelmer: that's fine - it was just a thought, I didn't expect you to necessarily do it unless you were really keen :) [14:56] noodles775: Thanks for the query suggestion. Does this look sane to you? http://paste.ubuntu.com/494766/ [14:57] allenap: yeah, great stuff! (assuming it works?) [14:57] noodles775: The tests pass ;) [14:58] Wonderful :) [14:58] noodles775: To be honest, I'm not sure that there's sufficient coverage on this method, so I'm going to add another test. [14:59] allenap: ensuring that the bug subscription is indeed the first one, or something else? [15:01] noodles775: Yes. I didn't look closely before, but now I find that the only direct test I can find for getSubscriptionsFromDuplicates is right at the end of a doctest, and it doesn't make me feel awfully comfortable. [15:06] Sounds excellent (and you could even remove the doctest example if it's not relevant documentation-wise?) [15:09] jelmer: did you mean to paste the whole diff in that comment, or just the incremental? (the MP will update the diff when you push your branch right?). I'm trying to get an incremental but it looks like you haven't pushed your branch? (last rev. is 11106 20hrs ago). [15:13] noodles775: http://pastebin.ubuntu.com/494772/ [15:17] jelmer: looks fine. Were those tests failing previously? (the one you've updated there that assumed the upload log would be present, but now asserts that it is not)? [15:17] noodles775: I indented build.storeUploadLog(), which changed the behaviour slightly. [15:17] noodles775: So we're not storing the upload log when the upload succeeded, consistent with previous behaviour (see the discussin in #launchpad-dev earlier for background) [15:21] Yeah, I saw parts of it flash by :) === noodles775 changed the topic of #launchpad-reviews to: On call: allenap || Reviewing: StevenK || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews === Ursinha is now known as Ursinha-lunch === salgado is now known as salgado-lunch [16:42] allenap, i have a slightly oversized branch coming towards you [16:57] leonardr: I might not have time to do it today :-/ [16:57] allenap: ok, np [16:57] take a look once i get the mp up [16:57] Cool. === benji is now known as benji-lunch === matsubara is now known as matsubara-lunch === Ursinha-lunch is now known as Ursinha [17:38] Is there somebody I should ping about my UI review for https://code.edge.launchpad.net/~brian-murray/launchpad/limited-subscriptions-page/+merge/35177 ? === deryck is now known as deryck[lunch] === salgado-lunch is now known as salgado === benji-lunch is now known as benji [18:15] salgado: is there a queue for ui reviews? [18:17] bdmurray, not that I know of [18:19] salgado: Then I just ping a UI reviewer? === matsubara-lunch is now known as matsubara [18:26] bdmurray, yep, that's how people have been telling me about ui reviews [18:26] salgado: ping ;-) https://code.edge.launchpad.net/~brian-murray/launchpad/limited-subscriptions-page/+merge/35177 [18:32] bdmurray, heh, ok, I should be able to review it later today, but can't promise because I need to wrap up other stuff and I'm kinda slow because I've got one arm in a sling [18:36] well, allenap can't take it, but maybe someone else can look at https://code.edge.launchpad.net/~leonardr/launchpad/accept-oauth-signatures/+merge/35697 ? [18:36] i'd really like salgado to look at it but i don't want to put more work on his plate [18:36] bdmurray, is your branch something i can look at? [18:40] leonardr: If you can do UI reviews sure. [18:41] bdmurray: sorry, not rated for ui reviews [18:43] salgado: sorry about your arm - its no hurry I just wanted to get in some queue === deryck[lunch] is now known as deryck [19:43] Hi StevenK [19:48] StevenK: Can I add a simple soyuz branch to your queue? [19:53] jelmer: I think you mean allenap [19:54] lifeless: You're right, thanks [19:54] I think allenap has probably signed off by now though :-( [19:56] allenap: Still there? [19:56] jelmer: link the branch earlier ;) [20:00] lifeless: :-) It's at https://code.edge.launchpad.net/~jelmer/launchpad/635591-sync-source-unicode/+merge/35715 [20:02] jelmer: your description references the same bug, not an older one? [20:03] lifeless, it's a fix for an issue introduced by the fix for bug 635591, and found while I was QA'ing that. [20:03] but it appears to be the same branch [20:03] with everything the same [20:03] it says its the fix for itself [20:03] The last revision is new [20:03] there's only one revision there [20:04] unmerged that is [20:04] Yes, the original fix has already landed on devel. [20:04] so where is the original MP? [20:05] look at this with fresh eyes [20:05] where is the qa-bad tagged bug [20:05] so that we know not to rollout the thing that failed qa [20:05] https://code.edge.launchpad.net/~jelmer/launchpad/635591-sync-source-unicode/+merge/35637 [20:06] and why isn't that MP linked to the branch anymore ? [20:06] ah someone rebased. [20:06] ? [20:07] I'm not sure why it's no longer linked. [20:07] sinzui or mars, do you have any interest in doing an interactive review? [20:08] lifeless: I've se the qa-bad tag. [20:08] leonardr, I will have time in an hour [20:08] approved [20:08] sinzui: ok, you're on [20:09] lifeless: Thanks [21:40] leonardr, sorry about my delays. I am ready to review [21:40] sinzui, great [21:40] the branch is https://code.edge.launchpad.net/~leonardr/launchpad/accept-oauth-signatures/+merge/35697 [21:40] if there's anything you don't understand about the system i'm changing or what i'm aiming for, tell me andi 'll go through it [21:43] leonardr, I am ready, the backstory is interesting [21:44] sinzui: ok, go through the helpers i added to _webservice.py, and then see what i did with them in authorize-token.txt [21:49] leonardr, do we care if I hack my user-agent string? [21:51] sinzui: the user-agent thing is mostly to avoid any plausible deniability that an unauthorized client might have "accidentally" acquired someone's GRANT_PERMISSIONS token. it can't provide any real security [21:55] from canonical.launchpad.interfaces import IPersonSet becomes [21:55] from lp.registry.interfaces.person import IPersonSet [21:55] leonardr, ^ c.l.interfaces is deprecated [21:56] thanks === salgado is now known as salgado-afk [21:56] Though I am certain that IPersonSet will be the very last thing we remove [21:56] leonardr, I am at 435 and I an very impressed. [21:58] leonardr, are you using no-priv because this is a well known user? Is there reason to not use a person create with the factory? [21:58] sinzui: i don't think it matters, i just haven't used the factory much [22:08] leonardr, I have no other questions. This is a nice implementation and I see you tested the state conditions [22:09] sinzui, thanks. can you point me to a good example of a pagetest that uses the factory? [22:10] I think so [22:11] leonardr, the factory is already in the test name space. so the minimum you need it [22:12] is user = factory.makePerson(name='test-user') [22:12] leonardr, you can also use login_person(user) [22:13] look in lp/registry/stories/webservice/xx-project-registry to see a lot of factory uses in a story [22:15] i think i have it... [23:07] any rc reviewers around? === matsubara is now known as matsubara-afk