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

wgrantnigelb: Are you sure that branch fixes it completely?00:11
wgrantnigelb: If you're not pretty sure that's enough to totally fix it, we need to revert your revision.00:11
nigelbwgrant: as embarassing as it sounds, yes.00:11
nigelbI added tests00:11
nigelb*more* tests00:11
nigelbwgrant: Is there more I could do to actually prove it works?00:13
nigelbIs there a test server I could push to?00:13
nigelbwithout getting it committed that is.00:13
wgrantI'll try merging it on DF.00:14
nigelbDF?00:15
wgrantdogfood.launchpad.net00:15
wgrantNormally used for Soyuz testing.00:15
nigelbCan I visit it?00:15
nigelbi.e., can people not in ~launchpad visit it.00:16
wgrantyes.00:16
nigelbOk, if you can get it running there, that'd be great.00:16
wgrantAlthough it's very slow, as everything including the database runs on a machine from 2004.00:16
nigelbI just need to load a bug.00:17
nigelbwow, OOOPs all over the place.00:18
wgrantAh, yeah, loooks like we might have issues with testing this on DF.00:21
wgrantBecause its database is old.00:21
wgrantAnd doesn't have BugMessage.owner set.00:21
nigelbah00:22
nigelbargh00:22
nigelblet me try something00:22
wgrantSo, I think I need to roll this back, and perhaps you can ask a LOSA to merge it temporarily on (qa)staging next week.00:23
wgrantSo you can test it out.00:23
nigelbIs it possible to do a merge on DF?00:24
nigelbi.e. code merge00:24
wgrantYes, but its DF is crap so that won't be much use.00:24
wgrantEr.00:24
nigelb\o/00:24
wgrants/DF/DB/00:24
nigelbOkay, so I can see a merge00:24
nigelbIf you can push the code, I can test it in an MP as well.00:25
wgrantYou'll have to create a new MP.00:25
nigelbI created one00:25
nigelbhttps://code.dogfood.launchpad.net/~summit-hackers/summit/i18n/+merge/6000700:25
wgrantJS should be updated00:27
nigelbCode's still old.00:29
wgrantWhich code?00:29
nigelblinkchecker.py needs to be updated as well00:29
wgrantHmm, but it should already be running the latest devel revision...00:30
nigelbIts r1395400:30
nigelbWhile qastaging is r1397800:30
wgrantWell, it says that, but it often lies.00:30
wgrantLet's see.00:30
nigelbI know that linkchecker.py doesn't contain my changes, because I'm getting what used to happen earlier.00:31
nigelbI'm guessing you just brought it down00:32
wgrantIt's restarting.00:33
wgrantSlowly.00:33
wgrantAnd it's back.00:33
wgrantHopefully with the new Python code this time.00:33
* nigelb does hard refresh00:33
nigelbwgrant: \o/00:35
nigelbSeems to work!00:35
wgrantDo you have a bug that would be interesting to test? I can fix particular bugs to render on DF>00:36
nigelbone sec00:36
nigelblet me see the one we were testing on qastaging00:37
nigelbbug 75593700:38
_mup_Bug #755937: phaseshift version 0.40-13.2 failed to build on i386 <ftbfs> <natty> <oneiric> <universe> <phaseshift (Ubuntu):Confirmed> <phaseshift (Ubuntu Oneiric):Confirmed> < https://launchpad.net/bugs/755937 >00:38
nigelbcould you fix that on DF?00:38
wgrantIt renders now.00:38
nigelbTrying to duplicate00:40
nigelbGah.00:41
nigelbI'm awesome00:41
wgrantOh?00:41
nigelbI made the qastaging bug render :p00:41
wgrantHeh00:41
nigelbNow I can't use that to compare00:41
nigelbWorks as expected in dogfood.00:42
nigelblet me violate another qastaging bug :P00:42
nigelbZOMG.00:43
nigelbQAstating did *not* timeout on me.00:43
nigelbThis needs celebration.00:43
nigelb(spoke to soon. Damn)00:43
nigelbwgrant: Seems to work like it should00:49
* wgrant lands.00:52
nigelbwgrant: Sorry about the mess :)00:52
nigelbI think I've made a whole lot of revisions undeployable00:52
wgrantIndeed, but it's by no means the worst we've had recently :)00:53
nigelbHA00:53
nigelbI'm really glad I invested in the time to write javascript tests00:53
nigelbI would never have fixed this on time without those00:53
wgrantYes, tests are handy :)00:54
wgrantnigelb: Could you set a commit message?00:54
nigelbyeah, sec00:54
nigelbwgrant: done00:55
nigelbwgrant: Oh. No test run?01:00
wgrantnigelb: No point. It's a weekend, and the deployment pipeline is blocked until this is fixed anyway.01:00
nigelb\o/01:01
wgrantPlus it's a safe change.01:01
nigelbRight. You just ran it in dogfood and I didn't bring it down :-)01:01
LPCIBotProject devel build #1,083: STILL FAILING in 36 sec: https://lpci.wedontsleep.org/job/devel/1083/01:04
nigelb^ Didn't even start01:06
LPCIBotProject devel build #1,084: STILL FAILING in 1.7 sec: https://lpci.wedontsleep.org/job/devel/1084/01:16
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
LPCIBotProject devel build #1,085: STILL FAILING in 1.8 sec: https://lpci.wedontsleep.org/job/devel/1085/01:31
LPCIBotProject devel build #1,086: STILL FAILING in 1.7 sec: https://lpci.wedontsleep.org/job/devel/1086/01:46
LPCIBotProject devel build #1,087: STILL FAILING in 1.7 sec: https://lpci.wedontsleep.org/job/devel/1087/02:01
LPCIBotProject devel build #1,088: STILL FAILING in 1.8 sec: https://lpci.wedontsleep.org/job/devel/1088/02:16
LPCIBotProject devel build #1,089: STILL FAILING in 1.7 sec: https://lpci.wedontsleep.org/job/devel/1089/02:31
LPCIBotProject devel build #1,090: STILL FAILING in 1.7 sec: https://lpci.wedontsleep.org/job/devel/1090/02:46
wgrantcjwatson: Is remove-package.py used at all these days? It was superseded by lp-remove-package.py years ago, but never deleted...04:54
StevenKI can not recall remove-package being used while I've been an AA05:12
wgrantI'm waiting for mawson to tell me if anyone has.05:13
StevenKIt imports dak_utils for crying out loud05:13
wgrantThe last source it was used on was in 2007... binaries I'm still waiting for.05:13
wgrantYep.05:13
wgrantBut then again so does sync-source...05:13
StevenKsteven@liquified:~/launchpad/lp-branches/devel% grep -c '^#' scripts/ftpmaster-tools/remove-package.py05:13
StevenK14505:13
wgrantBut that can hopefully die soon.05:13
wgrantYes.05:13
wgrantThere's a revdep check all commented out in there :/05:13
StevenKYes.05:14
StevenKBecause removing code is hard, or something.05:14
StevenKAn XXX from elmo. Neat.05:14
StevenKThat is disgusting, kill it.05:15
wgrantIt's already gone.05:15
wgrantJust wanting confirmation.05:16
* StevenK stares at scripts/_ginalog.py05:19
wgrantYes, pretty much.05:20
wgrantBut it doesn't use initZopeless, so this branch won't delete it.05:20
StevenKOh, nice, you're killing it already?05:20
wgrantWell, porting most scripts that use it directly to use LaunchpadScript instead.05:20
wgrantAnd deleting lots of scripts that use it but don't work any more.05:21
StevenKDoes that mean canonical.lp dies?05:21
wgrantHopefully in the next couple of days.05:21
wgrantStill a little bit to go.05:21
wgrantHmm, untested script written in 2006 and unchanged since then except for compatibility fixes.05:24
wgrantI think it can die.05:24
StevenKWhich one?05:33
wgrantscripts/rosetta/check-distroseries-translations-diffs.py05:34
StevenKNothing seems to reference scripts/_ginalog.py, I'm tempted to just delete it.05:40
wgrantI believe that would be the correct course of action.05:42
wgrant540KB of accidental addition, I suspect.05:42
wgrantIt hasn't changed since it was added around r114905:44
StevenK 1 file changed, 15640 deletions(-)05:48
wgrantHeh05:48
nigelbWoah05:49
nigelbWith the amount of "die" and "kill" you both use, a casual observer would think you both are professional hitmen.05:49
StevenKI used 'rm' this time!05:50
nigelbha05:50
StevenKwgrant: Tossed at PQM05:50
wgrantThe code with the lowest maintenance cost is code that doesn't exist :)05:50
nigelb+1 to that05:50
StevenKNeat. r1398005:54
nigelb20 more revs to r14000. Neat.05:55
wgrantStevenK: Have you read sync-source.py lately?06:13
wgrantdef init(): global Blacklisted, Library, Lock, Log, Options06:13
wgrantThat's a pretty good summary of its style.06:13
StevenKI don't think I want to.07:23
wgrant 31 files changed, 558 insertions(+), 2198 deletions(-)07:28
wgrantAnd canonical.lp is dead.07:28
StevenK\o/07:29
StevenKHave you pushed it?07:29
wgrantThe three branches are in ec2.07:36
wgrantWill see how much is broken.07:36
wgrantAh, this is handy.08:49
wgrantI think our manual escaping stuff might do the wrong thing with postgres 9.1's escaping changes.08:51
wgrant:(08:51
cjwatsonwgrant: yes, feel free to kill remove-package.py08:54
wgrantcjwatson: Thanks.08:54
cjwatsonwe still need sync-source.py for a while until a few more bugs in the new-style thing are worked out08:56
wgrantYep.08:56
cjwatsonparticularly sponsorship08:56
cjwatson*sigh* must find time to finish writing that autosync API script too08:56
wgrantcjwatson: Are archive-{integrity,override,cruft}-check used?08:58
cjwatsoncruft is very heavily used.08:58
wgrantAh, so we still use it for NBS?08:58
cjwatsonI can't remember about the other two.08:58
cjwatsonYes.08:58
cjwatsonI kind of feel like we ought to use integrity but I haven't done so for ages.08:59
wgrantIt also does ASBA, which is a bit odd.08:59
wgrantYeah, I want to run something like integrity, that basically compares the pool with the DB.08:59
wgrantBecause there is heaps of cruft there, and some stuff is probably missing.09:00
cjwatsonI think this is the first time I've heard of archive-override-check.  Exactly what "inconsistences" [sic] does it report on?09:00
wgrantIt's the one I don't know about, too.09:00
wgrantLet me read it.09:00
wgrantI think it might check consistency between architectures.09:02
cjwatsonSo like http://people.canonical.com/~ubuntu-archive/architecture-mismatches.txt except unused? :-)09:02
cjwatsonThat report is just done based on Packages and Sources files.09:02
wgrantIndeed, probably. I assumed NBS there was similar -- didn't realise you actually used archive-cruft-check.09:03
cjwatsonSo, OK, it'll miss things with inconsistent overrides that aren't built, but ...09:03
cjwatsonYeah, we use it as the first stage of the input09:03
cjwatsonI wouldn't object to rewriting it at some point09:03
cjwatsonhttp://paste.ubuntu.com/692165/ - don't vomit all at once09:04
wgrantI plan to write a new integrity checker in the short term, but have no plans for cruft, apart from the port to LaunchpadScript that I did this afternoon.09:04
wgrantNot bad, not bad.09:04
wgrantThat explains why the output was unrecognisable.09:04
cjwatsonI particularly like the grep '^ *o '09:04
wgrantYeah.09:06
wgrantAFAICT archive-cruft-check's ASBA support is unused and doesn't even make sense.09:06
wgrantPerhaps it originated with dak.09:06
cjwatsonI don't believe I've used it for some time09:21
cjwatsonIf you want to delete that part, that's fine by me; or you could just ignore it until I rewrite cron.NBS and propose a branch that removes the script entirely09:23
cjwatsonOK, WTF was _ginalog.py about?09:23
cjwatsonOh.  Wow.  ArchiveCruftChecker doesn't even talk to the database except to get the current distroseries and such (and the removal code which we don't use).  I could just pull that out wholesale.09:26
cjwatson(Perhaps not on a Sunday morning though.)09:27
wgrantcjwatson: Yeah, most of archive-*-checker don't really use the DB for anything useful.09:43
wgrantThere's a *lot* of cruft in LP :)09:44
wgrantnigelb: Thanks.09:53
nigelbwgrant: \o/10:16
nigelbNot my happiest moment. Really.10:17
wgrantHeh :)10:19
StevenKHehe, even cjwatson comments on _gina log11:32
=== Pendulum_ is now known as Pendulum
m4n1shwhere do all the translation strings like here come from? Do they come from po/messages.pot file present in branch associated with series which is focus of development?18:11
nigelbNot the best of times. Oceania still hasn't woken up.18:22
dobeym4n1sh: "like here" ?21:27
dobeym4n1sh: also, Oceania is at war with East Asia, so that whole thing might get in the way. ;)21:28
m4n1sherrrr? had too much of whisky?21:28
m4n1sh:)21:29
dobeyno21:29
dobeydid you miss the 2 minutes hate, brother?21:29
mwhudsonmorning21:30
dobeym4n1sh: http://en.wikipedia.org/wiki/Nineteen_Eighty-Four#The_War21:30
m4n1shahhh21:31
m4n1shgot it21:31
m4n1sh:)21:31
dobeym4n1sh: anyway, i'm not sure what you mean by 'like here' given you provided no link :)21:32
m4n1shyes21:32
m4n1shI know21:32
m4n1shthat was the mistake21:32
m4n1shI realized it just now21:32
m4n1shit was the http://translations.launchpad.net/pinta21:33
m4n1shpage21:33
m4n1shwas trying my hands on gettext and all those, not able to understand many things21:33
dobeyah; i think translations on a project are imported from the .pot file in the series, if there is one21:35
dobeyugh21:36
dobeywhat the heck is pinta doing21:36
dobeyeww21:36
m4n1shdobey: where?21:38
dobeywith translations21:39
m4n1shit got a rebirth21:39
m4n1shI dont think the translations work properly21:39
m4n1shthe translations should be named like es.pot, ro.pot etc21:39
dobeyit's doing weird stuff manually with gettext, i presume to try and support windows also21:39
dobeyno21:39
m4n1shlike locale.pot21:39
dobeyno21:39
m4n1shright now it is messages-<locale>.pot21:40
dobeythere is only one pot file21:40
m4n1shsorry21:40
dobeyno, it's .po21:40
m4n1shI mean21:40
m4n1shright now it is messages-<locale>.po21:40
m4n1shit should be just locale.po21:40
dobeywell, a lot of things should be different21:40
m4n1shbut all the files in pinta repo is named messages-<locale>.po21:40
m4n1shdiffernet like?21:40
dobeyit's not clear how to me pinta expects to support windows/osx though21:41
m4n1shit does21:41
dobeywell, "messages" is not a proper gettext package name21:41
dobeym4n1sh: i know it does. i mean in the technical sense21:41
dobeyie, a single .exe, or does it require cygwin to work, or what21:42
m4n1shdobey: it works on windows and osx too21:42
m4n1shover mono21:42
m4n1shruns over mono for windows21:42
m4n1shor probably even .NET21:42
dobeyyes but that doesn't tell me anything21:42
m4n1shhttps://github.com/PintaProject/Pinta/tree/master/po21:42
m4n1shcheck this21:42
dobeyi looked at it21:42
dobeybut it doesn't tell me anything about it, other than it's being done wrong21:42
m4n1shlol21:43
dobeyanyway, not an issue with launchpad itself21:43
m4n1shI dont think so21:43
m4n1shlaunchpad exports it as <locale>.po21:43
m4n1shAFAIK21:43
m4n1shthis messages-foo thing breaks pure gettext based files21:43
m4n1shlike pinta.desktop.in21:43
dobeyyes, like i said. the way pinta is doing translations is totally broken :)21:44
m4n1shI get entries in pinta.desktop as21:44
m4n1shName[messages-ro] = blah blah21:44
m4n1shI expect to get21:45
m4n1shName[ro] = blab blah21:45
dobeyeh?21:45
m4n1shyes21:45
m4n1shafter running make I get "Name[messages-ro] = blah blah" in pinta.desktop file21:45
m4n1shnot what I expect21:45
dobeyi don't see how21:46
dobeyare you building/installing on windows?21:46
m4n1shno21:46
m4n1shUbuntu21:46
dobeyis bzr way behind what's in git? or do you have some patch to make it build?21:47
m4n1shit looks for all the files in po/ dir and checks for the string I Used in _Name21:47
m4n1shso the translation for that string is in messages-ro.po21:47
m4n1shso it substitues Name[messages-ro] = fo fo21:47
m4n1shdobey: this way is not related to git or bzr21:48
dobeyis there a pinta irc channel?21:48
m4n1shyes21:48
m4n1shdead21:48
m4n1shonly me and Laney are there :)21:48
m4n1shthis gettext thing is done by intltool and autotools21:48
m4n1shtwo highly confusing things21:49
m4n1shnothing git or bzr specific21:49
dobeylet's move discussion there21:49
m4n1shyes21:49
lifeless:P21:59
nigelbmorning lifeless22:05
lifelesshi nigelb22:59
nigelbSleepless nights are so not fun.23:00
nigelbwallyworld_: \o/ I landed that bug title via XHR that I was working on! After qa-bad twice though :(  (wgrant may stab me anytime :P)23:01
=== _thumper_ is now known as thumper
wallyworld_nigelb: excellent. well done. i've been fighting with unity this morning :-(23:06
nigelbOuch, that sounds like a bad way to start a Monday23:06
wallyworld_yep. been bad for a few days. hopefully beta2 will be better23:07
wgrantlifeless: Are we still forbidden from fastdowntime during beta week?23:09
lifelesswgrant: on some days yes23:11
wgrantlifeless: Wed/Thu I could understand, but it seems like two minutes early in the week shouldn't hurt.23:12
wgrantI guess it depends when they aim to have images, too.23:12
* wgrant stabs Optus a bit.23:13
cjwatsonI wouldn't expect a Monday fastdowntime to be a problem.  After that I think we'd prefer you held off23:27
cjwatsonand Friday should be OK, given that the main bit that isn't fast yet is the publisher downtime23:28
wgrantcjwatson: Thanks.23:29
lifelesscjwatson: wgrant: I think kate asked for wed/thu23:56
lifelessskaet: ^ was it those two days you wanted blacklisted, or tuesday as well ?23:56
wgrantDoes she realise it means missing a publisher run?23:58
wgrantAlthough it may be on manual at that point anyway.23:58
lifelesshttps://code.launchpad.net/~lifeless/launchpad/use-oops-timeline/+merge/7593523:58
lifelesswgrant: does it ?23:58
wgrantlifeless: It finishes at :26-33 or so, so we disable it an hour before.23:59
wgrantMeaning that the 0802 run doesn't happen.23:59

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