[00:04] cool [00:07] lifeless: I'm slightly concerned that the LOC policy is encouraging people to put massive (multi-thousand lines of diff) unrelated changes into a single branch. [00:07] reviewers should still be pushing back on that [00:07] eg. spot the real change in http://bazaar.launchpad.net/~launchpad-pqm/launchpad/devel/revision/15074 [00:07] I presume you have examples? [00:08] Oh, bloody hell. That was my suggestion. [00:09] wgrant: archive model changes, but I know the branch :-P [00:12] so, this is an example of doctests sucking [00:12] I would have made a new login_person that was better and left the old one for doctest specific usage, myself. [00:12] landing it separately would have been nice indeed. [00:13] wgrant: such permutations during review have happened even before the LoC thing [00:14] wgrant: That specific one doesn't flag the LoC policy per se, for me. [00:14] Possibly not. [00:15] its a related change [00:16] if it was purely unrelated I would definitely feel tweaked [00:18] anyone know why we special case no-bug-supervisor situations ? [00:19] In which context? [00:19] Bug notifications? [00:20] yah [00:20] anyone fancy a quick review of https://code.launchpad.net/~cjwatson/launchpad/remove-services-unicode-csv/+merge/101315 so I can test my landing access? it's just removing two now-unused files [00:20] lifeless: Because to do otherwise would not confuse people sufficiently. [00:20] oh no whatever will we do [00:20] cjwatson: don't forget to set a commit message and go via ec2 land [00:21] Oh yes, commit message. I was going to use ec2 land, yes. [00:21] Thanks, will attempt that now [00:22] rick_h: Hi, did you get a UI reviewer or Dan to look over the new email notifications? [00:22] The one you added doesn't respect our normal conventions and has incorrect capitalisation in a number of places. [00:24] wgrant: yes, dan has sent me some feedback I've got to incorperate [00:24] I'm working with him on it while I try to get tests passing [00:24] wgrant: it's not final yet. [00:24] confused [00:24] it landed overnight [00:25] maybe flagged? [00:25] it shouldn't have landed, tests have been failing nad I just pushed another ec2 run during the day today [00:25] I've not seen the tests run yet [00:25] http://bazaar.launchpad.net/~launchpad-pqm/launchpad/devel/revision/15075 [00:25] [r=gmb][bug=959482] Add event hooks to send a notification email to a user whenever significant changes to their account are taking place. [00:30] https://bugs.launchpad.net/launchpad/+bug/854405 [00:30] <_mup_> Bug #854405: Private bug subscriptions < https://launchpad.net/bugs/854405 > [00:30] wallyworld: ^ could you perhaps give that a more descriptive subject? [00:31] rick_h: So, if it wasn't meant to land we should probably unland it. [00:31] lifeless: sure. i'm not sure why that one is not marked as released [00:31] wgrant: email hung and didn't get the notice. [00:31] heh [00:32] wgrant: so I screwed up, should have ec2 test vs land. If youcould let me know what's wrong that would be helpful. Dan's notes so far have been more generic [00:32] wgrant: so I'm not aware of what's not to standard atm. [00:32] wgrant: I'm getting kicked out of the library here in a couple of min sorry. Going to be afk. [00:34] wallyworld: thanks! [00:34] "irc" -> "IRC", "Freenode" -> "freenode", needs general rewording to say "if you didn't make the change" rather than "if you didn't meant to make the change", URLs should be in <> or nothing at all rather than []. I'd check existing templates to see the general style. [00:35] It also seems slightly odd to not say what the new or removed email address is. [00:35] And I'd prefer an assertion that there's only one changed field, rather than just dropping everything except the first one, given the security implications. [00:36] totally [00:37] or list all the changed fields [00:38] Sure, but in the current implementation that's stated to be an impossible situation :) [00:38] So it just takes the first one from the list, ignoring any others that probably aren't there. [01:09] * StevenK stabs layers. [01:09] Awww, a Maverick EOL notice. [01:14] Oh, right, 10.10.10 [01:14] Wasn't expecting it for a couple more weeks === jtv1 is now known as jtv [01:31] So how do I go about debugging things when the EC2 instance that 'ec2 land' starts up won't accept SSH connections? [01:32] strace shows it sitting in connect() [01:32] cjwatson: It'll normally retry a couple of times. Takes a while to start [01:33] Last time it timed out; this time it looks well on its way to timing out [01:33] cjwatson: Gasp, you're going to land your own branches [01:33] ? [01:34] If EC2 will ever work for me, yes [01:34] Heh [01:34] Can you use ssh to connect to the instance it has started? [01:35] No; also hangs in connect() [01:36] check the ingress rules [01:36] ec2 land may have misdetected your source ip address [01:36] Yeah, log into AWS and check your security groups. [01:38] ah yes, you're quite right [01:39] bogus RFC1918 source addresses [01:40] I see a patch to ec2 land coming up [01:42] not sure it's ec2's fault - why on earth is checkip.amazonaws.com telling me my RFC1918 address? (how does it even know?) [01:42] You're not setting an outbound X-Forwarded-For or something like that? [01:42] ah, could be a proxy, yeah [01:43] works better with http_proxy unset [01:43] Heh [01:44] mmm haha [01:44] cjwatson: I wonder if there is a bug tracker for checkip.amazonaws.com [01:53] is bug 63000 still true? [01:53] <_mup_> Bug #63000: IBugTask permissions are not in security.py and are obtuse < https://launchpad.net/bugs/63000 > [01:53] running now, phew [01:53] lifeless: Yes [01:53] wallyworld: I guess https://code.launchpad.net/~wallyworld/launchpad/launchpadlib-services-974139/+merge/101349 is tied to the mail you sent to -dev? [01:54] cjwatson: \o/ [01:54] StevenK: yes. [01:55] wallyworld: Do you want to set it to WIP if you want to wait for the discussion? [01:55] right, will do [02:05] * StevenK stabs buildbot. Six or seven times. [02:12] StevenK: rick_h's branch conflicted with jml's. [02:12] Ah. [02:12] Handy. [02:52] does anyone know a reason why we have UNKNOWN *and* UNDECIDED bug statuses? [02:54] I think UNKNOWN is for imported bugs? [02:54] s/status/impostance/ [02:55] StevenK: well, thats what we use it for [02:55] StevenK: but why do we have it [02:56] wgrant: sorry, like I was saying, kicked out of library post LUG meeting. Thanks for the notes. Taken down to go over in the morning. [02:56] we have a rule that says projects which use lp should always use undecided, and ones that don't should always use unknown (because their only bugs hsould be watches) [02:56] lifeless: it does take from a list of fields, but the event is fired on one of them not all so it 'assumes' the first one. I'll add a check to it to make sure and fail otherwise [03:04] rick_h: Wouldn't it have been easier to code the notification directly in [03:07] lifeless: well, I was shown the license change notification stuff in subscribers at the start and took that path. [03:07] I have two rules of thumbs [03:07] if an event has only one user it doesn't need to be an event [03:07] if you have to add special case code because you've lost context it probably shouldn't be an event [03:07] rick_h: I can eyeball your branch if you like, rather than talking in generalities [03:07] lifeless: well this does have three users, but you're right in the sense that it probably doesn't have to be an event. [03:08] lifeless: definitely up for suggestions. It's my first real bit of code on teh zope side so learning more > * [03:08] url me up [03:09] lifeless: but I'm finally back from LUG dinner/meeting and it's past my bed time. Can you email me notes for the morning? [03:09] https://code.launchpad.net/~rharding/launchpad/email_notice_959482 [03:09] lifeless: ^^ [03:16] rick_h: thanks [03:16] * wallyworld has an appointment, back in a bit [03:58] wgrant: StevenK: is bug 250003 still relecant ? [03:58] <_mup_> Bug #250003: package-cache should be optionally limited by distribution < https://launchpad.net/bugs/250003 > [04:01] lifeless: If that populates DSPC and other madness -- it could be, yes. wgrant and I want to completly rip all that crap out and have DSP in the DB directly, but ETIME [04:03] there's that "should" thing in a bug again [04:03] Indeed. [04:04] And it mentions hateful things that shouldn't have existed. [04:05] bigjools: yes, there it is. I hates. [04:05] the bug does not clearly state the problem [04:06] indeed [04:06] this is not uncommon :) [04:06] I'm trying to find a bug [04:07] there is a bug about showing folk that are important to a project as such [04:07] in bug pages and so on [04:07] there is another bug that also says this [04:07] I want to dup them [04:07] I can't find the former bug >< [04:07] We have lots and lots of bugs. News at 11. [04:12] wgrant: is bug 372643 fixed by your once-over ? [04:12] <_mup_> Bug #372643: Import queue error display: IE7 makes it all one line < https://launchpad.net/bugs/372643 > [04:12] also bug 376186 is about the most opaque I've seen today [04:12] <_mup_> Bug #376186: private bug implicit subscription < https://launchpad.net/bugs/376186 > [04:12] [the subject I mean] [04:16] lifeless: That one is pretty transparent. [04:16] It wants private bug implicit subscriptions [04:16] (we'll be fixing it with disclosure) [04:16] lifeless: 372634 needs to be checked in a more recent IE [04:17] If it works in IE8 it's fine [04:17] Since IE7 has no reason to exist [04:18] rick_h: Anyway, we probably need to unland the mistaken landing. Any objections? [04:20] wgrant: the /subject/ isn't transparent :) [04:20] I knew immediately from the summary what the problem was [04:21] Prepending 'No ' would possibly have made it a bit clearer, however. [04:28] I don't understand the bug, and I've read it [04:28] it says [04:28] new apport bugs have u-c-u subscribed, but members of u-c-u don't get notifications. [04:29] That sounds like 'the system is working but it isn't' [04:29] perhaps it means 'we have muted u-c-u via an external contact address and we want folk to have to have a different subscription to get notifications, and they want structural subscriptions to work' [04:30] lifeless: u-c-u deliberately doesn't imply notifications, because that would be insane. [04:30] so, bug 376186 [04:30] <_mup_> Bug #376186: structural subscriptions to private bugs don't work even when the subscriber has visibility on the bug < https://launchpad.net/bugs/376186 > [04:30] lifeless: But people who have explicitly opted into the package's bugs (through a structural subscription) don't get notified, even if they have access [04:30] thats clear. [04:31] Right, but bug is that private bugs don't have implicit subscriptions. [04:31] no [04:31] implicit subscriptions aren't a thing anywhere, they don't exist [04:31] the bug is that structural subscriptions aren't working with private bugs - they shouldn't grant visibilty, but they should still grant notification. [04:32] thats even the symptoms described, once you know that u-c-u doesn't imply notification [04:33] lifeless: Structural subscriptions are one type of implicit subscription [04:33] Others include subscriptions through duplicates, or for notification by assignment. [04:33] granted [04:33] bug 376186 [04:33] <_mup_> Bug #376186: implicit (e.g.structural) subscriptions to private bugs don't work even when the subscriber has visibility on the bug < https://launchpad.net/bugs/376186 > [04:34] which isn't entirely true [04:34] because we handle assignment already I think [04:34] but I accept your precision; do you accept my critique of the prior subject? [04:34] Assignment is handled by some very inconsistent and non-performant and broken special cases, yes. === almaisan-away is now known as al-maisan === al-maisan is now known as almaisan-away [05:22] poolie: bug 660340 [05:22] <_mup_> Bug #660340: [wishlist] Bug report message editor: want some markup to make the text bold/italic < https://launchpad.net/bugs/660340 > [05:22] hi [05:23] yup, that'd be arguably a dupe [05:24] wgrant: Hai. https://code.launchpad.net/~stevenk/launchpad/information_type-vocab/+merge/101486 if you please? [05:27] StevenK: Looking [05:47] StevenK: Done [05:49] wgrant: SimpleTerm doesn't seem to take a description, I went pawing through zope.schema [05:49] StevenK: Perhaps description is of our own invention :( [06:00] cjwatson: since you're spending some time on publishing things - https://bugs.launchpad.net/launchpad/+bug/616704 [06:00] <_mup_> Bug #616704: security unembargoes leads to security.u.c overload because primary archive does not have a copy of the debs < https://launchpad.net/bugs/616704 > [06:00] wgrant: MatchesStructure() is pretty awesome, first time I've used it. [06:00] StevenK: That's the point :) [06:01] we did a test helper in Maas where you can do assertAttributes(model, attr=, attr2= ...) which uses MatchesStructure [06:07] lifeless: Can I nuke the 'specification' bug search order on the grounds that it's stupid and not used by the UI? [06:08] (I believe it was added for a (likely false) constraint designed into dynamic bug listings, but never used) [06:10] wgrant: Sort by blueprint? Oh, that sounds SO useful. [06:10] s/Sort/Search/ [06:10] It sorts by the alphabetically first linked blueprint name [06:11] Oh, I can think of ... no use case for that whatsoever. :-) [06:11] (only slightly less useful than the 'tag' sort order, which sorts by alphabetically first tag) [06:11] But tag is a bit harder to remove, since it's used by the UI. [06:11] wgrant: I vote killing it, since it's just sounds dumb. [06:11] s/'s// [06:12] wgrant: And in fact, once we drop both feature flags, the entire vocab can just die. [06:12] StevenK: Ah, true [06:13] * StevenK peers at Steam. [06:14] Now Valve is doing Indie bundles? [06:14] They do sometimes. [06:14] There were a lot about 18 months ago [06:15] wgrant: if it has no search lozenge I see no reason to keep it [06:15] wgrant: (spec search order specifically) [06:16] lifeless: Yeah [06:16] mpt: hey [06:16] tag does, unfortunately :( [06:16] mpt: I am convinced that bug 522741 is a dup, but I can't find the other copy [06:16] <_mup_> Bug #522741: Highlight comments from certain people < https://launchpad.net/bugs/522741 > [06:17] wgrant: sort by tag makes no sense to me; is it getting used ? [06:17] wgrant: (e.g. what do the web logs say) [06:17] lifeless: Probably only by accident [06:17] But I could check [06:17] But it has a lozenge, so it's not trivial to remove [06:17] data >> nodata [06:17] right, but you can start a discussion on the list [06:18] where you can document issues like 'can't use it to find an unknown tag, because it doesn't repeat the row per-tag, just sorts with the alpha-lowest tag' [06:39] StevenK: You didn't address my concern about duplication with LP.cache.context [06:40] In other news, 450 line functions irk me === mabac__ is now known as mabac [07:07] wgrant: Bah, sorry. [07:11] wgrant: I killed it. [07:11] I'm going to have fun merging devel into my UI branch, given it's 35 revisions behind. === mabac__ is now known as mabac [07:35] lifeless, I don't remember that being reported before (though I did think of bug 58670 before seeing that it was already linked) [07:35] <_mup_> Bug #58670: Highlight comments from the reporter < https://launchpad.net/bugs/58670 > [07:39] mpt: hmm, I was sure there was something, ah well. I have at least cleaned up some more dross in the tracker [08:01] aloha [08:03] good mooriig [08:03] ...morning [08:05] I need someone to translate bug 253934 for me [08:05] <_mup_> Bug #253934: Please bring back the source info to the bug page < https://launchpad.net/bugs/253934 > [08:05] what do they mean 'source info' [08:06] lifeless, when a bug page was viewed in the context of a source package it would contain the source package portlet. I removed it as a small step towards (hi wgrant!) making the page the same regardless of what context you were in [08:07] thanks [08:07] Heh [08:08] I think I filed a bug in 2006 or 2007 about it being context-dependent [08:10] lifeless: well, mostly, I second comments #1 and #2 [08:10] lifeless: although it occurs to me that a launchpadlib reimplementation of our current script could do a better job of reacting to -security publications without even needing to touch the security team workflow [08:11] maybe [08:11] right now it relies on the package being completely published [08:13] wgrant: is zopeless buried yet ? [08:14] lifeless: Apart from ZopelessLayer and its derivatives, yes. [08:14] So unless it's referring to tests, the bug is a lie. [08:14] bug 781014 [08:14] <_mup_> Bug #781014: View tests should probably not use Zopeless layers < https://launchpad.net/bugs/781014 > [08:14] Still present [08:15] The main reason they shouldn't use it is the main reason it still exists [08:15] LaunchpadSecurityPolicy vs PermissiveSecurityPolicy [08:16] lifeless: anyway, doing *something* with copy-report is on my list, since it needs to be moved off cocoplum [08:18] cjwatson: I'd like to think LP has all the bits needed for that bug, just a matter of using em differently [08:19] I think that's probably true, although the changelog comparison we do in copy-report would be a bit tedious pre-publication [08:20] but it can reasonably wait until I reach this particular bit of the grand refactoring of all our tools [08:20] (which is, hopefully, resourced for Q, if secure boot doesn't entirely eat my life which would make me sad) [08:21] oh, sigh, when EC2Test says you need a publicly accessible SMTP server it really means public, doesn't it [08:22] cjwatson: Everyone just uses smtp.canonical.com [08:22] yeah, changing it according to EmailSetup now [08:22] wallyworld: should https://bugs.launchpad.net/launchpad/+bug/885503 be F-R? [08:23] <_mup_> Bug #885503: Its not obvious on the UI how to choose to have all bugs reported against your project marked private by default. < https://launchpad.net/bugs/885503 > [08:26] lifeless: linked from https://wiki.ubuntu.com/FoundationsTeam/ReplaceArchiveAdminShellAccess so I don't forget [08:27] cjwatson: thanks! [08:28] mpt: hah - bug 251479 [08:28] <_mup_> Bug #251479: bug pages should list the published versions < https://launchpad.net/bugs/251479 > [08:31] lifeless, so if people still want that, and while we still have multi-task bug reports, the challenge then would be to work out how to present it sensibly no matter how many packages are there [08:31] mpt: I've suggested in the bug to have the expander that currently shows the old style form, show details about the context. [08:31] good idea [08:32] No no no [08:32] Don't encourage making multi-task bugs more workable [08:32] Introduce obstructions to their functionality so we can better justify their abolition :) [08:41] I suspect we could close every bug with 'should' in the title with no degradation of the LP bug tracker [08:46] wgrant: you might want to check bug 415223 and see if its still broken, after all the subscription rework [08:46] <_mup_> Bug #415223: "Subscribed by Some Person" tooltip after inline subscription is wrong < https://launchpad.net/bugs/415223 > [08:46] lifeless: That work never happened :) === almaisan-away is now known as al-maisan [08:56] /ws/ws 20 [09:08] wgrant: did you end up nuking lazr.restfuls representation cache ? [09:09] lifeless: No, just the LP integration [09:10] more LoC just hanging around [09:16] bigjools: why did you keep bug 613642 open given Ubuntu saying 'no never' ? [09:16] <_mup_> Bug #613642: PPA pages have two different sets of instructions for adding them, rather than providing a button < https://launchpad.net/bugs/613642 > [09:41] do I need to take any action to deal with my buildbot rejection? [09:42] jtv: Everything okay out there? [09:43] Hmm. [09:43] I see no one has fixed it. [09:43] Hi there nigelb! [09:43] So I guess that means "yes". [09:43] jtv: Ohai. Context of that question - earthquake! [09:43] jml: hi there you too. Buildbot problems? [09:43] nigelb: Just heard about it. Didn't notice it. Mind if I go private? Don't want to distract the channel from Jono's problem. [09:43] oh sure [09:43] rick_h: I have added a review to https://code.launchpad.net/~rharding/launchpad/email_notice_959482/+merge/99995 [09:44] gmb: you may want to read my comment on it too, as you reviewed it initially ^ [09:44] jtv: yeah, a submtted branch failed. wgrant said earlier it was a conflict, but I can't tell if someone has already addressed the issue. [09:46] lifeless: I missed your ping earlier and now I switch clients, what did you want? [09:47] jml: It seems that rick_h inadvertently landed a branch that was not ready [09:47] jml: And, unrelatedly to that, it conflicted with your ignored = branch [09:47] Well, not a bzr conflict. [09:47] wgrant: yeah, I understand. [09:47] But some tests that it added are broken [09:47] bigjools: there is a bug 613642 , but AIUI Ubuntu have said 'we do not want just-a-button for PPAs' [09:47] <_mup_> Bug #613642: PPA pages have two different sets of instructions for adding them, rather than providing a button < https://launchpad.net/bugs/613642 > [09:47] I was hoping to talk to rick_h to get that branch reverted [09:47] But he probably went to sleep [09:48] bigjools: you said in the bug you were keeping it open because it was clear, but as Ubuntu don't want it, I'm not sure why clarity is a reason to keep it open/. [09:48] wgrant: OK. Maybe it's a good idea to fall back to asynchronous communication? [09:49] lifeless: I'm sure I had a good reason but IBF if I can think of it now [09:49] jml: I intend to talk to him when he comes online in a couple of hours. [09:49] bigjools: I'll leave it for now, let your brain sleep on it [09:49] lifeless: I'd be happy to close it I think [09:49] wgrant: ok. [09:49] bigjools: would you lke me to click the button for you ? [09:50] lifeless: done :) [09:51] \o/ [09:51] I've been procrastinating on allhands.c.c with this [09:59] procrastination, is the answer, procrastination, doing it later! dig it. [10:00] Quick question - also probably stupid question - is there a way I can run LP on OS X? [10:00] virtualbox [10:01] Aww. ok. that's what I'll do then. [10:01] in principle you can run it natively, yes [10:01] It's probably possible to run LP directly on OS X, as long as you have libapt and the like [10:01] but frankly it would basically be a nontrivial time investment for no reward [10:01] But it hasn't been done since 2005/2006. [10:02] lifeless: Yeah, that's what I was not sure about. [10:02] The good thing is I can let rocketfuel take over the virtualbox. [10:02] So it should be trivial at that end. [10:03] I do all my dev in lxc [10:03] Me too [10:03] e.g. I don't even run LP on Ubuntu directly [10:03] LXC probably doesn't run on OS X, though :) [10:03] some porting required [10:03] wgrant: Damn. I was hoping it would work. [10:04] nigelb: how much memory does your machine have? [10:05] lifeless: 2 GB *cough* [10:05] nigelb: so, run a server install, no x or display manager [10:05] i386, not amd64 [10:05] you'll need the X client [10:05] ssh into the vm to do stuff [10:06] you can use a native X server if you want to run up firefox etc within the vm [10:06] I wanted to setup a headless VM [10:07] and then hit it from outside [10:07] that probably needs some hacking to get the domains right. [10:07] its documented on the wiki [10:07] I have a few LP MP/bugs that I want to close. [10:07] oh cool. this should be fun. [10:07] (naturally enough, because thats how everyone developing with LXC gets at their dev instance) [10:08] Oh right. [10:08] I really need a 'this will make wgrant happy' template for bugs [10:08] heh [10:09] lifeless: Oh? [10:09] bug 978768 [10:09] <_mup_> Bug #978768: read-only mode code is now dead code < https://launchpad.net/bugs/978768 > [10:09] Hah [10:09] That will make me slightly sad, actually. [10:09] oh? [10:09] Although maybe the current implementation is not worth keeping, I guess. [10:09] the current implementation is not at all what you have advocated for [10:09] Indeed [10:10] It's also horribly buggy. [10:10] so, we should toss it. [10:11] *if* we go for a restricted, real-time, no-writes-permitted thing, it would need to be a lot leaner and more reliable to be better than FDTW [10:11] Yep [10:14] lifeless, ok, markdown baby tossed [10:14] its a bit sad, but perhaps someone will pick it up [10:15] maybe we will finish it saturday [10:16] it's not that much more actual code but it takes some chasing to get it landed and qa'd [10:19] lifeless, gc-ing it after 2 months makes sense [10:26] wgrant: sorry, yes went to bed. I've got to get hte boy to day care and I can look at the rollback process. [10:27] lifeless: thanks for the review. I did discuss the code LoC increase with deryck and it was thought that with some previous JS changes and hte fact that this is a hot security issue that getting out faster was better at the moment [10:28] rick_h: Hm, wasn't expecting you for another 2.5 hours anyway :) [10:28] wgrant: ok, well should be < 1hr. Sorry about the builtbot blockages [10:28] rick_h: its the overall thing we look for, but the absence of discussion in the review is a red flag [10:29] rick_h: Great. [10:29] rick_h: it either means it was done out of band, which is ok, or wasn't considered, and an external party cannot tell:) [10:31] lifeless: right, I should have noted the discussion in my MP, sorry about that. [10:32] rick_h: nevertheless, it can be much smaller ;) === al-maisan is now known as almaisan-away [11:22] :( [11:22] Someone just registered a few dozen distinct imports under kdemultimedia [11:24] Ah, only a dozen, just looked like a lot more [11:25] wgrant: that would be the project neon folks [11:26] So it seems [11:26] That is even more worrying [11:26] As we're pushed for buildd time already [11:32] wgrant: should this back out be sent through ec2 then? or just pqm submit? [11:32] rick_h: pqm-submit [11:33] with [rollback=15075] in the commit message, is there anything else I need to make sure is in there? [11:33] Nope, just [r=foo][rollback=bar], where foo is usually yourself [11:34] thanks [11:35] wgrant: see over there ---> [11:40] wgrant: oh, need [testfix] as well? [11:41] rick_h, wgrant: I was about to lp-land my vocab branch. Shall I wait until your rollback lands? [11:42] rick_h: Ah, yeah, you'll need testfix since buildbot finished with the broken branch [11:42] is there a web ui view for pqm aside from the deployment report I can monitor for this hitting?} [11:42] rick_h: pqm.launchpad.net [11:42] But it'll only be there for ~45seconds [11:43] wgrant: ah ok [11:43] I'll keep pushing my email. offlineimap ftw except when you want an email *NOW* [11:50] bah, testfix has to be the first one, *sigh* [11:51] ok, rollback success from pqm [11:51] * rick_h crosses fingers it works out from here [11:53] rick_h: You can't really self-review, you're still being mentored. But I think we can let it slide. [11:53] StevenK: thanks, if it makes you feel better jcsackett has started looking at getting me out of mentorship :) [11:53] * StevenK makes a note to fix that on the call tomorrow. :-P [11:54] doh [11:54] Haha [11:54] it's a trap :P [12:40] gary_poster: let me know if https://code.launchpad.net/~jml/testtools/forward-current-tags/+merge/101538 addresses your issues with testtools tag support. [12:49] jml, cool will review thanks. benji would also review, as he's been doing a lot of the work in the area, but he has internet connectivity issues today. [13:02] jml, that looks very good to me in terms of subunit contract and in terms of the tag context approach. typo line 477 of diff: restorted. I don't understand meaning of Python27Contract subclass and have not explored, but it implies to me that this the contract will not be expected/maintained for 2.6. Do I understand correctly? If so, why would we only want this in 2.7? testresult.real.ThreadsafeForwardingResult a [13:02] lso does not conform to subunit tag contract correctly, but we have work in that direction, as well as another test result implementation, so we can run with your branch once it is landed and hopefully use your testcases to test those test result classes [13:04] gary_poster: Python27Contract is the contract for stdlib unittest.TestResult in Python 2.7 [13:04] gary_poster: and likewise for 2.6 [13:04] jml, but I thought your MP said that tags were not in 2.7...rereading [13:04] gary_poster: the previous tests implied that Python 2.7 unittest.TestResult had tags() [13:05] gary_poster: and thus our test double object had tags() [13:05] gary_poster: but that was wrong, making it a bad double. [13:06] gary_poster: I'm also fairly sure that this branch fixes ThreadsafeForwardingResult to conform to subunit tag contract. [13:06] jml, right, ok. So...TagsContract will be expected to be followed in both 2.6 and 2.7, right? That's my only concern, really, despite the fact that I'm still in a bit of a fog about the intent of that subclassing (reading more code would help, I suspect( [13:06] gary_poster: the subclassing is sort of a kludge for not using testscenarios [13:07] Threadsafe...: really! lemme look again [13:07] subclassing: ok [13:07] gary_poster: by inserting TagsContract into the tree where we did, that tests against TSFR. [13:11] jml, ok cool. I believe ThreadsafeForwardingResult still has some issues, but perhaps they are mitigated somehow. benji and/or I will review later. However, _not_empty_tags is simply wrong AFAWCT (minimally should be boolean or, not boolean and, and arguably should be "bool(tags[0] - tags[1])" from some kind of purity perspective). Similarly, _add_result_with_semaphore reverts the _global_tags at the end of the [13:11] function, which we believe is a typo/thinko [13:12] gary_poster: oh right, the forwarding might well be busted. I don't understand it, tbh. [13:12] As I said, we've been staring at this for a while, so we'd be happy to review again once this has landed (especially if it lands soon) [13:12] (review the forwarding bits I mean) [13:13] gary_poster: I was sort of hoping that making TagContext would have helped me understand / get rid of it, but no, not really :\ [13:13] heh [13:13] gary_poster: I should have been more insistent at the code review point. [13:13] jml, you can be insistent when we propose some changes to it, and that will help everything along :-) [13:14] We'll see if we can use TagContext in there too; I suspect we can. [13:14] gary_poster: thanks :) [13:15] jml, any idea how soon this will land? I'll suggest to benji that we work from your branch if it won't be within an hour or so [13:19] gary_poster: I'll try to get another testtools person to review [13:20] cool jml, thanks [13:22] gary_poster: oh. oops. lifeless is the only other person with commit access. [13:22] :-) [13:24] rick_h: Your r15075 broke buildbot. You added login_person calls to doctests, but r15074 makes login_person return a value, which breaks doctests. [13:25] abentley: it's been rolled back this morning [13:25] abentley: I replied to the email, I've got work to do on it still. Should hopefully fix soon [13:25] rick_h: Ah, okay. The mail was more about buildbot failing to notify you. [13:26] abentley: ok, just grabbed one of the failure emails to reply to this morning. [13:29] rick_h: We're talking about different mails. I just sent a mail complaining about buildbot blaming *me* for this. [13:30] abentley, adeuring, rick_h -- can one of you paste me the link for the standup hangout? [13:30] deryck: https://plus.google.com/hangouts/_/extras/talk.google.com/orange-standup# [13:30] thanks! === almaisan-away is now known as al-maisan [13:41] https://dev.launchpad.net/PolicyAndProcess/MaintenanceCosts === abentley changed the topic of #launchpad-dev to: http://dev.launchpad.net/ | On call reviewer: abentley | Firefighting: - | Critical bugtasks: 4*10^2 [13:50] flacoste: btw, it would be great if the MaintenanceCosts doc included or linked to some helpful suggestions on what to do to reduce maint costs to pay for a patch. [13:51] jml: you mean like a task list? [13:51] flacoste: yeah [13:52] indeed, that's a good idea [13:52] flacoste: but not necessarily exhaustive [13:52] right [13:52] e.g. [13:52] just a getting started [13:52] - remove sample data [13:52] - convert a doctest to a unittest [13:52] that sort of thing [13:52] ah, so more "principles" based [13:53] rather than fix bug 12345 [13:53] <_mup_> Bug #12345: isdn does not work, fritz avm (pnp?) < https://launchpad.net/bugs/12345 > [13:53] or bug 123456 [13:53] both would be good [13:53] <_mup_> Bug #123456: podcast crashes amarok < https://launchpad.net/bugs/123456 > [13:53] flacoste: well, that might be nice too. [13:53] flacoste: basically, something to get someone started who isn't heavily involved in the code-base and feeling the costs. [13:54] Er, since when did we have a reduce LoC mission? [13:54] Since 2012-02-10. [13:54] Ah, that's why it felt new. [13:54] I did wonder, I hadn't heard of this when I was actively writing code. [13:54] https://lists.launchpad.net/launchpad-dev/msg08923.html [13:54] Also. Should learn to scroll. That info was right on the page. :| [13:55] jml: We could also have a list of dead code, but that raises the question "why not just delete it now?" [13:56] abentley: well, why not? [13:56] https://lists.launchpad.net/launchpad-dev/msg08903.html had some specific suggestions from lifeless [13:56] jml: Because if we save it up, then we don't have to work so hard later to balance a LOC addition :-) [13:57] If people start saving things up, the policy is arguably counterproductive ... [13:57] right [13:57] cjwatson: Yes, therefore the smiley. [13:57] abentley: is there a way to discover dead code? [13:57] Hrm, I'm curious, as an external contributor, how can I help? Because most of my MPs were adding code. Not deleting them. Not sure I know enough about Lp to delete code. [13:58] abentley: fair enough, it can be hard to tell [13:58] jml: https://bugs.launchpad.net/launchpad/+bug/420338 ;-) [13:58] <_mup_> Bug #420338: Tool for identifying dead code < https://launchpad.net/bugs/420338 > [13:58] jml: Nothing foolproof, but checking the coverage of the test suite would give hints. [13:58] nigelb: I've been doing a fair bit of deletion as an external contributor [13:58] nigelb: yeah, likewise. that's what started off this conversation ;) [13:59] jml: In some cases, though, the test suite is the only caller. [13:59] cjwatson: *cough* you know more about LP :) [13:59] jml: Ah! [13:59] nigelb: in my case it's just come down to intuition ("hmm, that looks a bit crufty") and grep to confirm [13:59] nigelb: the only way to learn is by randomly deleting stuff. [13:59] jml: Or turn into StevenK :D [13:59] cjwatson describes it better. [14:00] nigelb: please don't. one is enough. [14:00] haha [14:00] I actually would love to see tagged bugs or something. [14:00] If there's low hanging fruits [14:00] there's the tech-debt tag, which has some useful ideas [14:00] although with a wide range of difficulty [14:01] oh yeah, that one. [14:01] I should resucitate my ubuntu laptop to try this out. [14:04] jcsackett, you make a good point about the Ubuntu bug supervisor [14:05] sinzui: hello [14:05] bug 978212 [14:05] <_mup_> Bug #978212: Sharing batch navigation shows ugly 404 error. < https://launchpad.net/bugs/978212 > [14:05] * jml considers doing a test run with coverage.py [14:06] jcsackett, The ubuntu bug supervisor is not subscribed when the private bug is created, apport is the only party that can access it. When a user changes the bug to private, the ubuntu bug supervisor is being subscribed? [14:07] sinzui: it's caused by the PillarNavigationMixin added for the sharing details page. the mixing processes traversal of xxx/+sharing/name [14:07] sinzui: but the batching js sends urls like xxx/+sharing/++model++ and the navigation mixin gets confused [14:08] sinzui: i have a fix but i'm not happy with it. i'd rather change the url for the sharing details page to xxx/+sharingdetails/name [14:08] sinzui: want to have a call w/ james_w & I today? [14:08] wallyworld, I think We want to extend the @stepto. The URL looks natural...if I hack the URL I get a 404 [14:09] sinzui: the url looks natural but what is sent includes the ++model++ [14:09] sinzui: my lame fix which does work is https://pastebin.canonical.com/64098/ [14:10] wallyworld, I think that is the correct fix...the application should not dictate the URL [14:10] sinzui: the browser location doesn't show the ++model++ even though that's what is sent via the post [14:11] jml yes. I am available starting at 16:00 UTC [14:11] sinzui: so you favour retaining xxx/+sharing/name for the sharing details view url? [14:11] yes. [14:12] sinzui: thanks. [14:12] re dead code: http://pypi.python.org/pypi/vulture might be interesting. [14:13] sinzui: ok. is my first attempted fix which does work but i know is wrong in the right area at least? [14:13] wallyworld, The underlying issue is that ++model++ which is an internal mechanism was exposed in the URL is an nasty way [14:14] sinzui: that's out of my control - it's what the js batch navigation infrastructure sends through [14:14] and it was harmless until we introduced the extra traversal stuff for the details page [14:15] i think the idea is that the js batch navigation stuff is simply asking the view to init and populate the json cache [14:16] and the ++model++ namespace is used to do this [14:16] so it seems an established pattern [14:16] wallyworld, it was harmless except it was introduced in ignorance that we use @steptrough in a lot of places and we frustrate users try to make that hack work... ~team/+members and ~team/+member/sinzui is bong [14:16] sinzui: sorry, i should have typed "harmless" [14:16] wallyworld, also, try putting to batch navigators on the same page as is also done on +members and you will see it is truly fuxked [14:17] sinzui: so seems like we have a form of infrastructure friction here [14:17] yes [14:18] wallyworld, I think the real issue is that @stepthough should ignore ++ because it is a special rule [14:19] that sounds reasonable i think, but if it ignored it i wonder if the ++model++ contract would still be met [14:19] wallyworld, consider using ++oops++ on a page with an @stepthrough...it will fail [14:20] wallyworld, so this issue is not new. [14:20] flacoste: thanks! [14:20] yes, it would wouldn't it [14:22] ok. i'll get myself off to bed and revisit in the morning. thanks for providing the input. i didn't realise the issue was sort of known [14:22] jml: I cannot meet until 16:30 UTC. I need to get my son from school [14:22] sinzui: no worries. can you please ping us when you're back? [14:23] fab [14:31] jml: Vulture looks interesting. [14:33] abentley: quick ? so I wanted to pull devel with my branch to keep working on it [14:33] abentley: except devel has a rollback that undoes my branch [14:34] abentley: any clue on what I *should* have done? [14:34] abentley: yeah. I just ran it. It generates warnings for methods that are part of an exposed API. [14:34] I'm assuming there's a right order/process to keep my work while getting devel's changes so I can fix the tests/etc. [14:34] rick_h: You want to merge, not pull. Merge up to the rollback first. [14:34] rick_h: Then merge the rollback, but revert all its changes. [14:35] abentley: ok [14:35] ty [14:36] rick_h: So: bzr merge -r 15076; bzr commit; bzr merge -c 15077; bzr revert "."; bzr commit; [14:45] rick_h: If you've pulled devel, you can reset your branch to its old revision with "bzr pull -r 15010.1.25 --overwrite" [14:46] abentley: ok, thanks [14:47] rick_h: np. [14:54] jcsackett, I think your reply to the branch in the review hints that if we make the change I propose, Ubuntu's bug subscription behaviour will change [14:54] sinzui: yeah. the current behavior, as regards bug supervisor, wasn't changed; just cleaned up. [14:54] mind you, that doesn't mean the behavior is *right*. :-P [14:55] jcsackett, Canonical noticed the change in behaviour...not ubuntu [14:56] sinzui: dig. so ... leave it? i think your right that the current behavior is actually wrong. [14:57] jcsackett, I think the rules are wrong. wgrant might say the rules are right because the apport is not using the chunks of code we are changing [14:58] sinzui: well, i can sit on it till tonight, and we can talk to wgrant. [14:58] jcsackett, I am going to make the review as needs information, and we can discuss this as a group [14:58] sinzui: dig. [14:58] abentley: could have a look this mp: https://code.launchpad.net/~adeuring/lazr.jobrunner/slow-lane/+merge/101576 ? [14:58] i'll leave off changing it then, and not worry about landing it today. [14:58] adeuring: with pleasure. [14:59] sinzui: i was thinking of tackling bug 968253 today. any landmines you can think of, or is this a pretty straight forward case of just getting the banner to display? [14:59] <_mup_> Bug #968253: +archivesubscriptions pages do not clearly state that they contain private information < https://launchpad.net/bugs/968253 > [15:00] jcsackett, I think so. You might notice that there is a related bug. the bread crumbs are missing/wrong [15:01] sinzui: i did not notice that, but it might explain why the banner isn't showing if its supposed to. [15:02] sinzui: oh, or i can take the details closed bugs issue; did y'all come to a decision on that last night? [15:02] right, without the breadcrumb adapter, lots of things are subtly broken [15:03] adeuring: Did you consider making fallbackToSlowerLane a contextManager? Then it could re-raise the exception itself if there was no fallback available. [15:04] jcsackett, that needs research. I see some closed bugs are listed...this issue might also be about the fact that duplicates are often omitted from searchTasks() [15:04] sinzui: ah, right. [15:04] sinzui: ok, i'll go after the privacy banner/breadcrumb bit first. if that's a relatively quick resolution, i'll pry into the details page issue some. [15:05] I cannot be certain at the moment but bug search is really mediocre for researching privacy issues, and team leads can not access the staging databases anymore...I have no idea which bug Lp thinks the example user has access to [15:05] adeuring: 119 looks like acccidental whitespace. [15:07] abentley: fixed. (the whitespace) ANd no, I did not consider to define fallback/oSLowerLane as a context manager. [15:07] abentley: I think we should keep the exeption handling in one place though, in runJob() [15:08] adeuring: cool. [15:08] Otherwise, it will be hard to keep an overview that the job status is correctly updated [15:09] adeuring: You don't actually need RunFileJobNoResult. You can just pass ignore_result=True to apply_async. This works for most (all?) Task properties. [15:09] abentley: ah, ok, I'll try that [15:15] abentley: this does not work. With this change: http://paste.ubuntu.com/924985/ , I get again errors about messages that are stuck in rabbitmq... [15:17] adeuring: Wacky. Okay, I guess leave it as is for now. [15:17] yeah... [15:19] adeuring: It might be helpful to distinguish between the noun and verb forms of queue by using "enqueue" for the verb. [15:19] abentley: yes... where exactly? [15:19] adeuring: I think 147? [15:19] abentley: ok, I'll fix this [15:21] abentley: ah, you mean the function name? that would requires more change in the main LP code... [15:21] adeuring: Let me look at this. [15:23] adeuring: My bad. [15:23] adeuring: We might want to change both, but we can't change just one. [15:24] abentley: right... [15:25] abentley: to add fun for such a name change: "grep -Ir job.*queue lib/lp" shows this result: lib/lp/answers/notification.py: self.job = self.enqueue() [15:30] adeuring: why is runJob accepting a callback now? It could just call reQueue, which would return False if no FALLBACK_QUEUE was configured. [15:33] abentley: JobRunner does not know about the _task_, it knows only about the job. But reQueue is a task method [15:33] adeuring: Makes sense. [15:37] am having trouble firing up an instance with ec2 demo: getting a socket timeout during the ssh connection. [15:38] adeuring: r=me [15:38] abentley: thanks! [15:40] any known gotchas there? anyone else able/unable to use 'ec2 demo'? [15:41] jml: i think wallyworld had issues doing ec2 demo as well. there was some discussion of using it (and possible bit-rot?) on the launchpad-dev list. look for wallyworld posting about mockups and best practices. [15:41] jcsackett: thanks. [15:46] jcsackett: nothing particularly helpful there, I'm afraid. I'll see if I can get 'ec2 test' to work [15:46] jml: sorry it wasn't useful. [15:46] jcsackett: no worries [15:46] jcsackett: I really appreciate getting any response at all [15:46] well, we try to not let this channel be completely like shouting into a hole. :-) [15:51] adeuring: Does this change require additional packages? [15:52] abentley: in theory, no. But the tests require a package like rabbit-management or so, and this is currently not available in precise. the LP PPA needs to be updated... [15:53] well, it is avaibale, but depends on the wrong version of rabbitmq-serverm IIRC [15:53] adeuring: Could you specify the exact package so I can run the tests, please? [15:55] abentley: I _think_ it is rabbitmq-management [15:55] but htere are several broken rabbitmq dependencies... [15:55] adeuring: Okay. [15:59] adeuring: Given the circumstances, I think it makes sense to make the queue check optional. Otherwise, I won't know if any of the TestCeleryD tests start failing. [16:00] abentley: like a try/except around the checks in setUp() and tearDown() [16:00] adeuring: Yes. [16:00] ok, I'll add that === al-maisan is now known as almaisan-away [16:01] adeuring: thanks. [16:03] so I'm not going to do a coverage run, because I can't launch an ec2 instance for Launchpad. [16:12] jml: last night lifeless and others helped me fix a problem I was having with ec2, which turned out to be that ec2 was detecting my IP address via a proxy which caused it to enable a private IP address in the instance's security policy, which didn't work so well. 'env -u http_proxy ec2' fixed it. [16:13] cjwatson: interesting. thanks. [16:13] jml: you might see what checkip.amazonaws.com says [16:13] I'm stumped. In an sh script, if dir is defined, what is ${dir##*-} ? I can't find a value for dir that gives anything, and I have not been able to find docs on that syntax [16:14] gary_poster: strip the longest segment matching the pattern *- off the start of $dir [16:14] gary_poster: man dash, search for "##" [16:14] (or bash) [16:14] cjwatson, awesome thank you much [16:14] (to be clear, that doesn't modify $dir) [16:15] cjwatson, ack, thanks. === deryck is now known as deryck[lunch] [16:18] cjwatson: it's giving me 10.45.43.105, which does look internal (my shell server says I'm connecting from 91.189.88.12) [16:19] cjwatson: but http_proxy is unset [16:22] there might be a "transparent" proxy in the way I guess; anyway, that's probably the problem [16:22] worst case hack ec2 to ignore what checkip says ... [16:22] anyone else getting 503 from codehosting? https://code.launchpad.net/+loggerhead/~rharding/launchpad/email_notice_959482/diff/15040/15035 [16:24] cjwatson: yeah, I was just giving that a try :) [16:25] if it works, I'll add an command-line option to override the public IP [16:27] hi jml. [16:27] sinzui: oh hi [16:27] sinzui: good timing [16:27] sinzui: which voice communication technology works for you? [16:27] hangout and mumble [16:28] sinzui: let it be hangout! [16:42] sinzui: are you around? need to bounce an idea off someone. [16:43] in a meeting at the moment [16:43] sinzui: dig. === matsubara is now known as matsubara-lunch [17:06] jml: a quick question: I branched from lp:~jml/testtools/forward-current-tags and added a test (http://paste.ubuntu.com/925149/) and it failed (http://paste.ubuntu.com/925150/). Should that have suceeded, or am I missing something? [17:07] sinzui: # The software center agent can view commercial archives [17:07] if self.obj.commercial: [17:07] return user.in_software_center_agent [17:07] ViewArchive [17:09] benji: looking... [17:09] benji: TestThreadSafeForwardingResultContract already exists [17:10] benji: and is tested with StartTestRunContract, which includes DetailsContract. [17:10] benji: what's the failure? [17:10] jml: heh, indeed it does; it's slightly different though [17:10] http://paste.ubuntu.com/925150/ [17:10] benji: and it passes.... perhaps that's the difference? :P [17:10] * jml looing [17:10] looking [17:12] jml: ok, I /think/ that the failure is to be expected, test_addUnexpectedSuccess_was_successful is overridden in a subclass and apparently different things are expected in different contexts [17:13] benji: ah right. yes, that's it. [17:13] benji: sorry about the contract subclass thing. I think it would be clearer if we used testscenarios and each thing listed their contracts explicitly [17:15] oy crikey, Launchpad bug comments contain elements with negative margins [17:15] Why? Why not? [17:18] benji: there's also TestThreadSafeForwardingResult, which I think deserves some tests to show that tags are forwarded correctly. [17:19] jml: yeah, I'm thinking the same thing, I just removed a bunch of tag-forwarding code from TestThreadSafeForwardingResult (http://paste.ubuntu.com/925170/) and the tests still passed [17:20] benji: right. I sort of leaved that untouched because I couldn't quite grasp the intent of what's going on in TSFR [17:20] benji: I'm guessing that it's buffering up tags() calls and then playing them back on stopTest() in a way that makes them equivalent for single isolated test. [17:20] jml: I think some of what it does is somewhere between broken and unneccesary. [17:21] benji: a plausible hypothesis! [17:21] jml: that's the spirit of how it works [17:22] jml: ok, I'll see about adding some tests for TSFR; I need something much like it and the tests can probably work for both TSFR and my new thing [17:22] benji: cool. [17:22] benji: what's the thing you need? === deryck[lunch] is now known as deryck [17:24] benji: btw, as a general thing, please flag any bugs in testtools, subunit, testrepository etc. that are getting in the way or causing friction. I'm happy to work on them, am easily distracted and won't get punished for helping colleagues during work time. [17:24] jml: heh, ok [17:41] jml: I just noticed that you asked about what I'm working on. Since we're doing parallel runs, we want all the tests that were run together in a given process to have a unique tag so we can figure out which tests were run together, primarily for debugging test interactions and isolation failures [17:44] benji: ah right. and presumably the tagging is easy but when you draw the streams together the tagging info gets lost/mangled? [17:47] jml: hmm, well, I suspect you know something I don't. Why do you presume the tagging is easy? The easiest way I can find to do it requires tweaking ConcurrentTestSuite to insert the thing I'm making which will add a tag that identifies the worker to the stream. [17:50] benji: is anything more than http://paste.ubuntu.com/925211/ necessary? [17:51] jml: perhaps that would work; does the fact that the tag is global in process_result translate correctly when the streams are aggrigated? [17:52] benji: ahh, I see, probably not. you want to be able to tag each and every test individually. [17:52] right [17:52] (maybe it should, but that sounds unreasonably difficult) [17:53] Hmm. [17:53] I would expect that all the global tags would be added to the aggrigates stream. [17:54] Actually, tell a lie, such an aggregator would be easier but strictly more work than your approach [17:54] s/easier/easy/ [17:56] benji: the way I'd go about this is to make a TestResult decorator that was given some tags in the constructor and then tagged every test with those tags. [17:56] benji: and then tweak ConcurrentTestSuite to have a result_factory or something [17:57] benji: but that's only the thing I thought of just then. ymmv. [17:57] jml: yep, that's the apprach I'm taking (if you consider TSFR a TestResult decorator, because my thing will be structurally similar) [17:59] benji: hmm. [18:00] benji: I forgot that there's a thing called TestResultDecorator in subunit/test_result.py (I thought it was in testtools) [18:00] it *should* be in testtools, dammit. === matsubara-lunch is now known as matsubara [18:15] and there it is: https://code.launchpad.net/~jml/testtools/test-result-decorator/+merge/101621 [18:31] I think I've hit on something. [18:31] sinzui: out of meetings? [18:31] jcsackett, yes sorry for not saying so last hour [18:32] sinzui: all good, gave me time to investigate some approaches. now i have an idea of what will and won't work, but i'm not sure what's best. :-P [18:33] hangout? [18:34] benji: I hate to be pulling you in different directions, but I've just uploaded https://code.launchpad.net/~jml/testtools/test-by-test-result/+merge/101622. If that and the two other branches were in trunk, I would try rewriting TSFR in terms for TestByTestResult, and would probably consider writing your thing in similar terms [18:34] jml: looking [18:35] benji: but I'd hate to build a thing on top of three unlanded branches -- too much WIP -- so I'm not going to attempt that until tomorrow. [18:40] benji: I'm packing up now. Leaving in another 5m [18:43] jml: I think I see how that might be used to do what I want. I'll see which approach turns out better. [18:43] benji: cool. [18:44] benji: please be in touch via email if you have any questions. [18:44] IRC backlog kind of works but isn't so great. [18:44] jml: will do, thanks [18:57] deryck: I'm the OCR, so could you please review my branch? https://code.launchpad.net/~abentley/launchpad/celery-everywhere-3/+merge/101626 [18:57] abentley, sure. I'm finishing reviews today, so it may be a bit before I get to it if that's okay. [18:58] deryck: no problem. [19:13] lifeless: morning if you get a chance I wonder if you can peek at and possibly sign off on the updated branch from last night? https://code.launchpad.net/~rharding/launchpad/email_notice_959482/+merge/99995 [19:20] rick_h: did you try without events ? [19:20] lifeless: no, that came up in our discussion, but I went off of the comments in the MP and went for straight code dupe reduction with the current setup. [19:21] ok, so its definitely a bit leaner - thanks. [19:21] I'll do a spike today for a no-event version, I want to see how much better (or not) it is [19:23] rick_h: e.g. lines 406 to 420 in the diff are there to deal with bad events [19:26] lifeless: right, I can go that route. When it came up was when you mentioned it having '1 call place' when it had 3 so I kep the event bit to trigger. [19:27] lifeless: but yea, you could probably drop those and a few lines of zcml/import with non-event method [19:27] lifeless: thanks for poking at it, I'm definitely happier with things overall than I was the other day. [19:28] cool. If you're not EOD and want to try a non-event version of this, great; if you are, I'll put the effort in to see what it looks like [19:28] e.g. I don't want to block you, but I do want to see what it looks like before approving it :)( [19:28] s/(// [19:28] yea, I've got to run and get the boy from day care, but I'll be at the coffee shop hacking later tonight with friends so can chat for a little bit then if we need to [19:29] righto, experiment is on me then ;) [19:56] lifeless: Currently, my tests start and stop a celeryd instance for each test. I'm thinking that I should switch to using a layer, but is that the current best practise? [20:03] the current general thing to do is to create a Fixture for the daemon [20:03] and have a layer that brings that up and tears it down [20:04] you can use the per test calls in the layer to reset the state of the daemon without restarting it, if thats desirable [20:04] so yes, we still use layers, but we try to have no logic in them [20:06] lifeless: I have a context manager. Is is easy to create a Fixture for a context manager? [20:06] yes, Fixtures are context managers [20:06] lifeless: But last I heard, context managers were not fixtures. [20:06] right [20:07] I don't think there is an adapter today [20:07] you could write one, but you might find your context manager is smaller if written as a fixture [20:08] lifeless: I'd be surprised if it could get any smaller. [20:09] was just a thought :) [20:11] lifeless: I find the contextlib.contextmanager decorator makes for very readable and succinct context managers. === abentley changed the topic of #launchpad-dev to: http://dev.launchpad.net/ | On call reviewer: - | Firefighting: - | Critical bugtasks: 4*10^2 [21:36] deryck: https://dev.launchpad.net/PolicyAndProcess/MaintenanceCosts#preview updated [21:36] * deryck looks [21:39] lifeless, yeah, that's probably good enough. I can clarify beyond that with my squad in standups. [21:41] it allows self-history, squad history, whatever [21:41] I thought about saying 'recent branch' [21:42] but then we're down into precise definitions [21:42] I think folk will appreciate that using a 5 year old branch to offset a current LoC increase isn't really kocher [21:44] yeah, I think we need to just have a better sense of our squad state on this, too. which is on me. === salgado is now known as salgado-afk === matsubara is now known as matsubara-afk [22:42] hi all [22:44] hi [22:47] morning [22:47] this is probably my cue to figure out this sleep thing. [23:05] Morning [23:24] o/ huwshimi [23:51] Perhaps a super dumb question, but can you upload to components other than main with a ppa? I have a situation where it would be great to upload to a restricted component :) [23:51] you can't