[00:58] <lifeless> time to extract the logging oops code I think
[00:58] <lifeless> poolie: you wanted to talk qbr ?
[01:21] <poolie> hi there
[01:21] <poolie> sure, if you have some time we could chat
[01:21] <poolie> otp at the momemnt but won't be long
[01:22] <lifeless> cool
[01:22] <lifeless> I'm on sky.net, or my landline, ring whenever
[01:32] <nigelb> Morning!
[01:32] <lifeless> hola
[01:34] <wallyworld_> wgrant: so in the qas mailbox, there's mail for when new bugs get created but no mail for comments or privacy changes etc. am i doing something wrong?
[01:34] <wallyworld_> nigelb: hello
[01:34] <wgrant> wallyworld_: You've run send-bug-notifications.py?
[01:34] <wallyworld_> wgrant: no. i though the cron job was set up on qas to do that
[01:34] <wallyworld_> but no?
[01:34] <wgrant> I don't think so.
[01:35] <wallyworld_> i need to ask to get that script run then?
[01:35] <wgrant> Yes
[01:35] <wallyworld_> thanks
[01:35] <wgrant> The general rule is that if something would be convenient and easy, qastaging has to have it done manually or it's impossible.
[01:35] <wallyworld_> hah
[01:35] <lifeless> with the new script server for [qa]staging
[01:35] <lifeless> we'll get more things running
[01:35] <lifeless> still need more db grunt for some tasks though
[01:36] <lifeless> wallyworld_: you should never remove bad-commit-xxxx tags
[01:36] <lifeless> wallyworld_: they control the bad-revision-range marking for the qa-tagger.
[01:37] <lifeless> wallyworld_: *if* we were to rollback prod, not having it would be bad
[01:37] <wallyworld_> oh, sorry
[01:37] <nigelb> Hrm, no stub yet.
[01:37] <lifeless> (think of it this way - that old revision is still bad, right ?)
[01:37] <wallyworld_> yes
[01:39] <nigelb> How does one get a run a garbo job running?
[01:39] <wallyworld_> nigelb: there's cron scripts
[01:39] <wallyworld_> garbo-hourly.sh etc
[01:39] <wallyworld_> .py
[01:39] <nigelb> so, that script has to get checked in?
[01:40] <wallyworld_> sorry,
[01:40] <wallyworld_> the cron scripts run garbo-hourly.py
[01:40] <wallyworld_> which you can run yourself
[01:40] <wallyworld_> on your dev system
[01:40] <nigelb> I want it run on production :)
[01:40] <lifeless> it happens automatically
[01:40] <lifeless> just land the change, qa it, deploy.
[01:41] <nigelb> ah
[01:41] <nigelb> okay
[01:41] <lifeless> for qa you'll need a paid dev help, to get losas to run it and then check the db
[01:42] <nigelb> It still gets checked in even if its a one time thing right?
[01:42] <lifeless> yes
[01:42] <lifeless> code land qa deploy wait delete land qa done
[01:43] <nigelb> wow
[01:43] <nigelb> fixing tech debt is *hard*
[01:43] <nigelb> I need to do 6 landings for this bug.
[01:43] <nigelb> 3 in devel and 3 in db-devel.
[01:44] <lifeless> 3 in db-devel ?
[01:44] <nigelb> Yeah
[01:44] <wallyworld_> so if we can avoid introducing tech debt in the first place......
[01:44] <nigelb> hheh
[01:44] <lifeless> one for the new column, one to drop the old columns. Whats the third db-devel one ?
[01:45] <lifeless> indices I guess.
[01:45] <nigelb> ah, no
[01:45] <nigelb> two.
[01:45] <nigelb> I counted the garbo jobs in db-devel last time.
[01:45] <nigelb> bug 5283
[01:45] <_mup_> Bug #5283: "Home page" vs. "Description" is misleading <easy> <lp-registry> <tech-debt> <ui> <Launchpad itself:Triaged by nigelbabu> < https://launchpad.net/bugs/5283 >
[01:46] <lifeless> so in devel you need:
[01:46] <lifeless>  1- add new column, change appservers to *write* to that column as well as the old columns, and introduct garbo job.
[01:46] <poolie> lifeless, hi, how about now?
[01:46] <lifeless>  2- change appservers to read from the new column and drop the garbo job
[01:46] <lifeless> 2 landings AFAICT
[01:46] <lifeless> poolie: sure
[01:47] <nigelb> lifeless: cool! that's better. I was counting each step as a differnt landing :)
[01:48] <lifeless> OTP now
[04:21] <nigelb> stub is awake but being productive off IRC. HA.
[04:38] <wgrant> The bug privacy APIs are a mess :(
[05:09] <StevenK> huwshimi: O HAI
[05:10] <huwshimi> StevenK: Hello!
[05:10] <StevenK> huwshimi: I pointed you at https://code.launchpad.net/~stevenk/launchpad/include-ppa-url/+merge/76499 last week, but I missed your answer. Can we have a quick mumble about it?
[05:11] <huwshimi> StevenK: Oh right, sure
[05:14] <StevenK> wgrant: Can you join mumble for one tick?
[05:14] <wgrant> lifeless: How long since you've talked to Curtis about disclosure?
[05:14] <wgrant> lifeless: eg. what we discussed last week about the mess around special-casing security?
[05:29] <lifeless> several weeks
[05:30] <lifeless> if you want me in on a stand up or party to a discussion - just let me know
[05:30] <StevenK> Oh, JS, please die on a fire
[05:30] <wgrant> lifeless: There are branches flying around now to sort of finish the partial implementation of that, so it probably needs discussion RSN.
[05:30] <nigelb> StevenK: Eventually, everything will be in JS :p
[05:31] <StevenK> Continue is not the right button in Firebug, what's the right one to step to the next statement?
[05:32] <wgrant> lifeless: Doing anything except special-casing security is currently believed to be out of scope :(
[05:33] <wgrant> Because stakeholders have not asked for it.
[05:33] <wgrant> But I don't think we should break our privacy support just because stakeholders don't ask for it to not be broken :/
[05:34] <nigelb> StevenK: Next?
[05:35] <nigelb> err
[05:35] <nigelb> "Step Into"
[05:35] <nigelb> BUt you may want to add more breakpoints
[05:35] <nigelb> I generally breakpoint like 6 to 7 lines
[05:38] <lifeless> wgrant: so, arrange a 3-way with you me and curtis minimally
[05:38] <StevenK> wallyworld_: The event from clicking the ok button doesn't fire :-( http://pastebin.ubuntu.com/697061/
[05:42] <huwshimi> wgrant: The bug is bug #859386. Would you mind triaging it appropriately and editing it so that it makes sense?
[05:42] <_mup_> Bug #859386: Merged teams with ppas are still linked to from +archivesubscriptions <Launchpad itself:New> < https://launchpad.net/bugs/859386 >
[05:45] <wgrant> huwshimi: Thanks. I've duped it against but #684112
[05:45] <_mup_> Bug #684112: +archivesubscriptions shows links to merged users. <404> <lp-registry> <merge-deactivate> <tales> <trivial> <Launchpad itself:Triaged> < https://launchpad.net/bugs/684112 >
[05:45] <wgrant> bug #684112
[05:45] <_mup_> Bug #684112: +archivesubscriptions shows links to merged users. <404> <lp-registry> <merge-deactivate> <tales> <trivial> <Launchpad itself:Triaged> < https://launchpad.net/bugs/684112 >
[05:46] <huwshimi> wgrant: oh right, thanks :)
[05:46] <poolie> hi all, could i get a review of https://code.launchpad.net/~mbp/launchpad/858618-affecting-me/+merge/76880 (and a few other small ones)
[05:49] <poolie> huwshimi, what do you think of my screenshot on bug 858618 - i presume it's unobjectionable for ui but thought i'd ask
[05:49] <_mup_> Bug #858618: hard to find bugs that affect you in a project <bugs> <ui> <Launchpad itself:In Progress by mbp> < https://launchpad.net/bugs/858618 >
[05:54] <huwshimi> poolie: I think it fits nicely with the other content there. Such a lovely little feature :)
[05:54] <poolie> yeah
[05:54] <poolie> copy & paste ftw!
[05:55] <nigelb> huwshimi: hey
[05:55] <nigelb> I was askign to chat with you
[05:55] <huwshimi> nigelb: Hey there
[05:55] <poolie> i hope also to soon do /~/+affectingbugs but i didn't quite get to it
[05:55] <poolie> the implementations of bugs/~mbp and bugs/bzr are alarmingly different
[05:55] <huwshimi> poolie: Yeah that would be nice too
[05:55] <poolie> to my eyes anyhow
[05:56] <nigelb> huwshimi: How would one go about overriding the default CSS on one particular page? (Without killing kittens :P)
[05:56] <poolie> o/ nigelb
[05:56] <nigelb> Morning poolie!
[05:57] <huwshimi> nigelb: I'm not sure exactly what you mean (well, I understand the kittens bit).
[05:58] <nigelb> huwshimi: It fix for bug 806660 is to split the form into two tables. This adds some extra margin.
[05:58] <_mup_> Bug #806660: "Add a new address" in e-mail settings does the wrong thing when pressing Enter <easy> <ui> <Launchpad itself:Triaged by nigelbabu> < https://launchpad.net/bugs/806660 >
[05:58] <nigelb> The margin is part of the default CSS, which I want to override and set to 0.
[05:59] <nigelb> s/It fix/The fix/g
[06:03] <lifeless> poolie: if thats going in the side portlet
[06:03] <lifeless> poolie: you'll want to test the performance carefully, or feature flag it
[06:03] <lifeless> poolie: the portlet has some inefficiences in it
[06:06] <poolie> yeah it's doing one more query
[06:10] <huwshimi> nigelb: Do you have the code pushed to LP yet?
[06:10] <poolie> lifeless, what would be a reasonable test?
[06:11] <lifeless> poolie: performance of that query on the most-affected person in Ubuntu
[06:11] <lifeless> if its under say 100ms its probably ok for now
[06:12] <nigelb> huwshimi: No, its in a branch.
[06:12] <nigelb> let me see if I pushed the branch
[06:13] <poolie> lifeless, and, sorry how can i most easily find out the query time?
[06:15] <nigelb> huwshimi: this is what I've done so far. https://code.launchpad.net/~nigelbabu/launchpad/registry-email-add-806660/+merge/75676
[06:15] <huwshimi> nigelb: Ah cool thanks
[06:15] <nigelb> I have the manual style override in my local branch, but I didn't push it.
[06:18] <huwshimi> nigelb: So overrides normally happen by either applying an existing class (you'll have to hunt through and see if there are any generic classes that do what you want. Failing that try and write a generic class for the situation. Failing that write a more specific class.
[06:19] <lifeless> poolie: generate the query locally, then get a losa to run it on prod
[06:19] <huwshimi> nigelb: If you're writing new classes make sure they end up somewhere logical in the style sheet (i.e. not the end of the file)
[06:19] <lifeless> poolie: for magic ocnstants, use a few separate queries to establish them (e.g. the person most affected, the distro id etc)
[06:20] <poolie> ok
[06:20] <poolie> i can get at the staging db
[06:20] <poolie> so that should give me the right constants? but not necessarily representative timing?
[06:21] <huwshimi> nigelb: More specifically that means applying a second class to the table (I'm guessing that's where you're currently applying the styles at the moment).
[06:21] <huwshimi> nigelb: Have a hunt around in the stylesheet (do you know where that is?) for the .form class and see if anyone has done something similar.
[06:24] <lifeless> poolie: right
[06:32] <nigelb> huwshimi: cool, I'll look
[06:32] <nigelb> (At work right now and away from my hacking laptop)
[06:33] <huwshimi> nigelb: Great, let me know if you get stuck
[06:36] <jtv1> wallyworld_: this may be more of what we discussed before… I filed bug 859369.  I've also got a multi-thousand-line lint fixup branch going into testing.
[06:36] <_mup_> Bug #859369: Hideous lint in choiceedit.js <tech-debt> <Launchpad itself:Triaged> < https://launchpad.net/bugs/859369 >
[06:37] <nigelb> multi-thousand line. wow.
[06:42] <poolie> could anyone guess why, running tests locally, things that try to upload to the librarian fail with
[06:42] <poolie> UploadFailed: Server said: 500 Internal server error
[06:42] <poolie> lifeless, re bug search timing
[06:42] <poolie> many of those portlets are going to be retrieving similar kinds of data - counts across the bugs in a particular pillar
[06:43] <poolie> i suppose they could possibly be bummed together into a smaller number of queries
[06:43] <poolie> at least for, for example, the aggregation by status or by importance
[06:57] <lifeless> poolie: yes, a couple of passes of such grouping have already been done
[07:00]  * wgrant hates the product/distribution split
[07:02] <adeuring> good morning
[07:08] <poolie> o/ adeuring
[07:08] <adeuring> hi poolie
[07:49] <poolie> hi danilos
[07:49] <poolie> could you read https://code.launchpad.net/~mbp/launchpad/855150-no-potemplate-mail/+merge/76878 for me
[08:14] <lifeless> can someone confirm that canonical.librarian.tests.test_db_outage.TestLibrarianDBOutage.test_outage was broken on the 19th
[08:17] <danilos> poolie, sure
[08:21] <danilos> poolie, btw, note that you are also fixing bug 353648 with this
[08:21] <_mup_> Bug #353648: Template import success notifications shouldn't be sent to package uploaders <lp-translations> <Launchpad itself:Triaged by danilo> < https://launchpad.net/bugs/353648 >
[08:21] <poolie> oops :)
[08:22] <danilos> poolie, well, if your bug was only about this (you did raise other problems), I would have marked it as a duplicate of that bug and extended it to not be just about package uploaders but project maintainers as well :) so, you are actually fixing that other bug only :)
[08:23] <danilos> poolie, anyway, looks good, r=me
[08:24] <danilos> poolie, fwiw, there is web UI that shows if the template has been imported already, it might be hard to find though, but that's a different problem
[08:27] <poolie> awesome
[08:28] <poolie> yes, talking it over with robert, we thought that if it's not visible (enough) that can be a separate bug
[08:28] <poolie> so we could probably just do a short blog post saying the mails are going to cease
[08:28] <poolie> i don't think any other prep is needed
[08:29] <danilos> poolie, yeah, agreed, I'd even say that it's most important to let our CHR people know about it if people come asking (i.e. "no success emails anymore, go to your project/+imports page to see the status of the upload")
[08:34] <lifeless> stub: hey, still around ?
[08:35] <stub> lifeless: yer
[08:35] <lifeless> would you be up for a brief call - want to touch base on some rt's with you
[08:36] <stub> lifeless: k
[08:36] <stub> lifeless: lets see if skype works...
[08:38] <stub> lifeless: skype didn't survive the upgrade
[08:38] <wgrant> stub: There's a multi-arch workaround for that.
[08:38] <wallyworld_> jtv: choiceedit.js came across directly from lazr-js
[08:39] <wgrant> https://bugs.launchpad.net/ubuntu/+source/skype/+bug/830440
[08:39] <_mup_> Bug #830440: skype: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory <apport-collected> <oneiric> <running-unity> <ia32-libs (Ubuntu):Won't Fix> < https://launchpad.net/bugs/830440 >
[08:39] <wgrant> stub: ^^
[08:40] <jtv> wallyworld_: aigh.
[08:40] <wallyworld_> ?
[08:41] <jtv> wallyworld_: I saw your name in “bzr annotate” and so hoped you'd be familiar with the code.
[08:41] <jtv> There's some fuss about which of JavaScript's delightful comparison operators to use, and I didn't want to touch that for fear of introducing subtle breakage.
[08:42] <wgrant> I think we should probably just ban ==...
[08:42] <wallyworld_> jtv: sadly no. when i brought everything across, i shaved a yak or two to get it all to play nicely, that;s all
[08:42] <wgrant> JS type coercion: Australia says no.
[08:43] <wallyworld_> jtv: i've had the same issues. once, i converted ==  to [08:43] <poolie> wgrant, stop the floats!
[08:43] <jtv> wallyworld_: well, at least that validates my response.
[08:43] <wallyworld_> so i had to use Y.Lang.isValue() instead
[08:43] <lifeless> jamesh: so the exception name qualification bug in python-oops : are you going to patch it, or its just a nice to have?
[08:43] <jtv> wallyworld_: I did that in one place.  Very C-ish loop.
[08:43] <wgrant> poolie: Heh.
[08:43] <wallyworld_> ah C, the good old days :-)
[08:44] <jamesh> lifeless: was planning on putting together a patch.  Just haven't done so yet.
[08:44] <lifeless> jamesh: no worries
[08:44] <jtv> Any reviewers in the house?  https://code.launchpad.net/~jtv/launchpad/post-857155/+merge/76837
[08:44] <jtv> stub, are you OCR'ing today?
[08:44] <bigjools> I pine for the C
[08:44] <lifeless> jamesh: let me know if the libraries still need work to play nice
[08:44] <stub> jtv: No. My brain isn't working today.
[08:45] <jtv> stub: insert coffee.
[08:45] <stub> jtv: Done all that. I've just got the lurgy that has been doing the rounds.
[08:45] <jtv> And no more Monday reviewer for Europe, I see.  Maybe I should change slots to cover that hole.
[08:45] <jtv> stub: feel better.
[08:45] <jamesh> lifeless: sure.
[08:45] <wallyworld_> bigjools: C is good, but C++ is better :-)
[08:45] <stub> Monday is light.
[08:46] <lifeless> -lol- http://www.boganipsum.com/
[08:46] <bigjools> wallyworld_: naturally! better than most things
[08:46] <wgrant> lifeless: I think that did the rounds while you were away :P
[08:46] <wgrant> lifeless: But yes, hilarious.
[08:46] <lifeless> wgrant: probably yeah :)
[08:46] <lifeless> markov FTW
[08:49] <poolie> stub, lifeless, are the query changes in https://code.launchpad.net/~mbp/launchpad/855150-mail-disabled/+merge/76876 dangerous at all?
[08:49] <lifeless> stub: are you installing that workaround, or should I call a landline?
[08:49] <nigelb> stub: had you landed the patch that you approved earlier today or should I ask the OCR?
[08:49] <nigelb> err, db patch
[08:50] <stub> lifeless: turtles all the way down. Finished reporting the bug on software centre (well... confirming it affecting me)
[08:50] <lifeless> stub: lovely!
[08:50] <stub> lifeless: It could take a while. Mobile better.
[08:50] <lifeless> poolie: 61	+ def test_get_recipients_team_with_disabled_account(self):
[08:50] <lifeless> 62	+ """Mail is not sent to teams containing people with a non-active account.
[08:50] <lifeless> 63	+
[08:51] <lifeless> poolie: surely 'mail is not sent to people with non active accounts' ?
[08:51] <lifeless> poolie: or are you intending to disable all notifications if one person in the team-owning team is inactive?
[08:51] <lifeless> (if so, your patch doesn't achieve that ...)
[08:53] <jtv> wgrant: pretty boring run so far…  the version we have in Sources.gz is always the oldest version we have in the database.
[08:53] <lifeless> stub: kk, will be a minute, nappy change time
[08:54] <stub> ... and perhaps a hose.
[08:54] <poolie> lifeless,  the docstring is wrong, the intention of the test is meant to be 'mail is not sent to team members who have inactive accounts'
[08:54] <bigjools> wallyworld_: it's not better than cricket though
[08:55] <jtv> wgrant: then again, the actual domination algorithm hasn't changed, so arguably we don't need to continue the current run.  We could just alter Sources.gz for a version we've already dominated, and re-run.
[08:55] <lifeless> poolie: so the change is fine I think
[08:55] <lifeless> poolie: but it's incomplete
[08:55] <lifeless> poolie: this covers the case of 'when contacting a team who do we wamil'
[08:56] <lifeless> poolie: emm, I have a memory of there being another case for members of (rather than walking the owner tree)
[08:56] <lifeless> poolie: you might like a separate test where the disabled person is a member of the team rather than the owner
[08:57] <wallyworld_> bigjools: not much is better than cricket :-D
[08:57] <lifeless> poolie: (oh, and to change that test to have the owner not be in the team [the default is the owner is a member])
[08:57] <lifeless> poolie: HTH
[08:59] <poolie> so you're saying, two tests:
[08:59] <poolie> 1- disabled person is a member (not the owner)
[08:59] <poolie> 2- disabled person is the owner (not a member)
[09:00] <poolie> arguably there should be one for indirect membership
[09:00] <poolie> for curiousity was doing this by tweaking the storm query a clean way?
[09:04] <jtv> wgrant: stats snapshot shows gina making pretty good progress actually… https://pastebin.canonical.com/53350/
[09:10] <lifeless> poolie: I think so yes
[09:11] <lifeless> poolie: I may be wrong / misremembering
[09:12] <stub> lifeless: have working skype
[09:12] <lifeless> oh, good timing
[09:13] <lifeless> stub: have you signed in?
[09:14] <jelmer> hmm, so how do I sensibly check if a branch is private from within the Launchpad code ? accessing .private raises Unauthorized
[09:21] <jtv> Anyone willing to review?  https://code.launchpad.net/~jtv/launchpad/post-857155/+merge/76837
[09:39] <jtv> lifeless: would you be up for a review?
[09:40] <lifeless> jtv: not just now sorry; otp, then nabbing tom, then familty
[09:40] <jtv> OK
[09:40] <jtv> Anyone else?
[09:40] <jtv> Reviewer needed!
[09:41] <jtv> Reviewer needed, since Friday, for critical bug.  No volunteers?  It doesn't have to be the same people every time!  https://code.launchpad.net/~jtv/launchpad/post-857155/+merge/76837
[09:41] <jtv> poolie, you're a reviewer, right?
[09:42] <jtv> allenap, maybe you can review it for me?  Q/A is already well underway, so no very obvious huge blunders.
[09:43] <poolie> jtv with trainer wheels
[09:43] <jtv> Ah
[09:43] <allenap> jtv: Okay.
[09:43] <jtv> thanks!
[09:43] <jtv> wgrant: I think gina's about done with sid.
[09:43] <jtv> Yup.  Stats time.
[09:44] <wgrant> jtv: And it's only running over sid, so that's good.
[09:44] <jtv> Yes.
[09:44] <jtv> I didn't see any point in running it on the other series.
[09:45] <wgrant> Neither.
[09:45] <wgrant> And we don't have a source archive for them.
[09:45] <jtv> Stats before & after:
[09:45] <jtv> https://pastebin.canonical.com/53347/
[09:45] <jtv> https://pastebin.canonical.com/53353/
[09:45] <poolie> jtv it's not obviously wrong but i really have very little understanding what this is doing
[09:46] <jtv> poolie: Gavin's having a closer look, thanks.
[09:50] <jtv> wgrant: stats look fairly sane to me, prima facie.  Only sid seems affected, about the same numbers of packages got deleted and stayed published as before, and we get about 1 DSDJ per deleted package.
[09:50] <wgrant> jtv: It doesn't seem to have done anything obviously entirely insane, which is about as much as I expected to glean from this test run.
[09:51] <allenap> jtv: Approved, with a caveat about testing.
[09:51] <jtv> Quite.  Then again, the algorithm's substantially the same so it's important to know we didn't skip large numbers of dominations.
[09:51] <jtv> thanks allenap!
[09:53] <poolie> jtv, could you look at https://code.launchpad.net/~mbp/launchpad/858618-affecting-me/+merge/76880 for me?
[09:53] <jtv> OK
[10:08] <poolie> lifeless, tests added; they pass
[10:09] <lifeless> cool
[10:09] <poolie> anything else? don't want to rush but would like to kick it off before i sign off
[10:11] <lifeless> seems fine to me :)
[10:18] <jtv> poolie: done with your MP.  Hope it answers your question; do let me know if it doesn't.
[10:20] <bigjools> lifeless: testing your oops_twisted
[10:20] <bigjools> it's blowing up
[10:20] <bigjools> http://pastebin.ubuntu.com/697174/
[10:25] <lifeless> bigjools: no publisher configured
[10:25] <lifeless> bigjools: file a bug though, with no publisher it shouldn't blow up
[10:25] <bigjools> lifeless: should be
[10:26] <bigjools> lifeless: here's the branch change: http://pastebin.ubuntu.com/697177/
[10:26] <lifeless> so the failure is in fallback_report
[10:26] <lifeless> which takes the ids, the report and the event, and is called after the publishing deferred fires
[10:27] <bigjools> lifeless: it's adding a FileLogObserver
[10:27] <lifeless> bigjools:
[10:27] <lifeless> +    if options["oops-dir"]:
[10:27] <lifeless> +        repo = DateDirRepo(options["oops-dir"], options["oops-prefix"])
[10:27] <lifeless> +        config.publishers.append(defer_publisher(repo))
[10:28] <lifeless> bigjools: so 2 things; one - there is a bug (please file it on python-oops-twisted, will fix for you tomorrow)
[10:28] <bigjools> ok
[10:28] <lifeless> and two, you need this line:
[10:28] <lifeless> config.publishers.append(defer_publisher(repo.publish))
[10:29] <lifeless> the bug is that if there is no publisher, the fallback code crashes, rather than e.g. forwarding the original event
[10:29] <bigjools> lifeless: what is the bug (for the title) ?
[10:29] <bigjools> sorry, should have read first
[10:29] <lifeless> 'if there is no publisher, the fallback code crashes'
[10:29] <lifeless>  :P
[10:30] <bigjools> :)
[10:30] <bigjools> was too busy typing to read you :)
[10:31] <lifeless> no worries
[10:31] <bigjools> lifeless: that change didn't help
[10:31] <wallyworld_> A tachyon walks into a bar. The bartender says "We don't serve your kind here." The tachyon replies "You did tomorrow". HAHAHAHAHA
[10:32]  * bigjools sees tumbleweed
[10:32]  * bigjools hears a dog barking in the distance
[10:32] <lifeless> bigjools: this is what I think will fix it (I'll do the test in the morning)
[10:32] <wallyworld_> you lot have no sense of humour
[10:32] <lifeless> http://pastebin.com/6qWMhzZn
[10:33] <lifeless> bigjools: However, the root issue is that its not seeing the id in the report
[10:33] <bigjools> wallyworld_: that's irony :)
[10:33] <wallyworld_> :-)
[10:34] <lifeless> bigjools: how are you testing this?
[10:34] <bigjools> "Your paste has triggered our automatic SPAM detection filter"
[10:34] <bigjools> nice
[10:34] <jtv> wallyworld_: we have a sense of humour, but we keep up with the news.  Had the joke included a speeding neutrino…
[10:35]  * wallyworld_ thought they were the same thing
[10:35] <wallyworld_> doh
[10:35] <wallyworld_> i fail
[10:35] <bigjools> lifeless: I am not starting the rabbit server before txlongpoll - I can't think of a decent unit test yet
[10:35] <lifeless> bigjools: ok, and how are you starting txlongpoll ?
[10:35] <bigjools> bin/twistd -n amqp-longpoll -l mylog -u guest -a guest -f 9999
[10:35] <lifeless> bigjools: I believe options['date-dir'] is not set.
[10:35] <jtv> wallyworld_: they may be the same thing for all I know, but I can't imagine anyone being surprised if a tachyon went faster than the speed of light.
[10:35] <bigjools> AH
[10:35] <bigjools> fuck
[10:36] <lifeless> bigjools: which will cause you to have no publisher.
[10:36] <bigjools> indeed
[10:36] <bigjools> \o/
[10:36]  * jtv vows, if ever invited, to do his round of the Top Gear test track in reverse in order to get the lowest-ever time.
[10:36] <bigjools> http://pastebin.ubuntu.com/697182/
[10:37] <lifeless> bigjools: just like a bought one
[10:37] <lifeless> shame about the poor backtrace
[10:37] <lifeless> but thats out of our immediate control
[10:37] <bigjools> lifeless: yeah, and the fact it writes them every second
[10:37] <bigjools> (which is the reconnection interval)
[10:37] <bigjools> but hey
[10:37] <lifeless> bigjools: thats something we can throttle in oops-tools / oops-amqp
[10:38] <bigjools> that'd be a nice enhancement
[10:38] <lifeless> (e.g. throttle on the server side, not client - or we can do client as well, in future, but I'm more interested in server side smarts)
[10:38] <lifeless> easier to deploy
[10:39] <bigjools> lifeless: heh, the fallback output is a little whack
[10:39] <lifeless> oh ?
[10:39] <bigjools> http://pastebin.ubuntu.com/697183/
[10:39] <lifeless> wtf
[10:39] <jtv> bigjools: our big test run on dogfood is done; mind if I run some smaller ones?
[10:39] <bigjools> jtv: sure
[10:39] <lifeless> bigjools: bug for that please.
[10:39] <jtv> thx
[10:39] <bigjools> heh
[10:39] <lifeless> also, wtf. wtf. wtf.
[10:41] <bigjools> lifeless: so I should be able to have a fallback without the publisher set, right?
[10:42] <bigjools> that's just the first bug
[10:42] <lifeless> yep
[10:42] <bigjools> ok, that saves me some code :)
[10:42] <lifeless> you can drop the patch I pastebinned into your local egg for now
[10:42] <bigjools> right, ta
[10:43] <lifeless> night night
[10:43] <bigjools> nn lifeless
[10:45] <jtv> wgrant: once it's been dominated, re-dominating sid's 680 remaining packages takes 2s ±1s.  So the optimization works.
[10:45] <wgrant> jtv: Excellent.
[10:45] <wgrant> jtv: Let's deploy the hell out of this.
[10:46] <jtv> We haven't tried the changes to Sources.gz yet.  Not sure it's worth it.
[10:47] <wgrant> I don't think it is.
[10:48] <jtv> Good enough for me, really; it's a simple change.
[10:50] <jtv> rvba: that leaves just your branch for bug 827608 blocking our deployment.  Do you need any help completing that?
[10:50] <_mup_> Bug #827608: Sync requester isn't credited with upload <derivation> <qa-ok> <Launchpad itself:Fix Committed by rvb> < https://launchpad.net/bugs/827608 >
[10:51] <rvba> jtv: Nice timing, I've /just/ QA'oked it.
[10:51] <jtv> :)
[10:54] <jtv> bigjools: we're done with dogfood for now.
[10:54] <bigjools> jtv: ta
[10:54] <jtv> About to deploy the gina optimization.
[11:27] <jml> Hello
[11:27] <jml> I'm trying to set up python-oops-twisted so I can address a bug reported against testtools
[11:29] <jml> The instructions say to run 'python bootstrap.py'
[11:29] <jml> but that doesn't work (see https://bugs.launchpad.net/python-oops-twisted/+bug/859566)
[11:29] <_mup_> Bug #859566: Fresh checkout doesn't buildout <python-oops-twisted:New> < https://launchpad.net/bugs/859566 >
[11:30] <jml> If I create a download-cache directory, I get told: Error: Couldn't find a distribution for 'zc.buildout==1.5.1'.
[11:33] <wgrant> jml: I believe it's meant to be used with LP's download-cache.
[11:33] <wgrant> jml: You may have luck with disabling install-from-cache in buildout.cfg, however.
[11:33] <lifeless> or pass it the --online (not how its spelt) option to force downloading unsigned stuff from pypi
[11:33] <wgrant> I assume that's set...
[11:33] <wgrant> Aha.
[11:36] <bigjools> I had no problems with it but then I didn't build it on its own, I pulled it into txlongpoll
[11:36] <jml> wgrant: I don't have any special option set for that.
[11:36] <jml> lifeless: none of the options to bootstrap seem to match that
[11:36] <wgrant> jml: It's in python-oops-twisted's buildout.cfg.
[11:37] <wgrant> Not your global one.
[11:37] <jml> wgrant: oh right. ta.
[11:37] <bigjools> does it not have a makefile?
[11:38] <jml> It's fun the way every different buildout project has a slightly different way of becoming usable
[11:38] <wgrant> Yep.
[11:38] <bigjools> jeepers
[11:41] <jml> Now buildout can't find 'oops'. Error: Couldn't find a distribution for 'oops==0.0.6'.
[11:41] <wgrant> oops 0.0.7 is on pypi, not sure about 0.0.6
[11:42] <lifeless> should work fine with 0.0.7
[11:42] <jml> I'll tweak the settings
[11:42] <lifeless> just bump the dep
[11:45] <nigelb> Hrm, no european reviewer today :(
[12:11] <nigelb> Aha!
[12:12] <nigelb> benji: Could you land something to db-devel for me? I have stub's ack.
[12:12] <benji> nigelb: sure
[12:12] <nigelb> benji: Thanks! here's the MP - https://code.launchpad.net/~nigelbabu/launchpad/create-description-5283/+merge/76818
[12:16] <benji> nigelb: are you aware of the ordering in which DB changes and code changes should be done?
[12:16] <nigelb> benji: All deps must land and be in production before landing?
[12:16] <nigelb> This is the first branch, I have to land code after this is deployed.
[12:16] <nigelb> Oh, you'll have to land it with partial
[12:17] <benji> nigelb: right, cool; I just wanted to make sure you were aware
[12:17] <nigelb> benji: Thanks. I did mess up once before :)
[12:17] <benji> nigelb: I don't know what "land it with partial" means.  Will you explain?
[12:17] <wgrant> --incremental
[12:18] <nigelb> ah, right. incremental.
[12:18] <nigelb> thanks wgrant :)
[12:18] <wgrant> (and yes, this patch is fine to land now and deploy in 20 hours)
[12:18] <nigelb> (my suspicions on whether wgrant has written a bot with AI increases)
[12:18] <benji> gotcha
[12:18] <nigelb> someone did do somethng in db-devel without doing a make sample data.
[12:19] <nigelb> "make sampledata"
[12:19] <nigelb> Those changes are in my patch :|
[12:31] <benji> nigelb: shall I mark that MP approved?
[13:04] <deryck> Morning, all.
[13:05] <jml> deryck: good morning.
[13:14] <flacoste> morning deryck
[14:53] <cr3> benji: thanks for the help on Friday, problem solved! instead of creating a proxy object, it turns out there was an actual problem in the design and after refactoring I could get the parent context for the object that needed an absolute url resolved
[14:54] <benji> cr3: cool, I'm glad it worked out
[15:07] <bigjools> jam: hi - apparently you did something to make the bzr server show the connecting user on the ps output
[15:07] <jam> bigjools: probably at some point in time.
[15:07] <bigjools> jam: I was wondering if you could point me to the right piece of code
[15:08] <jam> bigjools: checking
[15:08] <bigjools> thanks
[15:11] <jam> bigjools: http://bazaar.launchpad.net/~launchpad-pqm/launchpad/devel/view/head:/lib/lp/codehosting/vfs/hooks.py
[15:11] <jam> 'import setproctitle'
[15:12] <bigjools> jam: awesome, thanks
[15:12] <jam> http://pypi.python.org/pypi/setproctitle
[15:13] <jam> I believe mwhudson is the one who wrote the original stuff, but I at least was exposed to it.
[16:29] <sinzui> benji, I have two small branches I hope you can review: https://code.launchpad.net/launchpad/+activereviews
[16:43] <jml> I've started getting these errors: http://paste.ubuntu.com/697373/
[16:44] <jml> login_anonymously is not something I would normally expect to fail with a parse error.
[16:47] <jml> Hmm.
[16:47] <jml> Some kind of caching thread-safety thing, it seems.
[16:51] <jml> now, to find which ... oh screw it I'll blow the cache away
[17:08] <nigelb> benji: Hey, if you haven't already, please do.
[17:08] <nigelb> I stepped out immediately after that. Sorry! :-)
[17:26] <benji> nigelb: (I was at lunch) yep already done; it's winding it's way through the machinery as we speak
[17:26] <benji> sinzui: sure, I'll take a look now (was at lunch)
[17:27] <nigelb> benji: Thanks again :)
[17:27] <sinzui> benji, I am tweaking the non-active-user-bug-mail branch. I found a comment in a test that I know how address
[17:28] <benji> sinzui: ok
[17:38] <bac> hi deryck
[17:47] <jml> Hmm.
[17:47] <jml> login_anonymously is getting corrupted again
[17:48] <jml> what local xml does it need to parse?
[17:53] <jml> The WADL, is the answer.
[17:53] <jml> So how come the wadl gets corrupted when multiple programs are running against the same cache?
[17:54] <jml> I guess the answer is that they all write indiscriminately and there's no actual thought to addressing the problem
[17:56] <jml> tap tap
[17:56] <jml> is this thing on?
[17:56] <nigelb> nope, you're talking to yourself :P
[17:58] <deryck> Hi bac
[17:59] <benji> jml: a WADL race? that's not good
[17:59] <benji> (but it sounds funny when you say it out loud)
[18:03] <sinzui> benji, I put https://code.launchpad.net/~sinzui/launchpad/non-active-user-bug-mail/+merge/77004 back into review after updating two existing tests
[18:04] <benji> sinzui: k, I'll take a look at it now
[18:06] <jml> g'night all
[18:06] <jml> benji: heh
[18:06] <jml> benji: email sent.
[18:06]  * jml has to go
[18:40] <benji> sinzui: sorry, that took a while, but I'm done with https://code.launchpad.net/~sinzui/launchpad/non-active-user-bug-mail/+merge/77004
[18:40] <sinzui> np. I am already working on another branch
[19:13] <allenap> abentley: Do you have some time to revisit https://code.launchpad.net/~allenap/launchpad/longpoll-merge-diff-event/+merge/76407?
[19:13] <abentley> allenap: sure.
[19:14] <allenap> Thanks.
[19:26] <abentley> allenap: why have you s/provides the expected interfaces/provides  expected interfaces/ ?
[19:27] <allenap> abentley: Lint, that's all.
[19:30] <abentley> allenap: test_monitor, test_run_object_events need descriptions.
[19:31] <allenap> Right, I'll fix that.
[19:31] <abentley> allenap: Why is there a BranchMergeProposalWithPreviewDiffDelta?
[19:32] <allenap> abentley: So that merge_proposal_modified can use BranchMergeProposalDelta to figure out that nothing has changed (because it's not interested in preview_diff) and other code that is interested in preview_diff can use BranchMergeProposalWithPreviewDiffDelta.
[19:35] <abentley> allenap: it seems counterintuitive that the standard version is incomplete.  If we need two versions, I suggest renaming the old one to BranchMergeProposalDeltaWithoutPreviewDiff
[19:36] <allenap> abentley: Okay, I considered that but was too lazy to change all the call sites. I will unleash the sed.
[19:36] <abentley> allenap: cool, thanks.
[19:39] <abentley> allenap: Other than those things, it seems fine.
[19:40] <allenap> abentley: Cheers, thank you :)
[19:56] <sinzui> benji, do you have time to review another small branch: https://code.launchpad.net/~sinzui/launchpad/target-picker-adapters-0/+merge/77044
[19:56] <benji> sinzui: sure
[20:03] <sinzui> jcsackett, do you have time to mumble a bug that may not be trivial.
[20:04] <jcsackett> 	sinzui: sure. bug num?
[20:04] <sinzui> jcsackett, bug 857785
[20:04] <_mup_> Bug #857785: pickers do not show custom icons <disclosure> <target-picker> <Launchpad itself:Triaged> < https://launchpad.net/bugs/857785 >
[21:05] <Lifelrss> Flacosre
[21:06] <Lifelrss> Bah. Flacoste. Adsl down. Ring housephone?
[21:06] <flacoste> Lifelrss: no problem
[21:37] <jelmer> any reviewers in tha house?
[21:42] <lifeless> sinzui: hi
[21:42] <sinzui> hi lifeless
[21:42] <lifeless> sinzui: can I grab a quick call with you today sometime? (otp with flacoste atm)
[21:42] <sinzui> lifeless, sure. maybe in 45 minutes?
[21:59] <lifeless> sinzui: sure. I have to leave here in 1 hour for a doctors visit w/Lynne
[21:59] <lifeless> sinzui: so will need to be short - but we can do that :)
[22:02] <sinzui> lifeless, I can talk in 15 minutes, my wife volunteered to make dinner.
[22:03] <lifeless> that would be great. Please thank her *very* much
[22:15] <sinzui> lifeless, shall I call you on skype?
[22:17] <lifeless> please
[23:08] <wallyworld> sinzui: wgrant: we having a standup today?
[23:08] <wallyworld> never mind, wrong room
[23:13] <StevenK> Haha