/srv/irclogs.ubuntu.com/2010/12/05/#launchpad-dev.txt

lifeless=== Top 10 Time Out Counts by Page ID ===06:16
lifeless    Hard / Soft  Page ID06:16
lifeless     131 / 5921  Archive:+index06:16
lifeless      64 /  255  BugTask:+index06:16
lifeless      21 /  263  Distribution:+bugs06:16
lifeless       9 /  115  ProjectGroupSet:CollectionResource:#project_groups06:17
lifeless       8 /   15  NullBugTask:+index06:17
lifeless       6 /   37  Milestone:+index06:17
lifeless       5 /  202  POFile:+translate06:17
lifeless       5 /   87  Archive:+packages06:17
lifeless       5 /    4  ProjectGroup:+milestones06:17
lifeless       5 /    0  BinaryPackageBuild:+retry06:17
lifelesswgrant: still interested in DistroSeries:+queue06:18
lifeless/srv/launchpad.net/production/launchpad-rev-12004/lib/lp/soyuz/browser/../templates/distroseries-queue.pt06:19
lifeless   - Line 281, Column 1106:19
lifeless   - Expression: <PathExpr standard:u'custom/libraryfilealias/content/filesize/fmt:bytes'>06:19
lifeless...06:19
lifelessLocationError: (None, 'filesize')06:19
wgrantThat's not meant to happen.06:19
lifeless0 LocationError: (None, 'filesize')06:20
lifelessbah06:20
lifeless10 LocationError: (None, 'filesize')06:20
wgrantI think Translations may be expiry overzealously.06:20
wgrants/expiry/expiring/06:20
lifelesswell06:20
lifelessthe page should handle gc'd content anyhow06:20
wgrantNo.06:20
lifelessno?06:20
wgrantIt's not allowed to be GC'd...06:21
lifelessobviously nothing is enforcing that06:21
lifelessI'd accept not /meant/ to be GC'd06:21
wgrantThere's nothing we can sanely do if it is GC'd.06:21
wgrantIt is forbidden.06:21
wgrantBut someone broke it.06:21
lifelessbut permitted06:21
wgrantBy the DB? Sure.06:22
wgrantIt is not possible to sanely apply that constraint in the DB.06:22
lifelessI can think of at least one way.06:22
wgrantMortifyingly expensive triggers?06:23
lifelessseparate tables06:23
lifelessso the rules in each table are succinct06:23
lifelessis bug 262767 related?06:23
_mup_Bug #262767: Expire translations-tarball file contents once they get successfuly processed <soyuz-upload> <trivial> <Soyuz:Triaged> <https://launchpad.net/bugs/262767>06:23
lifelesshttps://bugs.launchpad.net/soyuz/+bug/59241706:25
_mup_Bug #592417: LocationError in DistributionSourcePackageRelease pages <oops> <qa-ok> <Soyuz:Fix Released by julian-edwards> <https://launchpad.net/bugs/592417>06:25
wgrantThe idea in 262767 is what I was going to blame. But it seems to not be implemented anywhere yet.06:26
wgrant592417 is about real things. Not custom uploads.06:27
wgrantSo it's not really related.06:27
lifelessbug 68540106:27
_mup_Bug #685401: LocationError in DistroSeries:+queue <oops> <Launchpad Translations:New> <https://launchpad.net/bugs/685401>06:27
wgrantlifeless: So, it could just not show them. But the point of the page is to allow packages to be accepted.06:27
wgrantCan't accept something that's not there.06:27
lifelesssomethings thats gc'd isn't there, right ?06:28
wgrantRight.06:29
lifelessso theres no need to accept it06:29
lifelessadd a garbo job/fix the expiry code to /really/ delete it.06:29
lifelessand we're done, no?06:29
wgrantHmmm? Expiring an unaccepted queue item doesn't make sense.06:29
wgrantIt is illegal.06:29
wgrantIt *should* crash.06:29
lifelessI don't see why,.06:30
lifelessyou may have some axiom you need to share.06:30
wgrantHmm, actually, do you have the URL for that OOPS?06:30
lifelessyes06:30
lifelessin da bug06:30
wgrantNo query string?06:31
wgrantI think it must have been the Done queue.06:33
wgrantThe query string will tell us.06:33
wgrantMaybe Translations did actually run the query that they suggested.06:34
lifelessqueue_state=3&queue_text=&start=12624006:34
wgrantAha, it is indeed Done.06:34
wgrantSo we can probably reasonable hide expired files in those cases.06:34
wgrantBut Translations is still doing something that is technically illegal.06:34
wgrantAnd will break once we unfuck custom upload handling.06:35
lifelesswhats the illegality06:35
wgrantlifeless: Before acceptance: you're deleting part of an upload that hasn't yet been processed.06:37
wgrantAfter acceptance: you're deleting part of an upload that will be used during a copy once we remove 2004-era insanity.06:37
wgrantPerhaps for concerningly more broad values of 'we' than would be traditional.06:39
lifelesswgrant: if you don't want the upload processed, why is deleting it a problem?06:40
lifelesswgrant: what copy?06:40
wgrantlifeless: If you don't want the upload processed, you should reject it.06:42
wgrantlifeless: Any copy.06:42
wgrantTranslations has removed all old translations tarballs.06:42
lifelesswgrant: so, will you expand the bug appropriately? And suggest the right way forward to achieve their goals06:42
lifeless?06:42
wgrantlifeless: I will.06:42
lifelesskeeping old data because it was used once, is nuts.06:43
wgrantTo an extent.06:43
wgrantWe need to actually develop a policy.06:45
wgrantAnd make the code respect it.06:45
wgrantNot develop over 5 years.06:45
lifelesswe have a policy - don't delete anything ever. Except where we need to (which is broadly everywhere), then we can, if we need to.06:46
wgrantWell.06:47
wgrantThe Soyuz policy until 18 months ago was "never delete anything".06:47
wgrantThen it was changed.06:47
wgrantWithout actually making the code work like that.06:47
wgrantOr thinking much about the consequences.06:47
lifelesswaheee06:48
wgrantThe fact that the hashes are stored in the deleted LFC is a significant problem :(06:48
lifelessdon't worry, md5 has been broken right?06:48
wgrantI really don't like deleting data until we're really, really sure.06:49
wgrantWe have lost far too much already.06:50
lifeless-> nz06:51
wgrantSee you.06:51
wgrantDamn.06:51
mtayloroff topic - but anybody here happen to be a god with vim modelines in source files?17:59
=== pjdc_ is now known as pjdc
lifelessmtaylor: yo18:46
mtaylorlifeless: so, I have vim set up in my .vimrc to use spaces and to to do 2-space tabs (since that's what we do in drizzle) ... but I'm editing this file that uses tabs at the moment... and I was hoping there was an easy way to put a modeline into the file so that vim would behave properly18:47
lifelessnoexandtab18:49
lifelessblah18:49
lifelessnoexpandtab18:49
lifelesssw=818:49
lifelessthat sort of thing18:49
mtaylorlifeless: you make me happy18:49
lifelessits a gift18:49
lifelessprobably sts=8 too18:49
mtaylorlifeless: works perfectly. thanks19:00
lifelessde nada19:00
thumpermorning19:48
thumperit's going to be a quiet day20:32
jelmerhow can you tell?20:33
lifelessI'm on leave20:42
thumperand wally is on leave20:47
thumperand mwhudson is more quiet than normal since the linaro move20:47
thumperso I'm mostly left to myself...20:47
* thumper goes to make a coffee20:47
thumperlifeless: is the launchpad copy of testtools up to date?23:17
thumperlifeless: it seems to be lacking some matchers23:17
jelmerthumper: EndsWith ?23:19
thumperjelmer: yeah23:19
thumperalso, I'd find IsNot(None) easier to read than Not(Is(None))23:20
jelmerthumper: That was added fairly recently, and IIRC the revision after the revision that lp uses.23:20
jelmerthumper: I was planning to update lptools to a newer revision anyway, jml added some nice code to help with debugging of "lost" deferreds. Perhaps I should just do that..23:21
thumperjelmer: sounds good to me23:22
lifelesstip is broken.23:27
lifelessjelmer: ^23:28
lifelessjelmer: if you wanted to review my fix for the critical bug, that would be good.23:28
jelmerlifeless: Sure, I can do that.23:28
jelmerlifeless: Ah, that one! I should've remembered.23:30
thumpergym time23:33

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