=== wgrant changed the topic of #launchpad-dev to: Performance Tuesday | https://dev.launchpad.net/ | On call reviewer: - | Critical bugs: 244 - 0:[#######=]:256 [03:02] Project devel build #1,010: STILL FAILING in 4 hr 5 min: https://lpci.wedontsleep.org/job/devel/1010/ [03:32] Just when I thought I had great success in not breaking a truckload of tests with an MP, it fails buildbot. [03:39] jelmer: https://lpbuildbot.canonical.com/builders/lucid_lp/builds/1313/steps/shell_6/logs/stdio <- your fix yesterday may be flaky. [03:39] Forcing. [03:58] * wgrant vomits [03:58] httplib2 has its own certificate store. [04:05] What is wrong with being sensible :( [05:21] wiki says wgrant or gmb is review bitch. Any chance of https://code.launchpad.net/~stub/launchpad/pgbouncer-fixture/+merge/73283 ? [05:21] heh, review bitch. [05:22] stub: Hm, changing to TCP connections? [05:23] Ah, I see, you don't want to overwrite the config. [05:23] We really need to fix lazr.config to not suck for this. [05:24] stub: Why are you overriding PGHOST? [05:24] wgrant: Because otherwise it will connect using UNIX sockets, and fail as the pgbouncer package does not (yet) set unix_socket_dir so they don't work. [05:25] stub: But you've set host=localhost in the connection strings. [05:25] stub: So setting PGHOST=localhost sounds redundant. [05:25] wgrant: I probably won't bother changing it either, as this better represents production [05:25] wgrant: It might be redundant now, yes. [05:25] stub: Also, you can hopefully use self.useFixture instead of self.addCleanup and setUp. [05:26] That sounds good. [05:26] I think the base Fixture from fixtures should support that. [05:26] Do you want me to pull the PGHOST bit if it is redundant, or leave it since it might be useful in the future if I do what I don't think I'm going to do? [05:27] stub: I think you should pull it out. [05:27] We have more than 650KLOC already. Let's not add more. [05:28] pypi has terrible google juice [05:28] py* has terrible lots of things. [05:29] stub: I don't think this is going to interact stunningly with PgTestSetup. [05:29] # Stash the name we use in the config if a writable config is [05:29] # available. [05:30] # Avoid circular imports [05:30] section = """[database] [05:30] rw_main_master: dbname=%s [05:30] rw_main_slave: dbname=%s [05:30] Why yes, that is revolting. [05:31] * stub wonders how it is working atm [05:31] Possibly PGHOST :) [05:31] ahh... yes :-) [05:32] 213 + # Database is still working. [05:32] 214 + assert self.is_connected() [05:32] s/still working/working again/ [05:40] Pushing with those changes. [06:14] * stub wonders why the ec2 image doesn't upgrade its own packages [06:18] Anyone around setup to update the ec2 test image? [06:18] Just need launchpad dependency packages updated [06:22] stub: I thought it did upgrade… anyway, I should be able to do that. [06:23] It doesn't :( [06:23] stub: What needs updating? It was last rebuilt a week ago. [06:23] Meanwhile, does anybody have any idea what the current crop of codehosting buildbot failures is all about? [06:23] Seems simple enough, but I don't want to run an hour long process right at the moment and might not have perms on ec2 either. [06:24] wgrant: Just pull in the newly build launchpad dependencies [06:24] jtv: I poked jelmer about them, as they might be related to the stuff he's landed recently. [06:24] c/build/built [06:24] launchpad-developer-dependencies [06:24] wgrant: he may have landed something unfinished… I also noticed a lot of recent lint in his name. [06:24] stub: pgbouncer needs a list of users to let through? [06:25] wgrant: yes [06:25] stub: What about *_ro and read? [06:25] stub: Or are we just going to hope no test that uses them ever goes near the fixture? [06:26] wgrant: I'll need to add them too. [06:26] StevenK: your AMI rev. 519 is the current, valid image? [06:26] jtv: He's on leave, but yes. [06:26] It was created last week. [06:26] thanks [06:27] read isn't a user though, so don't need that one added. [06:28] BTW, why do we use a 64-bit AMI? I can't imagine any of our test processes needing more than 3GB address space, and I thought x86 was likely to be faster than amd64 for python. [06:29] Because we run 64bit on production [06:30] Right, production is mostly amd64. [06:30] i386 tests are quite a bit faster, because RAM usage is roughly halved. [06:30] So you get tonnes of extra cache. [06:55] wgrant: looking into gina domination a bit more. Do I understand correctly that we want to mark SPPHs that have been superseded by newer publications of the same package as superseded, even if the package has subsequently "fallen out of" the Debian Sources lists? [07:00] jtv: Ideally. But that's probably only a problem for the first time, so we could do it as a one-off. [07:00] Well it happens to be what the dominator already does. It's just buried among heaps of other code. [07:01] It also looks like it could be made much faster if it had to. [07:04] wgrant: by the way, it looks like you're OCR today. In which case: https://code.launchpad.net/~jtv/launchpad/bug-836743/+merge/73267 plz? [07:04] The archivepublisher dominator should take <5s per context now. [07:04] Once we finish denorming SPN onto SPPH it will be trivial time. [07:05] jtv: However, we already know what's not published any more, so I think using the dominator in the normal case is pointless. [07:06] jtv: Looking at that review now. [07:06] Except we still need domination done—might as well. [07:06] Thanks. [07:06] jtv: Why? [07:07] Apart from the initial run, the algorithm is as I outlined in the bug. [07:07] Because we don't want to keep keeping Debian SPPHs in unjustified active statuses. [07:07] The dominator will not match what Debian does. [07:07] In what way? [07:08] Debian does not handle superseded packages quite as Ubuntu does. [07:08] Superseded sources are kept around in the indices until they are unreferenced. [07:08] By binaries, that is. [07:09] Yes, but doesn't that mean they're still superseded? [07:09] There is a difference between "superseded" and "deleted" after all. [07:09] That's something that is not clear. [07:09] Julian argues that anything in the indices is by definition not superseded. [07:10] Project devel build #1,011: STILL FAILING in 4 hr 7 min: https://lpci.wedontsleep.org/job/devel/1011/ [07:12] Soyuz currently works under the assumption that (in the indices == published). [07:12] I've argued that that should be changed, to allow us to gain Debian's enhanced supersededness stuff. But I don't think now is the time to be violating or changing that assumption. [07:13] Isn't that what we have pockets for? I imagine it's a valid assumption for ubuntu exactly because we don't do it that way. [07:13] We want to do it that way. [07:13] There's a critical bug for it. [07:13] It's unrelated to pockets. [07:15] jtv: Branch looks good. [07:15] Thanks. So in the future we want to keep multiple SPPHs "published" for the same source package name, distroseries, and pocket? [07:17] We want to keep multiple SPPHs with the same context (archive, distroseries, pocket) and name in the indices. It's not clear whether that means we should leave the status as Published. [07:18] I've traditionally argued that we shouldn't leave the status as published, but it has been a point of significant contention. [07:20] jtv: Does anybody use launchpad_langpack on staging these days? [07:21] # - Run Langpack ((re)-create a langpack DB that the [07:21] # translations team can use for testing. [07:21] That's very very old, and we used to use it even for production tarballs sometimes. Today, we may still want it for Q/A. [07:22] That sounds within tolerances of "no". [07:22] I don't know because I've been on Soyuz feature "rotation" since two interglacials ago. [07:22] Megafeature :) [07:23] Scope creep. It's the difference between your burndown rate and your burnout rate. [07:23] Well, it also should have been split into at least three separate features from the start :( [07:24] In a way, it was. They just kept being piled into the same feature rotation. [07:24] Well, yes, that's what I meant. [07:25] Anyway, about the superseding of source publications: what would determine for Ubuntu whether a package is still in the Sources list? Where would that information be kept? [07:25] datepublished IS NOT NULL AND dateremoved IS NOT NULL [07:27] Actually, probably datepublished IS NOT NULL AND datemadepending IS NOT NULL [07:27] (datemadepending is the date it was scheduled for deletion, not the date it was made pending, because 2005 hates us) [07:29] good morning [07:29] hi adeuring [07:29] hi jtv! [07:30] wgrant: it sounds to me then as if domination should be fixed to handle that uniformly for debian, ubuntu, and derivatives; and gina should merely be updated to set those date fields. [07:31] jtv: Possibly, but that is feature scale work. [07:32] Possibly, but then I don't see why I should solve that problem for just Debian right now in a short-term branch. [07:33] I don't think it makes sense to run a dominator over an imported archive, since it is archive publishing logic. The imported archive has the information we need right now. When we remove the (in indices <=> published) invariant, that may have to change. [08:25] http://flossmole.org/content/everything-you-ever-wanted-know-about-software-forges-code-forges-june-2011 [08:25] interesting link [08:25] that's a long URL. [08:25] (twss, yeah I know) [08:27] Ooh, interesting cloud. [08:28] LP apparently doesn't have announcements. [08:28] It does. Right? [08:28] The RSS thing that pops in the right corder of a project. [08:28] Yes. [08:29] Intriguingly, Trac is included as a feature in the feature matrix. [08:29] wgrant: hi [08:30] Hm, I thought we still provided DOAP. [08:30] Maybe we dropped that. [08:33] Hello [08:34] Wasn't someone talking about having javascript OOPSes? [08:34] I just saw this http://errorception.com [08:35] I don't know how it works, but apparently some kind of OOPS system. Paid for though :| [08:38] mrevell: hi === gmb changed the topic of #launchpad-dev to: Performance Tuesday | https://dev.launchpad.net/ | On call reviewer: gmb | Critical bugs: 244 - 0:[#######=]:256 [08:52] wgrant: it looks like the failing test was one that was flapping earlier, which supposedly should be fixed by the introduction of the newer Twisted [09:00] jelmer: Yeah, I thought it could have been that :( [09:01] But since you'd touched that area recently, I thought I might as well see if you had any thoughts or fault :) [09:01] wgrant: thanks for the utf8 fix [09:02] not sure wtf the extra blank lines are coming from but it's not exactly important [09:02] bigjools: The iterator probably stops at the start of the next entry. [09:03] bigjools: You can probably sensibly just call strip() on the changelog string. [09:03] as for the person/date line... that would need a change in python-debian methinks. [09:03] yeah, I was considering using strip but it might also be in the template [09:03] bigjools: python-debian doesn't give you access to the various components of the entry? [09:03] bigjools: gina does it somehow. [09:03] Although it has its own parser. [09:03] gina has its own parser [09:04] Heh. [09:04] it's do-able, but the right place is in python-debian [09:04] aha [09:04] I can do block.changes() I tihnk [09:05] bigjools: You could also set _no_trailer on the block. [09:05] Then __unicode__ won't include that line. [09:05] Hah. [09:05] unicode? [09:05] Rather than using the utf-8 stuff, use unicode() instead of str() [09:05] Its __str__ just calls __unicode__ [09:05] unicode... what unicode :) [09:05] which python-debian do you have? [09:06] Ah, I'm on oneiric. [09:06] Let's see lucid... [09:06] ;) [09:06] Package `python-debian' is not installed. [09:06] Huh. [09:06] Oh. [09:06] We still use the one in sourcecode/ [09:06] :( [09:07] We should update that and use proper unicode :) [09:07] Although that one does still support _no_trailer. [09:07] I love the way that the API expects you to poke private variables to change behaviour [09:08] You're not meant to poke them from the outside. [09:08] We're just doing unexpected things. [09:08] I'm not sure about your use of _raw_version either, but meh. [09:08] well, quite [09:08] the api is a bit rubbish [09:09] looks like I can just set _no_trailer then [09:19] wgrant: instead of decoding the utf8 in fetch_information it seems to make more sense to do it in aggregate_changelog [09:23] bigjools: Probably. [09:23] bigjools: I just did it there to get it unbroken. [09:23] np [09:38] AFICT wer are in a good position for a stable deploy, aren't we? [09:38] both rollbacks have landed. [09:39] henninge: Yes. [09:39] * henninge goes about starting that. [09:39] Once danilos' QA is done. [09:39] wgrant, was it not done? [09:39] Not a few hours ago when I last checked the deployment report. [09:39] danilos, wgrant: all green [09:39] So it is. [09:40] hmm, I should do QA! [09:40] doit [09:40] or should I? [09:40] * nigelb didn't didn't see a tag show up. [09:41] nigelb: It should be there in 20 minutes or so. [09:41] Actually, I'm behind. May have been there 10 minutes ago... [09:41] Ahh. [09:42] Revision 13818 can not be deployed: needstesting [09:42] Assignee: nigelbabu [09:42] *whee* [09:42] * wallyworld just got power back on after a 90 minute power outage :-( [09:42] * nigelb QAs [09:42] FUUUUU [09:42] I wasn't subscribed. [09:42] Why does assigning the bug to myself not auto-subscribe me :x [09:44] You won't be explicitly subscribed, but you'll still get notifications. [09:44] Ha, 13 minutes ago. [09:44] wgrant: can you think of any good reason why I should not make makeChangelog return a unicode changelog? [09:44] No wonder. [09:44] bigjools: No. [09:45] bigjools: There's little place for bytestrings in LP. [09:45] good answer :) [09:45] * bigjools does the file encoding trick [09:45] Hm? [09:46] # -*- coding: utf-8 -*- [09:46] Why? [09:47] That's an emacs hint [09:47] no it's not [09:47] isn't that a vim hint? [09:47] Python hint. [09:47] it's a PYthon hint [09:47] That's the critical bit. [09:47] However, it's probably overkill. [09:47] What do you think you are up to? [09:47] QA'd [09:47] I've had this conversation before [09:48] If I want to type human-readable unicode in Python source I need that [09:48] bigjools: Oh, this is for a test? [09:48] I guess that's OK then. [09:48] in factory.py [09:48] but yes [09:48] see the top of test_ppauploadprocessor.py for example [09:49] wgrant: A hint for you with fixtures: useFixture is the bomb. [09:49] lifeless: Didn't I just suggest that to stub? :) [09:49] I may have missed that [09:49] 15:25:55 < wgrant> stub: Also, you can hopefully use self.useFixture instead of self.addCleanup and setUp. [09:49] I was going off of the MP thread. [09:49] I am not guilty. [09:49] Ah. [09:50] I felt some of the issues needed discussion, so did it on IRC instead. [09:50] something I like doing after IRC discussion is to paste that into the MP [09:51] Probably should have, yeah. Will do so in future. [09:53] bigjools: You prefer using coding: utf-8 over \N{SNOWMAN}? [09:53] hell yes [09:53] Bah. [09:56] * jelmer wonders how you would type non-ascii characters on a UK keyboard [09:56] ♯ [09:56] buy a new keyboard! [09:56] Actually there's a character map thing somewhere you can use :) [09:56] jelmer: Compose keys solve everything. [09:56] Except for in oneiric, where I can't work out how to configure one... [09:57] GNOME 3 wins. [09:58] OTOH, the special keys handling dialog in GNOME2 excelled in being complex and confusing... [09:58] Yeah. [09:58] But I can't find anywhere to configure keyboard layouts at all any more. [09:59] it *was* originally an Emacs hint. Python just appropriated it. [09:59] In fact, the new gnome-control-center seems to take GNOME policy to the extreme and delete most of the options. [10:00] wgrant: yeah [10:01] Or perhaps Ubuntu's Language Support button has replaced the GNOME 3 regional settings one or something. === jtv is now known as jtv-eat [10:03] Meh. I should just stop. Not helping. [10:04] nigelb: hmm? [10:04] #launchpad, I presume. [10:04] YEah. [10:04] cheater is right, our UI is terrible, and attempting to argue otherwise is probably silly :) [10:04] LP was designed in a different era, and was never pulled out of it. [10:04] heh, I agree with that. BUt its not /that/ terrible. [10:05] It is to people who haven't used it before. [10:05] And even to those that have it is cluttered and awkward. [10:05] Also, I'm trying to say how the UX is different from other similar services. [10:05] And does not provide dashboards or anything else that contemporary social applications have. [10:05] I failed at that spectacularly.' [10:05] It is a good point, but difficult to argue successfully. [10:06] What would it take to build a dashboard like approach? [10:06] dashboards would be really nice, especially given we track not just stuff on launchpad but elsewhere as well. [10:06] Ahahah [10:06] Besides lots of crying. [10:09] btw, no StevenK these days? [10:09] StevenK is away this week. [10:09] Or is he using perl to delete large parts of launchpad in secret. [10:09] Well, not away, but not meant to be here. [10:09] wgrant: Like you were a few weeks back. [10:10] Shh. [10:22] Bad metaphors need to be shot down. [10:22] nigelb: shot down from where? [10:22] jml: WRT Facebook and Google+, congrats! [10:23] StevenK: thanks :D [10:23] jml: oh yeah! Congrats! [10:23] nigelb: cheers :) [10:23] jml: Pictures of the ring are *required* [10:23] jml: I'm adding my comments to the discussion in the other channel. [10:23] StevenK: haha, I just realized, I did pictures of the ring with which you proposed :D [10:23] nigelb: You did? [10:23] nigelb: was being witty, "shot down" is itself a metaphor [10:24] jml: haha. Damn. I fail at my own joke :) [10:24] or maybe that's what you meant [10:24] StevenK: Yeah, #ubuntu-women ^-^ [10:24] back then. [10:30] I need unicode help :( [10:30] whenever I have to do unicode in Python, I get frustrated [10:31] wgrant: do you know the appropriate runes to get makeChangelog working with a unicode changelog? the librarian addFile keeps blowing chunks on me [10:32] bigjools: Python makes it really hard. [10:32] jml: it does :( [10:32] bigjools: You'll need to encode the changelog before you pass it to makeLFA [10:32] bigjools: you should see the insane stuff mgz has done to get testtools have proper unicode handling. [10:32] wgrant: I am, it still bitches [10:32] bigjools: Bitches how? [10:32] UnicodeEncodeError: 'ascii' codec can't encode character .... blah [10:32] jml: Python 3's sort of much better, though. [10:32] bigjools: What is your .encode invocation? [10:32] jml: I can well imagine [10:33] wgrant: yeah. it's the cross-Python support that makes it hard. Would be better with actual real honest-to-goodness types, and banning the word "string" [10:33] content=changelog.decode("utf-8") [10:33] bigjools: encode. [10:33] ffs [10:34] jml: Yeah, I think they designed stuff like the bytes backports to 2.6 just to make everyone's lives hell. [10:34] I use "backports" loosely. [10:34] heh. yeah. [10:34] I end up mostly resorting to casting everything to bytearray instead. [10:34] Which actually has consistent behaviour... [10:35] this is just utterly confusing [10:35] bigjools: Oh? [10:35] bigjools: You were going completely the wrong way before. [10:36] encode/decode/unicode etc [10:36] That's not Python, it's just people being stupid and not using Unicode everywhere. [10:36] I'm confused about whenI need to use encode and decode [10:36] If your data is not binary or UTF-8, you are wrong. [10:37] bigjools: Librarian files are bytestreams. You need to encode before you put data into an LFA, and decode once you get it out. [10:37] Because Python 2 doesn't do text files. [10:39] jml: How's the world of app development, anyway? [10:40] Hopefully not too much Python unicode support. [10:40] wgrant: fun! I have a spec :) [10:40] wgrant: https://blueprints.launchpad.net/developer-portal/+spec/automagic-binary-packaging [10:41] unicode support only matters insofar as a testtools release would help me and many others at Canonical get things done faster [10:41] This reminds me... I must work out what is up with poppy-sftp's logging tomorrow. [10:41] bigjools: Have you touched that at all? [10:41] bigjools: It's completely screwed. [10:42] wgrant: no, not at all [10:42] So, codeswarm for Launchpad was fun watching. [10:42] bigjools: Normally doesn't log anything, except when you log something explicitly, then it starts logging everything 50-60 times. [10:42] and you can actually see exceptions that occur. [10:42] After three recursion depth exceeded errors in the log handler. [10:42] I remember that happening when I was adding ftp support, then it went away [10:43] never got to the bottom of it [10:43] jml: Hows your day job? :) [10:44] nigelb: Do you have it for Launchpad? [10:44] jml: So we're going for widespread package-all-the-things before we have sandboxing, or are we hoping sandboxing will be practical before this is mature? [10:44] StevenK: Yes. [10:44] nigelb: Can haz? [10:44] StevenK: http://www.youtube.com/watch?v=9Pe70fw83Zs [10:45] wgrant: more the latter [10:45] Lots of lifeless floating around ;) [10:45] wgrant: for commercial apps, which is my focus for now, we are already operating without sandboxing in much the same way that we do with partner or the things currently in the software center [10:46] jml: Yeah, but I don't think that can scale while maintaining responsiveness. [10:46] wgrant: agreed. [10:46] jml: I love your work, except for the bits where its limited to one arch :( [10:46] (well, for now) [10:46] nigelb: we're moving up to two! [10:46] oooh \o/ [10:46] * bigjools weeps at having 4 cores which doesn't help when everything bottlenecks on disk [10:46] wgrant: I think sandboxing is the next step. [10:47] jml: It should have been the next step for about 15 years, but yeah :) [10:47] heh [10:47] bigjools: tmpfs + LXC + 6 parallel test runs makes good use of cores. [10:47] sandboxing's already nearly practical - see arkose [10:48] (I'm sure jml knows about that already) [10:48] Yeah, it's getting there. [10:48] yeah, I do. [10:48] wgrant: I used to run parallel tests using kvm but really, everything bottlenecks on disk. [10:48] it's good enough for skype, which is pretty damn good [10:48] Although haven't had the play with Arkose that I'd like to. [10:48] (the above is not to be taken to mean "skype is pretty damn good") [10:48] I know tmpfs is supposed to help but I still struggled to speed it up [10:48] Might do that today, actually, since most of it's consumed by long weekend email recovery [10:49] cjwatson: I can see the tabloids "Ubuntu developer says skype is damn good!" [10:49] bigjools: Which is why I implemented the LXC-based system that lifeless and I have tested. Have a single base chroot, then start 6 COW guests using aufs on tmpfs. [10:49] bigjools: All writes go to tmpfs, and the chroot cache is shared between all of them. [10:49] It was entirely CPU bound when I tried it. [10:49] excellent [10:50] I need a new machine. [10:50] 2 cores is now old. [10:50] my 4 core is a Phenom, a bit old [10:50] Buddy of mine got an 8-core. Runs gentoo one it and says he has great build times. [10:50] the i5 feels quicker, even though it only has 2 (although has the pseudo extra 2) [10:51] (I repllied with "I use Ubuntu, no build time on my laptop at all!") [10:51] gentoo users are weird people :) [10:51] haha [10:52] jml: that spec looks scary - so.many.items! [10:53] nigelb: I like having lots of small items. [10:53] nigelb: gives me illusions of control and progress. [10:53] Ah, they're small. [10:53] Far easier to feel that you're making progress that way. [10:53] I have like one item from UDS that's going to take 2 cycles to do. [10:54] Hmm, https://myapps.developer.ubuntu.com/dev/ looks slick. Except I had to read about it on Rick's blog. [10:54] I wish ISD blogged on the planet. === matsubara-afk is now known as matsubara [10:55] anyone got a second to talk about a bug, and a possible bug? [10:56] err a possible patch that is :) [10:57] "patch" - the magic word! [10:57] G: Actually, you should just talk about it and someone will respond [10:57] nigelb: yeah, well my fingers were a timezone behind my brain :) [10:58] I know that feeling well :) [10:58] Anyway, I spotted https://bugs.launchpad.net/launchpad/+bug/837290 last night and thought "that looks wrong", I took a look/poke at the Javascript tonight, and think I have isolated the issue [10:58] <_mup_> Bug #837290: When there is no "Other bug subscribers" incorrect descriptive text is displayed < https://launchpad.net/bugs/837290 > [11:00] What I seem to have isolated it to, is in lib/lp/app/javascript/subscribers/subscribers_list.js the function combines a set of config variables passed to it, with defaults if not set elsewhere [11:01] (~ line 75 of current devel branch) [11:01] but the SubscribersList function/module gets called using the uncombined config parameters [11:01] which results in items such as 'subscribers_label' ending up, undefined [11:03] That's a real narrow situation. Nice catch :) [11:03] wgrant: can you sanity check please: http://pastebin.ubuntu.com/677885/ [11:04] nigelb: my thought exactly :) [11:04] I came up with http://pastebin.ubuntu.com/677887/ as a working patch [11:06] bigjools: I guess. [11:07] G: I don't know if it works, but if you propose a merge, you can ask the oncall reviewer to look at your MP and review/land. [11:08] I'm going by https://dev.launchpad.net/FixBugs which says discuss first [11:08] mmm [11:08] I forgot about that one. [11:08] but yeah, I was planning on going the MP route, but wanted to cehck my logic first [11:08] bigjools: I don't really like making all the tests unicode like that, but I guess it's fine :) [11:09] If your data is not binary or UTF-8, you are wrong. [11:09] [11:10] "Did you ever get an email from your friends in Bulgaria with the subject line "???? ?????? ??? ????"?" [11:10] lol [11:10] bigjools: By "making all the tests unicode" I mean "using non-ASCII characters just because, which makes the tests ugly" [11:10] if it sweeps out decode errors in production, I don't care! [11:10] the other thing I'm wondering is if lines 79 & 81 are actually needed at all because everything seems to be 'config.something' not 'this.something' [11:12] bigjools: Still, whenever I see bad Unicode code in LP, I just think to myself "at least it isn't lp.services.encoding.ascii_smash()", and then I feel better. [11:12] (actually, ignore that last line) [11:13] bigjools: (bug #362957) [11:14] ascii_smash is .... [11:15] Broken and has no cause to exist. [11:16] the bug reporter's name made me laugh. I think I am a bit evil. [11:16] MIME solved Unicode in emails in 1996 :/ [11:16] Heh. [11:16] I haven't seen him around in a while. [11:16] Hmm, only archiveuploader and soyuz.adapters.notifications use ascii_smash. [11:16] Maybe we can delete it. [11:17] it should be easy [11:17] def safe_fix_maintainer(content, fieldname): """Wrapper for fix_maintainer() to handle unicode and string argument. [11:17] It verifies the content type and transform it in a unicode with guess() before call ascii_smash(). Then we can safely call fix_maintainer(). """ [11:17] Convert to Unicode just so you can ascii_smash it. [11:17] YAY [11:17] I filed a bug about that about four years ago :) [11:18] I mean, about ASCII-smashing on uploader names in upload announcements [11:18] Bug #33137 [11:18] https://bugs.launchpad.net/launchpad/+bug/33137 [11:18] it got unfixed [11:19] I think for Changes it's still fixed. [11:19] see e.g. https://lists.ubuntu.com/archives/oneiric-changes/2011-August/005861.html [11:19] Only for addresses is it still insane. [11:19] mails from syncs should be ok [11:19] bigjools: lol [11:19] ? [11:19] there are tests to preserve the From address [11:19] bigjools: They still use the ascii_smash codepath. [11:20] hmm it must be a weird corner case then [11:20] cjwatson: You have to remember that the LP team will only do the absolutely minimal fix. [11:20] cjwatson: Not the sensible one. [11:20] :) [11:20] wgrant: that is not a helpful remark [11:20] Probably not. [11:21] But it is hard to make helpful remarks when ascii_smash exists. [11:22] Because the only conceivable reason for its existence was rendered invalid 8 years before LP was begun. [11:23] I'm sure I would be a lot more annoyed about it if it mangled my own name. Part of the problem is probably that the Latin-alphabet ratio in Ubuntu development is too high. [11:23] Yup. [11:23] rvba has been useful. [11:23] With his Unicode name breaking new Soyuz features :P [11:23] heh [11:23] Previously we had to rely on danilos. [11:24] I should write my name in my mother tongue just to break LP. [11:24] wow === henninge is now known as henninge-lunch [11:24] working with the LP bzr branch is really different when you are only casually dipping in [11:24] One of our proposed baby names contains an accent; I expect to get more annoyed with broken forms and the like [11:24] heh [11:25] in composite changelogs, how many blank lines, if any, do we want to keep once the trailer line is removed? [11:25] charlieS has been wandering around with a snowman in his LP name for a while now. [11:25] https://launchpad.net/~cschluti [11:25] bigjools: There should be one blank line between each entry. [11:25] wgrant, cjwatson :) [11:25] wgrant: Excellent! [11:25] jml: ha ha [11:26] * bigjools curses python-debian [11:26] bigjools: So you probably need to drop the trailing and one of the lines. [11:26] Why do we remove trailer lines in composite changelogs anyway? [11:26] wgrant, actually, I think charlieS is snowman-ready to test the SSO bug they have for our RT systems login (they are not sending the full name over anymore, but I suppose they'd like to) [11:26] jml: Now you know how people like me feel :P [11:26] cjwatson: that is an extremely good question [11:26] danilos: Ah, but he must have changed it in LP too. [11:26] wgrant: $ bzr grep ascii_smash | wc -l [11:26] 29 [11:26] danilos: Or maybe even he is confused by login.launchpad.net :( [11:26] jml: Mostly tests. [11:26] wgrant, right, could be :) [11:26] wgrant: 29 is a small number. There art thou happy. [11:27] jml: I'm curious though, what bits feel different? [11:27] jml: It still does not inspire confidence that such a thing existed in the first place :( [11:27] nigelb: the elapsing time [11:27] jml: you have to spend half an hour every time fixing your test setup? [11:27] cjwatson: in fact as someone who looks at the emails from syncs, do you want to see them with or without trailer lines for each revision? [11:27] cjwatson: yeah, that too. [11:27] Also, caching files into memory [11:27] I think I'd prefer them with trailers. [11:27] jml: Heh :) [11:27] And bzr taking quite some time to download stuff [11:27] But it's unconventional and might make parsers angry. [11:28] I think I've accept that I'll take 4 hours to write a patch [11:28] hm, I'm not sure, the counterargument is that dpkg-genchanges -v wouldn't include the trailers [11:28] and about 12 hours to write a test. [11:28] cjwatson: I think that's the only reason not to include them. [11:28] I think e-mails from syncs should omit the trailer lines but representations like +changelog should include them [11:28] probably [11:28] dpkg-genchanges output was the original argument for omitting them [11:28] We really should replace +changelog with the real changelog, now that we have it. [11:29] yes [11:29] I wouldn't be desperately sad if they were included everywhere, but wgrant may be right that the odd thing might get confused [11:29] It's only a few lines to get rid of them. [11:29] So let's get rid of them. [11:30] * bigjools gets rid of them [11:30] now, htf to omit this blank line too [11:30] You could strip the chunks and "\n\n".join() [11:30] If python-debian isn't being convenient. [11:30] gross, but yes [11:31] Or just rstrip and + '\n\n' or so. [11:34] today is going to need a lot more caffeine [11:35] mrevell, wow, interesting post from cheater [11:36] something to get started with :) [11:36] poolie_: There was some discussion with him in #launchpad earlier. [11:37] yeah i saw the quotes [11:37] poolie_, I haven't read that yet ... /me dives in [11:38] I find parts of it depressing. [11:38] it is a bit [11:38] in various ways [11:38] some of them being that we saw the problem at the time [11:38] on the other hand it's a lot of free moderately good user feedback [11:39] heh [11:39] it's possibly more efficient than him filing 50 bugs [11:40] Well, now we'd file the 50 bugs instead of him :P [11:40] Hoping, of course, that some of them get fixed in the near future. [11:42] oh that reminds me [11:43] oneiric feedback :( [11:44] heh [11:44] oneiric feedback? [11:45] Argh. [11:45] Why do I ever try to fix Unicode stuff in Python 2. [11:46] The implicit str<->unicode conversions suck. [11:47] nigelb: I'm running oneiric. It's critically buggy in about a dozen major ways for me. I should file those bugs. [11:47] jml: Ahh. [11:47] Unity has only crashed once today! [11:47] It didn't much like me opening Character Map. [11:47] At some point I should upgrade to something with Unity. [11:48] I'm still on Lucid and Maverick. [11:48] nigelb: You're running maverick? [11:48] Hah. [11:48] poolie_, On the positive side, some of the things he raises are pretty easy to fix. I've been reading a book, About Face, which is about goal-oriented design. The issues cheater mentions fall under what the book refers to as "implementation model" design ... i.e. the UI arises from how the thing is engineered, rather than from the user's goals. Such an observation isn't new, but I think we can solve a tonne of cod [11:48] e.lp's problems by saying, "Right, person A wants to host code ... what's the least work they need to do to get up on LP" and then making everything else optional, something you can do later if it's necessary. [11:48] mrevell: Very, very strongly agree. [11:48] Amen. [11:48] Its not very apprent how to upload code coming from github. [11:48] mrevell: It's a huge shift from the last 7 years of UI. But I think it's the way the world has gone. [11:49] That I need a project and then add to the project. [11:50] So, perhaps we have a simple, default, path where you push something up and it lands in a renamed +junk (+personal?) and we allow merge proposals on +junk branches ... that'd solve some of what cheater mentions. [11:50] nigelb: well, technically you don't, but then you have to put up with your branch being called +junk. [11:50] mrevell: We've long wanted an easy way to promote junk to a project. [11:50] cjwatson: Yeah. I don't like LP calling my stuff +junk :) [11:50] (GAH, no pun intended) [11:51] The modern DVCS hosts tend to get around this by not having projects. [11:51] Everything is namespaced under a team/person. [11:51] cjwatson: I would like LP to say something like.. "Want to start a project? Go here!" [11:51] Or something. [11:51] wgrant, I think that'd be throwing the baby out with the bathwater, in our case. Projects are a really strong plus point of LP but maybe, in code's case, they shouldn't be compulsory. [11:52] I didn't know what "junk" meant in America when we introduced +junk [11:52] mrevell: Right, but it makes LP projects seem heavier-weight. [11:52] mrevell: Because they are globally namespaced. [11:53] And indeed, they sort of are. [11:53] I'm not sure how to fix that without fundamentally changing how LP works, which would imply losing the single project community stuff. [11:54] I'm not sure current LP users want that changed. [11:54] wgrant, Wouldn't being able to promote a branch from +junk to a project solve it? Or am I missing something? [11:54] mrevell: That's still a big leap. [11:54] wgrant, It is? [11:54] technically or conceptually? [11:54] I would also like to see code.lp.net telling me how to statr a project. [11:55] Conceptually. [11:55] You're turning something that was local to you into something that is global. [11:55] And more permanent. [11:55] And more imposing. [11:55] ... especially as we don't have a way for users to delete a project [11:56] In other sites there is no leap there, because everything is equal. [11:56] jelmer: Exactly. [11:56] Argh. Really? [11:56] also, sharing is a big deal [11:56] I've never had to do that yet. [11:56] Oh, I can't rename a project either, can I? [11:56] licence, commit privs, contributions, etc. [11:57] I haven't thought about the consequences too much but what about personal branches that are associated with a project but still viewed as and controlled by the owner, just like a +junk branch that has an affiliation. [11:57] wgrant: do we ever need that trailer or is it always redundant? [11:57] bigjools: For the current callsites (all one of them) it is redundant. [11:57] particularly on acceptance and rejectio nemails [11:58] there is more than one call site [11:58] Well, only one conceptual callsite. [11:58] Notifications. [11:58] yes [11:58] And they should be uniform. [11:58] While announcements are all that are likely to be machine-parsed, we should keep it consistent, as they have been traditionally. [11:59] mrevell: How is that different from what we have now? [11:59] mrevell: Branches within a project are still controlled by the owner. [11:59] ok thanks [12:00] mrevell: It becomes a much smaller leap if we make project registration not scary,. [12:00] wgrant, Well, sure, so that's where perhaps I'm missing something what you're saying. I guess my suggestion was as a looser affiliation between branch and project. [12:00] mrevell: But it is still a significant leap that the other sites don't have. [12:01] wgrant, Hmm ... project registration should, perhaps, be emergent from other "stuff" that's on LP. Maybe. [12:01] You go from being a repository for code to launchpad.net/launchpad [12:01] From relative simplicity to a bombardment of terms and clutter. [12:01] Most of which cannot be disabled. [12:02] The "Configuration Progress" thing was a good idea. [12:02] But the implementation is very confusing. [12:02] And doesn't go far enough. [12:02] wgrant, We can make the project registration process, etc, much friendlier without fundamentally changing how LP handles projects. [12:02] mrevell: Yes. [12:02] But it would be nice to be able to get rid of the leap. [12:02] But i don't think we can, without the fundamental change. [12:02] Which I really, really don't want. [12:03] I don't think anybody does :) [12:03] :) [12:03] I guess the first step is to make project registration not suck. Then we can think about solutions for going further. [12:04] Defaulting LP features to off, with a nice simple initial project page, which walks you through maybe turning on additional features as you need. [12:04] If we normalise the idea of personal branches ... so take away the pejorative name, make such branches more like a first-class citizen in LP, that would help. [12:04] So it doesn't seem 1000x more complex than a +junk branch. [12:04] agreed wgrant [12:04] gmb: I noticed you are the current reviewer 'on call' do you have a moment? [12:05] G: Sure. How can I help? [12:05] gmb: basically I spotted an issue in LP and I want to run it by someone in the know so I do it right the first time [12:06] mrevell: I think junk's a good name, and other projects have used it for a very similar purpose, but as we've seen it does not seem to be well-received by some :( [12:06] gmb: I gave an outline an hour ago, but I'm happy to go over it again if you don't want to scroll back [12:06] Not sure what to replace it with. [12:06] wgrant, As an aside, project registration sucks for a reason ... a kinda bad reason ... but to discourage mistaken or frivolous registrations. [12:06] G: Okay, sure. What's the deal, then? [12:06] mrevell: Yeah. [12:06] mrevell: Although it's better than it used to be. [12:06] gmb: okay, bug in question is: https://bugs.launchpad.net/launchpad/+bug/837290 [12:06] <_mup_> Bug #837290: When there is no "Other bug subscribers" incorrect descriptive text is displayed < https://launchpad.net/bugs/837290 > [12:06] mrevell: A bit of a workflow, rather than a 5 page form. [12:07] mrevell: Making it easier for registry-admins or LOSAs to delete/hide projects, then? [12:07] wgrant, I'd suggest either "+personal" or we go the whole way and simple allow branches at the /~ level, without a workaround project [12:07] Sigh. s/Making/Make/ [12:08] G: Okay, I'm with you. [12:08] gmb: basically, from what I've managed to find from looking at the javascript, and a bit of fiddling, is that SubscribersLoader in lib/lp/app/javascript/subscribers isn't merging config variables passed to the function with the defaults properly [12:09] StevenK, Sure. It's very easy to deactivate a project. Do deactivated projects show up in searches etc? [12:09] I have no idea. But if it is easy, then excellent. [12:09] as a result, when 'resetNoSubscribers' (approx line 596) runs it can't look up the value of subscirbers_label because it doesn't exist [12:09] there's a big difference between someone choosing to call their code junk and us making it [12:09] G: Argh, right. [12:09] I'd also like to fix whatever leads to people mistakenly creating a new project, when really they want something else. [12:10] nigelb, as it happens i was just reading some of http://www.bwater.com/Uploads/FileManager/Principles/Bridgewater-Associates-Ray-Dalio-Principles.pdf today about the benefits of facing reality, _especially_ when its painful [12:10] gmb: it's because the bugs & answers scripts, aren't setting the value in the config var [12:10] mrevell: Making the UI less bad would help there. [12:10] mrevell, they really want CDs :) [12:10] mrevell: Because people might be able to find their way to what they want. [12:10] poolie_, Heh, yeah :) [12:10] gmb: it got masked by a unit test, but what I'm thinking is essentially: http://pastebin.ubuntu.com/677887/ [12:10] poolie_: heh :) [12:10] * gmb looks [12:11] I wonder if people have stopped looking for ShipIt yet. [12:11] G: If you were using for full-name, we'd have good fun with tabcomplete [12:11] *your [12:11] nigelb: I have the IRC nick 'Nigel' registered ;) [12:11] wgrant, huwshimi has a great deal of work when he gets back from leave :) [12:11] that thing (200 page) pdf is well worth reading [12:11] mrevell: Oh yes :) [12:11] G: Ha! that's you [12:11] poolie_: 2 days off, I have soemthing to read :) [12:12] I don't have 'nigelj' though, can't be bothered registering it :) [12:12] hehe [12:12] gmb: because basically what is happening, it's merging everything into 'this' but SubscribersList(config) doesn't get 'this' it gets the unmerged config attrs [12:13] G: I understand and agree :). [12:13] gmb: I tried SubscribersList(this) but that crashed and burnt [12:13] gmb: so should I go w/ that and do a Merge Proposal? [12:14] wgrant: right, it's all fixed. Would you care to check the MP... [12:14] G: Yes, run up an MP and ping me the link. I'll take a look and double check it this afternoon. [12:14] * bigjools is now fairly sick of the sight of changelogs and unicode [12:14] gmb: okay, thanks! [12:15] np [12:15] (for what it's worth, the unit test never picked it up, because the unit test was pre-populated w/ a config that specified everything) === henninge-lunch is now known as henninge [12:15] G: I think you should fix/write another test [12:16] StevenK: I was thinking that myself :) [12:18] StevenK: I think what I'll have to do though, is create a second setUpSubscribersList without that information in the unit test [12:21] G: A second unittest without the information sounds like an excellent idea. [12:21] yep just found how I can do it easy :) [12:26] wait, you found unittest easy? [12:26] nigelb is jealous. [12:26] Of course. [12:26] nigelb: I'm basically running the same tests, but with a different starting point :) [12:26] I headdesk constantly. [12:27] And break them in truckloads [12:27] nigelb: Is there a marked depression in your desk? [12:27] Yes. [12:28] do you have a pillow for those situations? [12:28] Or does joiing the LP team give you a Launchpad branded pillow. [12:28] No, I was just curious if your constant bashing your head was affecting your desk adversely. [12:29] heh [12:29] BUt I'm geting better. [12:29] I wrote a test + fix with just little help the other day. [12:33] StevenK: But is it just me or are tests challening? [12:36] bigjools: Looks good. [12:39] nigelb: I found tests get easier to write as you get more comfortable with the code base. [12:39] nigelb: But it is still difficult if I jump into an area of the codebase that I'm not familar with. [12:40] StevenK: I guess not being familiar with any bit of the code base is against me. [12:40] I'm also unfamiliar with the different ways to test. [12:41] Well, I am now familiar with a few, but I'm guessing there are more. [12:41] nigelb: have you done much TDD before? [12:41] jml: LP was one of the first. Now I'm doing more with Mozilla projects. [12:42] Depending on what I'm doing -- if I'm playing or trying to understand how something works, I will just change the code. If I'm removing stuff, I will tend to just wield the axe and swing. If I'm fixing a bug or something like that, I will write the test first. [12:42] nigelb: and I guess both are big, complex, old codebases [12:43] jml: I touch the Mozilla Webdev, not firefox :) [12:43] StevenK: Oh. I should try tyhat. [12:43] nigelb: ah ok [12:43] I tend to write tests later. THat's probably wrong. [12:43] nigelb: It can be. [12:44] nigelb: I found that getting started w/ TDD took a while, because I wasn't used to being so clear about what I was trying to do. Then, there was a bit of a watershed, and then writing tests was easier before *or* after code [12:44] Although I still find writing tests after code deadly dull [12:44] SHould find another bug to work on so I can try with tests first. [12:44] 2 days holiday, I have 2 full days to come up with something! === gary-lunch is now known as gary_poster [12:50] jelmer, hi. I have a fix for bzr 2.3 that I'd like in LP. I know that you (?) have 2.4 coming to us Friday-ish. John said that my fix would go into 2.4 and trunk "automatically"...do you have a recommendation on me getting my fix in? [12:50] About the best situation I can imagine in the situation is "my fix goes into 2.4 this week and when we switch to 2.4 we get the version with the fix". Other options might be ppostponing getting my work in till later, but from a Lean/mgmt perspective that's not ideal [12:53] Hm, my connection seems a bit odd... === gary-lunch is now known as gary_poster [13:04] gary_poster: bzr 2.4.0 went gold on August 11. [13:04] abentley, I know, but LP uses our own distros of it frequently. [13:05] gary_poster: It wasn't clear you were talking about using unreleased versions. Certainly, we could roll our own. [13:06] gary_poster: but the one coming out this week will not have the fix. [13:06] abentley, ok. So, do you have a suggestion on how to proceed? Once the 2.4 line had the fix, I could roll our own and merge it to db-devel [13:06] Or just wait till Friday and update separately... [13:07] I guess it depends in part on how quickly the 2.4 line gets the fix [13:07] (merged via PQM, that is) [13:08] gary_poster: to me, it doesn't seem like an urgent fix. Am I missing something? [13:08] abentley, it was causing ec2 land to fail for me. It appears to be intermittent. [13:08] gmb: thanks for the help, I've just submitted the merge proposal: https://code.launchpad.net/~dev-nigelj/launchpad/bug837290/+merge/73369 [13:08] abentley, so it would only be urgent to LP [13:08] G: Okay, thanks. I'll try to get to it in the next hour or so. [13:09] gmb: okay, no hurry [13:09] and then only to people who are hitting the intermittent problem [13:09] hehe, I got pinged for the nigel there. [13:09] Drat. [13:09] gary_poster: I've seen that behaviour for months if not years. [13:09] nigelb: haha :) [13:09] abentley, huh. I don't know why it was biting me [13:09] but it was [13:10] nigelb: you know, I recently had to write an irssi script to ignore people saying "G+" at the start of a line :) [13:10] heh [13:10] Morning, all. [13:10] gary_poster: Anyhow, if it matters to you significantly, then branch 2.4 now, apply the fix, and that'll be good until 2.4.1 comes out. [13:10] G: haha! Fun! [13:10] G: 'bzr pipes' is from a plugin called bzr-pipeline -- lp:bzr-pipeline [13:10] THere's a machine called babune with bzr team. [13:11] I got pinged for that quite a bit [13:11] (My last name is babu, and I had a hilight for that) [13:11] I had change how that hilight worked [13:11] Morning, adeuring. How are things with the hwdb fixes? [13:11] deryck: mixing results. shall we mumble about it? [13:12] that's not what I wanted to hear. ;) [13:12] adeuring, yes. let's mumble. firing it up now. [13:12] StevenK: looks like rocketfuel-setup didn't know about it [13:13] G: It's optional, but *awesome* [13:13] G: It doesn't, I had to set it up manually as well. [13:13] You should also probably install python-lint something [13:14] abentley, ok...I understood the fix would be automatically applied to 2.4 (though I don't think it will apply cleanly because pertinent code has moved around between 2.3 and 2.4), and it is not yet there...so I'll wait to see if it is applied and go from there. Thanks. [13:14] (since 2.4 is not in tree yet) [13:14] 2.4 is in db-devel now. [13:15] And since staging is back after a two-week absence, we might be able to QA it. [13:15] And get it into devel. [13:15] gary_poster: Not automatically. bzr devs periodically merge one series into the next. [13:15] jelmer: Any progress? [13:15] wgrant, ah great news about staging! [13:16] abentley, ok. Can I do anything to help or encourage the merge--I'd be happy to prepare my own merge and make an MP if it helped [13:16] But don't want to be a bother if it won't help [13:17] wgrant: Did you happen to rebuild the EC2 image? [13:17] wgrant: on bzr 2.4 QA? Apart from loggerhead I managed to do the QA I wanted to [13:18] gary_poster: I think it would be best to wait until bzr 2.4 is actually released. [13:18] abentley, ok that's fine. [13:18] thanks [13:19] gary_poster: So if it really matters to you, you should cut your own release. [13:19] gary_poster: If I update launchpad-dependencies, does a losa need to update the buildbot hosts too? [13:19] oh [13:20] gary_poster: i.e. if you want to have it this week or next week, make your own tarball. [13:20] stub, that's the deb? If so, yes, I think so. [13:20] Ta. I'll open an RT. [13:21] Bah, I can't re-produce that missing pipes thing with lint [13:22] abentley, ok cool thanks. I did not see "make a release" instructions; is it just "update bzrlib.version_info to increment the last number, and run ./setup.py build"? [13:22] Anyone want to volunteer to update the ec2 test image with new launchpad-developer-dependencies so I don't have to experience the process myself via by Internet connection in a rain storm? [13:23] gary_poster: First manually override the version number in setup.py, then run "make dist". [13:23] stub, I or someone on yellow can do it. [13:24] stub, it's ready to go now? [13:24] abentley, got it, thank you very much. [13:24] gary_poster: That would be lovely. Its all ready to go in the PPA. Need anything from me? [13:24] stub, not that I can think of. [13:25] gary_poster: np [13:26] abentley, gary_poster, jelmer, adeuring: i'd like to release 13822 today, please QA your revisions [13:26] flacoste: roger. [13:26] thanks! [13:27] abentley, ack, on it [13:27] sorry abentley, I meant flacoste [13:28] flacoste says that quite differently from wgrant. [13:28] ;) [13:28] gary_poster: also, sudo make me a sandwich :-) [13:28] nigelb: QA! [13:28] StevenK: Yeah, you too :P [13:28] abentley :-) [13:29] aye aye! [13:30] flacoste, Skype? [13:30] nigelb: (for the record, I've only said 'QA!' twice, both times to StevenK after he started doing it, despite him doing it to supposedly emulate me!) [13:30] mrevell: yes, please [13:31] wgrant: hehe [13:31] flacoste, I need to chat with you about the state of that hwdb change. but am on stand up now. [13:31] flacoste, I assume the qa pressure is for that. [13:31] deryck: i'm getting on call with mrevell now [13:32] deryck: will ping when i'm free [13:32] flacoste, ok [13:40] henninge: Hi [13:41] rvba: Hi! ;) [13:41] rvba: just reading your reply. [13:41] now [13:41] flacoste: I am having difficulty QAing because https://qastaging.launchpad.net/ is timing out. [13:41] henninge: Okay, I'm available if you need any clarification. [13:41] rvba: cool, thanks [13:42] henninge: BTW thanks for the very nice and instructive review ;) [13:42] abentley: is your change the source of the timeout? or it's something else causing timeout? [13:42] flacoste: it must be something else. [13:43] flacoste: Now qastaging is giving "Please try again/Sorry, there was a problem connecting to the Launchpad server. ", so maybe it was due to a deployment? [13:44] qastaging is not updating, so something is broken. [13:45] It successfully updated a few hours ago, but the update log file is being truncated frequently when it never has been before, so something may be up. [13:46] wgrant: how can you tell it's not updating? [13:46] wgrant@carob:~$ rsync -a asuka::qastaging-logs/qastaging-update.log . [13:46] wgrant@carob:~$ tail qastaging-update.log [13:46] Tue Aug 30 13:18:03 UTC 2011 Current Revno: 13822, New Revno: 13822 - nothing to update [13:46] wgrant@carob:~$ [13:47] The next update will not start for almost another minute. [13:47] And the last one found nothing to do. [14:05] G: Branch approved. I'll land it for you now. [14:06] gmb: just saw the e-mail, thanks [14:29] rvba: before I try to find out your asset problem, let me find something out. [14:30] deryck: Hi! [14:30] henninge, hello :) [14:30] deryck: When you merged lazr-js into lp in Dublin, you kept the directory structure. [14:30] deryck: There is a seperate directory for each lazrjs class. [14:31] e.g. overlay, formoverlay, etc. [14:31] deryck: Do you think that structure should be kept when adding more widgets? [14:31] deryck: Or wouldn't it be enough to have a file per widget? [14:32] henninge, hmmmm [14:32] deryck: I think a directory that holds just one file is a bit of a waste. [14:32] deryck: but then there are assets and tests but they can go into central directories, too. [14:33] henninge, I prefer keeping the directory structure so we know where tests live..... [14:33] henninge: ;) [14:33] henninge, if we do change to individual files and central tests, I don't mind that. but I'd prefer a conscious change and move everything.... [14:33] not have done one way, and new stuff done another. [14:34] deryck: well, the lp stuff does not use directories. [14:34] so there is lib/lp/app/javascript/client.js [14:34] and not client/client.js [14:34] so we already have a mixture. [14:34] hmmm, good pont. [14:34] point [14:35] henninge, I don't really care :) You and rvba decide. :) [14:35] henninge, deryck: there are some cases where multiple files comprise the components. e.g. in the picker directory we have several files. it's probably worth maintaining folders only if we need to break up the files. :-) [14:35] yeah, I think do what makes sense for the widget. I'm just not that passionate about this issue. ;) [14:36] deryck, jcsackett: although I'd prefer a unified approach. [14:36] ok, we decide ;-) [14:36] rvba: how do want to do it? ;-) [14:36] deryck: i'm free now [14:36] flacoste, awesome. let's mumble. [14:36] henninge: my really first idea was to put my new widget inside formoverlay. [14:37] rvba: no, that was not one of the choices ... ;-P [14:37] henninge: ideally I think we should have a directory called 'overlay' with all the 3 overlays. [14:38] deryck: i'm in Orange 1-1 [14:38] coming, sorry.... [14:39] henninge: so, what do you reckon, back to the individual confirmationoverlay directory? [14:44] rvba: I like the "overlay" idea, too, but not for this branch. [14:45] henninge: That's right, not for this branch! [14:45] rvba: I think going back to the individual directory is fine. [14:45] henninge: So, let's go back to the confirmationoverlay directory, and I shall file a bug. [14:45] rvba: cool [14:45] \o/ [14:47] rvba: your other changes look very good, too. I won't force you to remove all usages of join('') (though I'd like to ;) [14:48] rvba: push your changes once you are done and 'll have a last look. [14:48] henninge: Thanks ;). You have to admit I followed the vast majority of your advices. [14:48] rvba: yes, thanks [14:49] rvba: but you also wrote some nice code yourself, where I let you ;-) [14:49] I am impressed at how nicely it came out. [14:49] Thanks! === salgado is now known as salgado-lunch [15:01] gmb: G'day! [15:01] gmb: Can I add another small branch to your queue? [15:03] gmb: yo, me too! :) [15:04] * nigelb waves [15:04] Need to find another bug to work on. [15:08] jml: Congratulations! And, I have a Twisted style question. [15:10] gmb: oh hey, I just realised, I need to do that Contributor Agreement thing right? [15:10] G: Yeah, you do. Send an email with that stuff to francis [15:11] suddenly struck me that the code of conduct thing != contributor agreement [15:11] hehe [15:11] I'll have to do it in the morning when I have access to a scanner [15:12] wait, what? [15:12] Has it changed? [15:13] I'm looking at: http://www.canonical.com/contributors [15:13] I didn't scan for sure. [15:13] But there's a new agreement. [15:15] henninge: Done! [15:16] nigelb: it's got the fill & in the blank bits in the PDF, but it says it needs to be printed, signed , scanned and sent [15:16] Need to check wwhat I did back then [15:17] Ah, i just had to send an email with that as an attachment. [15:17] With Harmony, the rules have changed. [15:17] gmb: looks like the change needs to hold off for a day so I can send in the form [15:17] rvba: cool. Looking. [15:33] G: Ah, blast. I'd forgotten about that. [15:34] Okay, I'll stop the EC2 run. [15:35] gmb: can i throw https://code.launchpad.net/~jcsackett/launchpad/target-adapters-aplenty/+merge/73248 on to your queue? [15:35] jcsackett: Sure [15:35] thanks, gmb! [15:39] rvba: I did not know about ObjectAssert. I did not notice you were using it before. [15:39] rvba: or did you just add that? [15:39] rvba: Also, areEqual seems to be undocumented ... ;-) [15:39] henninge: No I did not. [15:40] ok, I missed that, then. [15:40] np [15:40] rvba: but the test is still failing for me [15:40] not on the ObjectAssert, though [15:40] henninge: strange, which test? [15:40] test_hidden_field_added_on_ok: failed. [15:40] Unexpected error: Cannot call method 'simulate' of null [15:41] and this: [15:41] test_call_submit_on_ok: failed. [15:41] Unexpected error: Cannot call method 'simulate' of null [15:42] henninge: They all pass here ... [15:42] hmmm [15:43] henninge: last revision is 13784 [15:43] I will have to get a new branch. I had merged to get make lint working. [15:44] rvba: meanwhile: I *do* think it is important to satisfy the linter otherwise we might miss notice real issues. [15:44] rvba: so thanks for fixing that [15:44] s/notice// [15:45] henninge: Welcome :) [15:47] BTW I only had lint errors for the css file which was mostly copied from existing code. Hence my remark ;) [15:49] gmb: Can I add another small branch to your queue? [15:49] jelmer: SUre [15:49] jcsackett: Your branch is approved. [15:49] rvba: even with a new checkout the test is still failing. [15:50] gmb: Thanks! It's at https://code.launchpad.net/~jelmer/launchpad/no-code-import-approval-2/+merge/73388 [15:50] gmb: thanks. :-) [15:50] allenap: What's the story with https://code.launchpad.net/~allenap/launchpad/dd-beta-icon-bug-827508/+merge/72492? [15:51] henninge: Ok ... let me try with a new checkout... [15:51] gmb: allenap is off today. [15:51] rvba: What a slacker. Thanks :) [15:52] gmb, hi there, can I add this one https://code.launchpad.net/~matsubara/oops-tools/837468-missing-req-vars/+merge/73399 to your queue? [15:52] gmb: Back on Thursday. ;) [15:52] jelmer: I love it when a diff confuses the hell out of me. Approved. [15:52] rvba: I only care about other people's branches on Tuesdays. Says so on my calendar ;) [15:52] gmb: I see ;) [15:53] matsubara: Sure, looking now. [15:53] gmb: hello, did you see my request from 16:03? Looks like you're busy though ... [15:54] bigjools: I missed it, sorry, was picking up my car from its service/MOT/owner-gouging. I'll take a look after I've looked at matsubara's. Please send me the link again. [15:54] matsubara: Approved. [15:55] gmb, thanks! [15:55] gmb: https://code.launchpad.net/~julian-edwards/launchpad/sync-close-bugs-bug-833736/+merge/73401 thank you sir [15:55] gmb: and I hear you about the car.... [15:55] matsubara: you saw jane approved the examples script open-sourcing? can you make the necessary updates to the TestApiApplications page? [15:56] matsubara: we'll revisit the whole SLA wording when lifeless once lifeless comes back, but i think the TestingApiApplications documentation is good enough in its current form [15:56] gmb: :) thanks [15:57] flacoste, yep, I saw Jane's email. I'll add to my todo list and try to get to it this week. when do you need this done? Are the scripts ready for release or OEM's going to release them? [15:57] rvba: so, it is failing on the second "simulate" in test_hidden_field_added_on_ok [15:58] henninge: It looks like the button on the overlay is not found somehow. [15:59] gmb: before you start one mine, the current diff is bong, it's not picked up the pre-req branch [15:59] on* [15:59] matsubara: i think we should take the responsibility of releasing them [15:59] bigjools: Oh, joy. [15:59] Hadn't started yet though. [15:59] gmb: ok it has now [15:59] Hurrah. [15:59] matsubara: since it's useful to us as examples more than anything else [15:59] Will look shortly. [15:59] matsubara: and there is no urgency to this, do it as time permit [15:59] gmb: yes. Turns out you need to merge and push more than you think :) [15:59] :) [16:00] matsubara: might be good to blog about testing API applications once it's complete [16:00] flacoste, ok. [16:00] thanks matsubara [16:00] np === deryck is now known as deryck[lunch] [16:01] henninge: all good on a fresh checkout. [16:02] *#@$%& ??? [16:02] heh [16:02] * rvba *#@$%& too [16:02] flacoste, matsubara: http://bazaar.launchpad.net/~work-items-tracker-hackers/launchpad-work-items-tracker/trunk/view/head:/lpworkitems/fake_launchpad.py might pique your interest as an approach with pretty much the opposite set of pros and cons :-) [16:05] henninge: oh oh ... I bet you're using chrome ..? [16:05] * henninge was just starting FF [16:05] rvba: yes [16:05] passes in FF [16:06] Yep :( [16:06] rvba: what is the difference? [16:06] I really don't know. [16:06] Let's see if it's just the tests. [16:08] henninge: Gosh, something is really wrong with Chrome ... I guess I'm back to the drawing board. [16:08] james_w, thanks for the link. I'll take a look when I get to update the wiki page. [16:08] Project devel build #1,012: STILL FAILING in 4 hr 32 min: https://lpci.wedontsleep.org/job/devel/1012/ === matsubara is now known as matsubara-lunch [16:13] rvba: that is strange, though. [16:13] maybe it is just the selector in the test? [16:13] * henninge tries [16:13] henninge: "" [16:13] That's what chrome sees. [16:13] No "type=submit" [16:14] I mean no type=button [16:15] bigjools: Approved [16:15] gmb: thanks. I am surprised you don't have questions! [16:16] bigjools: Usually when someone says that it means I might have missed something. What kind of questions did you expect? [16:16] gmb: well, it's soyuz .... [16:16] terminology mainly [16:16] maybe you guys are starting to understand it! [16:17] * bigjools lives in hope [16:17] bigjools: Yeah, but for Soyuz this is pretty obvious. I don't think I got stuck on any terminology beyond a couple of "what-does-that-tla-mean-again" moments. [16:17] rvba: Not sure where you see that. [16:17] henninge: In Chrome's dom inspector. [16:17] bigjools: I shan't profess to understanding *just* yet, thanks. I'm not that crazy ;) [16:18] gmb: tell you what though, I am glad I didn't have to write those regexes ... [16:19] rvba: I see. I was looking at the dom node in the javascript debugger. [16:19] rvba: that shows me that both buttons are type=submit. [16:19] rvba: I think that is the problem. [16:20] or rather, *may* be the problem [16:20] """var cancel_button = Y.Node.create('') [16:35] rvba: I gotta run. r=me with some comments. Please have a look. ;-) [16:36] henninge: ok, I will ... I'm still trying to figure out what's going on. [16:36] rvba: may be a YUI bug. [16:36] henninge: Looks like allenap had a reason to do it this way: [16:37] rvba: but of course the test has to pass in both FF and chrome before you land this ... [16:37] Y.Node.create( '