[00:01] wgrant: are you looking at the same url ? if so, sure [00:02] spm: is OOPS-1698EA2488 mirrored yet ? [00:02] or something wrong with lp-oops ? [00:03] wgrant: 4.18 seconds, hitting it again. [00:03] wgrant: so it -can- be fast; we may have caused disk io [01:17] working on blueprints presents interesting challenges [01:17] like not trying to fix absolutely everything [01:18] Delete delete delete. [01:40] i mean really [01:42] Hm? [02:00] oh sorry just venting [02:00] and some silly code [02:13] mwhudson: I feel your pain [02:13] been there [02:23] mwhudson: have you looked at the query counts for blueprints [02:52] lifeless: no, but given the naivety of the code i've just been looking at, i imagine they might be crazy [02:59] thumper: you around ? [02:59] kinda [03:03] thumper: can i call you at some point? [03:03] no massive hurry [03:03] sure, I'll ping you [03:03] cool [03:04] i think i'm going to end up with another preparatory branch [03:04] first was: move code i want to change [03:04] second looks like being: de-stupid code i want to change [03:06] OMG [03:06] ls lib/lp/blueprints/stories/blueprints [03:06] sequential page tests! [03:08] mwhudson: almost certainly [03:09] eek: I haven't used make lint in a while, and I just ran it on a branch. it seemed to have linted just about every file in the tree. That wasn't particularly useful. ./bin/lint.sh doesn't seem to point to any glaring mistake I made either :-/ [03:10] gary_poster: if there are no changed files (bzr st) it should do a diff against the parent (bzr info) i think? [03:10] gary_poster: did you have any uncommitted files ? [03:10] if not - what mwhudson said [03:10] no uncommitted files [03:10] gary_poster: while you're here [03:11] gary_poster: did you see the thread on lp dev about scripts and participations ? [03:11] gary_poster: bzr st -r parent: ? [03:11] bzr: ERROR: Requested revision: u'parent:' does not exist in branch: BzrBranch7('file:///home/gary/launchpad/lp-branches/devel/') [03:11] heh, that just blew up for me [03:11] if you didn't, mwhudson and I would appreciate your thoughts [03:11] parent branch: bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/launchpad/devel/ [03:11] mwhudson: :parent I think [03:12] lifeless: oh right, that's what blew up [03:12] crashed for me [03:12] i just said the wrong thing to gary [03:12] lifeless: I saw it fly by but did not look closely; will look [03:12] "ReadOnlyError: A write attempt was made in a read only transaction on LockableFiles" [03:12] yeah, same here [03:12] mwhudson: personally, I'd do 'bzr st -r ancestor:..' [03:13] where ... is (for me) ../devel [03:13] lifeless: ah yeah, probably better [03:14] bzr st -r ancestor:../devel/ gives me the kind of list I expected make lint to use === Ursinha-afk is now known as Ursinha [03:14] * gary_poster will try make lint again for amusement sake [03:15] eek, no [03:16] * gary_poster googles "bzr set parent branch" [03:18] gary_poster: maybe you should just fix all the lint in the tree! [03:18] thanks a lot mwhudson :-) [03:19] OK, so I think this is the problem: [03:19] parent branch: bzr+ssh://bazaar.launchpad.net/~mars/launchpad/lsprof-on-demand/ [03:19] I want it to be my local devel (or a remote devel, whatever) [03:19] ah yes [03:20] i think bzr pull --remember will set parent [03:20] I tried bzr merge --remember ../devel/ [03:20] although of course bzr pull won't actually work [03:20] gary_poster: vim .bzr/branch/branch.conf is probably as easy as anything :/ [03:21] ok :-/ if it works that would be good though :-) [03:23] i don't know if the --remember config setting happens before or after the 'pull' part [03:23] all fixed, thank you [03:25] aararargh [03:25] if (ISpecification.providedBy(self.context) and [03:25] specurl == getattr(self.context, 'specurl')): [03:25] # The specurl wasn't changed [03:25] return [03:26] why getattr there? [03:37] lifeless: I have to go, but you were talking about the email thread from this week titled "performance tuesday - transparency," right? [03:58] gary_poster: yes [03:58] ok, will read and reply tomorry [04:20] mwhudson: it is just there to make you tear your hair out [04:20] mwhudson: shall I get a coffee before our call? [04:20] thumper: a cunning plan [04:21] thumper: yeah, i've become distracted by the craptitude of this code, i need to remember what i wanted to talk to you about :-) [04:21] :) [04:24] i want to cry [04:25] * spm hands mwhudson a box of kleenex [04:26] synmpathy from a losa only goes so far..... [04:28] How long is it since Blueprint was maintained? 3ish years? [04:38] possibly because it drives people mad? [04:40] it's a bit of a chicken and egg problem there [04:40] i'm making a small corner of it better at least [04:41] wgrant—hi! Say, how is BuildFarmJob coupled to a Job or BuildQueue? Is there any chance that the state of a BuildFarmJob fell out of sync with that of the Job? [04:42] We've got a bunch of TranslationTemplateBuildJobs that were starved out of the build farm as far as we can tell, but now the build farm is mostly idle again and those jobs aren't being picked up. [04:42] jtv: Yes, there are a few ways they can become inconsistent. [04:42] Although less for translations jobs. [04:42] let's see... [04:43] jtv: The i386 virt queue is still 500 items and 11 hours deep. [04:43] That's not what I'd call idle. [04:43] ah [04:43] so many i386 builders idle… all nonvirtual? [04:43] Yes. [04:43] oic [04:44] There used to be just three, but as of yesterday there are five. [04:44] I'm not sure where all the virt builders have been for the last week. [04:44] so that ought to help a little [04:44] How? [04:44] Translations jobs build on virt builders. [04:44] So the extra non-virt ones just slow down buildd-manager for you :) [04:45] Oh, the extra ones are non-virtual. I misunderstood that. [04:46] There are normally 15 or so i386 virt builders. [04:46] Now there are 6. [04:46] that'd explain a few things… [04:47] wgrant: I don't see anything that would associate a BuildFarmJob with a Job or BuildQueue. How does it connect to things? [04:48] jtv: Ha ha ha. [04:48] jtv: Well. [04:48] jtv: http://people.ubuntu.com/~wgrant/launchpad/buildfarm/current-build-model.png [04:49] That's how it roughly is at the moment. [04:49] Except that it's been partially converted to http://people.ubuntu.com/~wgrant/launchpad/buildfarm/new-build-model-again.png [04:49] But the link tables (BuildPackageJob, SourcePackageRecipeBuildJob) are still in place. [04:49] (That's a relief, because I didn't see any BuildFarmJob at all in the former) [04:50] (I still say the arrows look the wrong way around to me) [04:51] The parts of the new model that have so far been adopted are the merging and splitting of BinaryPackageBuild and SourcePackageRecipeBuild into BuildFarmJob, PackageBuild, BinaryPackageBuild, and SourcePackageRecipeBuild. [04:51] Yes, shutup :P [04:51] Everything else hangs on the translations jobs being ported to sit on top of BFJ. [04:51] BuildPackageJob and other link tables need to remain in place until we have you off the old infrastructure. [04:53] * jtv is disappointed to see that shaking his head doesn't clear the cobwebs [04:54] Hmm? [04:54] It's just dizzying. [04:55] Being somewhere inbetween these two schemata. [04:55] Yes :( [04:55] With the arrows—sorry, but it's really not helping!—all pointing the other way. [04:59] wgrant: also, I _still_ don't see how the translation template build jobs are linked to buildfarmjobs. [04:59] jtv: Even in the second diagram? [04:59] A TranslationsTemplateBuild has a BuildFarmJob and a Branch. [04:59] wgrant: I mean in the current schema—there being no TranslationTemplatesBuild table. [04:59] Ah. [05:00] In the current model, they're not linked to a BuildFarmJob. [05:00] The link to BuildFarmJob has to remain memory-only, which ISTM is getting more and more tenuous. [05:01] There's just a TranslationTemplatesBuildJob (BranchJob) linked to a Job linked to a BuildQueue. [05:01] You're different from the others, since you don't have a permanent object. [05:04] So does the absence of a buildfarmjob currently matter? [05:05] Only in that it prevents us from radically simplifying the mess. [05:07] So it's not likely that we've got jobs stuck forever just because of this, but all the more urgent that we update our part of the schema. [05:07] Right. [05:07] I don't think you have stuck jobs. [05:07] I think they're just at the end of the queue. [05:09] Almost certainly, if it's true that the farm is currently swamped by PPA jobs coming in mostly at a score of 2505. Until the cherrypick that spm deployed for us just now, our jobs went in at 1000. [05:10] jtv: You can see at https://launchpad.net/builders that the queue is large. [05:11] wgrant: quite [05:11] It's just hard to get an impression of more subtle aspects such as "what's the queue like for the group of builders that can handle our jobs?" [05:26] Whoops, did my local launchpad repository just break? [05:26] Can't pull any of the LP branches now. [05:26] No such file or directory: u'/home/jtv/canonical/lp-branches/.bzr/repository/indices/f16f01b514931e8ff2433001ed359d47.rix' [05:27] lifeless: what do I do about a broken repo? [05:27] bzr check? [05:28] * jtv tries [05:28] That's busily checking away [05:28] argl [05:28] mwhudson: try argv—it's called a vector, not a list for some reason [05:28] ECONTEXT [05:30] oh, ./bin/ec2 is slightly broken [05:32] argh [05:33] really? [05:33] hmm [05:33] I still use utilities/ec2 :) [05:34] well [05:34] that's just a symlink [05:34] it only matters if you have "debug_flags = hpss" in your config, i think [05:34] https://bugs.edge.launchpad.net/launchpad-foundations/+bug/624434 [05:34] <_mup_> Bug #624434: ec2 needs to initialize bzrlib [05:35] about 50% of the time needed to fix this bug is waiting for "make build" :( [05:37] mwhudson: make compile isn't enough? [05:37] :) [05:37] It skips the WADL and related crap. [05:37] So it doesn't take five minutes. [05:37] yeah, that probably would have been ok here [05:37] the WADL generation is being moved out of make build [05:38] and WADL will be checked into the tree [05:38] see gary for details :) [05:39] that'd be nice [05:41] Um, what happens if it changes? [05:45] jtv: depends on the breakage [05:45] jtv: #bzr is a good place to ask [05:46] lifeless: thanks. "bzr check" has been recommended to me, and I'm running that now. [05:47] jtv: do you have other files called /home/jtv/canonical/lp-branches/.bzr/repository/indices/f16f01b514931e8ff2433001ed359d47.* ? [05:47] or well /home/jtv/canonical/lp-branches/.bzr/repository/*/f16f01b514931e8ff2433001ed359d47.* [05:48] obsolete_packs/f16f01b514931e8ff2433001ed359d47.cix [05:48] obsolete_packs/f16f01b514931e8ff2433001ed359d47.iix [05:48] obsolete_packs/f16f01b514931e8ff2433001ed359d47.pack [05:48] obsolete_packs/f16f01b514931e8ff2433001ed359d47.rix [05:48] obsolete_packs/f16f01b514931e8ff2433001ed359d47.six [05:48] obsolete_packs/f16f01b514931e8ff2433001ed359d47.tix [05:48] that's it [05:48] mmm [05:48] looks like pack-names didn't get updated properly? [05:49] does it? [05:49] maybe [05:49] * jtv is devoid of clue [05:49] lifeless would know more than me [05:49] jtv: bzr stores all data in packs, named after some checksum of the contents [05:50] jtv: the pack-names file lists which pack files are curreent [05:50] jtv: repacking coalesces pack files, so removes some [05:51] so one way you could get in this situation is if packs were combined, the old ones moved to obsolete_packs and then the update of pack-names file didn't succeed for some reason [05:51] but i don't know the order things happen in off the top of my head [05:51] in fact i would guess the pack-names update would be done _before_ obsoleting the packs [05:51] I think this happened while I was pulling several branches at the same time. Maybe a race condition? [05:52] let me also try if my fs is still writeable; it corrupts itself sometimes [05:52] yup, still writable [05:54] a missing index [05:54] means your fs failed to complete a write [05:56] so a previous instance of fs corruption is the most likely cause… odd though that it started failing in the middle of a bunch of pulls though. [05:59] we only do IO as required [05:59] so we don't check that every index is there every time [06:00] so, a pack-name update that wasn't flushed looks plausible [06:00] you could see if there is a tmp file with a newer date [06:00] and if so, (in a copy of the repo, of course) [06:00] try putting it in place [06:04] lifeless: where would I find that? And shouldn't I wait for "bzr check" to complete first? [06:10] check doesn't handle this sort of problem [06:10] .bzr/repository [06:10] and - seriously - hop into #bzr [06:11] grab - probably spiv right now [06:27] * mwhudson eods === almaisan-away is now known as al-maisan [08:39] jtv: Looks like your build score changes worked. [08:39] wgrant: are we building one? [08:39] jtv: Yeah. [08:39] https://edge.launchpad.net/builders/rhenium [08:39] yup, see it! [08:40] Thanks for the heads up [08:41] However, the i386 queue is looking pretty sad. [08:41] I wonder if lamont rolled out the new lp-buildd this morning. [08:42] Then we can easily reassign some amd64 builders to i386... [08:43] good morning [08:45] hi adeuring [08:45] hi jtv! [09:00] allenap: will you be landing your alternative property cache branch soon? It looks great (tests will be much nicer to read :) ). [09:06] actually, just saw that there is canonical.cachedproperty.is_cached too. [09:15] Hello [09:33] bigjools: Yes, db-devel merges into devel have really bad revnos :( [10:48] mrevell: just dumping a branch on you may have been a little rough yesterday… would you prefer a series of HTML snapshots? Won't show the full interaction, but will show the different forms the message can take. [10:50] jtv, No a branch is fine, I'm just in the middle of transcribing a particularly difficult to understand interview. I'll have that finished this morning and will get to the translations help this afternoon, thanks. [10:50] mrevell, particularly hard-to-understand? I don't remember talking to you! [10:50] danilos, heh [10:50] mrevell: thanks—looking forward to it! [10:50] (ignore the danilo) [10:50] mrevell, who deals with commercial emails on feedback@lp? [10:53] danilos, me [10:54] mrevell, there's one from 17th that I haven't seen a response to [10:54] mrevell, and another one 5 days ago [10:56] Anything that old will definitely have been dealt with. [10:59] wgrant: Thankyou for removing BuildBase :) [11:00] Q: do we have anything that actually runs the tests in lib/canonical/launchpad/windmill/jstests/launchpad_ajax.js ? [11:00] noodles775: Still need to move the last couple of things from the interface file. [11:00] noodles775: I'll move BuildStatus to BuildFarmJob, but I'm not sure where to put BUILDD_MANAGER_LOG_NAME. [11:01] wgrant: I'm assuming BuildStatus should go to lp.buildmaster.enums? [11:01] noodles775: I guess it could. [11:01] if anybody other than Code is doing that now, which it seems is the case now. [11:01] Yep. [11:02] bigjools: Where should lp.buildmaster.interfaces.buildbase.BUILDD_MANAGER_LOG_NAME go? [11:02] I think it should probably not be BUILDD_MANAGER_*, since that's an implementation detail. [11:13] wgrant: ummm, I wonder if it's worth making lp.buildmaster.constants [11:14] or it could go in enums [11:16] Why does it even exist? It's used in two places and represents a logging config name... [11:17] slave-scanner is still hardcoded in several places. [11:17] It should be used more widely, or we should pass loggers around more aggressively. [11:17] wgrant, my branch makes us do that [11:17] Or we could just resolve to hardcode it more heavily. [11:17] jelmer: Ah! [11:17] (pass loggers around more aggressively) [11:17] Excellent. [11:18] jelmer: Is BUILDD_MANAGER_LOG_NAME still used anywhere? [11:19] jelmer: Is this your Popen removal branch? [11:19] wgrant: yeah [11:19] * noodles775 would prefer to see the module names used with getLogger (ie. getLogger('lp.buildmaster.manager') and the logging configs updated to do the right thing - where possible) [11:19] wgrant: IIRC BUILDD_MANAGER_LOG_NAME is still used once or twice. [11:19] noodles775: But I don't think that's entirely correct, since it's not necessarily buildd-manager that's calling things. [11:20] noodles775: Although it will be the only caller, once we remove SlaveScanner. [11:20] jelmer: :( [11:20] wgrant, I'm sure we can fix that afterwards.. [11:21] Yeah. [11:22] wgrant: I thought the reason for using the module name as a standard for getLogger was to indicate the context of the log message, not the call-site? [11:23] noodles775: Ah, I just took your lp.buildmaster.manager example in the context of the calls I was thinking of, which are not in fact in buildd-manager itself. [11:23] Never mind me. [11:32] +1 for passing loggers around [11:34] jml: is that from experience, or is there an good article you'd recommend? From reading about pythons logging configuration options, I'd assumed part of their intention was to remove the need to pass loggers around? [11:34] noodles775, experience [11:35] noodles775, every time I think mutable global state is a good idea and actually try it, it turns out to be a bad idea [11:36] last I heard, flacoste was not so keen on passing loggers around [11:38] danilos: I question the fix suggestion in bug #522800. From what was it derived? [11:38] <_mup_> Bug #522800: Broken link in PPA package details page (404) [11:38] passing them around is easy to read, easy to write, easy to change and doesn't reduce functionality [11:38] The problem is a bit less serious than that fix suggests. [11:39] wgrant: I forgot what you said about it [11:39] it also makes it _really_ obvious what needs a logger and what doesn't [11:39] bigjools: The query returns the oldest LFA with the given name. [11:39] bigjools: It should filter out expired ones. [11:39] ah right [11:40] would you mind updating the bug? I think you said you were going to do that :) [11:40] There are unexpired ones there. I can see them through the librarian's search interface. [11:40] Heh, possibly. Uni has been keeping me busy. [11:40] * wgrant updates the bug. [11:40] Uni didn't keep me busy [11:40] well - not academically :) [11:41] Heh. [11:41] The team project is actually taking up time. The first subject to actually do so :( [11:42] wgrant, the fix suggestion came from bigjools, but I see you already resolved that :) [11:42] I'll tell you a story about one of mine next time we meet up [11:42] Heh. [11:42] danilos: yeah I was wrong in my assumption :() [11:42] See, this project has classically been done over a year. [11:42] This is the first time they've crushed it into a semester. [11:42] wgrant, can you update the description or should I (while I have the bug open)? [11:42] I'm not sure they've really thought it through. [11:43] danilos: I'm doing it. [11:43] wgrant, cool, thanks [11:43] geez, LP's test suite even brings my four-core to its knees. [11:43] is it using more than one core? [11:43] jml: but to add a logging statement to a method that previously didn't log anything, you've got to update the method signature and (possibly) all call-sites, and potentially the signatures of the callsites which may not yet have the logger themselves? I'm not clear why you think it's good that the decision to log something in a method changes the method. [11:43] bigjools: Need more SSD! [11:44] jml: yes, but not in the way you think [11:44] disk access is the killer [11:44] jml: but that scenario might just indicate badly-factored code anyway. [11:44] and memory hogging [11:44] noodles775, for the case where "log" is little more than a print statement, that's a fair point [11:44] wgrant: I think I can soon start heating my office from the machines in here [11:44] noodles775, but so often with Launchpad, logging is srs bsns [11:45] bigjools: Have you acquired a new one to replace your previous quad-core? [11:45] I dunno. I'm also going through a phase of making interfaces with methods that correspond to events I care about, and using that for logging. [11:46] wgrant: nope I'm still happy with this one [11:46] unless you count the pseudo 4-core in the i5 :) [11:46] That's not a real quad-core [11:47] jml: personally I agree with noodles775 here, changing method signatures to accommodate logging objects sounds quite evil [11:47] indeed, "pseudo" could imply little else. [11:47] yeah I was about to say ... [11:47] Oh, bleh [11:47] * StevenK goes back to terrorizing dogfood [11:47] * bigjools likes to call it a fork-whore in honour of the Two Ronnies [11:48] bigjools: The only thing I know from Two Ronnies is "and that's good night from 'im" :-( [11:48] bigjools, I've more frequently encountered evil where I've had to mix code that each does it's own logging and neither bits of code have given me permission to touch their logging [11:49] because it's acquired from a global rather than passed in. [11:49] or refactoring a chunk of code that has log statements all over the place [11:49] in any case, more often I pass logging objects into constructors [11:50] ah, that would help :) [11:50] StevenK: http://www.youtube.com/watch?v=qu9MptWyCB8 [11:52] jml: but I wonder if the evil you've encountered is related to logging not being configured correctly in the first place? (/s/correctly/optimally) Not sure. [11:53] noodles775, maybe. I can't recall enough detail. [11:53] noodles775, things not being right in the first place is certainly a strong theme in the soundtrack of my programming career :) [11:54] jml: but being right in the end I'm sure too :) [11:54] noodles775, software is never finished, it just runs out of funding [12:01] Ursinha, hi (when you are around), does this bug activity look like a problem with qa-tagging scripts? https://bugs.edge.launchpad.net/rosetta/+bug/618987 [12:01] <_mup_> Bug #618987: gc.get_objects() interacts badly with bzrlib lazy imports [12:05] Morning, all. [12:05] morning === al-maisan is now known as almaisan-away === matsubara-afk is now known as matsubara === henninge_ is now known as henninge [14:27] noodles775: I tried to land it yesterday but there were some test failures. I'm away until Tuesday and I probably won't have enough time to fix it before then, sorry. I'll migrate any code that lands before then though. [14:27] allenap: np. Enjoy your break! [14:29] noodles775: Cheers :) [14:33] salgado, i'm looking into the oauth token scope thing we talked about yesterday, but i'm remembering other problems with it. for instance, a web service client with a scoped oauth token can't get the service root [14:33] because the service root is not in scope [14:33] an oauth token is also scoped to a person, but the person will be out of scope [14:34] leonardr, when things are out of scope the client should have read access still, no? [14:34] salgado: we'll find out. i don't know if i actually tested this [14:34] so it could still work [14:34] maybe that's not how it works today, but I think that's how it should work [14:36] that makes sense [14:43] wgrant, we have a solution to the timeout problem i last talked with you about on july 20th [14:44] i'm delegating to benji the responsibility for updating the script you're running on optusnet.com.au [14:44] basically, you need to upgrade to the latest versions of launchpadlib and lazr.restfulclient [14:45] you need to make your script use edge (until the changes are deployed in the next launchpad release) [14:45] and if you were using the ._wadl_resource.total_size hack to get the length of a collection, you need to change that code to use len() [14:47] gary -^ delegating to benji [14:48] ack thanks [14:53] salgado, i see how the oauth context could be a specific project or distribution or whatever, but not how it could be a particular _class_ of object. do you have any ideas? [14:56] leonardr, indeed, the scope is a db object and not a python class. you could scope it to the person, but I guess that wouldn't help you in this case? [14:56] scoping it to the person would be a good start [14:59] or maybe not... since the person's oauth tokens are probably not considered to be in scope === almaisan-away is now known as al-maisan [14:59] i'll give it a try [14:59] wow, comment fonts are huge on my system now. [15:00] Feel like I'm reading a large print old-folks book. [15:00] deryck: I just noticed the same thing; I like big text but that is taking it a bit far :) [15:01] benji, indeed :-) [15:01] It's falling back to monospace for me and at 116% [15:01] perhaps the percentage worked for whatever font we used to request. [15:03] I'm not aware of a way to have different sizes for different type faces... but I'm no CSS expert either. [15:06] I don't seem to have a mono version of the ubuntu font either. [15:08] jml, hi. See my good-god-that's-a-huge font comments above. ^^ [15:08] jml, should I file a bug on launchpad-web? [15:08] deryck, huh what, yes. [15:08] heh [15:08] deryck, there's no Ubuntu monospace yet. [15:08] soon, I'm told. [15:09] ok, I didn't think so. [15:09] jml, should we just scale back the percentage on the monospace then, since we know we're only using that currently? [15:11] deryck, sorry, otp, that sounds reasonable [15:11] jml, np. Sorry to interrupt. I'll work up a branch now and see how it looks. [15:11] deryck, np [15:11] deryck, a bug with screenshots would help the reviewer. [15:12] jml, ack [15:26] deryck, beuno, fwiw, they don't look huge to me. [15:27] oh, 'comment fonts' [15:27] jml, right [15:27] and merge proposal diffs [15:27] no, same as ever. [15:27] beuno, they do look huge to you? [15:27] deryck, yes, huge [15:27] I'll take a screenshot [15:28] beuno, yeah, they look huge to me, and benji confirmed. But just making sure. [15:28] jml, they don't look huge to you? [15:28] I've add my own screenshot at bug 624666 [15:28] <_mup_> Bug #624666: Monospace fonts too large after adding Ubuntu font to font-family declaration [15:28] do my fonts look big in this? [15:28] benji, I just meant you said comment fonts looked large to you too. [15:29] that was a (failed) joke, a la "does my butt look big in this" [15:29] I assumed this happened with the font change, bzr blame says sinzui changed the 116% rule for comments. [15:29] benji, :-) Ah. [15:30] I landed the branch [15:30] ah [15:30] benji, I chuckled. [15:30] at least I'm not a total failure [15:30] gary_poster: could you help me get a clue why the tests in lines 155, 165 from this diff https://pastebin.canonical.com/36336/ are failing? And why the test in line 145 is _not_ failing (it should, because I commented out lines 59,60)? Or: How should I set up test for ProxiedLFA.(http|api)_url for webservice requests? [15:30] I just thought benji's fonts looked fine [15:31] deryck: that's what you always say [15:31] sinzui, you have no objections then to me changing the 116% to get a sane look [15:31] heh [15:31] go ahead [15:31] adeuring: looking [15:32] deryck, I do not see a size change in the diff [15:32] deryck, jml, FWIW: http://ubuntuone.com/p/Dwt/ [15:33] sinzui, ^ [15:33] gary_poster: https://pastebin.canonical.com/36340 has the test failures [15:33] deryck, the 116% has been there a long time. I think the font is just different [15:33] ack [15:33] so, the host name is wrong, and 'api/devel' is missing in the URL [15:34] sinzui, ok, that's what I thought. But the rule used to just be "monospace" if the diff is to be believed. Since there's no ubuntu monospace, we should still be using that. [15:34] but at any rate, a percentage change will not harm us, I think. Until we have the real font. [15:35] 116% seems too large to me anyway. [15:36] beuno, it's kind of meaningless without a "before" screenshot. [15:36] jml, really? the huge-ass difference isn't meaningful? [15:36] jml, the fonts don't look large to you? [15:36] deryck, You could have the real font, or the beta font, or you could choose to keep Monospace (system font--either dejavu or Bitstream depending on the ago) [15:36] I'll take a screenshot of production [15:36] salgado, i've shelved the scope thing for now. i think it might work, if we hack the 'container' code (about which i know nothing) or hack the code that uses the container code so that the service root and top-level collections are always considered to be in scope [15:37] I think jml is doing drugs again [15:37] i have another problem, which i hope you or benji can help with [15:37] deryck, beuno: they look obviously configured differently to what I have. [15:37] jml, do you have the ubuntu mono font? [15:37] installed, I mean [15:37] jml, but look at the difference in size between the diff and everything else [15:37] i thought i had traversal set up correctly, and indeed i can access /~salgado/+oauth_access_tokens/token-name with GET [15:37] I do not have the ubuntu font, tw [15:37] deryck, no. [15:38] jml, ok. Can you use an inspector and see that the rules for the fonts are for you? [15:38] but when i PATCH that same URL, i get a 404. it looks like launchpad is trying to find token-name directly under ~salgado and ignoring the +step_into that tells it (should tell it?) to look up an access token [15:38] does this problem seem familiar? [15:38] deryck, I use Courier for monospace in my browser, for example [15:38] ah [15:38] beuno, irrelevant. that stuff is totally browser configurable. [15:38] deryck, I switched the Ubuntu fonts the day of the announcement, and I set a custom CSS in my browsers so that I always saw the fonts...bold was very ugly for a few weeks [15:39] jml, so what are you saying? [15:39] So I would think the size rule should be sane for the default, and if people are configuring fonts in the browser, they can adjust accordingly there. [15:39] beuno, that to file a useful bug about font changes being bad, you need to have before & after screenshots [15:39] would jml, sinzui, beuno agree? ^^ [15:39] jml, deryck, sinzui, here's a screenshot of production: http://ubuntuone.com/p/Dx1/ [15:39] adeuring: here's one thing. setUpApiInteraction correctly sets up the request, *but not the publication* or the virtual host bits. So that *might* be important for your test. However, my suspicion is that your test is actually showing a real problem either wat. If it is a web interaction *or*an api interaction, api url should be stable, I would think, yes? [15:40] deryck, sure, I have not changed any default [15:40] gary_poster: yes [15:40] jml, there, before and after. Go nuts. [15:40] deryck, agreed. [15:40] gary_poster: I mean, the URLs should be the same [15:40] beuno, Already gone. [15:40] adeuring: right. So whether or not setUpApiInteraction is sufficient seems irrelevant [15:41] gary_poster: erm, probably ;) [15:41] beuno, can you attach those as before/after shots on Bug #624666? [15:41] <_mup_> Bug #624666: Monospace fonts too large after adding Ubuntu font to font-family declaration [15:41] deryck, sure [15:41] aseuring, how you calculate api_url is relevant, of course. I'm not sure what a proper way of doing that would be. What are you trying? [15:41] thansk! [15:42] "s" took over for both gary_poster and I there. [15:42] gary_poster: Basically, I copied the approach for http_url which enforces non-api URLs [15:42] lol, true deryck [15:43] StevenK, hi, can I mark bug 449408 as qa-ok? [15:43] <_mup_> Bug #449408: Need scriptactivity monitoring of "gina" [15:43] adeuring: Unless you really want me to look at that code, I'm going to run away, since we appear to have agreed that the test itself is not (exactly) at fault. ;-) I'm late for a call. Do you want me to ping you later? [15:44] gerthat would be great [15:44] ok cool [15:44] Ursinha: he's in bed but he did already QA it [15:44] ah, cool [15:44] thanks bigjools [15:44] sinzui, the only difference I see is in the font-family (font-family:"UbuntuBeta Mono","Ubuntu Mono",monospace;) [15:44] production doesn't have the first 2 [15:45] beuno, yes. I think the font has different metrics than dejavu/vera [15:46] Ursinha: the qa bot is removing ok/untestable tags which is really annoying :( [15:48] bigjools, it removes the tags if you place them before it being available to qa... [15:49] Ursinha: that's bogus, we might have already tested it on dogfood [15:49] bigjools, if you commit a fix with incremental or no-qa tag, it won't replace untestable tags [15:49] ah [15:49] bigjools, I recall having this discussion with you two months ago :) [15:49] yes [15:50] Ursinha, maybe your bot can check for the tags that it shouldn't be replacing. [15:50] I think adding more noise to the commit message is sub-optimal. [15:50] rockstar, I think suboptimal is leaving things untested behind :) [15:51] rockstar, point is script should replace. if you have something qa-ok, and you land another branch related to the same bug, you need to qa that [15:51] so script replaces [15:51] Ursinha, it should add, not replace, methinks. [15:51] if that doesn't need qa or is a partial fix, there are two clauses to express that [15:52] rockstar, two qa tags in a bug is confusing [15:52] specially considering the new mergeworkflow lifeless planned [15:53] Ursinha, I don't think it's all that confusing. As long as it shows up in the qa-untestable list, it's served its purpose, right? [15:53] rockstar, we're talking about scripts that have to parse these tags and interpret them according to agreed-upon rules. [15:54] what gary_poster said [15:54] Certainly we can change those scripts, but then we need to agree on the rules again. [15:55] when I get back from hols, I'm going to start trying to get down some requirements from you guys re QA [15:56] (OEM, Platform & others want something built-in to LP) [15:56] And arguably this is an example of an impedance mismatch between using tags, a rather imprecise tool by intent, to control QA, which is supposed to be much more precise and controllable. [15:56] salgado, fun fact: my lp_save() on the oauth token seems to have *dissociated it from the user*, which is why i'm getting that 404 [15:56] Yeah, that would potentially address the impedance mismatch, jml. [15:56] *nod* [15:58] there's also an issue building tools that work with an informally managed staging environment (i.e. dogfood) [16:02] yeah. a one-size-fits-all qa feature, or even a one-size-fits-many, will be tough. Our roll-our-own-locally qa integration has its advantages. [16:05] jml or abentley, I'm playing local dev server with MPs. How do I generate the diff locally? [16:05] deryck, no idea, sorry. [16:05] np, thanks anyway. [16:06] salgado: ARGH. the access token was disappearing because i was setting its expiration date to a date in the past [16:10] leonardr, heh. but does it work when you set a date in the future? [16:10] I mean, can you change it? [16:10] finding that out now [16:10] we need to change lazr.restful (or possibly the client) to understand what happens when setting a field value causes the object to disappear [16:13] salgado: yes, i can change the expiration date to a date in the future. (however, i have given up hope for the time being of making GRANT_PERMISSIONS anything more than an all-powerful access level, so it's not too surprising) [16:15] This YUI cssfont stuff is confusing to me. [16:16] sinzui, there are places where our rules to use the ubuntu font work, but others where yui's rules have precedence. I don't understand why. [16:17] really. I think all font-family's were changed [16:17] sinzui, YUI has the arial,helvetica, blahblahblah line that wins out for some items. [16:18] deryck, But at what level? I think our rules supersede them [16:19] deryck, can you show me a page that is using YUI's font rules? [16:19] sinzui, I would have thought so, too. That's why I'm confused. [16:19] sure, digging for link [16:20] I have never seen arial in any launchpad page that I inspect. I do that a lot. I recall we had a nasty bug hunt in YUI to ensure it's widget rules (like the calendar) never surfaced [16:20] oh, rockstar updated our YUI rules last month. I wonder if our older version was directly hacked. [16:21] sinzui, what YUI rules? I haven't landed the newest YUI yet (I need to squeeze more into lazr-js first) [16:21] ok, so I think I got the problem wrong. [16:21] rockstar, good to know [16:22] it's not that the YUI rule has precedence. It's that *no* rule applies. See comments on any MP, for example. What font is that? [16:22] sinzui, ^^ [16:22] sinzui, I'll send an announcement when I do it. [16:22] * sinzui looks with inspector [16:23] rockstar, hi. How do I generate diffs in a local dev server for MPs? [16:25] deryck, there's a script called create_merge_proposals I think. [16:25] rockstar, cool, thanks. Was searching for scripts with "diff" in the name :-) [16:25] deryck, you may be looking too close to the text. merges... [16:26] deryck, pre defines monospace in YUI, but I see our rule is ignored [16:26] deryck, LPCONFIG=development bin/py cronscripts/merge-proposal-jobs.py [16:27] * sinzui looks at source [16:27] sinzui, what I'm trying to work out is why this patch fixes comments having the large font for bugs and leaves MP comments unchanged? http://pastebin.ubuntu.com/484011/ And playing with the inspector, if I delete all font rules on MPs the font is unchanged. [16:28] can someone help me understand an odd comment/if statement in the validate method of lp.bugs.browser.bugtask.BugTaskEditView? [16:28] method is here, with comment asking for clarification: https://pastebin.canonical.com/36347/ [16:28] jcsackett, I can likely help. looking.... [16:29] thanks, deryck. [16:29] deryck, since our pre matched YUI's pre, we did not define a font rule. Ours does not match, so we want to define one now [16:30] deryck, you must put the ubuntu fonts back [16:31] the UX team have a hammer and they hit everyone who disobeyed them last year when they defined font rules [16:31] sinzui, right. I want the Ubuntu fonts. :-) I'm trying to understand why changing the rule has the affect it does. [16:32] the patch is not what I'm proposing as a fix. Merely as a reference to get to a real fix. [16:32] deryck, we need to add fonts to "pre, code, samp, tt, .console {" [16:33] and I think we want to change the font-size from 116%; to 108% or 100% [16:34] sinzui, ok, that makes sense. And this is going to change the look of bugs and MP comments. And we don't currently use the monospace font there, so I assume make it the same Ubuntu choice in html, body? [16:34] i.e. UbuntuBeta, Ubuntu, 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif [16:35] ?? [16:36] sinzui, what I mean is comments don't currently use a monospace font, right? on lpnet. [16:36] deryck, I think you are saying that we did not set font-family because YUI was providing what we wanted "Monospace". [16:36] no, sorry [16:36] deryck, I think we are changing scope here, but you will close a lot of bugs if all comments were made monospace [16:37] UbuntuBeta Monospace, Ubuntu Monospace, Monospace [16:37] yeah, I'm not sure if I want to go that route yet, only because there doesn't seem to be agreement about that. [16:37] but I could just JFDI [16:37] ;) === salgado is now known as salgado-lunch [16:38] jcsackett, sorry for delay. Doing too much at once here. So old_product and new_product reference just products. "pillar" is a wrapper method that gets at the target regardless of being a product or a distribution. [16:38] deryck, lets get the font size right, and define the the expected monospace fonts on "pre, code, samp, tt, .console" [16:39] deryck: okay, so in that instance, though we're working with products predominantly, the target isn't necessarily old_ or new_ product? [16:39] sinzui, agreed. Working that up now, testing locally to see fall out. [16:40] jcsackett, I read the comment below the if check to suggest the check against pillar there is to make sure we don't somehow have a distro task. [16:40] deryck: okay, thanks. [16:40] I'm not sure how we would, but evidently it happened once :-) [16:46] deryck, the 'if old_product is None' is surely about not being a distro task [16:46] s/not// [16:46] scratch that correction. [16:48] jml, right. If old_product == None this would be a distro. [16:48] re-thinking the question about doing new_product.official_malone [16:49] I guess you can't change the bugtask of a product that doesn't use Launchpad because the remote tracker won't detect it? [16:49] or something? [16:53] jml, right. You create a watch if it doesn't use malone. But the question jcsackett has is why not new_product.official_malone. [16:53] jcsackett, I'm rethinking this. [16:53] deryck, why not instead or why not in addition to [16:54] sorry, why not right it as new_product.official_malone instead. Why do we need to check on the pillar, rather than the new_product. [16:55] deryck, that was sort of my confusion. [16:55] jcsackett, jml -- so doing it on the pillar prevents having to spell it (new_product is not None and new_product.official_malone) [16:56] maybe, that's it? I'm not entirely sure. Were it me, I would change it and run bugtask tests and see what fails. [16:56] lemme check again [16:57] deryck, has the new_product been set on the bugtask at the time of the if statement? [16:57] I'm jumping on a standup now, so an as exercise in "hey remember when we ..." I'll ask if anyone knows :-) [16:57] deryck: sounds good. :-) [16:57] jml, this is a validate method. So you could submit the form without supplying new_product and it would be None. [16:57] deryck, that's what I mean, bugtask.pillar will be old_product (or a distro), not new_product [16:58] right [16:58] so it really seems wrong [16:58] deryck, unless there's a reason for preventing changing bugtasks that are on products that don't use malone officially [16:58] ah [16:58] yes [16:58] so we don't want to move a bugwatch off [16:59] or move a task that is for a watch [17:00] * deryck is on call now [17:04] not actually on topic, but I'm reminded of how much look-before-you-leap sucks [17:08] mrevell, wb [17:09] thanks jml ... power cut ... country living, etc [17:09] bac, every 15 mins, I believe === beuno is now known as beuno-lunch [17:33] when did the text for bug change history get so big? [17:35] losa ping: The branch on which lp:~launchpad-pqm/bzr-builder/trunk is stacked has been renamed, and the bzr-level stacking pointer is now wrong. [17:35] Please could you download this script: http://j.maxb.eu/~maxb/bzr-set-stacked-url.py - and run bzr-set-stacked-url.py lp:~launchpad-pqm/bzr-builder/trunk lp:bzr-builder === Ursinha is now known as Ursinha-lunch [17:36] maxb: let me take a look at that for you [17:36] thanks === deryck is now known as deryck[lunch] [17:44] :( [17:47] cody-somerville, today. === benji is now known as benji-lunch [17:49] maxb: get a failure when I try to run it: https://pastebin.canonical.com/36352/ [17:50] Chex: I can't see pastebin.canonical.com [17:50] maxb: sorry about that. [17:52] http://pastebin.ubuntu.com/484045/ try that [17:52] maxb: ^ [17:53] oh, I see. First run 'bzr launchpad-login your-lp-id' so bzr knows how to connect via bzr+ssh [17:54] abentley, a bunch of changes on the recipe LEP [17:55] maxb: erm, is there really no better way of doing this? [17:55] maxb: I'm not very happy about download a random script off the internet and having an admin run it [17:56] Well, you could hack the .bzr/branch.conf directly if you like [17:56] er, .bzr/branch/branch.conf [17:56] maxb: there's no way to do this in the web UI? [17:56] no [17:57] maxb: if not, it seems to me like there should be a bug report about it rather than trying to work around it [17:57] (or at the very least, a bug report and trying to work around it) [17:58] The fundamental problem is that when a branch changes name, Launchpad doesn't update the bzr-level metadata in stacked branches to say so. [17:58] I believe someone mentioned they were actually working on fixing that next cycle [17:58] sounds very much like the basis of a bug report to me [17:58] :) [17:59] I'm assuming that if someone's already decided to work on it next cycle, there's already a bug filed [17:59] maybe, but we really should have asked you for that info before going ahead and doing it :) [18:00] bug 377519 [18:00] <_mup_> Bug #377519: Stacked on location breaks if the stacked upon branch is renamed [18:08] mthaddon/Chex: It doesn't seem to have changed yet, did you want me to describe fixing it by editing files rather than using the script? === beuno-lunch is now known as beuno === salgado-lunch is now known as salgado === matsubara is now known as matsubara-lunch [18:14] I'm off. Have a great time folks. === Ursinha-lunch is now known as Ursinha [18:22] mthaddon? Chex ? [18:24] maxb: hi there [18:25] maxb: yes it may make more sense for you to describe the files we need to look at [18:27] OK then, please edit the file lp:~launchpad-pqm/bzr-builder/trunk/.bzr/branch/branch.conf (either directly or over sftp) such that the stacked_on_location line now reads: stacked_on_location = /~bzr-builder-devs/bzr-builder/trunk === benji-lunch is now known as benji === al-maisan is now known as almaisan-away === deryck[lunch] is now known as deryck [18:55] maxb: sorry, looking around now [18:57] gary_poster: ping [18:57] adeuring: didn't forget, call day [18:58] gary_poster: ah, ok [19:05] Chex: Hi, I'm semi-afk for ~15 minutes, then ircing from a phone only for the rest of the evening. I will read anything you say here, but my responses might be delayed/limited [19:08] maxb: thats fine, we have a process/script to handle this issue, apparently [19:08] running it now, just slow going === almaisan-away is now known as al-maisan [19:21] maxb: all set, should be fixed now. in the future, remind us admins of this equest by asking for the 'LP process to Fixing Broken branches' [19:21] request, that is [19:22] thanks Chex, with any luck lo will get fixed properly soonish to not create this issue [19:23] s/lo/lp/ [19:23] maxb: agreed. your welcome === matsubara-lunch is now known as matsubara === al-maisan is now known as almaisan-away [19:41] morning [19:42] Ursinha: I think ther emay be room to permit not-replacing, but it will need careful thought about race conditions [19:42] lifeless, I agree with that [19:44] mthaddon: if you're around, I would love to touch base, however briefly, on the staging-with-prod-schema progess. [19:44] and I ashamed to say, its entirely a 'are we there yet' question. [19:44] lifeless, I have to reply your bug comment about tags [19:44] gary_poster: so, private librarian [19:45] gary_poster: have you seen the wildcard-dns proposal ? [19:47] on calls today lifeless--but it doesn't ring a bell unless it was the branch stub was looking at with you a few weeks ago [19:47] yeah that one [19:47] I'm thinking of picking it up [19:47] librarian is consistently very high up there [19:47] ah, yes. It looked like a great idea to me [19:47] ok cool [19:54] lifeless, btw, have been concerned lately thinking about edge/production on same machines/processes: it gives us arguably a bit less safety in trying out big infrastructure changes--say, trying a broad change to the template implementation. Now, if edge service degrades significantly, there is an escape hatch. edge will no longer be an easy way to do that. [19:54] I don't think this is a necessarily huge deal, but I do suspect that it will drive us into some new patterns. One is for us to be able to easily upgrade a single load balanced machine with certain code changes and evaluate its performance. If that's relatively easy and lightweight for devs and LOSAs, that might work. [19:54] And it might be a better story than what we have now, for the end users. [19:55] from what I know of the deployment process, that should be straight forward [19:55] we'd qa the the change so we're happy with performance on staging [19:55] which btw, implies we want a load test harness [19:55] then, when we're happy, we can rollout the icing, and some N appservers, and monitor them, [19:57] gary_poster: I think it will be a better story than we have today, once we get the db schema changes more agile [19:57] in the interim I think it should be no worse. [19:58] sounds reasonable. load test harness: ack and agreed. [19:58] I understand that SSO was tested with such a thing; I don't know if its scalable in terms of request pattern complexity to LP [19:59] it might be nice to just take a days worth of logs [19:59] or a week [19:59] and toss the exact same pattern at a staging env; with something special to handle POSTs [20:01] yeah; POSTs/webservice is the trick, I think [20:01] one thing we could do is ask for volunteers; use a featureflag to enable it and capture their posts [20:02] would only work if we had a point-in-time recovery for the to-be-tested environment rather than 'current data' recoveryt [20:02] anyhow, EFUTUREWORK [20:22] lifeless: exactly what I was going to say about point-in-time and POSTs, agreed. and yes EFUTUREWORK. [20:22] gary_poster: great minds [20:22] ;-) [20:22] adeuring: if you are still around I have about about 12 min [20:23] gary_poster: great! [20:23] where should I look? [20:23] gary_poster: https://pastebin.canonical.com/36336/ and https://pastebin.canonical.com/36336/ [20:23] right thanks [20:23] https://pastebin.canonical.com/36340/ [20:24] ok... [20:24] gary_poster: I also tried setupInteraction() but only got even more weird results [20:24] heh [20:26] adeuring: ok, I think I see your strategy now. You want getURL to come up with the right URL on the basis of the request passed in. I am afraid it needs to be more sophisticated...or canonical_url needs to be more sophisticated :-/ . Lemme go look at that implementation again. [20:26] gary_poster: ok [20:30] adeuring: I think you need to explicitly pass in the right rootsite to canonical_url. Seeing if I can learn more... [20:31] gary_poster: that's what I tried, via setupinteraction() -- seems that I messed thatup ;) [20:41] bryceh, Just fyi.... without reviewing too closely, I think your model/db changes are on track. [20:42] I'm having issues running make build on devel No local packages or download links found for zc.buildout==1.5.0 [20:42] and Link to http://pypi.python.org/simple/zc.buildout/ ***BLOCKED*** by --allow-hosts [20:42] How can I sort this out? [20:44] I thought we had out own zc.buildout. You shouldn't have to hit pypi. [20:44] deryck, ok [20:45] bdmurray, the first "no package" error I've seen before, and fixed by various combinations of updating source deps, make clean, make. [20:45] bdmurray: make sure your download-cache is up-to-date [20:46] ``cd download-cache && bzr up`` in the common case [21:00] leonardr: I am trying to look at an issue for adeuring. He is trying to generate API urls for objects. AFAICT, canonical_url doesn't have sufficient smarts for this--in particular, it does not insert a webservice version into urls. It also has no way of guessing what version of the webservice should be used if you are not already coming in on a webservice request. [21:00] Do you know if there is a pattern for this already? http_url in lib/canonical/launchpad/browser/librarian.py returns the current request's url, AIUI, right adeuring? He would like to generate a url for a librarian file proxy even if the current request is not a webservice request, right adeuring? adeuring, do you want a specific policy as to what version should be returned, or would you want a function to retu [21:00] versions, or...? [21:01] sorry, he would like to generate a *webservice* url for a librarian file proxy... [21:01] does that really make sense ? [21:01] I mean, isn't the proxy an implementation detail; we havce the LFA separately [21:01] only if there's a use case :-) [21:02] gary_poster: well, the code works fine when you access launchpad.dev via launchpadlib. My main issue is the test... [21:02] and the LFA can and should be on the API; but the proxy itself, really that should just be the launchpadlibrarian.net URL [21:02] gary: you can convert a website request into a webservice request, and i think when you do you can specify a version (or it will use the latest version) [21:02] we *do not want* to serve librarian contenxt via the API [21:02] adeuring: ^ [21:02] adeuring: what is your use case [21:03] leonardr: ah, that makes sense, thanks [21:03] lifeless: the usecase is access to ProxiedLFAs via launchpadlib. The is a bug about it, just a second... [21:03] lifeless, adeuring, I'm getting out of the way :-) I was just trying to help [21:03] gary_poster: you're not in the way at all :) [21:03] lifeless: bug 620458 [21:03] <_mup_> Bug #620458: cannot access attachments of private bugs any more [21:03] gary_poster: I'm just leaping on the meta issue [21:04] heh, but I want to consider myself in the way so I can go do other things ;-) [21:04] gary_poster: fair enough ;) [21:04] gary: specifically, you can cast a request to IWebServiceClientRequest--but i don't know what is the launchpad adapter [21:05] leonardr: the adapter works fine -- testing this is a problem for me... [21:05] adeuring: ok, I see [21:05] uhm [21:05] I'd really rather just finish fixing the private librarian to emit correct public urls [21:05] adeuring: I can almost guarantee that this API will hard timeout a huge amount [21:05] the apport retracer runs in the DC [21:05] lifeless: sure... [21:05] can we not just give it the restricted librarian URL for now ? [21:06] lifeless: hrm.... what about other people who ant to acces private librarian files via launchpadlib? [21:06] s/ant/want/ [21:07] sinzui: ping [21:07] adeuring: what about them ? :) [21:07] adeuring: if they are in the DC, its easy. [21:08] hi gary_poster [21:08] adeuring: if they are not, then we'll *increase* the chance of timeouts and simply not be serving them well [21:08] adeuring: we'll also, because the librarian client has bugs, run a real risk of DOSing the entire appserver cluster. [21:08] hi sinzui! the linter doesn't like a line in schema-lazr.conf because it is too long [21:08] is this alright? [21:08] -cookie_domains: demo.launchpad.net, staging.launchpad.net, launchpad.net, launchpad.dev [21:08] +cookie_domains: demo.launchpad.net, [21:08] + staging.launchpad.net, [21:08] + launchpad.net, [21:08] + launchpad.dev [21:08] things still work [21:09] tests pass and such [21:09] but you are keeper of those keys [21:09] adeuring: I have a branch that is about 40% done, which will expose the restricted librarian publically [21:09] adeuring: using an access token. [21:09] adeuring: when that is done, the API can be used to get an access token for such a file. [21:10] adeuring: the basic mechanism will be: [21:10] - LFA can hand out a token on request [21:10] lifeless: I remebr you idea [21:10] gary_poster, yes that works because indentation implies continuation, *and* the callsite is splitting on whitespace [21:10] - the token goes into a short lived store [21:10] - the user gets https://contenthash.restricted.launchpadlibrarian.net/name?token=XXX [21:10] adeuring: cool [21:11] gary_poster, that fix is okay, but I would not assume that always works. I think we should tell lint to not check for long lines in conf files [21:11] sinzui: ok. Should I not make that change then, do you think? I have one other question for you: a mini review of a CSS change. let me put a pastebin up one sec [21:12] gary_poster, I can make the pocket-lint change. [21:12] lifeless: so, you think we should for now simply return the restricted librarian URL in the property api_url in this diff: https://pastebin.canonical.com/36336/ ? [21:12] I can review the CSS [21:12] (SORRY, ITS A BIT LATE FOR ME) [21:12] sinzui: ok thank you, I will revrt the line changes to the conf file then. Here's the CSS. http://pastebin.ubuntu.com/484149/ [21:12] * adeuring cant turn off caps lokćk,,. [21:13] (it is a bit late for you, after all :-) ) [21:13] sinzui: this is CSS for developer-only profiling bits [21:13] by biggest question is where it should go in the file, though of course you may have other concerns [21:13] gary_poster, is profiling_info used by more than one page? [21:14] sinzui: potentially by every page in LP [21:14] it will be used when someone puts a ++profile++ in the URL [21:14] adeuring: I think that that would work. I am really very concerned (maybe I shouldn't be) about the risk of very long requests on the appserver farm [21:15] adeuring: alternatively [21:15] adeuring: you could flip the bit back to how it was before your change, to let apport work ? [21:16] lifeless: erm, then we would have againa public attachment in prvate bugs, right? [21:16] adeuring: yes, but we tolerated that for 5 years or so [21:16] gary_poster, hide_reveal_profiling implies it is a link because it is underlined but it is red. we use blue or green else where [21:17] sinzui, ok fair enough. (this is developer-only, but consistency is nice) [21:17] lifeless: yes, but frankly, i would feel quite uncomoftable when we "opened" the attachments again [21:17] let's try the restritced librarian URL [21:18] gary_poster, yes, the point of pointing something in the global css is consistency :) [21:18] :-) true [21:18] gary r=me with the colour change. Thank you very much for structuring the rules so clearly [21:18] thank you sinzui! [21:25] adeuring: it will need an RT ticket to open firewall access, but that should be quite trivial [21:25] lifeless: OK; let's discuss this tomorrow (or in the evening your time) -- it's too late for me now ;) [21:45] aah... nice coffee smoothing the pain of morning [21:46] thumper: I noticed I was getting older when it started taking more coffees to smooth the pain [21:47] cr3: :) [21:53] morning [21:53] i don't think that's "older" i think that's just "too used to coffee" [21:53] go without for a month and it starts to have more of an effect again :-) [21:58] mwhudson: back on the coffee again? [21:58] thumper: somewhat [21:58] trying not to have more than 2 cups of coffee a day [21:58] I'm trying to limit myself to around 6 shots a day [21:59] normally taken 2 at a time [21:59] home espresso machines are good [22:00] * lifeless is detoxing [22:00] been *so tired* for the last two days [22:00] thumper: good, evil, its a fine line [22:00] thumper: you want a catch up? [22:01] oh man, the week where i first stopped drinking coffee about a year ago was horrid [22:01] lifeless: yes, I'll ping you later [22:02] lifeless: i'm not sure you should be hacking canonical.launchpad.webapp under these circumstances :-) [22:07] mwhudson: indeed === matsubara is now known as matsubara-afk [22:54] added: lib/lp/archiveuploader/tests/test_securityuploads.py.THIS [22:54] (from devel r11453) [22:54] That seems like a mistake. [22:59] wgrant: yep [22:59] wgrant: also, hi :-) [23:00] whoops [23:00] jelmer: Morning. [23:02] thumper: I'd be interested in having a pre-implementation call about code import bug linking sometime. [23:03] wgrant: Thanks for removing buildbase btw. It conflicted quite heavily with my builddmaster async branch, but it's great to finally see it gone. [23:04] morning [23:04] hi wallyworld [23:04] wallyworld: Welcome :-) [23:04] thanks :-) [23:07] hi [23:07] thumper: g'day [23:08] hi wallyworld [23:09] g'day mw [23:09] Hi wallyworld. [23:09] wallyworld: see... already more interaction than yesterday [23:10] hi william [23:10] thumper: yes, indeed [23:10] :( Distribution.getDevelopmentSeries doesn't return FROZEN series. [23:10] So my scripts are broken :( [23:10] wgrant: really? [23:10] wgrant: I thought it would [23:10] So did I. [23:32] . [23:33] Really?