/srv/irclogs.ubuntu.com/2011/09/01/#launchpad-dev.txt

wallyworldmaybe you have an old yui lying around?00:00
wallyworldperhaps make clean will make it show up00:00
mwhudsonwell, i just set up the devel environment just now...00:00
wallyworldhmmm.00:01
wallyworldwhen i get a spare moment later i'll try and see what we're missing from the jsbuild target to cause the issue00:01
mwhudsonah00:02
mwhudsoni need to load widget-position-align00:02
wallyworldmakes sense00:02
mwhudsonit has to be said, yui3 makes for very nicely greasemonkeyable pages00:04
wallyworldyeah, from what i've seen yui3 rocks compared to earlier incarnations00:04
wallyworldtoo bad yui isn't more popular. seems like jquery has all the mindshare?00:05
mwhudsonyay i can use the lazr widget with my lp changes00:06
wallyworldmwhudson: when you say lazr, you mean from the lazr-js tree? for lp, we've stopped using lazr-js separately and pulled all the source in the lp tree and are mainatining it there00:10
mwhudsonwallyworld: no, i mean, not my hack that's in my greasemonkey script00:11
wallyworldah ok00:11
mwhudsonwallyworld: ok, i'd like to merge this branch i guess00:12
mwhudsonwallyworld: if i propose it will you review it?00:12
mwhudsoni'll run the yui tests if you tell me how :)00:12
wallyworldsure. but i'm only a provisional reviewer. i'm being mentored atm00:12
wallyworldmwhudson:  bin/test --layer=YUITest00:13
wallyworldmwhudson: curtis has done an awesome job packaging the yui tests to be able to be run from the command line without  requiring a browser00:14
wallyworldyou can also run individual tests by loading the html page corresponding to the test js file in a browser00:15
mwhudsonyay00:15
mwhudson  Ran 44 tests with 0 failures and 0 errors in 1 minutes 8.693 seconds.00:15
wallyworldwhoot00:15
mwhudsonhm, seems i don't need the editicon change any more00:17
mwhudsonthink it's still dead code though00:17
* mwhudson repurposes wallyworld's existing mp00:18
wallyworldmwhudson: i did that mp to quickly see the diff :-) i was just about to mention that the change now seems redundant.00:20
G(potentially silly question alert) when running 'testr run', 'make run' should be killed right?00:34
wgrantG: Shouldn't need to be. But it's possible some dodgy tests might require it.00:35
Gwgrant: okay thanks00:36
LPCIBotProject devel build #1,019: STILL FAILING in 3 hr 59 min: https://lpci.wedontsleep.org/job/devel/1019/01:19
thumperhi hackers03:17
thumperhow is the long-poll stuff going?03:17
thumperI've been eagerly awaiting the auto-diff updating03:18
thumperbut it isn't happening :(03:18
StevenKWaiting for red squad to finish derivation, and then they switch to long-poll03:24
spmStevenK: isn't the correct repsonse "patches accepted"?03:29
StevenKDamn it. I go on holidays for a week and I forget everything.03:30
* StevenK books in "re-training" for Monday03:30
wallyworldthumper: how's dx?03:38
lifelessdigitally extreme :P03:38
wallyworldlifeless: you had a kid yet?03:38
thumperwallyworld: interesting03:38
lifelessyes :)03:38
* wgrant gives lifeless a few looks of disapproval.03:38
thumperlifeless: really?03:38
wallyworldlifeless: congrats. details please03:38
wgrantIt was on G+ and FB hours ago!03:38
thumperdid I miss the announcement?03:38
wgrantSocial media, people :P03:38
lifelessg+ 2 minutes ago03:38
lifelessFB hours ago.03:39
wallyworldwgrant: i hate social media03:39
lifelessEBUSY.03:39
thumperlifeless: congrats03:39
wallyworldlifeless: so why ffs are you on irc?03:39
lifelesswallyworld: easier than ringing the 100 off folk that Want To Know03:39
lifelesss/off/odd/03:39
wallyworldunderstood03:40
wgrantHeh03:40
wallyworldlifeless:  so, for those of us who hate fb, g+ - boy, girl?03:40
wallyworldthumper: got my new coffee machine :-D Breville BES90003:41
thumperwallyworld: awesome03:41
thumperwallyworld: so now you never leave home?03:41
wallyworldthumper: nope :-)03:41
wallyworldthumper: so feature freeze on oneric. everything looking good?03:42
wallyworldis the minimise behaviour or global menu stuff fixed?03:42
wallyworldplease say it is03:42
wgrantwallyworld: Heh, good is not how Ubuntu release cycles ever look until the last two weeks.03:42
wallyworldwgrant: understood. i was being optimistic :-)03:43
thumperwallyworld: no03:43
wallyworldthumper: you suck03:43
wallyworld:-P03:43
thumperwallyworld: no, you suck03:43
wallyworldsometimes03:44
lifelesswallyworld: answered privately :)03:45
wallyworldlifeless: ah, so it is. thanks03:45
wallyworldlifeless: love the slogan :-)03:46
lifelessindeed ;)04:04
G$ testr run - 3hrs 20min and counting, is this normal?04:21
StevenKYes04:21
StevenKSadly04:21
Gon the plus side, I did find a failing test in my changes :)04:21
StevenKA full testsuite run will take approximately 4 hours and change04:22
* spm quaintly recalls complaining about the 90minute test runs04:23
G(Don't take it for complaining, was just shocked/surprised)04:25
jtvStevenK, wgrant: I tried an experimental domination run (source only and without judging phase) on dogfood's Debian yesterday.  I don't think it did anything because it ran suspiciously fast… I'll have to check.04:25
StevenKG: I complain about it all the time.04:25
Gthe only real problem I see is the inability to have 'make run' and 'testr run' going at the same time04:26
StevenKThat's why we use ec2 for test runs.04:26
StevenKBut that can get expensive.04:26
wgrantG: What happens when you try? It should mostly work.04:26
Gwgrant: address already in use04:27
GI'm guessing because testr has zope running on the same port that make run starts zope on04:27
wgrantThat's meant to not happen any more :(04:27
Gwgrant: seems to be happening on my VM that I set up04:28
wgrantWhich layer?04:29
wgrantAppServerLayer just started up fine for me.04:29
wgrantand I have a dev appserver running.04:29
Ghttp://pastebin.ubuntu.com/679377/04:29
Grunlaunchpad.start_launchpad()04:29
GStevenK: by the way, thanks for the help last night04:45
StevenKG: I didn't think I helped much, but you're welcome. :-)04:45
GI ended up by solving it by turning the second template into a Macro in the end, but you got me thinking in the right direction04:46
=== almaisan-away is now known as al-maisan
nigelbGood Morning!05:01
Gnigelb: good $localtime05:04
nigelbheh05:04
Gtestr run just finished05:05
Glots of bzr tests failed hmmm05:05
wgrantG: Which Ubuntu release are you using?05:07
Gnatty05:07
GI'm guessing that is why05:08
wgrantPossibly. The test suite is only regularly run on Lucid, but it used to work on Maverick and mostly works on Natty.05:08
wgrantAnd partly on Oneiric.05:08
nigelbUrsinha: Happy Birthday!05:08
nigelbStevenK: I DID IT.05:11
nigelbOne branch with TDD :)05:11
nigelb(except now my test doesn't pass)05:12
Gnigelb: tut tut tut ;)05:12
nigelbheh05:12
LPCIBotProject devel build #1,020: STILL FAILING in 3 hr 59 min: https://lpci.wedontsleep.org/job/devel/1020/05:19
nigelbwhat time zone is danilos?06:03
Gnigelb: LP says UTC+0206:04
nigelbah, right.06:05
nigelbHow do I compare strings in regular expression06:11
nigelbI'm surpised that I have to ask this at all.06:11
nigelbSomeone has thoughts on this? http://pastebin.ubuntu.com/679424/06:16
wgrantnigelb: It doesn't really look like you want a regular expression match.06:17
nigelbwgrant: I don't,no.06:17
nigelbwhat do I use instead?06:17
wgrantDoes assertIn not do what you wish?06:18
nigelbOh.06:18
=== al-maisan is now known as almaisan-away
nigelbHrm, not sure how I would do that.06:20
Goh no....06:23
Gmy make lint was clean, until I modified the pagetests06:23
wgrantThat's your first mistake right there.06:24
nigelbheh06:24
Gnow it includes various 'source has bad indentation' / 'source exceeds 78 characters'06:24
nigelbG: lint checks modified files06:24
Gnigelb: yep, get that, just disappointed06:24
nigelbheh06:24
wgrantG: If it's not too huge, you should probably clean the doctest up, so it's not left for the next person to find the same way.06:25
wgrantBut if it's a few hundred warnings like they sometimes are, meh.06:25
Gshould I try and fix it as part of the branch or propose a second merge to fix06:25
Glooks /ike 68 errors06:25
* G takes a look06:25
wgrantMost of them probably just need you to s/^   /    / or so.06:25
nigelbwho's reviewer today? Technically lifeless I believe?06:30
* nigelb checks06:30
wgrantDon't give him any ideas.06:30
wgrantI can have a look if nobody else is around.06:30
nigelbaha06:31
nigelbwell, not ready yet.06:31
Gwgrant: looks like the lint errors are a bit 'yeah right' to me06:31
wgrantG: Oh?06:31
nigelbOMG.06:32
Gfor instance, I can't see any bad indentation on ./lib/canonical/launchpad/pagetests/basics/notfound-traversals.txt06:32
G(line 7 that is)06:32
nigelbI totally didn't recognize this launchpad feature till now.06:32
wgrantG: The code blocks are meant to be indented by 4 spaces.06:32
wgrantTo distinguish them from narrative.06:32
nigelbI was about to say that.06:32
wgrant    >>> if foo:06:32
wgrant    ...     bar06:33
Gwgrant: oh....06:33
wgrantnigelb: Which feature?06:33
nigelbSo, if I have a bug number in my branch name06:33
nigelblike foo-123406:33
wgrantnigelb: That feature is about a month old.06:33
nigelbHA.06:33
nigelbIts awesome.06:33
Gin that case I'd have to re-indent etc the whole file06:33
wgrantG: Yes. It's rather unpleasant. I just ignore it in that case.06:33
wgrantI might do a mass fixup over Christmas or something, when it's less likely to conflict with people.06:34
nigelb..06:35
Gnigelb: oh does it automatically associate the branch w/ the bug?06:36
GI just do 'bzr commit --fixes lp:<bug>'06:36
nigelbG: It doesn't. When I click the link to associate the bug, it already has the bug number from the branch06:37
wgrantSo it suggests it.06:37
nigelb(well, I often forget to do that :D)06:37
wgrantBut doesn't do it automatically.06:37
Goh yeah, I noticed that today too06:37
nigelbwhich is nice!06:37
nigelbBut yah, I agree with wgrant, it needs to be a picker.06:37
nigelbwgrant: how would I use assertThat in this scenario06:38
nigelbhttps://code.launchpad.net/~nigelbabu/launchpad/specification-validation-59301/+merge/7363106:38
nigelbL7706:38
wgrantnigelb: You should probably use assertRaises.06:40
wgrantnigelb: It's normally just used to check the class of the exception, but it also returns the exception object.06:41
wgrantSo you can then assertEquals on its content afterwards.06:41
Gha, just got my first buildbot e-mail :) a couple of hours ago06:41
nigelbWait, why aren't you on Contributors page yet.06:42
nigelbG: FYI - https://dev.launchpad.net/Contributions06:43
wgrantPossibly the wiki upgrade... let me see.06:43
nigelbwe're all competing with wgrant.06:43
wgrantI am invincible, nyahaha.06:43
GI can wait :)06:44
nigelbI'm landing 3 branches a week or at least trying to.06:45
nigelbThat means about a year until I beat wgrant :D06:45
Ghopefully I'll have 2 this week at least06:45
nigelbhrm, I don't understand how to use assertRaises.06:47
* nigelb greps more06:47
Gpondering snatching up bug 410331 tbh06:47
_mup_Bug #410331: PPA: should default to sensible/good name (or give example) <easy> <lp-soyuz> <ppa> <trivial> <ui> <Launchpad itself:Triaged> < https://launchpad.net/bugs/410331 >06:47
Gnigelb: are you having trouble w/ 59301 ?06:52
=== _mup__ is now known as _mup_
nigelbG: I fixed the bug.06:59
nigelbI'm fixing the test.06:59
nigelbI always seem to have some or the other trouble with tests :D06:59
Gnigelb: whats the command to run the broken test?07:00
* G wants to have a look too07:00
nigelbwell, you just run the test and you'll see its not passing.07:00
nigelbwgrant: I don't see a good enough example of assertRaises to understand how it works07:01
wgrantnigelb: e = self.assertRaises(SomeException, some_function, some, arguments)07:03
wgrantIt will call some_function(some, arguments)07:03
wgrantAnd assert that it raises a SomeException.07:03
nigelbmmm07:04
mrevellHello07:05
nigelbMorning mrevell!07:05
mrevellHey nigelb :)07:05
wgrantnigelb: Contributions page unbroken.07:05
nigelbwgrant: And I can use the 'e' to get the error message for an assertEqual?07:05
nigelbwgrant: Ha, thanks!07:05
wgrantnigelb: Yeah. Use str(e), perhaps.07:05
nigelbExcellent, thanks.07:06
wgrantWoah.07:08
nigelbHeh07:08
nigelbTHIS NEEDS CELEBRATION.07:08
nigelbAt least we need to give him a certificate - "I purposefully quit IRC for X days"07:09
nigelbspm: ^07:09
jtvwgrant: well, I found out why domination on dogfood's debian was so fast.  All those active SPPHs for Debian are PENDING, not PUBLISHED.  Shouldn't gina set them to PUBLISHED?07:23
spmnigelb: haha07:25
spmnigelb: tbh, I call lies.07:25
nigelbhehe07:25
rvbaMorning!07:26
nigelbMorning rvba!07:26
rvbaG'day nigelb.07:27
nigelbwgrant: Could you review https://code.launchpad.net/~nigelbabu/launchpad/specification-validation-59301/+merge/7363107:27
nigelbI'm sure you'll find at least 3 things to be picky about ^-^07:27
wgrantjtv: Probably, yes. Not sure why it doesn't.07:29
wgrantjtv: Probably a holdover from when it imported Ubuntu.07:30
jtvIt did?  Owww07:30
wgrantjtv: They needed to be Pending so the publisher would publish them.07:30
wgrantThat's how Ubuntu ended up in LP, yeah :)07:30
rvbaUnless you're playing with it ATM, could one of you guys update DF?07:30
wgrantFeb 2006.07:30
stubjtv: I lost your review stamp when I resubitted a MP (added a new pipe so needed to change the dependency branch). Can you click some buttons, and optionally review the nonblocking_readline()? https://code.launchpad.net/~stub/launchpad/branch-rewrite/+merge/7356307:31
jtvrvba: I already Q/A'ed your ISD fix.07:31
stubjtv: nm. just hit refresh :)07:32
rvbajtv: I need it for another QA ;)07:32
wgrantnigelb: Could you convince someone else to review? I'm trying to disappear now.07:32
rvbajtv: but thanks for Q/Aing my fix for ISD.07:32
nigelbwgrant: Ok07:32
jtvstub: but I already approved that twice!07:32
nigelbjtv: Can I grab your attention for a quick review? :)07:33
stubyup. Needed to reload the page.07:33
jtvstub: ah, you found it.  Sorry, fell a little bit behind with 4 simultaneous conversations.  :)07:33
jtvnigelb: welcome, conversation #5!  :-)07:33
nigelbheh07:33
jtvLet me just catch up with the other 4.07:33
nigelbI'll grab lunch meanwhile.  Here's the MP - https://code.launchpad.net/~nigelbabu/launchpad/specification-validation-59301/+merge/7363107:33
jtvrvba: I tested your ISD fix because I thought we might be able to roll out some critical fixes.  But unfortunately it looks like abentley is the remaining blocker.07:34
jtvrvba: how fresh does dogfood need to be?  Because I updated a few hours back.  I can easily do it again if you need it though.07:34
rvbajtv: I tested it and I'm sure my changes are not on DF now.07:35
jtvwgrant: sorry, got a bit distracted with various other conversations (including phone call from a friend who it turns out is turning back from the brink of death :-)07:35
rvbaIt says my revisions where included in db-devel 2 hours ago.07:35
jtvrvba: ok I'll do that again07:35
rvbajtv: thank you.07:35
jtvrvba: it'll take a bit longer than usual (though not as long as when that db patch wouldn't apply!) because I'm currently testing a script.  Hence the question.  But right after that I'll update & notify.07:36
jtvwgrant: I'm currently running domination on debian, with the PENDING statuses updated to PUBLISHED.  Obviously it's going to be fairly intense.07:37
rvbajtv: There is no rush for me to QA that /right now/ please take your time. Please just ping me when it's updated.07:37
jtvrvba: btw is it appserver?  script?  both?07:37
rvbajtv: it's an api change so appserver.07:37
jtvOK07:38
wgrantrvba: Can't you do that on qastaging?07:38
wgrantjtv: Probably.07:38
rvbawgrant: Oh ... I'm so used to qa things on DF that I did not even think about that ... ;)07:39
jtv\o/07:39
wgrantjtv: How does gina currently handle the multiple versions case? I forget if it imports both or just the latest.07:39
wgrantjtv: If it imports all present versions, it's going to be amusing.07:39
jtvwgrant: urrr… I think it just imports everything it finds.07:39
wgrantjtv: Because each run will create all the old versions, then supersede them all.07:39
jtvI was shocked the other day to find out I may accidentally have made myself the go-to gina coder.07:39
rvbanigelb: If you're able to wait for 1 hour an official reviewer will be on duty.07:40
wgrantThen the next run will create them all and supersede them again.07:40
jtvwgrant: no I do think it skips everything that's already in the db; but if it finds multiple _previously unknown_ versions it imports them all.07:40
wgrantjtv: I know bits of it from 2 years ago, but try to suppress those memories. It's not very relevant to normal LP development, so it gets paged out quickly.07:40
nigelbrvba: Ha, just when I get back from lunch. Excellent.07:40
wgrantjtv: Ew, that would be even worse.07:40
jtvwgrant: it's like a clever woman I know who, when switching from microbiology to IT and clearly short of relevant experience, still left APL off her CV.  “Not getting the job scares me less than being made to work in APL.”07:41
jtvI told her to chance it.07:41
wgrantHeh.07:42
wgrantBut the behaviour you suggest would be very inconsistent, confusing and wrong.07:42
jtvIn what way?  I have a feeling we may be talking at cross purposes.07:42
rvba(QA ok on qastaging \o/)07:42
jtvOK07:42
wgrantjtv: The dominator and gina will fight, creating and superseding over and over again.07:43
jtvWhy?07:43
jtvAh, I see the misunderstanding.07:43
jtvwgrant: cancel07:43
wgrantIf gina imports all versions referenced in Sources, it will import stuff that the dominator has marked as superseded.07:43
wgrantHeh.07:43
jtvwgrant: When I said “them all,” I was referring to the last bunch that I mentioned—when gina finds multiple previous unknown versions, AIUI it imports _all the unknown versions_.07:44
wgrantjtv: What's "unknown"?07:44
jtvBecause it skips everything that's already in the db.07:44
wgrantI'm not clear on the definition of "in the DB."07:45
jtvI think the criterion was “not having an SPPH.”07:45
wgrantAn active SPPH?07:45
jtvNo, I don't think so.07:45
jtvBut guessing.07:45
wgrant        # Create the Publishing entry, with status PENDING so that we07:46
wgrant        # can republish this later into a Soyuz archive.07:46
wgrantHeh.07:46
wgrantAs I suspected.07:46
wgrant5 years ago, maybe...07:46
jtvSo… proper behaviour now is to make that PUBLISHED?07:47
jtvAnd maybe assert that the distro is debian for good measure, just so we find this spot back if we should ever change that?07:48
wgrantI guess.07:48
jtvAnd we'll also need a transitional measure of course.07:49
wgrantIt looks like it will create new SPPHs for anything that doesn't already have a matching active SPPH.07:49
wgrantProbably including multiple versions of the same source.07:49
jtvThat would be bad.07:49
wgrantBut that needs testing.07:49
wgrantIt would be probably correct, but makes use of the dominator difficult.07:49
jtvWell, it would be bad for my current purpoes.07:49
jtvThe only scenario that springs to mind where it helps to check only for active records is when an old version of a package is made the most recent again.  But I'm not sure that should ever happen.07:51
wgrantWell, to check also for inactive records violates everything.07:52
jtv"Everything" is a little broad… could you narrow it down a little?  Let's take it as read that Albanian traffic law is not, as a practical matter, violated whatever gina does here.07:53
wgrantIf it's published in the source archive, to say it can't be published in the target archive just because it has been published at some point in the past is a fairly hideous position to take. It causes gina to lose generality, and prevents us from partitioning SPPH.07:54
wgrantAnd causes gina to give incorrect results for Debian imports.07:55
jtvSo you are saying that we must support Debian re-publishing older package versions.07:56
wgrantI'm saying that to not support that would be limiting gina's usefulness, placing new requirements on our data model... and it's not a large amount of effort to support that.07:57
jtvSo you are saying that we must support Debian re-publishing older package versions.07:57
wgrantAs a result of the other constraints.07:58
Gwgrant: btw, thanks for my new-found fame on the launchpad wiki :)07:59
wgrantG: You should have been there a while ago, but the upgrade to moin 1.9 broke stuff :(08:00
Gwgrant: it only passed QA this afternoon, which I don't class as a while ago :)08:00
wgrantIt landed like 12 hours ago.08:01
Gguess our definitions of a while ago differ ;)08:02
jtvwgrant: So apart from the known, pre-existing problem that only one release of a package is considered published per series/archive/component, it sounds like there would be just 1 problem: “if Debian withdraws publication of the most recent version of a package, the previous version is not automatically reactivated.”  How serious would that bug be?08:02
wgrantjtv: It also prevents us from reasonably archiving SPPH, which is problematic because it's a huge, slow table that we want to be able to archive.08:03
wgrantI continue to maintain that using the dominator here is an unnecessary complication and an incorrect solution.08:04
wgrantBut I must concoct dinner.08:04
wgrantSo I shall return later.08:04
jtvHow does it prevent us from reasonably archiving SPPH?08:05
adeuringgood morning08:07
Gadeuring: good $localtime08:07
=== almaisan-away is now known as al-maisan
wgrantjtv: We would have to adjust the query to look for both, which is slow and silly.08:38
=== allenap changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: allenap | Critical bugs: 244 - 0:[#######=]:256
=== jtv is now known as jtv-afk
nigelballenap: Hi, can I add https://code.launchpad.net/~nigelbabu/launchpad/specification-validation-59301/+merge/73631 to your queue? :)09:05
nigelbwgrant: Oh no. He's back.09:06
wgrantnigelb: I know :(09:06
LPCIBotProject devel build #1,021: STILL FAILING in 3 hr 57 min: https://lpci.wedontsleep.org/job/devel/1021/09:16
lifelessStevenK: your hudson cert has expired09:21
nigelb...09:21
nigelblifeless: We've been plotting ways to keep you away.09:22
lifelesswhy?09:22
nigelbBecause you're "supposed" to be away :)09:22
nigelbAlso, how's the baby?09:22
lifelessstill in ICU09:24
lifelessI'm about to crash and sleep and then head back in in the morning09:25
lifelessso - gnight.09:25
rvbann lifeless.09:25
nigelbg'nite lifeless09:25
allenapnigelb: Sure, I'll look at that.09:31
nigelballenap: Thanks :)09:34
nigelbdanilos: thanks for the review, updating.09:38
StevenKwgrant: No.10:21
wgrantStevenK: Well, they're certs, and they're free.10:24
wgrantNot sure if IE likes them, but meh.10:25
nigelbdanilos: Hi, could you help me quickly with find_tags_by_class?10:34
nigelbI'm just wondering how I would grab the right one :)10:34
Gdanilos: can I put https://code.launchpad.net/~dev-nigelj/launchpad/bug61428/+merge/73632 in your queue (from our discussion last night)10:49
nigelb*faceplam*, the nigel in that gets me pinged.10:49
nigelb:D10:49
Gnigelb: don't worry whenever I see your name in chat, I think it might be poorly addressed to me :)10:50
Gnigelb: I think I'll just /nick Nigel ;)10:50
nigelbG: haha, how confusing :D10:50
nigelbif you /nick nigel, everyone who has to talk to both us are going to be surprised :D10:51
nigelbhmmm, you'll get pinged for my test failures.10:51
Goh... Happy Mailman Day :)10:52
nigelbheh, I tweeted that when I woke up.10:52
danilosnigelb, I can try, but generally, it should be simple to iterate over it and list all the returned items (the fact that you'll get only one should not hold you back from iterating over it)10:53
nigelbdanilos: nevermind, trial and error saved the day.10:53
danilosG: in general, it is good to get more eyes to look at something, so I suggest you go over it with the current OCR, allenap :)10:53
Gdanilos: okay10:54
nigelbI printed the entire list and grabbed the index of the one I want. I hope that isn't evil.10:54
Gallenap: could you please, when you have time, take a look at https://code.launchpad.net/~dev-nigelj/launchpad/bug61428/+merge/73632 for me?10:54
danilosnigelb, cool10:54
Gnigelb: sorry for the ping ;)10:56
nigelbheh10:56
nigelbheh10:56
nigelbI wish bzr didn't throw a huge traceback when I Ctrl+C'd it.10:58
Gnigelb: if you use irssi, you could maybe modify https://github.com/nigeljonez/misc-scripts/tree/master/irssi to prevent the highlights on 'nigelj' just a thought10:58
nigelbG: I could, but I don't want to :)10:59
=== henninge is now known as henninge-lunch
Gokay, so I was looking at https://bugs.launchpad.net/launchpad/+bug/810551 how does at the bottom: "Announced: <date>" sound?11:00
_mup_Bug #810551: +announcement/nnn lacks date information <anouncements> <trivial> <ui> <Launchpad itself:Triaged> < https://launchpad.net/bugs/810551 >11:00
G(like the Updated on: <date> that shows on some announcements)11:01
Gthat or: "Written for <project/distro/etc> by <person/team> on <date>. everywhere, and none of this: '<date>: Announcement title' thing on the +announcements list page11:03
GSo like: http://dev.nigelj.com/announcementchange.png instead of say https://launchpad.net/mailman/+announcements11:07
nigelbGah @ doctests.11:20
jelmerGah indeed.11:21
nigelbwoah, it passsed. *tries again to confirm*11:21
nigelb\o/11:23
stuballenap: https://code.launchpad.net/~stub/launchpad/pgbouncer-fixture-noca/+merge/73525 if you are free11:25
allenapstub: Sure.11:25
=== almaisan-away is now known as al-maisan
rvbaallenap: wgrant I'm working on 837975 and perhaps one of you guys can give me a hand with something:11:34
wgrantBug #83797511:34
_mup_Bug #837975: Distro +add and +edit page don't have settings for virtuality and restricted architectures <derivation> <Launchpad itself:Triaged> < https://launchpad.net/bugs/837975 >11:34
wgrant:(11:34
allenaprvba: I'm about to stop for lunch, but I'd be happy to help after that.11:35
rvbaIf I change the field "Enabled restricted families" (I unselect the only available option "ARM Processors" I get "CannotRestrictArchitectures: Main archives can not be restricted to certain architectures"11:35
wgrantrvba: Right, PRIMARY archives don't have architecture restrictions.11:35
wgrantrvba: I have argued that this is a mistake.11:35
wgrantBut Julian has argued otherwise.11:35
wgrantIt seems he may have relented.11:35
rvbawgrant: He told me you guys did not agree about something related to this bug ...11:36
wgrantrvba: That was a different thing.11:36
wgrantI argued there that we can just link to main_archive:+admin11:37
rvbawgrant: ok, so what do you think about my problem? I don't see the point of adding this field if you cannot do anything with it.11:37
rvbaAm I missing something?11:38
wgrantrvba: I suspect that Julian has forgotten it doesn't do anything.11:38
wgrantIt probably should do something, but that's more work.11:38
rvbawgrant: I guess I'll put that on hold until he returns then.11:38
rvbaUnless you have a better idea?11:39
wgrantrvba: Not sure. Fixing this is probably mostly a matter of deleting code and adding a few rows to the production DB.11:39
wgrantIt's unfortunate that he's off for a while :(11:39
rvbaOk, I'll work on others bugs for now ... thanks for your help wgrant.11:40
nigelbdanilos: do you want to finish the review of https://code.launchpad.net/~nigelbabu/launchpad/patch-edit-684548/+merge/73514 or do you want me to ask OCR?11:46
danilosnigelb, looks good, thanks for all the improvements11:47
danilosnigelb, can you please set the commit message and I'll get it landed for you11:48
nigelbdanilos: done! Thanks :)11:49
StevenKallenap: O hai -- how do you feel about reviewing a 1,300 line branch?12:10
=== henninge-lunch is now known as henninge
allenapStevenK: Of deletions, fine. Of Soyuz or Translations, not so fine.12:30
nigelbhaha12:32
allenapG: Was the "okay, so I was looking at https://bugs.launchpad.net/launchpad/+bug/810551 ..." bit meant for me?12:32
_mup_Bug #810551: +announcement/nnn lacks date information <anouncements> <trivial> <ui> <Launchpad itself:Triaged> < https://launchpad.net/bugs/810551 >12:32
Gallenap: meant in general12:34
StevenKallenap: Based on the URL, you can guess. :-P https://code.launchpad.net/~stevenk/launchpad/no-more-staticdiff/+merge/7283012:35
Gallenap: basically to anyone that had any thoughts on it12:35
allenapStevenK: I am happy to review that :)12:36
allenapStevenK: I assume a follow-on branch will DROP TABLE staticdiff?12:37
StevenKallenap: wgrant and I were not sure if slony would die horribly over that, but yes, that or something like it is the plan.12:38
wgrantStevenK: We can't drop tables at the moment. We drop FKs, move the table to the todrop schema, and then stub probably does something to it.12:39
StevenKSo "something like it" it is. Fine.12:39
stubNah, upgrade.py does stuff to it12:39
wgrantstub: Oh, I'd never seen that bit,.12:40
stubIts all automated. Just change their schema rather than DROP TABLE.12:40
wgrantBut so it does.12:40
allenapStevenK: The chunk at line 730, does that make sense any more? Ah, I assume requestUpgrade() creates a job?12:42
StevenKSo we land a patch to switch the tables namespace to 'todrop'?12:42
StevenKallenap: Yes, requestUpgrade creates a job.12:43
StevenKallenap: I've gone through and I'm reasonably sure that all of the tests pass and pyflakes/lint is happy12:43
nigelballenap: ouch, ran into some disturbing trouble.12:43
nigelballenap: its not actually escaping <script> blocks12:43
allenapnigelb: It will if you use structured() in the way I suggest, because I tried it here :)12:44
StevenKallenap: The diff at line 89{4,5} makes me sigh, once you hit it.12:44
wgrantnigelb, allenap: What are we up to?12:44
nigelbwgrant: https://code.launchpad.net/~nigelbabu/launchpad/specification-validation-59301/+merge/7363112:45
nigelballenap: oh? I did make that change first. Let me re-check12:45
allenapStevenK: Is there no worth in modifying TestRevisionMailJob instead of ditching it? Erm, I guess I'm asking if removing it reducing our test coverage?12:45
StevenKRMJ still does stuff, sadly12:45
wgrantnigelb: Oh, you're not actually using a script tag, just using it to test injection. I am no longer terrified.12:46
wgrantallenap: Thanks for picking that up.12:46
allenapHehe :)12:46
nigelbwgrant: haha.12:47
=== jcsackett changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: allenap, jcsackett | Critical bugs: 244 - 0:[#######=]:256
nigelbGAH.12:51
nigelbForgot to save the file.12:51
Gallenap: btw, if you do have views on my question, I'd be happy to hear them12:54
allenapG: Yeah, I'm finishing something off then I'm going to take a look :)12:56
Gallenap: okay, thanks :)12:56
StevenKHe's finishing of a review of mine that is making his eyes bleed12:57
GStevenK: does the code make his machine poke sticks of RAM in his eyes?12:58
nigelbI the "making eyes bleed" is understood with StevenK's branches.12:58
nigelb*I think12:58
allenapG: That looks good. I am not a Launchpad UI god, but a change like that is undoubtedly an improvement regardless of whether or not it completely satisfies the UI gods.13:07
Gallenap: so basically that screenshot is okay?13:08
allenapG: Yeah, I like it.13:09
G(I was thinking of removing the trailing . though, because it looks odd)13:09
allenapG: Ah yes. Bug pages don't have the trailing full-stop so that's a good call.13:10
StevenKallenap: Thank you for the review.13:12
Gnow to work out what tests I have to run13:12
Gdon't exactly feel like waiting until 5am or later for tests to finish :)13:12
StevenKG: Well, what did you change?13:12
allenapStevenK: Welcome :)13:13
GStevenK: just lib/lp/registry/templates/announcement-macros.pt13:13
nigelballenap: I fixed everything! Could you re-review https://code.launchpad.net/~nigelbabu/launchpad/specification-validation-59301/+merge/73631 ?13:14
allenapnigelb: Sure :)13:15
StevenKG: Right, so that seems a little far reaching. bin/test -vvt registry might be enough of a subset. Or you could try bin/test -vvt announcement and see what you hit13:16
GStevenK: thanks13:16
StevenKG: Or you can grep around and see which views use those macros and then see which tests use those views13:18
GStevenK: is -t <foo> basically  tests matching views with <foo> in their path?13:20
StevenKG: Right13:21
Gwell lib/lp/registry/browser/tests/announcement-views.txt in particular passed fine13:28
benjiG: once you start running the same set of tests over and over again (doing TDD for example), you can use -m to tell the test runner to only look at a particular module; that will take 5-10 seconds off of the testrunner startup time13:43
Gbenji: ahhh okay13:44
benji(and -t and -m work well together too)13:44
Gso I could do something like ./bin/test -m registry -t announcement to only do announcement tests related to registry?13:45
StevenKG: You can, yes13:49
nigelbOf course you'll break some doctest you have clu about sometimes.13:50
Gthanks for that, learn something everyday :)13:50
deryckHello, all.13:51
deryckadeuring, abentley, henninge -- sorry about missing the standup.13:51
deryckI have a patched tire now. :)13:51
abentleyderyck: sorry to hear about the tire.13:51
deryckabentley, thanks.  not too big a deal.  I could pull of to a station easily.  Just slow waiting.13:52
allenapOops, nigelb, I got distracted. r=me. Want me to land it for you?13:55
nigelballenap: Yes, please :)13:56
nigelb... \o/13:56
nigelbI just moved up to 4th spot :)13:56
benjiG: to be exact, you could do "bin/test -m lp.registry -t announcement" (-m takes a module path)13:57
nigelbEnough Launchpad for 2 full working days :)13:57
nigelbOnto other projects13:57
Gbenji: ahhh right13:57
Ursinhanigelb: thanks :)14:06
nigelbUrsinha: \o/ :)14:07
Ursinhanigelb: :D14:07
Gwoohoo, all registry & announcement tests passed14:09
Gallenap: for this template branch, would you be able to review it?14:15
allenapG: Yeah, sure.14:15
Gallenap: any objection if I don't put a lot of content in the cover letter thing seems a bit hard to fit stuff in each section without repeating too much14:16
allenapG: As long as I understand it, it's fine. Don't treat it like a tax form :)14:17
nigelbThat was...WOW. The best I've heard.14:18
Gallenap: oh gosh, tax forms... I had to fill out an Australian one once, and nearly blew my top14:18
mrevell /me wonders if we should rename the channel #nigel-dev14:20
nigelbhaha14:21
Gmrevell: haha14:21
mrevell:)14:21
nigelbI think G and I have led talking in this channel for the past few days14:21
Gthat reminds me, I should invite nigelb into the super secret social club ;)14:21
G(joking of course)14:21
nigelbAnd the fun bit? If G /nicks to nigel, this will be a confusing channel all around.14:21
rvbawgrant: About #827608, would you by any change have an idea where I could store announce_from_person=announce_from_person (passed to do_copy) to be able to use it in person._latestSeriesQuery (to populate ~xx/+related-software).14:25
_mup_Bug #827608: Sync requester isn't credited with upload <derivation> <Launchpad itself:Triaged> < https://launchpad.net/bugs/827608 >14:25
Gallenap: MP: https://code.launchpad.net/~dev-nigelj/launchpad/bug-810551/+merge/7367314:26
rvbawgrant: I know it's late for you, feel free to ignore my question ;)14:26
Gallenap: there is also https://code.launchpad.net/~dev-nigelj/launchpad/bug61428/+merge/73632 if you've got time14:26
allenapG: Yeah, I've got time for both.14:27
Gexcept, if youcan wait a second, I'd like to make one more change for the 61428 one14:27
nigelbmrevell: HAHAHA. Excellent tweet.14:27
Gnigelb: got a link?14:28
nigelbhttps://twitter.com/#!/launchpad_net/status/10927058084653465614:28
Gmrevell: haha thanks14:28
* G follows @launchpad_net now :)14:28
mrevellI kinda feel we're going for a buy two, get one free deal.14:29
mrevell:)14:29
nigelbhaha14:29
Gnigelb: we could start a TV show... "The Two Nigels" :)14:30
nigelbWe could start a podcast :P14:32
jelmerwe used to have a Launchpad podcast, back in the day...14:34
nigelbjelmer: revive it!14:35
jelmermrevell: this was one of the items I missed in your "my plans for Launchpad" email.14:35
wgrantrvba: There is nowhere.14:36
rvbawgrant: ok then maybe I need another plan.14:36
wgrantrvba: There's no way to track copies.14:36
wgrantrvba: I raised this a year ago, but it's been conveniently ignored for 12 months :)14:36
mrevelljelmer, I'm recruiting a new "communications" person. If they have time for a such thing, it might be fun to do it again. I'd want to think about what sort of benefit it was bringing Launchpad, though. Ad-hoc episodes now and then seems fine to me, though.14:37
rvbawgrant: and now it's on me ;)14:37
jelmermrevell: I was mostly kidding, though I did enjoy the podcast.14:37
wgrantrvba: Fun. I think we need to discuss with bigjools next week. It requires a significant amount of thought.14:37
wgrantLaunchpod was good.14:37
mrevellheh, I'm glad you liked it. Maybe we should do it again.14:37
nigelbOne every meetup would be nice14:38
nigelbSo, one from UDS, one from Thunderdome, etc14:38
Gallenap: I just pushed the change to the bug61428 branch, just adds an extra test14:38
rvbawgrant: k14:38
* rvba marks another card 'blocked'. Sigh.14:39
=== al-maisan is now known as almaisan-away
mrevellnigelb, That's definitely do-able.14:39
nigelbmrevell: \o/14:40
jelmermrevell: that reminds, I wonder if it would be possible to do a blog post about the improvements for the code imports I've done recently14:45
jelmermrevell: if that's ok, should I just send you an email with a suggested text?14:45
mrevelljelmer, Yes please!14:46
nigelbI need to blog to the planet on some of the stuff I've done.14:47
nigelbSome are nice!14:47
nigelbLet me wait for the last two to land.14:47
mrevellnigelb, If you have something for the Launchpad blog, let me know.14:48
nigelbhrm I could just give you stuff that should go on the Launchpad blog instead, yeah.14:48
mrevellWhichever you prefer.14:49
Ghaha just red the person picker post... people would have fun finding me by IRC nick there ;)14:50
G*read14:50
GI'd imagine everyone with a 'g' in their name, e-mail address etc would appear14:51
allenapG: I think three characters must be provided before it'll even attempt a search.14:54
Gallenap: ahh yeah, I forgot about that rule14:54
=== matsubara is now known as matsubara-lunch
henningewhat's the reason for this failure again?15:42
henningeComponentLookupError: (<InterfaceClass canonical.launchpad.webapp.interfaces.IPlacelessAuthUtility>, '')15:42
henningein a test15:42
allenaphenninge: Try a different layer perhaps? The utility is not registered.15:51
henningeallenap: yes, I am trying that currently. thanks15:51
Gallenap: how did you see leading dates in the titles on +announcements?15:51
Gallenap: the diff removed them15:52
G(lines 8/9/10)15:52
stubgary_poster: Do you happen to know where our current Storm is from? Trunk or a branch?15:54
henningemuch better15:54
stubgary_poster: nm. annotate tells me it was StevenK. I'll sort it tomorrow.15:55
gary_posterstub, lp:~launchpad-committers/storm/with-without-datetime15:55
gary_posterok stub15:55
timrcI'm creating PPA's on staging but they do not seem to be getting whacked every 24 hours, is there a way to do this? deleting ppas is only a partial deletion (it doesn't seem possible to delete a PPA and then create one with the same name)15:57
=== beuno is now known as beuno-lunch
allenapG: Yes, of course, oops. Ignore me.16:02
Gallenap: I like your tests, I should've thought of it, I'll add them, plus an extra test :)16:02
allenapG: Cool.16:03
Gallenap: actually, the idea for the third test was a bit flawed16:09
gary_posterG, I am envious of your nick ;-)16:10
Ggary_poster: haha, had it since late `0516:11
cr3if I have a question about login.launchpad.net, should I ask here or to the isd folks?16:11
gary_poster:-) cool16:11
gary_postercr3, isd16:11
cr3gary_poster: cheers!16:12
gary_posterwelcome :-)16:12
=== matsubara-lunch is now known as matsubara
Goh whoops didn't mean to do that16:17
GI thought for some reason, selecting resubmit in the dropdown, would somehow mark the review as a resubmit request16:18
Gallenap: I updated the merge proposal, but may have stuffed it up at the same time16:18
allenapG: Okay :) I'll take a look.16:19
allenapG: Btw, the Resubmit status is meant for use by the reviewer. It's confusing, and others have had made this mistake too (including me). I assume this is what you meant by stuffing it up?16:21
henningeadeuring: The script does not work.16:21
adeuringhenninge: what's the problem?16:22
henninge"find" is not a method of ResultSet, it is a method of store.16:22
henningeStore, even16:22
allenapG: Want me to land it for you?16:22
Gallenap: yeah, thats what I meant16:22
Gallenap: yes please16:22
cjwatsonallenap: is it meant to be "Needs resubmission" or something?16:23
adeuringhenninge: ResultSet has such a method too. But it accepts only WHERE clauses16:23
Gcjwatson: I think that'd be a better status16:23
cjwatsonah yes, https://help.launchpad.net/Code/Review16:23
allenapcjwatson: Yeah, that would be a better name.16:23
henningeadeuring: So I'll either need to extend getByStatus or put the Storm query in the script code.16:23
cjwatson"Needs reworking" based on that help page16:23
henningeadeuring: ForbiddenAttribute: ('find', <storm.store.ResultSet object at 0x104d09ec>)16:23
henningeadeuring: I'll have a look at the api doc to see what you might be thinking of.16:24
adeuringhenninge: right... remove_security_proxy might work. but that's odd place to use it...16:24
henningeadeuring: no, "ForbiddenAttribute" is not about security.16:25
henningeadeuring: you'd see "AuthorizationError" in that case16:25
GI will take it as a sign that I need sleep, so have a good day all :)16:25
henningeForbiddenAttribute is misleading ...16:25
adeuringhenninge: rihgt. but let me check the class resultset16:25
henningeadeuring: I am doing that now16:25
henningeadeuring: hm, you are right, there is one.16:26
henningein the api doc16:26
henningeadeuring: so, removeSecurityProxy helps16:31
henningeodd16:31
adeuringindeed16:31
henningemaybe I am wrong about ForbidenAttribute16:31
henningeadeuring: I won't be able to add the support for distroseries search.16:34
adeuringhenninge: sure, no problem. Just try to finish what you have :)16:35
henningeadeuring: that is something that should be included in HWSubmissionSet16:35
adeuringright16:35
henningeadeuring: So, it's almost done now but using removeSecurityProxy.16:36
adeuringhenninge: so, let's wait for a review :)16:36
adeuringanybody around with some ELementTree-fu? this method http://paste.ubuntu.com/679902/ is supposed to move two node from one parent to another. Or to add missing nodes to the new parent. (The exact content of the old parent does not matter). Running a RelaxNG validation later fails, but if I move the data around in the XML text, things work...16:37
adeuringflacoste: ^^^?16:38
=== allenap changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: jcsackett | Critical bugs: 244 - 0:[#######=]:256
=== salgado is now known as salgado-lunch
henningeadeuring: also, the find does not even work. :(16:42
adeuringhenninge: ouch.. which expression do you use?16:42
henningeadeuring: what do you mean?16:43
adeuringwhich parameter do you pass to find()? or... remember to use new_resultset = resultset.find(whatever)16:43
henningeadeuring: I did not change that code16:44
adeuringhenninge: cyn you paste it?16:44
henningeadeuring: let me try something first16:45
henningeadeuring: there was no assignment16:45
henningesee, now it passes ;-)16:46
adeuringhenninge: ahhh, sorry ofr this16:46
henningeyeah, I missed that, too16:46
=== beuno-lunch is now known as beuno
Ursinhagary_poster: hi :) do you know if there's anything going on with launchpad? I can't view bugs, they're timing out16:59
gary_posterUrsinha, hi!  happy birthday, yeah?16:59
Ursinhathanks :)17:00
mrevellNight all17:00
gary_posterUrsinha, I'm about to go to a dr. appt.  deryck, benji, bac, are any of you all available to investigate the graphs and such?17:00
Ursinhathanks gary_poster :)17:00
gary_posterwelcome :-)17:00
benjigary_poster: sure (once I figure out what you're talking about) ;)17:01
henningeadeuring, deryck: I have to run now, I am sorry. Got an appointment in an hour.17:01
adeuringhenninge: np, have a nice evening!17:01
henningeI prepared the MP and made the branch owned to the squad.17:01
Ursinhabenji: I'm facing timeouts since this morning17:01
henningehttps://code.launchpad.net/~launchpad-orange-squad/launchpad/abel-broken-hwdb-reports/+merge/7369717:01
Ursinhanow I just can17:01
Ursinhacan't view bugs anymore17:01
Ursinhathey're timing out17:01
henningeadeuring: I prepared the MP and made the branch owned to the squad.17:02
adeuringhenninge: ok, thanks17:02
Ursinhabenji: I'm trying to view this bug: https://bugs.launchpad.net/ubuntu/+source/gwibber/+bug/61965417:02
_mup_Bug #619654: gwibber-service crashed with GError in __getitem__() <amd64> <apport-crash> <maverick> <natty> <ubuntu-une> <Gwibber:New> <gwibber (Ubuntu):Confirmed> < https://launchpad.net/bugs/619654 >17:02
gary_posterbenji, heh.  take a look at https://wiki.canonical.com/IncidentReports/2011-08-19-LP-confused-query-plan-degraded-performance .  It has links to a lot of tools I used to look at performance for a recent incident.17:02
benjik17:03
gary_posterbenji in particular https://lpstats.canonical.com/graphs/OopsLpnetHourly/ ...17:03
benjiUrsinha: if you log out do you see the same behavior?17:03
Ursinhahaven't tried, a momen t17:03
gary_posterbenji, https://lp-oops.canonical.com/reports/production/2011/08/19/ (adjust for today)17:03
benjigary_poster: thanks17:04
Ursinhabenji: cool, logged out that works fast17:04
gary_posterbenji, https://lpstats.canonical.com/graphs/OopsLpnetHourly/ looks fine17:04
gary_posterbenji, so does https://lpstats.canonical.com/graphs/DBCpuLoadAppServers/17:05
Ursinhaand logging in back times out again17:05
benjiUrsinha: I wondered if that would be the case, I suspect there is /something/ different about you that it is spending too much time on.17:05
deryckhenninge, ok, adeuring and I will make sure we get it landed.17:05
gary_posterUrsinha, could you give us an OOPS please?  In a perfect world, it would be old enough to actually be synced to devpad, like at least 20 min or 30 min17:05
henningederyck: cool, thanks17:05
henningederyck, adeuring: Good luck and see you on Monday.17:06
Ursinhasure17:06
adeuringhenninge: thanks and a nice weekend17:06
Ursinhabenji: I'm subscribed to tons of teams that are subteams of other teams and yada yada17:06
* henninge hugs Ursinha17:06
Ursinhagary_poster: benji: OOPS-2070AW6917:06
Ursinhahenninge!17:06
henningeUrsinha!17:06
* Ursinha hugs henninge back17:06
gary_posterack Ursinha, thanks, looking17:06
henningeHappy birthday! (if FB is not lying)17:07
henningeUrsinha: ^17:07
henninge:-D17:07
benjiUrsinha: yeah, I guess that a recent deployment introduced a pessimization that hit you hard; we'll see if we can find it17:07
Ursinhait's not :) thanks!17:07
Ursinhathanks benji17:07
Ursinhashould I file a bug about it?17:07
* henninge has to run17:07
benjiyeah, a bug sounds like a good idea17:07
Ursinhacool, I'll file it now17:08
benjiUrsinha: reference that oops too (although I can't see it yet, hopefully it'll show up shortly)17:09
gary_posterbenji, as I imagine you have discovered, OOPS is not there yet.  https://wiki.canonical.com/Launchpad/FreshLogs tells you how to request logs on devpad, and then you can look at them directly17:09
benjigary_poster: thanks17:09
gary_posterI'm requesting the oops summary page now...there it is17:10
Ursinhabenji: do you want the traceback?17:10
UrsinhaI can see it in the oops page17:10
benjiUrsinha: that'd be great17:10
gary_posterPossible OOPS to investigate17:10
gary_posterhttps://lp-oops.canonical.com/oops?oopsid=OOPS-2070DT3017:10
gary_posterhttps://lp-oops.canonical.com/oops?oopsid=OOPS-2070DQ617:10
Ursinhabenji: http://paste.ubuntu.com/679935/17:11
Ursinhais the problem happening when trying to load the subscription portlet or I'm seeing it wrong?17:11
gary_posterbenji, Ursinha, this is https://bugs.launchpad.net/launchpad/+bug/81144717:12
_mup_Bug #811447: BugTask:+index timeout - death by sql in PersonSubscriptions(user, bug) <timeout> <Launchpad itself:Triaged by gary> < https://launchpad.net/bugs/811447 >17:12
gary_posterI have a branch to fix it that I was working on just then :-P17:13
Ursinhagary_poster: cool! :)17:13
benjiUrsinha: yeah, it's building the subscription portlet when it runs out of time; of course something else might have used up all the time before that, but it's a smoking gun17:13
benjigary_poster: very nice17:13
benjigary_poster: cool, I'll put it in my notes17:15
Ursinhathanks gary_poster and benji17:18
gary_posterWelcome Ursinha.  It won't be rolled out today as a birthday present, but hopefully early next week :-)  fwiw, the trigger should generally be bugs with many duplicates, to which one or more of your teams are subscribed.17:19
UrsinhaI see.17:21
Ursinhathanks anyway! :)17:21
gary_posterjcsackett, I have three branches ready for review if you are willing to do it while I am absent for doctor's visit.  If not, no prob.17:26
gary_posterhttps://code.launchpad.net/~gary/launchpad/bug838869/+merge/7369517:26
gary_posterhttps://code.launchpad.net/~gary/launchpad/bug838878/+merge/7370217:26
gary_posterhttps://code.launchpad.net/~gary/launchpad/bug811447/+merge/7370417:26
gary_poster(The second two depend on the first.)17:26
gary_poster# 2 is 913 lines, but #3 is 181.17:26
jcsackettgary_poster, i saw. i'm finishing lunch now, then i'll start in on them. :-)17:26
gary_posterthanks jcsackett :-)17:26
=== salgado-lunch is now known as salgado
flacosteadeuring: did you solve the issue?17:43
adeuringflacoste: no :( It's really odd. Let me paste some related stuff...17:43
flacosteadeuring: it's like if Relax-NG wasn't taken the new nodes into account?17:44
adeuringflacoste: exactly17:44
adeuringthe odd thing is: If I write the modified tree to a file and read the file back into another tree, things are fine17:44
adeuringflacoste: http://paste.ubuntu.com/679965/17:45
adeuring...like so17:45
adeuringflacoste: if I remove line 23, things break...17:45
=== matsubara is now known as matsubara-afk
adeuringflacoste: I am currently simply using regexes for the same job. ugly, but more promising :)17:46
flacosteadeuring: i don't understand line 23 is identical to line 917:49
flacosteand it's not like if submission changed between the two?17:49
adeuringflacoste: that should have been etrre.parse(f,...)17:50
adeuringflacoste: let me check again...17:51
flacosteadeuring: the error is when validating which works with a string anyway, no?17:55
adeuringflacoste: arghhh sure!17:55
* adeuring is an idiot17:56
adeuringso, regexes FTW17:56
adeuringthanks!17:56
adeuringso that's why writing to a file and reading (properly...) back worked17:57
adeuringflacoste, deryck: but: seems that the idea to move two nodes around works. Have tested so far just one HWDB report, so I am not _that_ sure, but anyway17:58
deryckcool18:01
* deryck has fingers crossed18:01
flacosteadeuring: btw, getchildren is deprecated in 2.7, using list(node) would work in both 2.6/2.718:03
adeuringflacoste: ah, thanks.18:03
flacosteadeuring: and you can node.findall('name') instead of the list comprehension you are currently doing18:03
flacostethere is also a findtext() not sure if that would be useful to you currently18:04
adeuringflacoste: ok, but I opted for a regex variant :)18:04
adeuringsince we need the string representation anyway18:04
flacostefindall() takes a node name or a xpath subset: http://effbot.org/zone/element-xpath.htm18:06
adeuringflacoste, deryck: with the data modification intended by the broken method, 848 from 858 reports that we unusable before can now be processed :)18:11
flacosteadeuring: awesome!18:11
deryckadeuring, very nice!18:11
adeuringflacoste: what do you think: should I keep a regex based fix. or shouldd we goo back to tweaking the element trre, write it back to a string, and validate this string?18:12
flacosteadeuring: what does the regexp-based fix look like?18:13
flacosteit's doing substitution on the original document string?18:13
adeuringflacoste: http://paste.ubuntu.com/679992/ (7 is unrelated to the current discussion -- that's about ESC characters in lots of other reports)18:14
adeurings7/line 7/18:14
adeuringflacoste: http://paste.ubuntu.com/679995/ (with regexes inlcuded)18:15
flacosteadeuring: it's not as gross as i thought it would be :-) probably faster also18:17
adeuringright, I suspect too taht it's faster18:17
flacostesince this is big kludge anyway... i'd be tempted to let it go18:17
flacostei'd suggest making the _udev_node_exists and _dmi_node_exists non-greedy18:18
flacoste.*? instead of .*18:18
adeuringflacoste: of course, sure18:18
adeuringflacoste: they also need a DOTALL flag18:18
flacosteit will fail faster18:18
flacosteright, because of the newlines18:19
adeuringexactly18:19
adeuringI didn't test this branch against "working" reports yet...18:20
adeuringwanted to see first if the approach is usabel at all18:20
=== mwhudson_ is now known as mwhudson
adeuringjcsackett: could you please review this mp: https://code.launchpad.net/~adeuring/launchpad/hwdb-test-natty-mess/+merge/73722 ?20:51
jcsackettadeuring: i'll do it as soon as i finish the one i'm looking at now. :-)20:52
adeuringjcsackett: ok, thanks!20:52
flacostejcsackett, adeuring: already done :-)21:07
jcsackettflacoste: cool. :-)21:08
adeuringflacoste: thanks!21:08
adeuringflacoste: right, the test is really not very comprehensive -- but the later running parts of the processing script are quite paranoid, so I think we can be sure that we will not store nonsensical stuff21:10
flacosteadeuring: right, you might add a comment to the test saying that the call would raise an exception without the work-around21:10
flacosteor something like that21:11
flacosteso that it's obvious that the assert is really not the meaningful test21:11
adeuringflacoste: right21:11
flacosteit might even be superfluous21:11
adeuringnight everybody21:18
thumpermorning21:25
=== flacoste changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: jcsackett | Critical bugs: 237 - 0:[#######=]:256
=== jcsackett changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: - | Critical bugs: 237 - 0:[#######=]:256
jelmerhey thumper, mwhudson22:31
jelmerhmm, the scanner doesn't seem to like ~vcs-imports/libreoffice/core22:41
mwhudson_jelmer: it oopses with 'job ran too long'23:00
jelmeroh, oops..23:01
mwhudson_jelmer: in getAncestryData i think, before even it starts inserting stuff into the db23:01
jelmermaybe 2.4 will help with that23:01
jelmerjams recent fixes for get_parent_map will definitely  help23:01
=== wallyworld changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: wallyworld* (jtv) | Critical bugs: 237 - 0:[#######=]:256
wallyworldthumper: you must be missing launchpad - you've been poking around in here a bit of late :-P23:34
thumperwallyworld: I've found some things, particularly in email, that I want changed23:34
wallyworldi can imagine :-)23:35
wallyworldhave you raised bugs?23:35
wallyworldthumper: what do you want fixed?23:36
thumperbug email headers23:36
thumperimapfilter only checks the first occurrance of a particular header it finds, like X-Launchpad-Bug23:36
wgrantReally? That sounds like a pretty glaring flaw.23:37
wallyworldthumper: and we stuff multiple X-Launchpad-Bug header items into the message?23:37
thumperyep, one per task23:39
thumperwgrant: it is defined in the imap rfc23:39
thumperfor remotely selecting messages23:39
wgrantStill sounds like a pretty glaring flaw.23:40
wallyworldthumper: so with the squad reorg, unless a bug is critical or part of feature work, it's unlikely to get done sinze we currently have so many criticals to burn down23:40
wallyworldunlikely to get done soon23:41
wgrantAnd even if it is escalated to critical, it's unlikely to be done within 6 months.23:41
wallyworldthumper: so in other words, patches welcome :-)23:42
wallyworldbut changing mail headers would have a lot of downstream impact on people's existing mail filters etc, so I guess existing headers would need to be retained?23:42
wallyworldand new ones added?23:43
wgrantSo we have to have three filtering methods.23:44
wgrantYay.23:44
wgrantOne for pathetic Google Mail, one for pathetic built-in IMAP filtering, and one for everything else.23:45
wgrantMaybe we should have an "I use a retarded mail server" option...23:46
wallyworldwgrant: why is gmail retarded?23:47
wgrantIt can't filter on custom headers.23:48
wgrantAt all.23:48
wallyworldwtf? serious?23:48
wgrantYes.23:48
wallyworldwhy????23:48
wgrantThat's why there's all this crap in the body of all emails.23:48
wgrantTo appease Gmail users.23:48
wallyworldwhy would not being able to filter on custom headers appease gmail users?23:49
wallyworldsurely it would do the opposite?23:49
wgrantHm? We have to put all the filtering metadata in the body too, or Gmail users complain that they can't filter.23:50
wallyworldah i think you misunderstood my question - why doesn't gmail support filtering on custom headers i wonder?23:51
wgrantNFI23:51
wallyworldseems like a pretty basic omission23:51

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