/srv/irclogs.ubuntu.com/2012/03/29/#launchpad-dev.txt

StevenKwallyworld_: O hai00:17
wallyworld_hello00:17
wallyworld_did we need to mumble?00:17
* StevenK looks for mumble00:17
StevenKwgrant: How is the second branch wrong? I don't want to set it to private if it's EMBARGOEDSECURITY for the moment.00:44
wgrantStevenK: In commands.py?00:47
StevenKwgrant: Yup.00:47
wgrantStevenK: It will currently AssertionError if given EMBARGOEDSECURITY00:47
StevenKOh, I fixed that, just forgot to commit and push.00:48
pooliewgrant, hi00:55
wgrantpoolie: Hi01:18
StevenKwgrant: I removed the assert, I'm going to toss it at ec2.01:24
StevenKwgrant: As to why createBug() is in systemhomes, I still have NFI01:25
=== abentley changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: - | Firefighting: - | Critical bugtasks: 4*10
lifelesswgrant: got 5 for a quick chat ?02:05
wgrantlifeless: Just got back from lunch. Still around?02:40
lifelessyes02:43
lifelessskype?02:43
wgrantIt hates PulseAudio. Let me see.02:43
lifelesspavucontrol will let you fix that easily02:44
wgrantNo, it won't even connect to PA AFAICT02:44
lifelessoh, thats new and special02:44
wgrantYeah02:44
wgrantHaven't had this one before.02:44
wgrantLet's see if the one from partner works.02:44
mwhudsonPA seems to have decided my headset is not an input device recently03:21
bigjoolsit would be right? :)03:23
StevenKHmm, how do I tell firebug to keep executing JS?04:25
StevenKThe play button. Tricky.04:26
=== bigjools-afk is now known as jtvs-evil-twin
adeuringgood morning07:41
=== jtvs-evil-twin is now known as bigjools_
=== almaisan-away is now known as al-maisan
StevenKcjwatson: Are you good to QA r15036 on DF today?09:01
cjwatsonStevenK: yep, I will be10:59
stubwgrant: If your still there, does PG 9.1 make your life easier with bugtask search data structures? Things are so far on track to switch Production starting 23rd April.11:18
stub(Minor things like the Precise release might affect that :) )11:18
stubThis merge proposal is making me thirsty.11:21
wgrantstub: Being able to use GIN for a second iteration will be nice.11:25
stubSaw your comment about array syntax mentioning 8.411:25
wgrantAnd its better support for text arrays might open up new avenues for tags.11:26
stubBut it isn't worth doing this as a 9.1 specific feature branch?11:26
wgrantNo. This is good enough for now, and we get it a month early.11:27
wgrantAnything 9.1-specific will need more experimentation post-upgrade.11:27
wgrantAnd this is deliberately designed so we can iterate cheaply by introducing new versions of the table.11:27
StevenKI'm looking forward to the death of slony. Oh, and 5 seconds FDT.11:28
=== rick_h changed the topic of #launchpad-dev to: http://dev.launchpad.net/ | On call reviewer: rick_h* | Firefighting: - | Critical bugtasks: 4*10
stubwgrant: What do the indexes ending with the bugtask or bug columns get used for. Is it being used as a creation date (but with stable ordering)?11:34
* stub reads the mp blurb just in case this was explained :)11:35
wgrantstub: Ah, sorry, forgot about the indices.11:35
wgrantstub: Those are bug search sort orders.11:35
wgrantSo bugtask/bug are tiebreakers.11:35
stubJust to ensure consistent ordering?11:36
wgrantbug is used when the context is unambiguous (only a single task for each bug can appear, ie. most contexts), bugtask when it's ambiguous (eg. distributions, where you can have tasks for multiple packages on a single bug)11:36
wgrantYes, I believe.11:36
wgrantAnd to make it logical.11:36
wgranteg. ordering by importance, the first 200000 bugs or so are a single importance.11:36
wgrantAnd having them arbitrarily ordered would be odd.11:36
wgrantThose indices are just a start, but they satisfy all the common bug search cases.11:36
stubBut no need to pull in product.name and friends11:36
wgrantWe may eventually want something more selective on status, duplicateof, etc.11:37
wgrantNo.11:37
StevenKIs this the review of bugtaskflat?11:37
wgrantThere are some orders that I'm probably going to ban on large sets of bugs.11:37
wgrantAssignee name, tag, location name, etc.11:37
wgrantThey're not useful, and very expensive on large sets.11:37
wgrantAnd for small sets it's fine to do the sort as the last stage.11:38
stubI think we should consider telling the user they are being nonsensical if the query results are nonsensical. If the first 200000 bugs are a single importance, the answer isn't important because it is rather useless.11:38
wgrantstub: Indeed.11:38
wgrantstub: But that's the default sort order :)11:38
stubYes, the principal remains :)11:38
wgrantstub: Half these indices are to satisfy eg. https://launchpad.net/launchpad/+bugs11:39
stubJust wrapping my head around what we have here11:39
stubStevenK: Yes11:39
wgrantWith just a straight walk down the index.11:39
wgrantIn 2-3ms.11:39
wgrantPerson:+bugs is going to be interesting. It's not clear what indices are best there.11:39
wgrantFortunately we have feature flags to disable BugTaskFlat use where it doesn't work yet :)11:40
wgrants/doesn't work yet/turns out to be slow sometimes without further indices/11:40
wgrantThe indices *will* need further work, but this seems to be a good start for most things.11:41
stubwgrant: So Celery can use PostgreSQL as a backend. Perhaps these triggers should just launch Celery jobs :-)11:42
wgrantThese are about 100x faster than bugsummary in some cases, and I am rewriting bugsummary to be less insane, so it will be a net speedup :)11:43
* cjwatson would love review of https://code.launchpad.net/~cjwatson/launchpad/proposed-as-staging-pocket/+merge/9991111:46
cjwatsonAnyone mind if I upgrade mawson?11:49
wgrantcjwatson: Go ahead.11:53
wgrantHopefully the DB upgrade won't break.11:53
cjwatsonAnything I need to watch out for in particular?  Or is this the stuff that's been afflicting NDTs?11:54
wgrantNah, just mawson sometimes misses some of the migrations.11:54
wgrantAnd occasionally gets manual BugTaskFlat patches that could conflict.11:54
wgrantBut I think it should be OK11:54
wgrantIf it breaks, yell and I'll fix.11:54
cjwatsonrunning11:55
StevenKcjwatson: Only if you happen to 'upgrade' to something that's 100 revisions behind.11:55
wgrant150, TYVM11:55
StevenKIndeed.11:55
StevenKThat was a fun morning.11:55
cjwatsonHow did that happen?11:55
StevenKcjwatson: Worse, it was on prod.11:56
wgrant'tis a mystery11:56
StevenKAnd we're in the middle of two rather large migrations for disclosure.11:56
cjwatsonhmm, Text conflict in lib/lp/scripts/garbo.py11:56
wgrantbzr resolve --take-other11:56
wgrantThat's from when I was manually running a single garbo job to complete a migraiton11:56
cjwatsonmkay11:59
cjwatsonmawson's bzr is too old for resolve --take-other, I used revert instead, hope that was ok11:59
wgrantYeah, that's fine.12:00
wgrantcjwatson: You win the award for lowest SNR in a Launchpad merge proposal, but approved :)12:09
cjwatsonwgrant: I assumed everyone else's merges were like that nowadays too as they desperately scrabbled for LoC.  Maybe not12:13
wgrantcjwatson: We tend to split branches when the get like that. It's not a strict rule that every *branch* must not be LOC-positive.12:14
cjwatsonOK, I'll try to remember that.  I guess I find it hard to keep track otherwise12:15
wgrantcjwatson: Indeed, that's the problem :)12:16
wgrantcjwatson: Can you set a commit message?12:16
cjwatsondone12:16
cjwatsonAh, mawson at least thinks it's done now.12:16
cjwatsonhttp://people.canonical.com/~cjwatson/tmp/loc.png - I was curious what LoC delta per revision actually looks like since the new policy ...12:32
cjwatsondifferent view from ohloh's12:33
wgrantI've been meaning to get around to repurposing community-contributions.py to provide some kind of analysis like that.12:36
cjwatsonnet +1901 since new policy12:38
cjwatsonwhich is not really obvious from that graph12:40
=== matsubara-afk is now known as matsubara
bacso, perhaps we should limit the length of a bug report title:  pad.lv/94397413:04
rick_hhah, that's great.13:07
stubI think the limit in the db is 2GB13:07
nigelbwtf13:26
nigelbthat is a big title.13:26
=== jcsackett changed the topic of #launchpad-dev to: http://dev.launchpad.net/ | On call reviewer: jcsackett, rick_h* | Firefighting: - | Critical bugtasks: 4*10
deryckI'd be happy to help get another deploy today, but I must admit I have no clue how to qa cjwatson's changes.14:29
deryckI think all of our soyuz experts are australian now, too.  hmmmm14:30
cjwatsonderyck: I just finished QAing it.14:30
deryckcjwatson, ah very good!  Thanks, man.14:31
deryckadeuring, now we're just waiting on your revision.14:32
cjwatsonI'd like that deployed on ftpmaster at some point; I don't know what the deployment procedures for that look like these days.14:32
adeuringderyck: argh, got distracted...14:32
deryckadeuring, np. :)  Can you ping me when it's done, so I can put up a ndt deploy request?14:33
adeuringderyck: sure14:33
deryckcjwatson, I don't know either.  But I'll check into it when I put the deploy request up.14:33
cjwatsonftpmaster (well, the bit of it that matters) is currently on 15032, so not that far back.14:35
cjwatsonOK, LPS says it's still a separate 5-minute window.14:36
deryckah yeah, just saw that too.14:36
deryckso we'll have to schedule that.14:36
deryckmrevell, we're doing a deploy later today that we need deployed to ftpmaster, and that needs 5 minute downtime.  How do we schedule that now?14:36
deryckmrevell, do you or danhg set that up?14:36
mrevellderyck, Hey, for five minutes just ask czajkowski to announce it to the status feed. Antu14:48
mrevellderyck, Anything more than that and I can find out when would have least impact on our stakeholders and users generally.14:49
deryckmrevell, ah ok.  I'll schedule with webops then and ping czajkowski when I know when they can do it.14:49
czajkowskideryck: just let me know the details more than 5 mins before hand and then I can get it out14:49
deryckczajkowski, will do, thanks14:52
=== matsubara is now known as matsubara-lunch
=== Ursinha_ is now known as Guest92471
cjwatsonwgrant: hm, I meant to ask, did you feed my branch to EC2?15:41
cjwatsonI guess I'll find out by the time you read this.15:41
=== deryck is now known as deryck[lunch]
=== salgado is now known as salgado-lunch
=== al-maisan is now known as almaisan-away
cjwatsonwgrant: ... never mind. :-)16:36
=== matsubara-lunch is now known as matsubara
sinzuirick_h, jcsackett. Do you have time to review https://code.launchpad.net/~sinzui/launchpad/obsolete-js/+merge/9997817:03
czajkowskideryck[lunch]: am heading offline for EOD but will be back later if you want an annoucement put out.17:04
rick_hsinzui: will look at it now17:04
=== deryck[lunch] is now known as deryck
deryckczajkowski, ack.  I think it will likely be done tomorrow now.  waiting on QA for a branch.17:07
czajkowskideryck: ok well mail me and I can still annouce it in places for tomorrow17:07
deryckczajkowski, ok, thanks.17:07
sinzuirick_h, can you clarify the space issue now that I see it? I see two spaces...but I like code to be 4 spaces. Do you want me to make it 2 or 4 spaces17:16
rick_hsinzui: sorry, mean the space between the keyword 'function' and the parens17:17
rick_hsinzui: I think most LP people have no space between them, my background nad jslint are for a space17:17
rick_hsinzui: complete nitpick thing17:18
sinzuiokay. I see that.17:19
rick_hother than that, thanks for finding and cleaning that up. One less thing for my long term JS clean up todo list :)17:20
jcsackettsinzui: i have followed up on rick_h, and have nothing to add. r=me.17:23
sinzuithanks jcsackett. I just extracted the script and ran it though lint. There were some == issues that also needed fixing17:37
rick_hdoh, I should have caught those. Evil JS in .pt files...17:37
rick_hsinzui: have a sec for a quick ? on the subscribers stuff?17:39
sinzuisure17:39
rick_hsinzui: I'm trying to see where/how you test that once you have the notification bits working, that the event is bound correctly/working in the actual app layer through your configure.zcml bits?17:39
rick_hall the tests manually generate or call the event method that gets fired17:40
sinzuisorry, thunderbird-aka-shitehawk was stealing focu17:41
sinzuis17:41
sinzuirick_h, we have a utility that subscribes to the event that allows us to see it what was passed.17:43
* sinzui looks for it in answers or registry17:43
sinzuirick_h, sorry, this time I could not find. it We use TestEventListener17:46
* sinzui looks for real example of use17:46
rick_hok, will search for that thanks17:46
rick_hthat's ok, I can peek, just need a hint. Wasn't seeing it in the existing tests I was looking at17:47
sinzuirick_h, http://pastebin.ubuntu.com/905984/17:48
=== salgado-lunch is now known as salgado
sinzui^ the setup is odd because of the registration/deregistration of the listener17:48
rick_hty much sinzui17:49
wallyworldsinzui: i *might* be a few minutes late to the standup. i have to drive my wife to work. hopefully traffic won't be too bad21:00
sinzuiokay21:01
sinzuiwgrant, wrong protocol on port -> http://pastebin.ubuntu.com/906352/22:21
wgrantsinzui: Yeah, that's speaking HTTPS to an HTTP listener.22:22
sinzuiStevenK, I was thinking of bug #36753322:27
_mup_Bug #367533: Collapsible fieldsets don't degrade gracefully when Javascript isn't available <css> <easy> <javascript> <lp-web> <ui> <Launchpad itself:Triaged> < https://launchpad.net/bugs/367533 >22:27
jelmerg'd evenin' launchpadders22:28
wgrantMorning jelmer.22:29
sinzuiStevenK, and bug #67733922:34
_mup_Bug #677339: filebug per-project help is below the fold <confusing-ui> <easy> <lp-bugs> <ui> <Launchpad itself:Triaged> < https://launchpad.net/bugs/677339 >22:34
StevenKwgrant, sinzui: https://www.destroyallsoftware.com/talks/wat22:53
=== wallyworld_ changed the topic of #launchpad-dev to: http://dev.launchpad.net/ | On call reviewer: wallyworld | Firefighting: - | Critical bugtasks: 4*10

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