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

StevenKwallyworld: http://penny-arcade.com/comic/2011/09/1200:03
=== StevenK changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: StevenK | Critical bugs: 263 - 0:[########*** stack smashing detected ***: ./lp terminated
nigelbohai StevenK00:04
nigelbCould you point me to something that will help with javascript unit tests?00:04
StevenKNo00:05
StevenKSince I have no idea myself00:05
nigelbexcellent!00:05
nigelbI'll wait for wallyworld then.00:05
nigelbI made a whole lot of changes to untested code. Can't get away without writing tests anymore.00:06
wallyworldhi nigelb00:09
nigelbwallyworld: Hi! I did some major changes to +check-links and lp-links.js00:10
wallyworldnigelb: excellent. what changes?00:10
nigelbit pulls in the title and updates the dom with bug title00:11
nigelbso I had to change how the API is used to make my changes generic.00:11
nigelbhttps://code.launchpad.net/~nigelbabu/launchpad/bug-title-849121/+merge/7526700:11
* wallyworld looks00:11
nigelbActually, the example in the MP is slightly wrong. /me corrects.00:12
nigelbwallyworld: How does it look? I hope it doesn't make your eyes bleed :)00:24
* wallyworld looks again00:25
wallyworldnigelb: the branch links value should be "invalid"00:26
wallyworldbut it looks fine i think00:26
wallyworldit's a nice addition00:26
nigelb\o/00:27
wallyworlddid you have a question you wanted to ask?00:28
nigelberr, is there documentation about javascript unit tests?00:28
wallyworldi didn't look at the code in detail, just the new output00:28
wallyworldhttps://dev.launchpad.net/JavascriptUnitTesting00:28
wallyworldthat plus looking at what others have already done00:28
nigelboooh. Awesomeness \o/00:29
wallyworldplus asking on here if you are stuck :-)00:29
nigelb:)00:29
wallyworldnigelb: i have to go out for a bit to see a doctor. but ping me later if you have any questions etc00:30
nigelbwallyworld: sure! :-)00:31
wallyworldgood luck with the tests :-) yui tests aren't too bad when you get used to them00:31
nigelbHah. The last time I tried I was fairly homicidal :P00:32
StevenKwgrant: https://code.launchpad.net/~stevenk/launchpad/missing-all-still/+merge/7528601:08
wgrantStevenK: jtv may have a branch to remove that import.01:09
wgrantStevenK: It was a temporary import of a private class, I believe.01:09
StevenK"temporary" -- it's been bugging me for two days01:10
=== G_ is now known as G
wgrantlifeless: You have a 5 month old LP branch, changing the way INCOMPLETE is stored.01:36
wgrantlifeless: 'tis the oldest active review.01:36
lifelesswgrant: feel free to fix it and land it02:08
rsalvetihey, I'm from linaro and would like to test the derived distro feature, I wonder if I have any special permission even to play with it on dogfood/staging?02:28
wgrantrsalveti: What sort of thing do you want to test? Much of it still requires sysadmin handholding at this stage.02:29
rsalvetiwgrant: basically the idea is to start using this feature to guide the linaro-ubuntu development02:29
rsalvetiI'm kind of the main user for this feature from the linaro side02:30
rsalvetiwas talking with flacoste about it, and he also pointed me bigjools to help, but don't think he's on-line now02:30
wgrantRight, bigjools is the one to talk to, but he's in the UK.02:30
wgrantI don't think (qa)staging have all the cron jobs set up.02:31
wgrantAnd we don't know if derived distros actually works yet.02:31
wgrantUbuntu is using the native syncing features, but that's all that's actually known to work properly.02:31
rsalvetiinitially I'd like to see if I'd be able to test it against staging or dogfood, but don't know yet if I can get the permission to play with it just at staging02:31
rsalvetiyeah, that's the main feature even for us02:31
Ursinhawhen I was doing exploratory testing, afair bigjools was running the cronjobs manually02:31
rsalvetiand the idea is to start using it to see what is still missing02:31
wgrantrsalveti: Well, critically we don't even know if you can create a new usable distribution.02:32
wgrantI have my doubts over whether initialising it with packages actually yields a usable set of packages.02:32
rsalvetiideally we would like to be able to fully use it for linaro 11.10, that's the cycle we're planning to rebase on top of oneiric02:32
Ursinharsalveti, I think that you'd need superpowers to create a distro02:32
wgrantRight. We can try creating a test linaro distro on staging once spm is back, if we want.02:32
Ursinhawgrant, is the feature that alpha still?02:32
rsalveticool, will move this conversation over email then02:33
rsalvetiwgrant: thanks for your help anyway02:33
Ursinharsalveti, spm should be back soon, I guess02:33
wgrantrsalveti: That's probably best. We can get some stuff set up now by running cronjobs manually, but bigjools is the guy you want to coordinate with.02:33
rsalvetiUrsinha: but I'll be gone soon :-)02:33
wgrantUrsinha: The syncing is tested.02:33
wgrantUrsinha: Everything else is not.02:33
Ursinhawgrant, hm, right02:33
rsalvetiwgrant: cool, he's my main poc, so good to know he's the right guy for it :-)02:34
Ursinhaso I believe rsalveti would do the testing :)02:34
rsalvetithat's the idea02:34
wgrantThe extent of the initialisation testing so far seems to have basically been "it doesn't crash, therefore it must be good"02:34
Ursinhahaha02:34
rsalvetiwe can only test when there's someone really using it :-)02:34
wgrantWe created the first production test last night.02:35
wgranthttps://launchpad.net/bilimbitest/angry02:35
Ursinhahahaha02:35
Ursinhalol02:35
=== almaisan-away is now known as al-maisan
rsalveticool02:35
wgrantWe may be able to push the first builds through production tonight, if things go well.02:38
wgrantrsalveti: Does Linaro rebase on the latest Ubuntu release each time we release?02:40
wgrantrsalveti: Or does it merge like Ubuntu does from Debian?02:40
rsalvetiwgrant: both02:40
rsalvetiwgrant: we use the stable ubuntu release to do our main releases02:40
rsalvetibut at the same time we're also working against the dev release, testing our packages and then pushing directly to ubuntu02:41
rsalvetibut the main priority is to be on top of the latest stable release02:41
rsalvetilike, we expect 11.09 to be our last natty based release02:41
rsalvetiand do the first oneiric based one next month, together with the ubuntu release02:41
wgrantI am disturbingly ignorant of how Linaro operates. Do you have a dak archive, or do you just use PPAs on top of Ubuntu?02:42
rsalvetiwgrant: currently we're just using a PPA02:42
rsalvetiand that's why we wanted the derived distro so much, working with a PPA is quite annoying02:42
wgrantRight.02:42
rsalvetias we can't track upstream updates02:42
rsalvetiand we can have bugs against packages02:43
rsalvetiand so on02:43
rsalveti*can't02:43
wgrantYep.02:43
rsalvetiit's specially annoying when working against the dev release02:44
wgrantSo, hopefully you can talk to Julian in your morning some time.02:44
wgrantOtherwise I guess there will be a lot of email and talking to people like me, who are around sometimes when you are.02:44
rsalvetiyup, will try to ping him directly tomorrow morning02:45
StevenKwgrant: Can haz review? https://code.launchpad.net/~stevenk/launchpad/denorm-bspph-garbo/+merge/7511802:51
=== al-maisan is now known as almaisan-away
=== almaisan-away is now known as al-maisan
=== jtv changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: StevenK, jtv | Critical bugs: 263 - 0:[########*** stack smashing detected ***: ./lp terminated
jtvStevenK: I guess I'll go to work on your branches then.  Sorry, old boy.03:18
StevenKjtv: I have a missing import branch -- which you can ignore if you're going to fix it.03:24
jtvStevenK: too late.03:28
=== al-maisan is now known as almaisan-away
jtvStevenK: I'm afraid I haven't been very kind to your branches.  I was joking when I did the "sorry I'm going to review you" bit though!04:30
StevenKjtv: I've done two of these migrations using garbo jobs before and have never been asked to file a bug to remember to remove them when they're done.04:49
jtvStevenK: it's just a recommendation—but I find it helps, e.g. if the code becomes a problem while you're on holiday.04:50
jtvIt also means that the task is explicit, and not hidden among the pile of things you know you have to do that others aren't aware of.04:51
StevenKOh, wgrant and sinzui are well aware of what I'm doing.04:51
wgrantA bug would be nice.04:51
wgrantGiven this should be quick.04:51
wgrantIt can sit around assigned to you for a few days.04:51
jtvIt's easy to forget these things, and that's how you get… Soyuz.  :)04:52
wgrantjtv: NOW you're learning.04:52
StevenKMeh :-P04:52
jtvwgrant: technically, I've been drinking to forget Soyuz for months now.04:52
kb9vqfQuick question: the builddmaster/accepted and builddmaster/incoming directories seems to be full of files; can these be safely deleted?04:59
kb9vqfalso wondering about the fatsam directory--what does it do and can it be cleaned up?04:59
wgrantkb9vqf: fatsam is the librarian's old name.05:01
wgrantkb9vqf: That's all the librarian data.05:01
kb9vqfok05:01
wgrantkb9vqf: And I thought I answered your accepted/incoming question a month or so back :)05:01
wgrantkb9vqf: Incoming is the queue... stuff shouldn't be in there once process-upload.py runs.05:01
wgrantIf there is, you're probably not running it properly.05:01
wgrantaccepted you can dispose of.05:01
kb9vqfwgrant: You answered my question about poppy/incoming :)05:02
kb9vqfI was wondering about builddmaster/incoming05:02
wgrantkb9vqf: Ah.05:02
wgrantkb9vqf: Are you running process-upload.py over that dir?05:02
wgrantA year ago it was run automatically by buildd-manager, but that's no longer the case.05:02
kb9vqfthe builddmaster directory?05:02
wgrantYes.05:02
kb9vqfI don't think so05:03
* kb9vqf goes to check05:03
wgrantSomething like 'scripts/process-upload.py -C buildd --builds /srv/launchpad.net/builddmaster'05:04
wgrantThe '-C buildd --builds' bit is important.05:04
kb9vqfAs far as I can tell I am only running it over the poppy directory05:04
kb9vqfunless it is in a cron script somewhere05:04
wgrantIt's a separate cron job now.05:05
kb9vqfand it is supposed to clean up the builddmaster directory?05:05
wgrantIt will do that once it has processed the uploads.05:05
wgrantIf it's not running, your builds aren't going to do much.05:05
wgrantThey will just sit in the upload queue forever.05:05
kb9vqfeverything is working OK so I think it is running05:05
wgrantWhat rev are you running?05:05
* wgrant checks.05:05
kb9vqfan older rev05:05
kb9vqfprobably a year or so earlier05:05
wgrantr1098305:06
kb9vqfok05:06
wgrantJune last year.05:06
wgrantSo.05:06
wgrantThat's before this change.05:06
kb9vqfok05:06
wgrantThat may explain why there's stuff left in incoming/. Is it mostly old?05:07
kb9vqfso it is safe to delete the builddmaster/incoming directory contents then?05:07
* kb9vqf goes to check05:07
kb9vqfyes05:07
wgrantKill them all.05:08
kb9vqfdelete all the files?05:08
kb9vqfthere are some new ones in there as well05:08
kb9vqfwell, newer05:08
* kb9vqf just wants to double check before hosing his system :)05:08
wgrantWith the old code, if they're not from builds that have finished in the last few minutes then they're probably never going to be removed automatically.05:08
wgrantbuildd-manager ran process-upload automatically once each build completing, telling it to look only at that build.05:08
kb9vqfso everything in this directory already has a copy in librarian for the PPA?05:09
wgrantSo it won't ever look at stuff from old builds.05:09
wgrantWell, I wouldn't really expect stuff to be in there. But if it made it into the PPA's archive, then yes, it's in the librarian.05:09
kb9vqfI think I understand05:09
kb9vqfand deleting these files would not delete any published binaries or sources05:10
wgrantRight.05:10
wgrantThat's just the intermediate queue between the buildds and the DB/librarian.05:10
kb9vqfI'm tempted to go on the safe side and only delete stuff that is a few days old or more05:10
kb9vqfok, now I understand :)05:10
wgrantWhat sort of stuff is left that is new?05:10
kb9vqf.deb files05:11
kb9vqf.dsc files05:11
wgrantHmm. Odd.05:11
wgranthttps://dev.launchpad.net/Soyuz/TechnicalDetails is mostly brand new, and might be a helpful reference at times.05:11
wgrantIt's still being written.05:11
kb9vqfbasically the output of a builder05:11
kb9vqfok05:11
wgrantlots of it from a developer's perspective, but may still be handy for your purposes.05:12
kb9vqfso just to make sure I have this straight...there are two queues, one that takes uploaded source packages and one that takes built binaries from the builders?05:12
wgrantRight.05:12
wgrantThey're both handled by process-upload.05:12
kb9vqfand each queue's contents are eventually loaded into librarian?05:12
kb9vqfok05:12
kb9vqfI feel much better about deleting those files :)05:12
wgrantBut for buildd uploads, buildd-manager runs it automatically (well, not any more, but in your code)05:12
wgrantOnce process-upload runs, those files are useless.05:12
kb9vqfright05:13
kb9vqfand since I've had the buildd manager die on me...05:13
kb9vqfit might explain the leftovers05:13
wgrantYep.05:13
kb9vqfok05:13
kb9vqfthanks for the help :)05:13
wgrantnp05:13
=== maxb_ is now known as maxb
=== wgrant changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: StevenK, jtv | Critical bugs: 261 - 0:[########*** stack smashing detected ***: ./lp terminated
wgrantStevenK: Are devel/db-devel jenkins builds meant to be disabled?05:36
nigelbMorning.06:15
wgrantHi nigelb.06:16
nigelbNow I've fallen ill. Sigh.06:16
wgrantMore LP time :P06:16
nigelbheh06:16
nigelbHrm, devel has not yet been merged into db-devel.06:18
nigelbbuildbot breakage still on-going?06:18
StevenKwgrant: Yes06:26
StevenKwgrant: Let me fix that06:26
nigelbwgrant: How did I end up asking the exact same question about a few minutes after you.06:27
nigelbShould. Get. Away. From Computer.06:27
StevenKwgrant: Fix0rated06:27
wgrantStevenK: Thanks.06:28
wgrantnigelb: buildbot should pass in <10min.06:28
nigelb\o/06:28
StevenKwgrant: It was disabled in case I was dealing with config06:28
wgrantAhh.06:29
wgrantbuildbot passed!06:45
StevenKOMG06:45
wgrantBoth of them.06:45
wgrantToo late for fastdowntime tonight, though :(06:45
StevenKwgrant: Really?06:51
nigelbThis is what happens when you conspire to steal FDT time :P06:52
wgrantStevenK: We need staging to update.06:52
wgrantnigelb: wallyworld stole my window :(06:52
nigelbbwahaha.06:52
wgrantAn hour before he was meant to start for the day, too!06:52
nigelbhaha06:52
wgrantSo I start at 9am, thinking I'm going to get my patch in first.06:52
wgrantBut find that his is already landed.06:52
wgrantBaaaah.06:52
nigelb:D06:53
nigelbI love it.06:53
nigelbHrm. db-devel branch page timing out. Known?06:54
wgrantIt will have just pushed.06:56
wgrantAnd will be scanning.06:56
wgrantMight time out for 30s or so.06:56
nigelbAH06:56
wgrantYes, that sucks.06:56
nigelbhaha06:56
wgrantBut branchrevision is terrible.06:56
nigelb"udd importer should make tea while launchpad is down"06:57
wgrantHeh06:57
nigelbwgrant: I wish that and loggerhead started working better.06:57
wgrantYeah.06:57
StevenKs/started \(work\)ing better/\1\ed/06:58
StevenKDoh, one extra \06:58
nigelb"I forgot to escape something. Wheeee[taptaptap]eeeeee"06:59
wgrantStevenK: You were dealing with rvba's confirmationoverlay?06:59
wgrantAlso, your DB patch has somehow conflicted with db-devel.07:00
StevenKIt has?07:00
wgrantThis is a bit screwed.07:00
StevenKstub landed that07:00
wgrantContents conflict in database/schema/patch-2208-87-2.sql07:00
wgrantHmm.07:00
StevenKMy patch should win, it's *applied*07:00
wgrantYes.07:01
wgrantAnd there's no 87-2 in stable to conflict with it.07:01
wgrantBut it still conflicted.07:01
StevenKAnd it wouldn't have landed with a conflict.07:01
StevenKSo, WTF.07:01
nigelbHow can you conflict with no file?07:01
StevenKOh, database/schema/patch-2208-87-2.sql exists in db-devel07:02
wgrantContents conflict often happens when the same file is added in two different branches.07:02
wgrantStevenK: Yes.07:02
wgrantBut it's not in stable.07:02
wgrantAFAICT07:02
lifelessadded twice rather than added + merged ?07:02
StevenKlifeless: Shoo07:02
wgrantIf he's here, he could lend his bzr expertise to work out WTF is going on here :P07:02
wgrant87-2 has never been in stable.07:03
wgrantSo how on earth is it conflicting when being merged into db-devel.07:03
lifelesslet me just suck down both branch tips07:03
pooliehi07:03
pooliei'l leave that with him07:03
nigelbheh07:04
nigelbWIN. Yes. 87 is not in stable.07:05
wgrantHmm.07:05
wgrantI wonder if my three merges that were based on devel are problematic.07:05
wgrantexcept that devel has been merged since then.07:05
wgrantAnd those three are a week old anyway.07:05
StevenKjtv: Can you have another look at https://code.launchpad.net/~stevenk/launchpad/denorm-bspph-garbo/+merge/75118 ?07:06
wgrantIt's probably a criss-cross, but there's no warning about it, and shouldn't have been conflicts.07:07
wgrantOh.07:07
wgrantThere is a warning.07:07
wgrantIt's just drowned out by tonnes of other crap.07:07
wgrantlifeless: Sorry, missed that. Fixing now.07:07
stubI didn't think we could land db patches directly on devel atm?07:07
wgrantstub: PQM only checks for -0 :)07:07
nigelbWhat went wrong?07:07
wgrantnigelb: A criss-cross merge.07:08
wgrantWe're going to be having a bit of that if buildbot keeps playing up.07:08
poolieif a criss cross of addition of one file is conflicting that seems like a bzr bug07:09
pooliepossibly already filed07:09
wgrantpoolie: There was more than that, but the addition had me WTFing so I ignored the rest... and missed the criss-cross warning.07:10
adeuringgood morning07:39
jtvhi adeuring07:41
adeuringhi jtv!07:41
jtvwgrant: mind if I throw Katie out of the house?  She's a complete mess and she doesn't help us with _anything_.  Plus, she's not tested that I can see.07:42
jtvI'm talking about the class; we can deal with the person later.07:42
jtvOr now—I don't particularly care either way, as long as we clean things up.07:42
wgrantjtv: Indeed, gina's katie import support hasn't been used since 2006, and probably won't be again.07:43
wgrantdak's schema has changed hugely anyway.07:43
wgrantDelete.07:43
jtvIt can't be again.  We have no proof that it will even run, let alone work.07:43
jtvIf we want her back, we'll have to rewrite her either way.07:44
wgrantYou still don't understand how Soyuz works.07:44
wgrantWe don't care about this proof or workingness business.07:44
wgrantRun and see what blows up.07:44
wgrantThat's the Soyuz Way™07:44
jtvI thought I was doing rather well on that with transitional domination, actually.07:45
wgrantHeh07:46
mrevellHi07:58
jtvhi mrevell08:00
=== StevenK changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: jtv | Critical bugs: 261 - 0:[########*** stack smashing detected ***: ./lp terminated
* StevenK prods jtv more.08:09
jtvStevenK: what?08:10
StevenK[17:06] < StevenK> jtv: Can you have another look at https://code.launchpad.net/~stevenk/launchpad/denorm-bspph-garbo/+merge/75118 ?08:10
jtvOK08:10
jtvStevenK: you kept the suspicious and apparently either unnecessary or incorrect handling of offset?08:11
* mwhudson is tempted to implement a branchaccesstoken thing that allows access to a specific set of branches08:15
mwhudson(in my spare time)08:15
mwhudsonanyone want to argue me out of it?08:15
jtvwgrant: ye commit hath landed.  Blocked by qa-needstesting for stub & nigelb, but I guess it's too late for today anyway..?08:16
jtvmwhudson: this is an auth thing?08:16
wgrantmwhudson: That would be handy.08:16
mwhudsonjtv: yes08:16
wgrantmwhudson: Do you know about the librarian's TimeLimitedTokens?08:16
mwhudsonwgrant: i am aware of them, i guess would be the best thing to say08:17
wgrantjtv: We can do a nodowntime today if you desire.08:17
wgrantmwhudson: They provide a day of access to a specific restricted library file. Sort of similar to what you're suggesting.08:17
wgrantmwhudson: Complications for branches are many, however.08:18
wgrantmwhudson: We can't safely serve branches over HTTPS under their current domain, for one.08:18
jtvstub: busily q/a'ing garbo-frequently?08:18
mwhudsoni have three use cases in mind (1) allowing the extermination of the branch puller (2) recipe builds for private branches (3) allowing other services (i.e. offspring) to access a particular private branch08:18
mwhudsonwgrant: i was thinking of going over ssh08:18
wgrantmwhudson: Ah, that works too.08:18
stubjtv: spm is setting it up everywhere now08:18
mwhudsoni guess i should write a spec, really08:19
wgrantmwhudson: That is the approach I have always assumed we would take for private recipe builds.08:19
wgrantmwhudson: And getting rid of the puller would also benefit from it.08:19
spmstub: well. ish. I've started it; but can't complete today. have put it high in the XS queue08:19
wgrantSo, yes, good plan.08:19
wgrantLEP it up!08:19
jtvstub: is that still Q/A we're talking about?08:19
stubspm: Production could fall over, or at least the lpapis due to oauth nonces grinding to a halt.08:20
stubspm: What is the blockage?08:20
spmI EOD'd about 20 mins ago? :-)08:20
spmand am busy writing an incident report08:20
stubspm: Right, so need to hand it over then.08:20
jmljtv: can you please review https://code.launchpad.net/~jml/launchpadlib/fake-launchpad/+merge/7521108:20
bigjoolsStevenK: http://tinyurl.com/6b2d6v6 - I'll try not to troll you any more :)08:21
StevenKjtv: I will look at the offset thing tomorrow morning, then.08:21
jtvjml: OK—will go into standup soon, so may take a bit.08:21
mwhudsonwgrant: in general, i'm thinking explicit revocation rather than time limiting08:21
jtvStevenK: any idea how it might affect performance?08:21
jmljtv: no worries.08:21
StevenKjtv: I'm not too concerned, to be honest. The query to find work to do is fairly lightweight, and the process is do the work is very lightweight as well.08:22
jtvStevenK: then you might as well just drop the offset.  Nice & simple.08:23
stubspm: I can also cobble something together for production if you push a fresh tree to wildcherry08:23
StevenKjtv: Right, I'll switch to a boolean -- it will declare itself done when the find functions resultset .is_empty()08:24
jtvStevenK: great.  Simpler means less to go wrong.08:25
StevenKjtv: So I lied. The branch has pushed, and I'll ping you when the MP diff is updated.08:27
jtvStevenK: OK, but call first.08:27
StevenKjtv: Sure, then have the stand-up and then another look at the MP -- it should be done by then08:27
jtvStevenK: you're done.08:56
StevenKjtv: Thanks!08:58
nigelbQA?09:02
nigelbHow do I QA that.09:03
jtvnigelb: the main thing is to make sure that it's safe to roll out.09:06
nigelbI don't think it will topple over. But I have no idea how to verify that.09:07
nigelbbigjools: Woah. That's a fun article.09:10
mwhudsonwgrant: do you think https://dev.launchpad.net/LEP/BranchAccessToken misses anything vital?09:15
nigelbmwhudson: What's Offspring?09:18
mwhudsonnigelb: image building software09:18
wgrantmwhudson: I like the stakeholders section.09:18
mwhudsonnigelb: ah, my attempt at wiki syntax failed there09:19
nigelbheh09:19
wgrantmwhudson: The third story title seems wrong.09:19
nigelbI did wonder if it was some sort of Launchpad codename :P09:19
wgrantmwhudson: Looks pretty good, though!09:20
mwhudsonwgrant, nigelb: both fixed i hope09:20
wgrantmwhudson: Would be nice to have similar things for OAuth tokens, though.09:20
poolieRiddell, thanks for posting those build service comparisons09:20
mwhudsonwgrant: i thought about oauth once09:20
wgrantWe probably want to think about other places we may want this before we go ahead and do stuff.09:20
mwhudsonwgrant: i think i've recovered now09:21
pooliei know jml had looked at it before but actually using it in anger (or not) obviously gives much more depth09:21
wgrantie. I don't want all my API scripts to be able to upload to Ubuntu.09:21
wgrantHeh.09:21
jelmer_mwhudson, being able to delete the puller, that'd be nice09:21
nigelbmwhudson: Yep :)09:21
mwhudsonwgrant: well OAuthToken does have a "context" concept, right?09:21
wgrantmwhudson: Hee hee.09:21
wgrantmwhudson: It's there.09:21
wgrantmwhudson: And partially implemented.09:21
mwhudsoni don't think anything sets or reads it though09:22
wgrantBut not working or enabled.09:22
nigelbOAuth is PITA, but I'm not sure if there's something else that does its job.09:22
nigelbWoah. There's a LEP for a Dashboard? Activity Walls?09:23
mwhudsonwgrant: what things do you have in mind for oauth-y stuff?  oauth is pretty http specific isn't it?09:23
Riddellpoolie: not to be taken as critisism of course :)09:23
mwhudsonand I guess we _could_ enable branch access over http09:23
mwhudsonbut well09:23
wgrantmwhudson: I don't meant doing this with OAuth.09:23
wgrantmwhudson: I'd like restricted tokens for more than just branches.09:24
mwhudsonah right09:24
wgrantNot as part of this, but we should probably at least think about it a bit.09:24
wgrantSo we don't go the wrong way.09:24
mwhudsoni guess the another similar thing is p3as?09:25
wgrantIndeed, that is not dissimilar.09:25
wgrantEach token has access to exactly one archive.09:25
mwhudsonwhat else?  i think anything involving the browser is a bit different somehow09:27
mwhudson(e.g. allowing someone to see a particular bug, or branch)09:27
wgrantNot much at the moment.09:35
wgrantBut I want to be able to write an Ubuntu bug robot and give it a token that allows it to write to bugs, but not root everyone's systems.09:35
wgrantFor example.09:35
mwhudsonyeah09:36
mwhudsonhowever09:36
mwhudsoni don't want to invent a schema that can describe both "all bugs on a particular distribution" and "a finite set of branches"09:36
wgrantCertainly.09:37
mwhudsonthat's not so much a rabbit hole as an open cast mine09:37
* mwhudson looks at translatePath, dies a little inside09:38
wgrantYeah, I thought you'd know not go to look at it without protection.09:40
mwhudsonone forgets things09:41
mwhudsontrying to do this by creating a new kind of principal is insane, right?09:42
wgrantI expect that would be somewhat insane.09:42
mwhudsonyeah09:47
mwhudsonjelmer_: yes indeed09:49
mwhudsonjelmer_: it's tests too :)09:49
mwhudsonwow 'make' seems to be taking a preposterously long time09:55
nigelb"seems"?09:56
mwhudsonok, is09:56
nigelbmake run?09:56
mwhudsonjust 'make'09:56
=== jtv changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: - | Critical bugs: 261 - 0:[########*** stack smashing detected ***: ./lp terminated
mwhudsonit's creating wadl now09:56
nigelbEverytime I touch javascript, I cringe about the amount of time make is going to take.09:57
nigelbwgrant had a nice hack for the that, which I keep forgetting :(09:58
wgrantmake jsbuild09:59
lifelessmwhudson: how is a branch access token different to an ssh key?10:03
nigelbHrm. My YUI test HTML doens't have styling.10:14
mwhudsonlifeless: it doesn't correspond to a Perosn10:16
jmljtv: I guess you didn't get around to that review?10:27
jtvjml: you just tore me away from it.  :)10:28
jmljtv: oh, ok, thanks.10:28
nigelbThe css for javascript test is not getting loaded. Debugged for 20 minutes and still no clue. Anyone has suggestions?10:28
nigelbWell, it is loaded. But some of it is not getting used.10:29
nigelbaaaaaah.10:33
nigelbthe wiki is wrong.10:33
nigelb<-- *headdesk*10:33
lifelessmwhudson: I think we should talk about what problem you are addressing - as it stands, it has me a little worried about complexity, protocols, compatibility, auditing and security.11:08
jtvjml: it was too much for one go, I'm afraid.  Posted notes for all but the tests; more tomorrow.11:51
=== jtv is now known as jtv-afk
jml:(11:55
jmljtv-afk: thanks.11:55
jmljkakar: jtv has asked some questions in his review that maybe you'd be better placed to answer: https://code.launchpad.net/~jml/launchpadlib/fake-launchpad/+merge/7521112:09
=== matsubara-afk is now known as matsubara
nigelbjml: Wow. 5000 line diff.  o_O12:16
jmlnigelb: not really.12:16
nigelb40,425.12:17
nigelbOh.12:17
* nigelb bows.12:17
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
=== dobey_ is now known as dobey
jmlnigelb: it's mostly changing data files13:03
nigelbjml: Ahh.13:05
deryckhenninge, ping for standup13:30
henningederyck: oh, sorry13:38
deryckhenninge, we're just finishing up, if you don't want to join13:38
=== abentley changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: abentley | Critical bugs: 261 - 0:[########*** stack smashing detected ***: ./lp terminated
jmlgmb: can I convince you to take a look at that branch again? jtv has reviewed all but the tests.14:22
gmbjml: I've already scheduled some time for it this afternoon.14:25
jmlgmb: thanks.14:29
jkakarjml: I think you did a great job answering jtv-afk's awesome review comments.  Thanks! :)14:48
jmljkakar: thanks.14:50
jmljkakar: I've been learning about wadl on the way.14:51
=== mtaylor_ is now known as mtaylor
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
adeuringabentley: could you please review this MP: https://code.launchpad.net/~adeuring/launchpad/bug-739052-8/+merge/75372 ?15:54
abentleyadeuring: sure.15:54
adeuringthanks!15:54
abentleyadeuring: I'd be inclined to move most of the body of rough_length into a generic function, but perhaps you feel it's too early for that?16:01
adeuringabentley: I thought about that too. But to be honest: I simply want to fix the main bug. Working on it took already too long ;)16:02
abentleyadeuring: Fine with me.  r=me.16:02
adeuringabentley: great, thanks!16:02
gmbjml: r=me on the tests; I'll leave jtv-afk to reply to your response to his comments. A couple more copyright notices that need updating, too (is there a template that needs changing somewhere?)16:03
jmlgmb: I don't know re template. As I might not have said, I'm just updating an old branch. :)16:05
gmbjml: You may have, and I've probably missed it. Fair dos.16:05
=== almaisan-away is now known as al-maisan
=== salgado is now known as salgado-lunch
=== al-maisan is now known as almaisan-away
=== deryck is now known as deryck[lunch]
nigelbabentley: Hi! Could you land a branch for me into db-devel?17:10
abentleynigelb: sorry, give me a couple minutes.17:11
nigelbCool :)17:11
=== deryck[lunch] is now known as deryck
abentleynigelb: which branch?17:12
nigelbabentley: https://code.launchpad.net/~nigelbabu/launchpad/kill-statusexplanation/+merge/7493417:12
nigelbThe last time I missed a few places the field was being used.  Fixed it in devel and merged it down.17:13
abentleynigelb: Okay, let me just snag a copy here...17:18
abentleynigelb: landed.17:24
nigelbabentley: Thanks!17:24
dobeyhrmm17:28
dobeyhttps://lp-oops.canonical.com/?oopsid=OOPS-2083J6817:29
dobeythat does not look fun :(17:29
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
=== salgado-lunch is now known as salgado
dobeycan someone tell me what that means ^^?17:44
dobeyShortListTooBigError: Hard limit of 1000 exceeded.17:46
salgadodobey, I think it means someone expected a DB query wouldn't return more than 1000 items, but it did18:09
dobeyhmm. how can i work around this and let my bot request builds of that recipe?18:11
cjwatsonwgrant: fixed apt is on mawson now, if you'd care to try it ouot?18:12
cjwatson*out18:12
sinzuijcsackett, do you have time to mumble?18:15
jcsackettsinzui: sure.18:15
jcsackettsinzui: http://people.canonical.com/~curtis/target-picker/target-picker-3.html18:19
nigelbHi, could someone help me with mockio?18:39
nigelbvar mock_io = Y.lp.testing.mockio.MockIo();18:39
nigelbThe mock_io variable is undefined for me.18:39
nigelbIncluded the mockio.js, declared it in YUI.use as well.18:39
nigelbAh. Again, wrong example. *fixes*18:46
nigelbI made changes to mockio page and javascript unit testing page.18:55
nigelbhttps://dev.launchpad.net/JavascriptUnitTesting/MockIo?action=diff&rev2=7&rev1=6 https://dev.launchpad.net/JavascriptUnitTesting?action=diff18:55
nigelbIf anyone wants to check18:55
abentleynigelb: thanks for the fix.  Darn JS.19:53
=== abentley changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: - | Critical bugs: 261 - 0:[########*** stack smashing detected ***: ./lp terminated
=== almaisan-away is now known as al-maisan
=== matsubara is now known as matsubara-afk
mwhudsonwell this was unexpected22:17
* mwhudson has implemented anonymous access to public branches over ssh22:17
james_wthe question is...what were you aiming to do? :-)22:22
mwhudsonjames_w: well, i was thinking about https://dev.launchpad.net/LEP/BranchAccessToken22:22
cody-somervillemwhudson, how do you do anonymous access to public branches over ssh?22:23
mwhudsoncody-somerville: fiddling with how the ssh server does authentication22:23
cody-somervilleis the benefit the ability to use the smart server to make things faster vs. over http(s)?22:24
mwhudsonyeah22:24
=== al-maisan is now known as almaisan-away
maxbAnonymous ssh sounds weird, but there's a fairly large precedent for it in the BSD world as an anoncvs transport, IIUC22:31
mwhudsonyeahhttps://code.launchpad.net/~mwhudson/launchpad/anon-ssh-hack/+merge/7544223:03
mwhudsonoops23:03
mwhudsonhttps://code.launchpad.net/~mwhudson/launchpad/anon-ssh-hack/+merge/7544223:03
StevenKG: You have QA, r13938, bug 76382023:12
_mup_Bug #763820: double "with" on +editpgpkeys <qa-needstesting> <trivial> <ui> <Launchpad itself:Fix Committed by dev-nigelj> < https://launchpad.net/bugs/763820 >23:12
StevenKnigelb: You have QA as well! r13932, bug 8854523:19
_mup_Bug #88545: Abolish the "statusexplanation" database field <lp-bugs> <qa-needstesting> <tech-debt> <Launchpad itself:In Progress by nigelbabu> < https://launchpad.net/bugs/88545 >23:19
GStevenK: thanks for the reminder :)23:27
Gmwhudson: if you ask me, I think it's genius :)23:30
mwhudsonG: heh, thanks23:30
GI see another use for it too...23:30
mwhudsonG: whereabouts in nz are you btw?23:31
GIf at first you don't succeed, try, try again (as anonymous)   i.e. if a "bzr branch" or pull fails because of missing public key, give it a go as anonymous because there is a good chance there may be read-only access23:31
Gerrr missing private key that should be23:32
Gmwhudson: West Auckland (I'm a JAFA)23:32
mwhudsonah right23:32
* mwhudson is in wellington23:32
mwhudson(but a brit)23:32
GStevenK: done23:33
StevenKG: Thanks!23:33
Gmy logic is... if I say login to my VM, and do a rocketfuel-get or something and forget to invoke the SSH Agent, because the launchpad repo is world-readable, it'd fall back on the anonymous user, and still work23:34
wgrantnigelb: That shouldn't have been landed yet :(23:34
wgrantnigelb: The prereq is not deployed to anywhere yet, and because it affects oops-prune it needs to be deployed absolutely everywhere.23:35
Gto me, something like would be a great idea as far as usability23:35
G(I'll let others come up w/ reasons why I'm insane for thinking that ;))23:36

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