/srv/irclogs.ubuntu.com/2011/10/11/#launchpad-dev.txt

lifelessmwhudson: suggests we need a newer testtools00:02
lifelessor newer fixtures. EDUNNO00:14
wgrantlifeless: So, oops-amqp's AMQP usage.00:19
wgrantlifeless: At present, if the queue doesn't exist then OOPSes will silently be dropped.00:19
poolieis an ec2 land based on image 522 going to work, or do i need to update onto trunk?00:23
wgrantpoolie: 522 is the latest. If ec2 says it's using that, it will work.00:24
StevenKwallyworld: Thank you for deleting 51800:24
wallyworldStevenK: np. i should have done it sooner00:24
lifelesswgrant: right, it depends on correct config00:34
lifelesswgrant: thats a standard thing in amqp - the producer cannot know what a 'right' config is, can it ?00:36
wgrantlifeless: Right.00:36
lifelesswgrant: we'd check this via nagios I think - send a probe oops through kindof thing00:36
wgrantWe could use the mandatory publish flag, but failure notifications are async and not even exposed by amqplib, I don't think.00:37
StevenKCan haz review? https://code.launchpad.net/~stevenk/launchpad/rest-glob-imports/+merge/7890201:20
lifelesswgrant: right01:27
lifelesswgrant: so as it stands I think its feature complete and usable01:27
lifelesswgrant: and we can write a small respooler for datedir-repo01:27
lifelessanyhow -> next thing01:28
wgrantlifeless: Yep.01:31
wgrantArggh01:36
wgranthttps://launchpad.net/linux-kernel01:36
wgrantHmm, created by a Googler, apparently.01:38
wgrantOddity.01:38
wgrantStevenK: Has garbo-hourly run on qastaging yet?01:39
wgranterm01:42
wgranthttps://code.launchpad.net/~alex-endfinger/google/unity-4.001:42
wgrantI think they must be stopped.01:42
wgrantwhat01:43
mwhudsonhm, isn't that url already imported somewhere else?01:43
wgrantThat's lp:google.01:43
wgrantmwhudson: linux.git vs linux-2.6.git01:43
mwhudsonwgrant: ah ok01:44
wgrantTempting to deactivate both projects, too.01:46
wgrantOne's a dupe, and one's insane.01:46
wgrantAh, jelmer may be on the case as well.01:47
wgrantWe need a "cripple user until they are not doing crazy things any more" button :(01:54
wgrant=== Top 10 Durations ===02:02
wgrant   190.98s  OOPS-2109ED42   Distribution:+questions02:02
wgrant    30.57s  OOPS-2109EC14   Distribution:+ppas02:02
wgrantHeh.02:05
wgrantDistribution:+ppas is the same thing.02:05
wgrantI saw it show up on the OOPS reports a couple of days back, didn't think much o fit.02:05
wgrantBug #87208602:15
_mup_Bug #872086: Distribution:+ppas and Distribution:+questions issue unlimited queries when memo=0&direction=backwards <regression> <timeout> <Launchpad itself:Triaged> < https://launchpad.net/bugs/872086 >02:15
StevenKlifeless: O hai03:17
StevenKOh dear, G in #linode03:27
* StevenK tries to not confuse the channels03:27
jtvStevenK, wgrant: I've got a devastating monster horror branch that overthrows everything the buildd-manager does.  Mind if I try it out on dogfood?03:30
wgrantOh god it burns it burns.03:30
wgrantWe didn't have too much luck with buildds there last night.03:31
wgrantThey didn't seem to want to... well, they didn't do very much at all.03:31
jtvThat would be…03:32
jtv…“bad,” right?03:32
wgrantThat's a bit insensitive. They prefer the term "dogfood".03:34
jtvAh, these modern euphemisms.03:36
jtvThe branch I'd like to test is going to be a tough one.  It basically puts the entire scanning loop in read-only transactions, with a few explicit write transactions that commit immediately (rather than waiting for a response from a slave etc.)03:38
wgrantYeah, saw that.03:39
wgrantUnfortunate that you have to put the transaction stuff into the model code.03:39
jtvVery.03:41
jtvI can only hope it'll be one step on the way to a good redesign.  At least we'll know where the database changes are.03:42
wgrantYep.03:42
jtvTwo things really annoy me about it: (1) it's now painfully hard to work out the transactional behaviour and inspect it for semantic safety, and (2) it's actually been this way all the time but it was implicit so you couldn't even see what was going on.03:44
wgrantYup.03:46
jtvI wonder if this thorough twistification was really the best solution to the performance-bottleneck problem.03:46
wgrantWell, the problem is that it wasn't a thorough Twistedification.03:46
jtvTrue, but I probably mean it in a different respect:03:47
jtvit probably goes against everything the Twisted crowd believes in, but instead of making entire protocol surfaces asynchronous,03:47
jtvit might have been better to identify just one or two high-latency interactions where async could be made safe.03:48
jtvI say “might” because whether it would have helped enough depends on details I have no knowledge of.03:49
wgrantThat's how it was initially, I believe.03:49
wgrantIt was a partial asyncification that jml and bigjools replaced.03:49
wgrantWith a full asyncification.03:49
jtvI thought they started with the synchronous loop.03:49
wgrantI think some downloads were async.03:50
wgrantSome of it was, at elast.03:50
wgrantleast03:50
wgrantBut not much.03:50
jtvAh, true, yes.03:50
jtvSo maybe that approach had simply been milked dry already.03:50
jtvwgrant: I'm still wondering if there's a safe place we can take this code.  Here's one thought: associate a different master store with each builder.03:54
jtvOr just give each a thread — I know GIL contention is bad but the structure we have now seems to assume that everything spends most of its time blocked anyway.03:55
wgrantThat would solve some of the issues.03:56
jtvI also see a comment in there: “We need to re-fetch […] as the Storm store is invalidated over transaction boundaries.”04:02
jtvI know SQLObject did that implicitly, but Storm just re-fetches the object if necessary, right?04:02
wgrantjtv: I believe it will always refetch in a new transaction.04:05
lifelessStevenK: hi?04:05
StevenKlifeless: https://code.launchpad.net/~stevenk/launchpad/kill-set_up_tacfile_logging/+merge/78908 << crack, or am I doing something good?04:06
lifelessStevenK: incomplete; you need to migrate not just delete04:07
jtvwgrant: I know I should be grateful that Twisted is here to liberate us from structured programming and transparent multitasking and bring us the awesome scalability of single-threading.  But on days like this I'm just not feeling it.  I'll grab some more coffee.04:07
lifelessStevenK: what set_up_tacfile_logging does is bridge python logging to twisted.python.log logging04:07
lifelessStevenK: I filed a bug on this last week04:08
lifelessStevenK: I have a branch that overlaps with this too, so we'll conflict. You might want to hold off a few days04:08
wgrantMmm.04:08
wgrantI think deleting it is good.04:09
wgrantI believe it's doing more harm than good.04:09
wgrantCausing hangs, for example.04:09
lifelessit needs to be addressed, yes. Just deleting however will cause stderr spew04:09
wgrantBetter than what we have now.04:10
lifelessdifferent04:10
lifelessstill a problem.04:10
lifelesswhy do you think it is causing hangs ?04:10
wgrantI know it is.04:10
wgrantA unicode exception (like, say, uploading a changes file with a key that's on the keyserver but not registered in LP) will cause the upload to hang.04:11
lifelesshow04:11
wgrantYes.04:11
lifelessno, really. How.04:11
wgrantI don't know. I drowned in Twisted before I could work it out.04:11
wgrantBut it seems to recurse and then melt.04:11
lifelesspython logging should be eating unicode formatting errors.04:12
lifelessanyhow, if you have a SSCCE it should be easy to address that04:12
wgrantutilities/start-dev-soyuz.sh; gpg --keyserver keyserver.launchpad.dev --send-key somekey; debsign -ksomekey something.changes; dput lpdev:anyything something.changes04:13
StevenKlifeless: Yes, I did that branch due to the bug you filed04:16
lifelessStevenK: ah, I wasn't sure as the bug wasn't linked ;)04:16
StevenKIs now :-)04:17
lifelessheh04:24
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
lifelessStevenK: can you WIP that branch for now ?04:57
StevenKDone04:58
lifelessthan ks!04:59
lifelessanyone happen to know if we have semi-sane configs for rabbit yet? (e.g. not None etc)05:02
lifelessin prod05:02
wgrantlifeless: We don't.05:03
lifelessk, so I need a review for oops 0.0.9 (lp:~lifeless/oops/fallbacks)05:05
lifelesshttps://code.launchpad.net/~lifeless/python-oops/fallbacks/+merge/7891105:07
* StevenK looks at pofile-stats-daily and runs screaming, his eyes bleeding05:21
jtvStevenK: if you need help with that, I'm here for you.05:24
jtvRight after lunch.05:24
=== jtv is now known as jtv-eat
StevenKIt last ran 2 months ago05:25
StevenKAnd it takes on average 10 seconds to do one POFile.05:25
StevenKAnd given the query in IPOFile._countTranslations(), I'm unsurprised.05:25
wgrant(132 rows)05:27
wgrantNearly there.05:27
StevenKwgrant: For what?05:27
wgrantStevenK: That's the number of remaining private multi-pillar bugs that aren't in known evil projects or tagged apport-crash.05:28
lifelesswgrant: can I nab you for a small follow on review - the changes to oops to support fallbacks from oops-amqp05:30
lifelessjamesh: ping (touching base on oops migration)05:30
wgrantlifeless: "if the first publisher doesn't and returns None"05:33
lifelessblah, You want english now ?05:34
wgrant'fraid so.05:34
lifelesswell, it is.05:34
lifelessBut it can be clearer. how about05:34
lifeless'if the first publisher does not publish and instead returns None'05:34
wgrantTrue.05:35
wgrant78+ if id:05:35
wgrantDo you want to make that explicitly "is None"?05:35
lifelessI'm torn05:35
lifelessI'm thinking of rewriting the docs to say 'evaluates nonzero'05:36
wgrantYou need to do one of those.05:36
lifelessI don't think an oops id of 0 or '' is useful05:36
lifelessdo you ?05:36
wgrantNot useful, but it's possibly also not useful to special-case them.05:37
lifelessthere is a case for 0 in a single-creator monotonic allocation scheme, but bleh.05:37
lifelesswgrant: well, they aren't special cased at the moment05:37
lifeless(other existing code also just tests for if report.get('id'):)05:37
lifelesswgrant: contributors shouldn't be a wiki page05:40
wgrantI take it that poolie's +affectingbugs fix landed, then? :)05:42
lifelessyes05:42
lifelesswgrant: how hard would it be to switch that to be a blat to lpqa?05:42
wgrantlifeless: You could just change your subscription regex to exclude it :P05:45
wgrantBut it wouldn't be hard.05:45
StevenKlpqateam seems like ... the wrong place05:47
lifelessI am open to any place05:47
lifelessjust wiki seems wrong to me - its not actually an editable page05:48
lifelesswgrant: so, that review.05:48
lifelesswgrant: I presume ESHINY happened05:48
wgrantEMAWSONNEEDSMORERAM05:50
lifelessI've pushed up fixes around those two points05:57
lifelessbbiab05:57
pooliewgrant: and my patch fix it?06:18
wgrantpoolie: Hm?06:19
poolie<wgrant> I take it that poolie's +affectingbugs fix landed, then? :)06:19
poolieseems to work for lifeless; that's a good sign06:19
pooliehm, but not when sorted, oh well06:19
wgrantNo, that shouldn't even be on qastaging yet.06:20
wgrantlifeless complained about dev.launchpad.net/Contributions06:20
nigelbwhats wrogn with it?06:20
wgrantI guess lifeless subscribes to the whole wiki.06:20
poolieoh, i see06:20
poolieit's through pqm but not yet deployed06:20
nigelbohlol06:20
pooliewbn to have it built in06:25
lifelessnigelb: its an advert, not shared-editable-docs06:29
nigelblifeless: hehe, but its not a qareport either :)06:32
nigelbWant to get launchpadcontributions.com? :D06:32
lifelesssure it is; its a blamelist06:32
lifeless:>06:33
lifelessthis is kindof an ohloh feature06:33
nigelbnot entirely06:34
nigelbwe only measure external contributors.06:35
lifelessyes, and ?06:37
lifelessI mean, for 'measure thing about code and contributions' - thats what ohloh have specialised in06:37
lifelessnow, I'm not saying we shouldn't do it ourselves, what with geeknet having bought ohloh (so no longer a neutral web service), but as a feature, thats the space its in06:38
pooliedidn't jml say 'every wiki page is a prototype of a web app'?06:38
lifelesssomething very close to that06:38
lifelesshowever, this is already not a wiki page ;)06:38
=== jtv-eat is now known as jtv
=== almaisan-away is now known as al-maisan
jtvStevenK, wgrant: the dogfood builders look happy… mind if I try upgrading the codebase, merging my branch, and triggering some builds?07:20
wgrantjtv: Go ahead.07:21
jtvOK07:21
mrevellGuten morgen.07:55
adeuringgood morning08:07
jtvstub: seen the ongoing work on index-only scans?  Exciting.  Though Simon feels they're nowhere near as useful as people think.08:42
lifelessmwhudson: I had a q for you actualy :P but now I forget what it was09:18
mwhudsonlifeless: heh, well, you have a few seconds i guess :)09:19
mwhudsonlifeless: i updated https://code.launchpad.net/~mwhudson/launchpad/permit_timeout_from_features-on-participation-bug-861510/+merge/78355 on the off chance it was about that09:19
bigjoolswgrant: can you review this please? https://code.launchpad.net/~julian-edwards/meta-lp-deps/add-rabbit-management/+merge/7893009:20
lifelessrvba: bug 872077 needs an LP task09:26
_mup_Bug #872077: Import of crosstool-ng from Mercurial fails with unknown revid <Bazaar Hg Plugin:New> <NULL Project:Triaged> < https://launchpad.net/bugs/872077 >09:26
lifelessrvba: (because it would'nt be fixed if bzr-hg fixed it and we *didn't* deploy a new bzr-hg09:26
wgrantbigjools: Doesn't it need to be in CAT?09:29
wgrantbigjools: apt will use the new version if it's there.09:29
bigjoolswgrant: yes, but Tom wanted this ....09:29
rvbalifeless: ok, thanks.09:29
* bigjools shrugs09:29
wgrantbigjools: Depending on rabbitmq-management is sufficient.09:29
wgrantIt won't install unless there's a matching version of rabbitmq-server.09:30
wgrantAnd that's all we care about.09:30
bigjoolsis it worth removing the dep on -server?09:30
wgrantNo.09:30
bigjoolsdoesn't make any difference :)09:30
wgrantBut there's no point versioning them unless we actually have known version constraints.09:30
bigjoolsthat's what I thought09:30
wgrantWhich we don't.09:30
bigjoolsthis is probably being used as a cheating kind of way to figure out if everything was backported to cat properly09:31
wgrantIf rabbitmq-management installs, it has been.09:32
=== gmb changed the topic of #launchpad-dev to: Performance Tuesday | https://dev.launchpad.net/ | On call reviewer: gmb | Critical bugs: 269 - 0:[irc://irc.freenode.grahambinns.com/#%23%23%23%23%23%23%23Segmentation fault (core dumped)
Ghey silly question but the rocketfuel scripts upgrade to a special/newer version of bzr right?10:20
jmlDon't think so.10:20
nigelbG: check the PPA's it adds?10:20
bigjoolsthey don't10:21
bigjoolsonly the bzrlib that LP uses10:21
Goh so, bzrlib gets changed, as in the one in /usr/lib64/python2.7/dist-packages by any chance?10:22
bigjoolsno, the buildout one10:22
Gokay then10:22
wgrantrocketfuel-setup probably adds a bzr daily PPA.10:23
wgrantOr maybe only bzr beta.10:23
wgrantbzr stable, even.10:23
wgrantBZR_PPA="deb http://ppa.launchpad.net/bzr/ppa/ubuntu ${DISTRIB_CODENAME} main"10:23
Gwgrant: ahhh thanks, yeah, just cehcked my sources.list10:24
* G should get back to tackling a couple of LP bugs, but seem to run into a completely seperate issue first10:25
sorengmb: Was that topic change intentional?10:36
sorengmb: All of it, I mean?10:36
Gsoren: I think it's a reference to more than 256 crits10:37
Gmy observations have been each OCR has a different 'joke' to put there10:37
sorenG: The irc://irc.freenode.grahambinns.com/ bit?10:37
sorenOk.10:37
Git nxdomain's so it's not a phishing attempt :)10:38
gmbsoren: Hah, no. I copied and pasted; didn't realise that my IRC client was having a bad day :).10:40
gmb(Well, probably my proxy...)10:40
* gmb goes to fix it.10:41
sorenIt used to say: "| 0:[########Segmentation fault (core dumped)"10:41
sorenoh10:41
sorengmb: It used to say: "| 0:[########Segmentation fault (core dumped)"10:42
gmbsoren: I see "| 0:[irc://irc.freenode.grahambinns.com/#%23%23%23%23%23%23%23Segmentation fault (core dumped)"10:42
* soren hugs topic-diff.pl10:42
gmbIs that correct?10:42
gmbNo.10:42
sorenThat's what i says now, yes.10:42
bigjoolsI'd be happy to see the lame attempt at humour removed10:43
gmbbigjools: Ah, see, I  couldn't tell it was supposed to be funny, because bip segfaulted yesterday. I thought it was an error.10:44
* gmb removes it.10:44
bigjoolsheh10:44
=== gmb changed the topic of #launchpad-dev to: Performance Tuesday | https://dev.launchpad.net/ | On call reviewer: gmb | Critical bugs: 269
gmbWhomsoever can be bothered to add a progress bar can add one at their leisure.10:44
soren"[#-] (not to scale)"10:45
gmbHeh.10:45
nigelblol10:46
bigjoolsthat's funny :)10:46
nigelbheh, someone should add that :)10:48
=== al-maisan is now known as almaisan-away
jtvArgh.  Ayiiee.  Test doubles don't hold up very well across transaction boundaries.11:03
bigjoolswgrant: are you going to approve that meta-lp-deps branch?11:04
wgrantbigjools: No, I don't agree with it.11:04
wgrantWe care that rabbitmq-management installs.11:05
wgrantNot what version it is.11:05
bigjoolswgrant: in that case, please reply to RT 4803211:05
wgrantSure.11:05
bigjoolsthanks11:05
* lifeless deletes tests that test operational config.11:06
bigjools!11:07
lifelessbigjools: oops-tools have tests that there is a particular summary report; the summary reports for an install are done by pointing and clicking in the admin interface, *or* by a django migration11:08
lifelessit should be clear that the latter isn't relevant to trunk :)11:08
wgrantbigjools: Done.11:13
bigjoolsthanks11:13
=== matsubara-afk is now known as matsubara
bigjoolsbin/test is now segfaulting ...11:42
lifeless\o/11:42
lifelessI'm sorry Dave, I can't let you test that!11:42
bigjools:)11:43
bigjools  Set up canonical.testing.layers.LibrarianLayer in 23.685 seconds.11:55
lifeless3 tests to go. Tomorrow's task.11:55
bigjools*cry*11:55
bigjoolsTDD is painful with LP, really painful :(11:56
bigjoolshmmm bin/test is segfaulting on oneiric and natty11:57
* nigelb screenshots and frames.11:57
=== almaisan-away is now known as al-maisan
lifelesstheory: there are no new bugs, only more or less obvious duplicates12:09
nigelbWell, that depends on the kind of bugs already filed.12:10
nigelbIf you file a bug saying -  "LP sucks", everything can dup to it :P12:10
nigelbI believe there's always edge cases and newer ways to break things.12:10
wgrantbigjools: Do you think someone from your squad might be able to look at bug #872086 soon?12:16
_mup_Bug #872086: Distribution:+ppas and Distribution:+questions issue unlimited queries when memo=0&direction=backwards <regression> <timeout> <Launchpad itself:Triaged> < https://launchpad.net/bugs/872086 >12:16
wgrantbigjools: It only appeared yesterday, but causes appservers to be useless for three minutes, and cronspam.12:16
bigjoolsI'll schedule it12:17
wgrantThanks.12:17
bigjoolsgooglebot... awesome12:18
wgrantYep.12:18
* bigjools → lunch12:18
allenapgmb: I've got a nice branch lined up for you :) I lie, it's not nice. (It's not that bad either.) Are you interested? https://code.launchpad.net/~allenap/launchpad/bug-stats-key-error-bug-871076/+merge/7887012:24
gmballenap: Sure.12:24
allenapThanks.12:25
rvbaadeuring: Hi, can I ask you a quick question about the code in lib/canonical/launchpad/webapp/batching.py?13:17
adeuringrvba: sure13:17
rvbaI know you've been working in this area lately.13:17
rvbaadeuring: If you go to the definition of reverseSortOrder in that file,13:18
rvbaIn there there is a sub function called invert_sort_expression13:18
adeuringyes13:18
adeuringmorning deryck13:18
deryckMorning, adeuring13:18
rvbaThe parameter name is 'expr' but it manipulates 'expression'.13:18
rvbaadeuring: Maybe I'm seeing straight but why is it not a problem? :)13:19
rvbaI'm not* seeing straight even13:19
adeuringrvba: i think you are right: s/expression/expr/ would make the function look much more sane. but let me check a bit more...13:21
rvbaadeuring: Thanks for looking into it, I just randomly came across that code and it looked strange ;)13:21
adeuringrvba: yes, the code is ismply nonsense. I am a bit surprised that it worked at all...13:22
adeuringrvba: thanks for spotting this!13:22
rvbaI confess I was surprised too.13:22
rvbaYou're welcome.13:22
rvbaadeuring: The only solution for this to work is that this code is never called :)13:24
adeuringrvba: well, it is called in __init__()13:25
rvbaIndeed.13:25
adeuringrvba: >>> [x for x in range(2)]13:27
adeuring[0, 1]13:27
adeuring>>> x13:27
adeuring113:27
adeuringso, expression is visible to the function13:27
adeuringbut that's purely accidental..13:27
rvbaI see, well spotted.13:27
deryckabentley, adeuring -- https://dev.launchpad.net/Projects/CustomBugListings13:34
gmballenap: approved with some comments13:49
bigjoolsgmb: when we do an expiration countdown for incomplete bugs, how does that work when say only one of the tasks is incomplete?13:52
gmbbigjools: I have no idea, I'm afraid. You would hope that the countdown would only appear for the bug in that context, but I don't know whether that's the case or not.13:55
bigjoolsgmb: the countdown is bug-wide it seems, so ...13:56
bigjoolswell let me explain13:56
bigjoolssee these 2 bugs13:56
bigjoolshttps://bugs.launchpad.net/ubuntu/+source/plymouth/+bug/84941413:56
_mup_Bug #849414: plymouthd crashed with SIGSEGV in ply_event_loop_process_pending_events() <apport-crash> <bugpattern-needed> <i386> <oneiric> <rls-mgr-p-tracking> <plymouth (Ubuntu):Incomplete> <plymouth (Ubuntu Oneiric):Incomplete> <plymouth (Ubuntu Precise):Incomplete> < https://launchpad.net/bugs/849414 >13:56
bigjoolshttps://bugs.launchpad.net/ubuntu/+source/plymouth/+bug/55374513:56
_mup_Bug #553745: plymouthd crashed with SIGSEGV in ply_event_loop_process_pending_events() <apport-collected> <apport-crash> <bugpattern-written> <i386> <iso-testing> <lucid> <maverick> <oneiric> <patch-forwarded-upstream> <rls-mgr-p-tracking> <Plymouth:Confirmed> <plymouth (Ubuntu):Incomplete by canonical-foundations> <plymouth (Ubuntu Lucid):Triaged by canonical-foundations> <plymouth (Ubuntu Maverick):Triaged by canonical-foundations> <plymouth (Ubuntu Natt13:56
bigjoolsthe former has got "expiration in 59 days"13:56
bigjoolsthe latter has not, despite it having 2 incomplete tasks13:56
bigjoolsI don't know if this is a bug - just looking to triage something13:57
* gmb looks13:57
gmbbigjools: I don't think it's a bug. See the conditions on https://help.launchpad.net/BugExpiry.13:59
gmbThe latter has been assigned to someone (several someones) so it doesn't count for expiry.13:59
bigjoolsah ok13:59
* gmb didn't know those conditions until just now :)(13:59
bigjoolsheh, thanks for finding them, I didn't know that page was there14:00
allenapgmb: Thanks!14:01
gmbbigjools: Nor did I. There's a (find out why) link in the expiry notice, but I only spotted it the third time I looked at the bug.14:01
bigjoolshidden in plain sight14:02
* gmb -> late lunch14:12
abentleyderyck, adeuring: allenap presented mustache: http://mustache.github.com/14:21
adeuringabentley: thanks!14:21
abentleyderyck, adeuring: They call it logic-less templates, but thankfully, they're lying; they support loops and conditionally-rendered blocks.14:27
deryckabentley, yeah, I thought the same thing when I saw the guy from Yahoo.14:27
cr3has anyone ever felt the need to check code before committing for code that might've been left around when exploring? I know that bin/lint in launchpad runs pocketlint which would detect things like pdb statements left behind by accident, but could it detect other things like behind perhaps identified with a TODO or FIXME comment?14:33
sinzuicr3, Given the large number of those plus XXX: comments those will be spurious warnings14:35
sinzuicr3, I think a switch is needed to support those kinds of comments so that they only warn when you want to get rid of them14:36
cr3sinzui: I'm thinking dedicating a particular keyword for warnings that should not be committed, so perhaps keeping XXX and only warning about TODO for example14:36
bigjoolsTODO would be one I'd be interested in14:36
bigjoolsI use TODO markers a lot, the bzr "todo" plugin is great14:37
cr3sinzui: I've often reviewed merge requests, noticed some weird code, commented on the request only to find out some code was left behind by accident. This has a long turnaround time and I wouldn't be surprised it happens regularly, so might be worth considering.14:38
* jml accepts donations14:38
cr3bigjools: hm, that might be exactly what I'm looking for. thanks!14:38
bigjoolsjml: :D14:39
=== al-maisan is now known as almaisan-away
sinzuicr3, We see them in reviews and ask why the issue in the comment was not address. We often require a bug reported about the issue if the work is incomplete.14:43
sinzuicr3, I think a lot of those kinds of comments are spurious, which is what I think your concern is. Lp has a lot of such comments because the issue described in the comment is not important.14:44
daniloshum, anybody using balsamiq in oneiric?14:59
sinzuidanilos, I was15:02
* sinzui checks if it still works15:02
sinzuidanilos, my old 32bit installation of air + MockupsForDesktop_1_6_50.air works15:03
bigjoolsjelmer: any idea why this import is failing? https://code.launchpad.net/~tillkruess/humanstxt-wp-plugin/trunk15:04
jelmerbigjools: the repository contains invalid data, which isn't properly encoded and makes us unable to access all history15:05
bigjoolsjelmer: ok thanks15:05
danilossinzui, right, I guess I'll have to investigate the 32-bit installation which has changed in oneiric then15:06
=== salgado is now known as salgado-lunch
jmlso, you guys test javascript without a browser, right? how do you do that?15:18
jml(and would it work for jquery code?)15:18
abentleyderyck, abel: random thought: mustache rendering would need to use the web service object representation to be reusable, so the server-side implementation could be a web service-consuming micro-service.15:23
deryckabentley, thinking through that statement…. sorry was on call.15:29
deryckabentley, so stepping into the territory of "web service consuming micro service" from "another tempting option" makes me slightly nervous.15:30
abentleyderyck: is just random thought.15:30
deryckabentley, mostly due to keeping this scoped right to deliver on time.15:30
deryckabentley, right.  I'm fine with that as the next logical step for this.15:31
bigjoolsjelmer: is there anything they can do to fix it, BTW?15:44
jelmerbigjools: removing the invalid data from the repository, which stops the svn libraries from falling over15:45
jelmerbigjools: that's a fairly intrusive process though, which requires taking the repository offline15:45
bigjoolsjelmer: how can they find out what's invalid? It wasn't obvious to me from the log15:45
jelmerbigjools: the first available revision is 108326, so most likely 108325 is problematic15:46
bigjoolsjelmer: ah a bad revision.... gotcha15:46
bigjoolsthanks jelmer15:46
jelmerbigjools: svn itself falls over too:15:47
jelmersvn log -v --xml --with-all-revprops http://plugins.svn.wordpress.org/ -r10832515:47
bigjoolsheh15:48
=== matsubara is now known as matsubara-lunch
=== gmb changed the topic of #launchpad-dev to: Performance Tuesday | https://dev.launchpad.net/ | On call reviewer: - | Critical bugs: 269
cr3why does launchpad say that my project has three open bugs in the right-hand summary when there are only two in the main listing: https://bugs.launchpad.net/launchpad-results/+bugs16:28
jelmercr3: IIRC that's the result of caching - could it be that there were 3 open bugs a while ago?16:28
cr3jelmer: there were probably more but I'll wait 24 hours to see if the cache gets refreshed correctly16:29
cr3jelmer: caching is hard to get right :(16:29
jelmercr3: yes, and arguably it's not really useful to cache this kind of thing if there are only 3 results16:29
jelmercr3: btw, is launchpad-results the result of the speccing you were doing earlier to store subunit results in Launchpad?16:31
cr3jelmer: yep, https://dev.launchpad.net/LEP/ResultsTracker16:31
cr3jelmer: you were actually a use case on that LEP but the primary use case because the Ubuntu Friendly programme: https://wiki.ubuntu.com/UbuntuFriendly/Website16:32
cr3s/because/became/16:33
jelmercr3: ah, neat!16:34
jelmerI should have a closer look at it some time16:34
cr3jelmer: here's a temporary EC2 instance that has some interesting data already: http://107.20.153.224/16:35
cr3jelmer: the /systems page has almost 2000 models submitted by the community, so it's getting fun to look at16:35
=== deryck is now known as deryck[lunch]
jelmercr3: wow, that's really nice16:43
jelmercr3: how do the submissions work, is it subunit based or something else?16:43
cr3jelmer: that information comes from the launchpad hardware database which only stores checkbox submission files. if you happen to have a bunch of subunit files, those could be uploaded as well16:48
jelmercr3: ah, cool16:51
cr3jelmer: I'd also like to support the document format from the linaro team and junit commonly used in hudson/jenkins so that they could all be piped into the results tracker... all your tests are belong to us16:52
jelmerbzr (and the bzr plugins) and samba generate subunit so if that's somehow supported that's great16:53
cr3jelmer: oh, another project would be to probe the bugs in launchpad for those reported by apport to create system entries in the results tracker too16:53
bigjoolsnight all16:54
jelmerhave a nice evening bigjools16:54
=== salgado-lunch is now known as salgado
=== deryck[lunch] is now known as deryck
=== matsubara-lunch is now known as matsubara
abentleyderyck: Where I've gotten so far with Mustache: http://people.canonical.com/~abentley/mustache.png18:12
deryckabentley, very nice.18:13
deryckworking from mockups is so nice :)18:13
abentleyderyck: indeed.18:15
lifelessmorning18:20
deryckMorning, lifeless18:22
mwhudsonbenji: did you see my update to https://code.launchpad.net/~mwhudson/launchpad/permit_timeout_from_features-on-participation-bug-861510/+merge/78355 ?20:23
benjimwhudson: I hadn't.  Thanks for pointing it out.20:23
benjimwhudson: I've responded to the MP (with approval).20:56
mwhudsonbenji: \o/ thanks20:56
mwhudson(it passed ec2 overnight btw)20:56
=== salgado is now known as salgado-afk
bdmurrayThere was some work done on Incomplete searches recently right?21:14
bdmurrayusing the API and search for "Incomplete" as a status used to return those with and without a response21:16
bdmurrayit no longer does this and just returns 021:16
lifelessthere was yes21:17
lifelesshum21:17
lifelessplease file a bug21:17
bdmurrayis bug 872496 sufficient?21:17
_mup_Bug #872496: All package stats now report zero "Incomplete" bug reports <Launchpad itself:New> <Ubuntu QA Website:New> < https://launchpad.net/bugs/872496 >21:17
lifelessits arguably a regression (but since its inconsistent with bug searches outside the API, its arguably just a harmonisation and correct)21:18
bdmurrayinconsistent how?21:18
lifelesslook at the advanced bug search form21:19
lifelessthere are two incomplete statuses there, and no unified one21:19
bdmurrayso I should rewrite all my searches to use incomplete with and incomplete without?21:21
lifelessbdmurray: well, theres no reason we can't restore the old behaviour; I'm surprised it broke in fact :(21:22
lifelessbut yes, it would be more precise to search with both states21:22
lifelessand it may work immediately if you do so21:22
=== matsubara is now known as matsubara-afk
lifelesssinzui: hi21:35
lifelesssinzui: I'll try to catch up with you later, today I'm making up for a fragmented day yesterday, but am kindof here21:36
kb9vqfQuick question--what is the easiest way to turn off debugging stack traces on a production instance of Launchpad?21:40
kb9vqfusually they appear when a user fumble-fingers a URL21:40
wgrant kb9vqf canonical.show_tracebacks is the setting.22:08
kb9vqfwgrant: In which file?22:13
wgrantkb9vqf: launchpad-lazr.conf in the config that you're using.22:13
kb9vqfok, thanks again! :)22:13

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