[00:25] cjohnston: How'd you go today? [00:27] wgrant: so I'm a little confused about how we want to do this... [00:28] From talking to cprov, my understanding is that LP just gets diff's as plain text from librarian... [00:28] Correct. [00:28] so LP doesn't have the notion of hunks... [00:28] Correct. [00:28] He mentioned there may be code in bzrlib that we could reuse.. [00:29] But other than that, I'm not even really sure how we want to go about attempting to do this? [00:30] What do you mean by that last bit? [00:30] bzrlib has some useful patch parsing utilities, eg in bzrlib.patches. [00:30] It may be worth using them, but parsing manually isn't terribly difficult if not. [00:30] We had initially discussed emailing out relevant hunks for IC's [00:30] Yes. [00:31] so if only one hunk has an IC, only email the one hunk [00:31] If it's plain text that LP has, how do we determine what one hunk is? [00:32] The same way the 'patch' tool does. [00:32] Diffs have a machine-readable format; that's what they're for. [00:32] So we can work out what a hunk is. [00:32] bzrlib.patches has utilities to do that, but the format is obviously simple enough that it's not a huge challenge to do it ourselves. [00:32] ok [00:33] So we probably need to work out where the hunk dividers are, then map the comments we have onto hunks, so we can work out which hunks we care about. [00:33] ok.. [00:33] * cjohnston will bbiab, guest just showed up [00:39] I *think* codehosting has some code using bzrlib.patches for detecting hunks. === timrc-afk is now known as timrc [10:08] cjwatson: Why didn't you use multiprocessing again? [10:08] Also, os._exit? :) [11:17] wgrant: Because hell on earth getting the file descriptors set up properly [11:17] wgrant: os._exit is the correct thing to use in forked-but-not-execed child processes [11:18] I think the particular problem was that multiprocessing kind of wants you to use a Queue to pass things around between processes, and I couldn't make that work - I was getting can't-write-to-closed-fileobj IOErrors all over the place [11:18] and it was taking an unnecessarily long time to debug [11:19] Hrm, OK. [11:20] I use os._exit in this kind of situation because I don't want double calls to atexit-registered functions happening under my feet [11:21] It just requires care to make sure that any fds that have been written to are flushed or closed first [11:21] Yeah. [11:24] Wow, these constant hwdb test failures aren't incredibly annoying at all. [11:26] Not at all! [11:26] I deferred investigating them because we had approval to remove hwdb, but then that was sadly rescinded. [11:27] Sigh [11:27] So maybe it's worth actually working out what's going on there at some point. [11:27] Didn't remove it fast enough :) [11:27] At least it's not like polls, where we removed it and then had to put it back. [11:29] I'll spend a bit of time testing the apt source-caching backport today, I think. [11:29] 16:26 yeah, I was going to just feed it a different db path [11:29] 16:27 copy in the binary dbs and time source generation, then compare Packages/Sources [11:29] 16:27 then time cached source generation [11:30] :) [11:30] Built the tip of http://anonscm.debian.org/gitweb/?p=apt/apt.git;a=summary on precise, on advice from Michael; if that works then he'll do a backport to trusty [11:30] And then I think we'll SRU that into trusty and build the same source for precise [11:30] Until such time as pepo is on trusty [11:31] Michael wants to get most of this code into precise for other reasons, but since this is the riskiest bit of the trusty upgrade we might as well QA it in one step [11:40] Agreed, a-f is the most problematic and least testable bit of the upgrade historically. === BradCrittenden is now known as bac [12:35] Does anyone know why "bzr branch lp:ubuntu/trusty/apache2" breaks? [12:36] This post says that lowering bzr's output verbosity works around the problem! http://bridge.grumpy-troll.org/2014/06/four-miscellaneous-things/ [12:45] I hit the same problem with lp:ubuntu/trusty/firefox but not with some other branches. [12:48] jtv: Breaks with an error about LazyParentGraphCacheSomething having no such revision? [12:49] Graph(StackedParentsProvider(bzrlib.repository._LazyListJoin(([CachingParentsProvider(None)], [])))) [12:52] Yup. [12:52] https://bugs.launchpad.net/bzr/+bug/888615 [12:52] <_mup_> Bug #888615: UDD branch freshness checker breaks on incomplete history [12:53] Nasty. It's clearly not just the freshness checker... [12:53] It is. [12:53] If you disable it, it'll work fine. [12:54] Oh, and the verbosity setting controls that? [12:54] I assume it makes it sufficiently quiet that the freshness checker doesn't bother running, as it won't display its message. === timrc is now known as timrc-afk [16:21] * cjwatson deploys germinate parallelisation === BradCrittenden is now known as bac === timrc-afk is now known as timrc === dpm is now known as dpm-afk === james_w` is now known as james_w