[00:18] wgrant, mumble? [00:21] Project windmill-db-devel build #320: STILL FAILING in 1 hr 9 min: https://lpci.wedontsleep.org/job/windmill-db-devel/320/ [00:31] lifeless: re your service-based Launchpad idea, it would be really nice to eliminate branch scanning and just have a service to query the branches. [00:40] * wallyworld_ needs caffeine stat! [00:41] * thumper passes wallyworld_ the IV [00:56] abentley: In principle yes [00:57] abentley: I wonder if bzr is quite fast enough yet [00:58] abentley: I think there are some things we'd want to have caches for - e.g. 'show me branches that have new work' might want a fast graph query [00:58] a nice thing about a SOA is that you can make that change independent of more or less everything else [00:58] yes indeed! [01:37] Project windmill-devel build #132: STILL FAILING in 1 hr 10 min: https://lpci.wedontsleep.org/job/windmill-devel/132/ [01:41] lifeless: I think that it probably is fast enough, considering there's no invocation time. Fast graph traversal is a service you were already going to provide, right? [01:42] lifeless: by invocation, I mean bzrlib import cost. [01:42] abentley: right; I think it depends on the particular bit of bzrlib we're talking about [01:43] abentley: things like extracting a file can still do substantial IO, grabbing a revision should be pretty quick [01:43] abentley: and it will depend on what we're doing whether a particular thing works / doesn't. [01:43] abentley: where it will, I think using the branches directly is a good idea. [01:44] lifeless: The data we currently retrieve from scans doesn't include files, though. It's mostly revision ids and a revision graph. [01:44] abentley: given the complexity of bzrlib, memory footprint etc, I'd be inclined to have a webservice - say loggerhead :) - providing this, and it be backed by the raw branches [01:45] lifeless: Yes, this is what I meant by "a service to query the branches". I didn't mean using the bzr protocol. [01:45] abentley: we may still need scanning to populate a graph cache for graph queries, but it could stop being relevant for viewing the recent commits in the web UI [01:46] abentley: cool [01:46] abentley: did you know loggerhead has a json API already? [01:46] lifeless: You did mention it before, but I hadn't thought about it. [01:46] How complete is it? [01:47] topically, gustavo wants an API to query branch revision tips for principia [01:47] lifeless: providing that service via loggerhead makes sense, *iff* we have a well-behaved, performant loggerhead. [01:47] wants a collection of (branch url, revid) [01:47] wgrant: its minimal; easy to extend though [01:48] True. [01:48] wgrant: we'd need to add something for private branch lookups if appservers do them === mwhudson_ is now known as mwhudson [01:53] Hm. [01:54] Looks like staging updates are working fine, but the code isn't being synced beforehand? [01:57] scripts/update-bzr-version-info.sh [01:57] Creating bzr-version-info.py at revno 10574 [01:57] I bet its the config-manager change on carob [01:57] spm! [02:00] successful-updates.txt shows it updated to 10574 for the second time several hours after a new rev was blessed. [02:00] So I'm pretty sure that's it. [02:00] sinzui: Sorry I missed the call this morning. [02:00] sinzui: Did you make any progress on the picker issue? [02:01] I think we basically need to completely rethink it before we can make any progress. [02:01] wgrant: we had nothing blessed for 5 days ? [02:03] lifeless: 10578 was only bleesed May 22 23:32 [02:03] wgrant: which is still 3 days ago [02:04] Sure. We've had stuff blessed since. [02:04] But potentially only a single update has failed to update the code. [02:04] Since the 2011:05:23 13:21 update could have started before 23:40 [02:06] the update on the 24th [02:06] saw rev 10574 [02:06] on sourcherry [02:07] Right. [02:07] And that's the only failed update we have evidence of. [02:33] cody-somerville: ping [02:33] bug 787765 - can you tell me the figure you see under '79 queries/external actions issued in 0.85 seconds' on the page that was/is failing ? [02:33] <_mup_> Bug #787765: ProductSeries:+index timeouts < https://launchpad.net/bugs/787765 > [02:33] cody-somerville: and can you reproduce it on qastaging [02:41] lifeless, under? [02:42] cody-somerville: what that text shows for you :) [02:42] ah [02:42] '4 queries/external actions issued in 0.14 seconds' [02:42] cody-somerville: timeout though, right ? [02:42] lifeless, yup [02:42] lifeless, And it does load on qastaging. [02:42] cody-somerville: can you get a profile on qastaging ? [02:44] oh wait, my bad. Was loading wrong milestone on qastaging. [02:44] It timesout on qastaging as well [02:44] cody-somerville: can you add me as a driver on qastaging? [02:46] lifeless, Sure. FYI, the project page is timing out on qastaging.launchpad.net as well but not every time. [02:46] (https://lp-oops.canonical.com/oops.py/?oopsid=OOPS-1971QASTAGING19) [02:47] lifeless, Done. Added 'lifeless' to oem-solutions-releng team on qastaging. [02:47] 16 0 7.5976 0.1703 lp.bugs.browser.structuralsubscription:431(expose_user_administered_teams_to_js [02:49] cody-somerville: you're in lots of teams aren't you ;) === StevenK changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: StevenK | https://code.launchpad.net/launchpad-project/+activereviews | Critical bugs:214 - 0:[######=_]:256 [02:50] lifeless, 225 [02:50] (indirect + direct) [02:51] do you know how many you have admin access over ? [02:53] lifeless, Administrator of 15, Owner of 17. [02:53] (cut, grep, and wc for the win!) [02:53] heh [02:53] that probably fails the indirect test [02:53] anyhow [02:54] ah, true, I could have used grep to instead of wc [02:54] *to count [02:55] And could have used a regular expression instead of cut to make sure I was looking at the right field [02:55] * StevenK hands cody-somerville a 'pointless pipe' award [02:55] Project windmill-db-devel build #321: STILL FAILING in 1 hr 9 min: https://lpci.wedontsleep.org/job/windmill-db-devel/321/ [02:57] wallyworld_: How's your picker stuff going? [02:59] wgrant: been tied up doing other stuff - revising popup field name branch, doing a feature flag branch for disclosure, seperating out a separate branch for the irc nick formatter etc [02:59] wallyworld_: Ah, right. [02:59] wallyworld_: It seems to me that we're not going to get very far by treating the search/rank/affiliation issues separately. [02:59] wow, slow [02:59] 190530 0 3.2106 1.3876 +storm.properties:51(__get__) [03:00] We have a set of requirements and seem to be jumping into designing these three things separately. [03:00] Without actually really thinking about how they will work together. [03:00] cody-somerville: so this is easy fixed [03:00] wgrant: did you know there's a FormattersAPI class which is supposed to handle escaping of invalid html ids. but it doesn't ensure uniqueness [03:00] cody-somerville: care to put the patch up? [03:00] wallyworld_: I didn't! [03:00] wallyworld_: That's somewhat unpleasant. [03:00] its probably the root cause for a half dozen timeouts [03:01] wgrant: curtis mentioned it in reviewing the mp [03:02] wgrant: with the picker stuff, i think we can do alliliation separately from search/rank. affiliation will be expensive, but we will only need to do it for each batch of 6 or whatever results [03:02] potentially expensive [03:02] wallyworld_: I don't think that's the case. [03:03] wallyworld_: We need to be able to filter by affiliation, or at least rank by it. [03:03] Search for "william" on a Launchpad bugtask. [03:03] That's clearly wrong. [03:03] hmmm. that will complicate things for sure [03:03] Exactly. [03:03] lifeless, Ugh, sure! :-) [03:04] The search at the moment is useless. [03:04] It finds the 100 most relevant results, then orders them by displayname. [03:04] we will need to consider denormalising the data model in that case to make affiliation easy to get [03:04] Possibly, but we first need to consider what we *want*. [03:04] agreed [03:04] Do we want ranking, do we want filtering, or what? [03:04] no question there [03:04] wgrant: that's what the product team needs to feed us - requirements :-) [03:05] cody-somerville: we're doing 64K __eq__ calls [03:08] wallyworld_: Are those requirements, or design? [03:08] Can haz review from someone? [03:09] wallyworld_: The only real requirement is that it returns "good" results. :) [03:09] +13/-0 [03:09] wgrant: wallyworld_: can I be of assistance? [03:09] requirements. ie what we need to deliver as opposed to how to do it [03:09] wallyworld_: This is part-way between requirements and design, IMO. [03:10] lifeless: we are pondering the new search behaviour of the picker [03:10] Because currently it is useless unless you type the full username or displayname. [03:10] wgrant: not sure i agree :-) i think we need to be clear about what we need to deliver, not how to do it [03:11] wallyworld_: You have a branch to stop using Person.fti, right? [03:11] wgrant: yes, in ec2 now [03:11] wallyworld_: Have you tested how that works in practice? [03:11] wallyworld_: I think it will eliminate displayname matching. [03:11] Which would be a very bad thing. [03:11] wgrant: well, i ran it locally and tried a couple of searches with and without the fti removed and they appear to behave the same [03:12] wallyworld_: I don't see where it does a displayname search. [03:12] Apart from fti (which is name, displayname) [03:12] i can't recall if i checked display name matching. i'll have another look [03:12] to be sure [03:13] But the query is obscene, so it's a bit hard to tell :/ [03:13] * wgrant tries. [03:13] lifeless, I've got to take the garbage out and then I need to head to bed but I'll push a branch with a patch tomorrow morning if someone else hasn't gotten around to it. Kudos for looking into this. :-) [03:16] cody-somerville: I've finished capturing my learnings [03:16] cody-somerville: if you need a hand, just shout [03:16] * cody-somerville nods. [03:16] wallyworld_: So, back to affiliation for a sec: yes, it's easy to just show the affiliation of the current six, but that doesn't help if I have to scroll through 10 non-deterministic batches to find the right person :/ [03:17] (yes, it is actually non-deterministic, it seems :/) [03:17] wgrant: wallyworld_: is there a LEP ? [03:17] TrustedPickers [03:17] wgrant: yes, i agree that we may want to sort by affilliation. that is not something i was previously considering [03:17] https://dev.launchpad.net/LEP/TrustedPickers [03:18] Ahh, https://dev.launchpad.net/LEP/TrustedPickersUseCases doesn't seem to be linked from anywhere. [03:18] But is useful. [03:19] It has a usecase like the one I raised [03:19] StevenK: Can I revert your changes on DF? [03:19] Looks like it's just that merge from yesterday. [03:20] what defines affilate? === jtv changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: StevenK, jtv | https://code.launchpad.net/launchpad-project/+activereviews | Critical bugs:214 - 0:[######=_]:256 [03:21] I'm worried about the use of irc handles, maybe I'm cracked [03:21] lifeless: Probably membership in a team related to the project. [03:21] But then we may well also want a Canonical affiliation, so that falls apart. [03:27] wgrant: Sure [03:28] lifeless: getFeatureFlag. i want to add a variant which returns a user specified default value if features.getFlag() returns None. i'd like to add this to lp.services.features.__init__. but i think you disagree about doing that there? [03:28] jtv: Can haz review? [03:28] StevenK: when I finish my current one, sure [03:28] wallyworld_: why do you want to do that ? [03:28] wallyworld_: what problem are you solving? [03:29] StevenK: Thanks. [03:29] lifeless: i have an int feature flag and i don't want to do what was done in archive.py [03:29] limit = getFeatureFlag(FEATURE_FLAG_MAX_SYNCHRONOUS_SYNCS) [03:29] try: [03:29] limit = int(limit) [03:29] except: [03:29] limit = 100 [03:29] wallyworld_: you'll still need that code [03:30] wallyworld_: because crap might be entered in [03:30] not if i can specify a default as in myflag = getFeatureFlag('flagname', 1) [03:30] wallyworld_: I'm totally happy with folk layering convenience functions; I'm unhappy with folk embedding schemas in it [03:30] wallyworld_: thats not sufficient to remove the try:except: [03:31] sure, i'd do the try except inside the getFeatureFlag [03:31] and maybe name the function getIntFeatureFlag [03:31] wallyworld_: I think thats a bad idea because it hides the ability to tell whats going on, and the casting you want isn't related to feature flags [03:32] wallyworld_: I think you want a safe_int(value, default=0) function [03:32] hmmm. i think it is because we specify the type of feature flag - boolean, string, int etc - so there should be relevant methods to get flags cast to the expected type [03:33] safe_int works for me [03:33] wallyworld_: That type is just documentation. [03:33] well, the type is crufty and I'm not 100% on board with it being there [03:33] but I support folk doing what they think makes sense ;) [03:34] not sure why you dislike it. it serves a good purpose [03:34] can i add safe_int to features __init__ ? [03:34] wallyworld_: I don't think it belongs in features [03:34] theres probably an implementation in the tree already [03:35] in a util or misc or helpers or some such module alrady [03:35] wallyworld_: i dislike it because typing drives the requirements -way- up for very little win. [03:35] fair enough. will look. i wasn't going to call it safe_int if it were in feaures init :-) [03:36] i can't yet bring myself agree with that :-) [03:36] wallyworld_: I'm totally in favour of the documentation we have [03:37] i like the doco too. but if it makes sense to define a flag as an int, we should easily be able to treat it as such [03:37] s/treat/use [03:37] wallyworld_: You may want to kill that ec2 instance before it lands. [03:38] wallyworld_: Try searching for "william grant" in the assignee picker on https://bugs.dogfood.launchpad.net/launchpad/+bug/1234 [03:38] <_mup_> Bug #1234: Gina is an unmaintainable mess of command line options, environment variables and shell scripts < https://launchpad.net/bugs/1234 > [03:39] wgrant: sure. i had retested yet. was on my todo :-) display name matching broken then i assume [03:39] ? [03:39] wallyworld_: Yeah :( [03:40] I'm not sure why it returns what it does, but it's certainly not right! [03:40] wgrant: bollocks. i'll look at modifying the query to specifcally match displayname [03:40] wallyworld_: We probably still need FTI over that. [03:40] wallyworld_: And Person.fti is already over just name and displayname. [03:41] So we probably want an index on Person.fti instead. [03:41] (which dev and DF already have, but production doesn't) [03:41] really? [03:41] why not production? [03:41] Because production lacks it. [03:41] It only exists on DF because I created it yesterday totest :) [03:42] No idea why :/ [03:42] we can add that now, losas are around [03:42] True. [03:42] are we sure it wouldn't be better just to say (pseudo) 'xxxx where name like ? or displayname like ?' [03:42] wgrant: how big is it on df ? [03:43] lifeless: Most will only have three terms, so it should be small, but let's see. [03:43] \di+ person_fti [03:43] wallyworld_: there is no index on display name [03:43] doesn't seem worth the cost of creating and maintaining a fti over just two simple string fields? [03:44] 49MB [03:44] wallyworld_: fred bloggs should match fred J bloggs [03:44] wallyworld_: But how do you propose to do a full-text search of displayname? [03:44] Without an FTI index? [03:44] Right, what lifeless said. [03:44] wgrant: from the perspective of a user doing a search [03:44] wallyworld_: and foo%bar style searches are terribly slow [03:44] lifeless: Hm? [03:45] fair enough. [03:45] wgrant: wildcard searches are not indexed [03:45] wgrant: literal prefixes sometimes use indices [03:46] ok on the LEP [03:46] Must point 1 [03:46] I think is over broad [03:46] I would say that the information which lead to a *hit* must be shown [03:46] which is not the same as showing all the possible things we search on on every hit [03:47] secondly, point 2: will require a new cached data structure [03:47] Agreed [03:48] wgrant: agreed on 1 or 2 or both ? [03:48] I don't agree that 2 needs a new datastructure, unless we want to search/rank on it, which we probably do. [03:49] wgrant: ' previous bug assignee' [03:49] wgrant: + Ubuntu [03:49] Ah, missed that. [03:49] Ubuntu? [03:49] Ubuntu scope searches [03:49] What about them? [03:49] 400K bugs to consult to find previous bug assignees [03:49] Right. [03:50] I hadn't considered the assignee case. [03:50] I suspect we want to expose whatever thing we have an let folk delete inappropriate things [03:50] but thats a different discussion [03:51] lifeless: perhaps a case for a new service :-) [03:51] perhaps [03:51] I think it would fit well in a services model [03:52] lifeless: Right, if we have assignees then we very probably want to permit manual administration. [03:52] yep, especially since there will likely need to be a (denormalised) data model to go with it [03:53] lifeless: Shall we hijack a LOSA to 'CREATE INDEX person_fti ON person USING gist (fti);'? [03:53] lifeless: btw, found intOrZero() and friends in canonical.lp.helpers.py [03:53] wallyworld_: hahahahaha :> [03:53] canonical.lp buuuuuuuuuurn [03:54] I've been trying to remove that, with little to no success [03:54] so how confident are we that creating that fti index will solve the picker timeouts? [03:55] StevenK: well, seems like i'm about to add another bit of code that uses it :-) [03:55] wallyworld_: The queries execute in <3s on DF, and that's DF. [03:55] wallyworld_: DIE [03:55] wallyworld_: There's no other significant explanation for its slowness. [03:55] wallyworld_: there may be other causes of slow, but we know that that is a cause [03:55] besides all the unions etc [03:55] jtv: Still reviewing? [03:55] Yes [03:55] wallyworld_: unions are not prima facie causes of slowness [03:55] wallyworld_: Unions aren't slow unless the queries are slow. [03:56] jtv: How large is this branch? :-) [03:56] StevenK: it's not the size that matters [03:56] it's the distractions of people going "hey jtv are you still reviewing that branch?" [03:56] The emailaddress search seems to be the slowest now. [03:57] i agree about unions not being slow per se. i was more commenting on the number of queries. and when you consider our batcher does a count(*) and then a select it's doubly bad [03:58] Yes, our batcher is stupid :( [03:58] I really must finish that upgrade [03:58] Yeah. [03:58] and in postgres a count(*) is just as bad as a select i'm told so in effect we are executing our queries twice [03:58] The FTI is 100ms on DF. Still slow, but not timeoutfully so. [03:59] wallyworld_: yes, thats true. [03:59] MVCC FTW [03:59] i wonder if we can't fix that? [03:59] its mostly fixed but not followed through on [04:00] ah, the non exact count stuff? [04:00] three things [04:00] using query estimates - function is in the tree [04:01] can you point to the function? [04:01] making 'last' links cheap (batchnav fixed, need to merge into the tree and start updating collections to use it) [04:02] and lastly making arbitrary offsets cheap (same code as point 2) [04:02] oh [04:02] and turning off estimates entirely for collections where we can do that [04:03] wallyworld_: its in lib/canonical/database I think [04:03] ta [04:03] estimateRowCount [04:04] basically parses EXPLAIN [04:05] that's nice assuming it works well [04:05] so one thing you can do is estimate and if the count is < 100 execute the count [04:05] on the assumption we've appropriate indices for small datasets to be answered well [04:08] wgrant: wallyworld_: on the LEP then [04:08] I was about to say. [04:08] what should I do with my feedback - leave it with you, add to the LEP ? [04:11] i haven't digested the comments yet. we can add them and discuss with the product team etc [04:11] It seems slightly bad that we have a picker deliverable in 1.5 weeks but we don't actually know what we're doing. [04:12] lifeless: with the ff int thing, even if i use intOrZero(getFeatureFlag('foo')), that will be used all over the place and will pollute the code with stuff StevenK is trying to get rid of. sure wish i could just add a single helper to features __init__ and use that.... [04:12] wallyworld_: what stuff is stevenk trying to get rid of ? [04:13] the helpers.py i think he said [04:13] wallyworld_: and why do you need to use it all over the place? [04:13] wallyworld_: totally unrelated efforts [04:13] wallyworld_: canonical.lp as a place I think rather than helpers.py specifically, I think [04:13] because anywhere we want to see the value if the ff in order hide a block of code, we need to do that test [04:14] wallyworld_: I'm confused, if its an int you're not using it for hiding stuff [04:14] spiv: ah ok. makes more sense [04:14] wallyworld_: for hiding stuff just use [04:14] if getFeatureFlag('foo'): [04:14] lifeless: we will be. we will be incrementing the int each time a 2 week sprint is done [04:15] so pickers first [04:15] please start from the beginning [04:15] we say "if ffvalue == 1" then show the picker stuff [04:16] This sounds like a very strange use of flags. [04:16] what does this do for you that 'if getFeatureFlag('newpicker'): does not ? [04:16] Exactly. [04:16] ok. so we want to use the one feature flag value [04:16] Why? [04:16] why ? [04:16] feature flag name i mean [04:16] why? [04:16] What benefit does that provide? [04:16] Besides no fewer LOSA requests and less flexibility? [04:16] so that we don't have to keep adding new flags each 2 weeks [04:16] wallyworld_: flags are free [04:17] Adding a new flag is not expensive. [04:17] wallyworld_: /by design/ [04:17] wallyworld_: you don't even need to document them. [04:17] You just use them. [04:17] wallyworld_: and for ephemeral ones I wouldn't bother documenting. [04:17] And then ask an admin to add them. [04:17] You'd have to ask an admin to change the int anyway. [04:17] So no admin time saved. [04:17] No coding time saved. [04:17] Much flexibility lost. [04:17] Transparency lost. [04:17] and you'd be stuffed if you were not ready to flick the switch for one part but were for another [04:18] StevenK: moving on to yours… it's the copy-into-derived-series branch you want reviewed? [04:18] wgrant: we can talk tomorrow at teh standup. sinzuiand i discussed it today and sort of thought using an enum style flag was going to be ok [04:18] wallyworld_: using a flag as an enum is fine [04:18] wallyworld_: I don't think this is an enum situation though, do you ? [04:19] wallyworld_: what problem are you trying to solve? [04:19] It sounds like you're trying to put a whole lot of features as different stages on a single flag. [04:19] not having to change flags.py each time we incrementally deliver a new disclosure feature [04:19] You don't have to change it, but changing it is roughly two lines. [04:20] wallyworld_: so you don't ever change flags.py when you deliver a feature [04:20] wallyworld_: you change flags.py when you *start* a feature. [04:20] wallyworld_: *if* you chooes to change it. [04:20] lifeless: yes agreed. and since we are starting a new feature of disclosure each 2 weeks, that's a lot of editing to flags.py [04:21] wallyworld_: I don't understand that [04:21] wallyworld_: its *literally* 2 lines, with no tests needed. [04:22] *And* it's optional, but encouraged. [04:22] lifeless: and if every sqaud added two lines each time, it will bloat. but i guess we remove old entries when a feature is delivered [04:22] wallyworld_: yes [04:22] wallyworld_: just imagine the help text you'd need to describe 8 weeks of work loaded onto one flag [04:23] '1 means pickers, 2 means bug unsubscribe on mistakes, 3 means ...' [04:23] wallyworld_: I wanted the help text to be federated across the codebase [04:23] wallyworld_: but that got lost in translation [04:24] ok. you win :-) [04:24] wallyworld_: KISS wins [04:25] i didn't realise adding to flags.py was optional but i sort of think it should be mandatory [04:26] hell no [04:26] :) [04:26] the -whole- point of these things is to be ultra lightweight [04:26] why? it adds necessary doco [04:26] so devs can know wtf is going on [04:26] it adds doco [04:26] necessary is a matter of perspective [04:27] not all things need prose to explain them. [04:27] things that will only last a few days certainly don't [04:27] so how else can one quickly get an overview of what ff are used? i like being able to go lp.net/+feature-info [04:28] sure, ones that only last a few days re different [04:28] so +feature-rules shows the live rules [04:28] +feature-info includes all features evaluated during the appservers lifetime [04:28] wallyworld_: Flags that have been queried but are undocumented are listed there. [04:28] StevenK: you're done [04:29] wallyworld_: wgrant: on the LEP : I'll leave my feedback with the two of you. Does it help at all with your planning, or are you still in a state of stuck ? [04:30] lifeless: I think we're going to be stuck for at least another couple of days. [04:30] lifeless: We have been given usecases and that's it. [04:30] lifeless: i've got enough to do today. we need to talk to curtis though [04:31] wgrant: I'd be delighted to help - as a sounding board or whatever - if you like. [04:31] sinzui is still doing bug triage though :) so I know he's arund [04:31] Am I needed? [04:32] wgrant: do we have the business rules for deciding affillation documented? that would be a good start [04:32] sinzui: so, bug 696973 - what are we doing to satisfy the multi-tenant case? [04:32] <_mup_> Bug #696973: There are no roles that can see all private artifacts in (public or private) projects < https://launchpad.net/bugs/696973 > [04:32] sinzui: (two proprietary organisations working on one public project) [04:32] If we had business rules this feature would have been created in 2007 [04:33] sinzui: we sort of need them because htey will drive the design decisons we need to make [04:33] wallyworld_: We don't even have requirements for affiliation. [04:33] eg do we need to sort of affilliation is a big issue and will affect to what extent we need a bdifferent data model [04:34] lifeless: I believe that rule is supposition. Every person I interviewed assumed that the owners of the project had access to all private bugs. We want to make the rules work like the stakeholders assume they do [04:34] the stuff i've done so far is geared towards displaying affilliation info [04:34] wallyworld_: eg. we clearly want to show affiliation with the project, but we might also want to show other organisational affiliation (eg. to identify Canonical employees). And we might want to filter by it, or rank by it, or just show it in search results. And what about on comments? Do we show all of them? Just the ones for the relevant tasks? Nothing at all? And how do we distinguish types of affiliation? Ubuntu developer vs. bugsquad ... [04:34] sinzui: branch privacy is explicitly built to support the rule [04:34] ... person vs whatever. [04:34] sinzui: I don't care if we have it or not, but I do care if we half-have-it [04:35] sinzui: because it will make implementing 696973 impossible. [04:35] sinzui: I don't think Ubuntu desires that. [04:35] wgrant: yes, important questions [04:35] sinzui: Ubuntu's owners shouldn't be able to see security bugs by default. [04:35] sinzui: we want to deliver the stakeholders needs, which is different [04:35] sinzui: They are embargoed. [04:35] They can choose to speak against it then So sar they have not! [04:35] sinzui: Erm, have we told them? :) [04:36] sinzui: The pillar-owners-can-sort-of-see-all-bugs-except-it-doesn't-actually-work appeared one day and even I didn't notice. [04:36] *And* it doesn't actually work. [04:36] sinzui: whats the right way for me to help refine this? I can think of at least one other approach that doesn't break multi tenancy [04:36] sinzui: and would deliver what the stakeholders want, reliably. [04:36] I think we want something pretty much like branch visibility policies. [04:36] Except a little less unpolished. [04:37] We need to have multiple sets of visibility rules. [04:37] The crux of poolie's bug was private bugs. And I really do mean everyone I spoke to in landscape, OEM, HWE, U1, Ubunyu, linaro thought their private bugs were getting to the developers...They want the bugs available to the developers...that is why they were reported [04:37] sinzui: yes, I agree [04:38] sinzui: Who are "the developers"? [04:38] HWE needs private bugs in Ubuntu. [04:38] PS. No one understand private branches except the authors of the code. User literally cannot use them without an admin and an interpreter. [04:38] Does that means that we can have no community Ubuntu developers? [04:39] Stakeholder believe the are the owners of the project registered in Lp [04:39] and for some projects they are [04:40] Maybe the LP contributes to the communication problem but not delivering the correct messages to the right people [04:40] There are bugs which are to be worked on by "the developers". But there are others that aren't. [04:40] so there are a few horribly intersecting things [04:40] - shared workspaces [04:40] - unique workspace names [04:40] Our stakeholders do not report bugs on public projects if they do not want someone from that project to work on it! [04:41] - branding [04:41] sinzui: Why? [04:41] sinzui: That sounds like it's because our privacy is terrible. [04:41] sinzui: Not any real reason. [04:41] sinzui: And that is clearly false. [04:41] sinzui: Security bugs in Ubuntu. [04:41] Because They beleive that if the bug on on that project, the owners can see it. This is a simple model [04:41] sinzui: Are embargoed from everyone but the security team. [04:42] one way we can address this is to ditch the shared workspace model [04:42] and say 'a workspace is for one group/organisation/team' [04:43] and provide a way to aggregate workspaces that are working on the same codebase [04:43] this would greatly help OEM/HWE I believe [04:44] It is upsetting that we are working on this feature and supposedly have a schedule but really have no idea what we are doing. [04:44] one workspace per client, aggregate all the workspaces to see overall OEM work [04:44] Right. [04:44] each workspace would be a distro/project as appropriate [04:44] That's already sort of what they do. [04:44] This sounds like an effort to make something even more complicated than what was rejected by our stakeholders. We are not being asked to design a system with more rules, or to solve the worlds problems. [04:44] But in workaroundish ways. [04:44] this fits -very- well with the derived distro works. [04:44] sinzui: What was rejected? [04:44] sinzui: And who are the stakeholders? [04:45] sinzui: this actually fits very tightly in with what you are proposing (owners can see everything) [04:45] And was the issue communicated clearly? [04:45] Please read the lep for names [04:45] We have had major misunderstandings before. [04:45] sinzui: I very strongly believe in building simple things that work well [04:45] Yes, like how every thinks the can change the bug supervisor role. [04:46] sinzui: I see no Ubuntu stakeholder there. [04:46] If someone blogged about that we would be hunted down and clubbed like baby deals [04:46] sinzui: I fear that we are in a half-way house at the moment with some very complex stuff (like branch privacy) mixed in with naive stuff (like inaccessible private bugs) [04:46] s/deals/seals/ [04:47] sinzui: we need to decide what the overall shape will be so that we can head towards it [04:47] sinzui: if you've decided that we're not doing multitenancy [04:47] sinzui: thats fine - I respect that [04:48] lifeless: I agreed, and can only provide a UI that our stake holders can use. The UI does describe a simpler model than we have built in the past [04:48] sinzui: but it implies we need to change the multitenancy things and address issues like name squatting when two folk would currently multi-tenant successfully. [04:48] sinzui: the alternative is to multi-tenant correctly. [04:49] I am relying on the team to do the implementation. The concerns everyone brings up are legitimate, but I think the weight of many users voices are being ignored for reasons that need revalidation [04:49] sinzui: s/the/an/ [04:49] sinzui: I don't understand the ignoring comment - I think everyone here is taking users confusion into account [04:50] I agree that branch privacy is currently pretty and terribly confusing, but we have learnt from it. I think we know how to do multi-tenancy fairly well. [04:51] s/pretty/pretty bad/ [04:51] wgrant: I don't know that we do. I'm sure we can for private tenants (bug supervisor per tenant etc), but what about public bugs ? [04:51] wgrant: stakeholders will not benefit if we do not fix it. Working on bug and branch privacy is not in scope === nigelb_ is now known as nigelb [04:52] Erm. [04:52] what is in scope, then? [04:52] sinzui: In which case I think its misscoped. I will raise this with francis & jml. [04:52] How can we fix project privacy without fixing bug and branch privacy? [04:52] We are working on project/distro privacy and allowing projects to state who they trust so that they do no need to manage subscriptions [04:52] I don't think fixing the privacy of root objects is useful or practical unless we fix the privacy of the underlying artifacts too. [04:53] sinzui: this is squarely in the space of tenancy as a concept. I'm hugely excited about this work. [04:53] We are going to have a fourth privacy mechanism, and it will be an unprecedented mess. [04:53] I was hoping to abandon it. Since we are not we are supporting those stories for legacy purposes. The principle means to control access will be on the porject [04:53] that means we're dropping multi tenancy [04:53] And that is a big change. [04:54] Of the Launchpad model. [04:54] which I'm ok with, but we should make sure we resource it properly [04:55] I thought Launchpad was about keeping project communities together. [04:55] Not forcing fragmentation because two parties want to have their own private artifacts. [04:56] well I thought you were arguing other otherwise wgrant. If I reported a private bug on a public project that the owner of the project could no see, I am not collaborating. Our stakeholder do want those bugs seen [04:56] wgrant: the way we do this is not necessarily the best [04:58] wgrant: lifeless. There has been no conversation about transition from private to public. Private teams cannot do that. I assume that a commercial story will require that [05:00] sinzui: I assume its a desired feature too. [05:00] sinzui: Teams can work partly in private and partly in public. [05:01] lifeless: Sure, but not doing it at all is also probably not the best. [05:03] So, we don't know how privacy is going to work (we don't even know what's in scope), we don't know how pickers are going to work (we don't even have requirements for some parts)... [05:03] sinzui: it must be late for you [05:03] sinzui: perhaps you me and francis can talk after the TL meeting tomorrow ? [05:03] Yes. I am in bed and my turned out the lights [05:03] oh... [05:04] Heh [05:04] about shared and private workspaces. That may overlap with the request for 3 and 3 level nested projects [05:04] it may indeed [05:05] OEM wants projects that represent factories nested below a project that uses the parts. This is ugly though, because factory a cannot know about factory b [05:05] yes [05:05] I blew a gasket thinking about it [05:05] this is a form of multitenancy [05:06] its precisely the thing that the bug we're talking about will break - or if we do either aggregation of workspaces or stay with multitenancy it will enable it [05:06] lifeless: The TL meeting is my only meeting tomorrow. I am available to talk most of the day [05:07] sinzui: I would like to have some time with you and francis tomorrow on voice to tease things out, after the TL meeting [05:10] wgrant: I do not believe we are going to get requirement that could work with agile development. Building the UI first to understand what stakeholders will accept allows us to discover what is needed in the months that are a lotted. [05:11] sinzui: Sure, we can't spec it out fully from the start. [05:11] I'm +1 on building the UI first, but we do need to have an idea of what it will look like [05:11] But we really have very little idea what it's going to look like and again lifeless beats me. [05:11] wgrant: The one consistent rule is the members of canonical must have access to all canonicals projects, the bug and branches too, without managing individual subscriptions [05:12] sinzui: That is false. [05:12] We have pictures that were we recieved [05:12] Simple counterexample: Ubuntu security bugs are not to be seen by all Canonical employees,. [05:13] I thought we aggeed in the past that security != private [05:13] It is true for most things, but there are exceptions. [05:13] Perhaps. [05:13] But special-casing security seems like it may be overcomplex. [05:13] We may see. [05:14] other organisations may choose to fund security work in the ubuntu space [05:14] multitenancy would suggest showing the entity that will get the bug rather than a plethora of checkboxes [05:15] multiple workspaces would suggest that other organisations get their own workspace [05:15] jml: if you can be around after the TL call that would be great too [05:16] lifeless: Precisely! [05:16] We had a bug filed this morning that ubuntu-security is not subscribed to some security bugs. [05:16] I imagine that private projects would have a couple of visibility policies. [05:16] eg. "Canonical" and "Security" [05:16] Private artifacts would have one or the other. [05:17] yes, I sketched something like this in prague [05:17] No subscription fiddling, no security hardcoding. [05:17] Better for everyone. [05:17] And it is, to me, the obvious solution. [05:17] Oh, we have designs around this? [05:17] I do [05:17] I'd not heard of this. [05:17] or was it texas [05:17] perhaps texas [05:17] prague [05:17] but they are merely options [05:18] wgrant: I don't have answers for public multitenancy yet [05:18] wgrant: github doesn't multitenant [05:18] lifeless: Is public multitenancy a problem? [05:18] wgrant: its inconsistent [05:19] Yeah, I looked at GitHub yesterday. [05:19] It is an interesting model. [05:19] I was just doing UI at the time. I went to UDS N and told everyone that while I was working on the UI, I would not be involved in the implementation. Then we switched to squads and I am leading the implentation [05:19] lifeless: What's inconsistent about it? [05:19] lifeless: I'm not saying there isn't anything. [05:19] I just want to know what you think. [05:19] wgrant: there is one bug supervisor and one bugtask status [05:20] wgrant: but potentially many organisations with differing triage and prioritisation rules [05:22] Ah, right. [05:22] Yes. [05:22] That is slightly more awkward. [05:22] It should be considered here. [05:22] But I don't think it really requires resolution. [05:22] But we should not design against it :) [05:23] for example [05:23] bazaar had/has another company doing consulting and contracting [05:24] Yeah [05:24] they would benefit from being able to say 'this matters to me' [05:24] and in principle each user has their own prioritisation rules [05:24] I'd be quite happy if users could mark all the bugs they care about critical and it didn't impact the LP team. [05:24] For instance. [05:24] This could either be a genuine discriminator [05:24] or terrible [05:25] Right, and splitting workspaces will not solve this. [05:25] well it would [05:25] MMm, I guess. [05:25] But not in really useful ways. [05:25] there are two issues there [05:25] name squatting [05:25] and aggregation [05:26] if folk can fork the workspace easily and aggregate only what they trust easily [05:26] then naming and the passion around that becomes the sole issue [05:26] this is roughly the same as the single-blessed-tenant for public tenancy vs private multitenancy [05:28] I mean - the two approaches have some common challenges [05:28] but will tradeoff on things they do better [05:29] the naming/branding thing is actually very important [05:31] That's one reason I am reluctant to not multi-tenant. [05:33] it may be a driving factor to choose one approach over the other [05:33] however I don't know what side of the equation it sits on :) === almaisan-away is now known as al-maisan [05:38] Anyway, I guess discussing this further here is pointless, so I shall await the outcome of your discussion with Francis and co tomorrow. [05:43] wgrant: Do you want to look at refactor-notification again? [05:43] wgrant: I've not done some of what you mentioned, however I think I've addressed most of your concerns. [05:44] StevenK: Let me have a look. === al-maisan is now known as almaisan-away [05:46] StevenK: Have you run the delayed copy tests over this? [05:46] I'm pretty sure the announcement tests will fail. [05:46] Although they may be crap enough that they don't. [05:47] * StevenK does so [05:50] wgrant: 88 tests, 0 failures and 0 errors [05:50] Yay. [05:50] spr.package_upload is not what you want. [05:50] So the tests should fail :( [05:50] Is that a sarcastic yay I see? [05:50] Never! [05:51] ITYM "Always!" [06:01] Hm. [06:01] Why does AJAX "Subscribe someone else" on a bug check whether I can unsubscribe the subscription before it creates it? [06:02] * * Check if the current user can unsubscribe the person * being subscribed. * * This must be done in JavaScript, since the subscription * hasn't completed yet, and so, can_be_unsubscribed_by_user * cannot be used. [06:02] But why? [06:02] thats surprising [06:02] It's an extra 5 requsets :( [06:02] it may be about teams [06:03] Howso? [06:04] It should just be able to get can_be_unsubscribed from the subscription once it's created, AFAICT... [06:05] It basically reimplements inTeam in JS :/ [06:05] Buggily, too! [06:06] Perhaps I should remove it and see what tests fail. [06:09] wgrant: Did you get distracted? :-) [06:10] Like I did ... [06:10] StevenK: I was waiting for your responses on spr.package_upload. [06:11] wgrant: I had no idea it was a question. It seems to work? [06:11] StevenK: It's the wrong one. [06:11] For delayed copies, at least. [06:12] So I change it back to taking a packageupload and getting the spr from the PU? === _thumper_ is now known as thumper [06:13] I don't know. [06:13] Possibly optionally taking a PackageUpload. [06:13] But then what about binaries? [06:13] * StevenK tosses the entire soyuz tests at this branch [06:14] Let's see what blows up [06:14] I suggested progressive refactoring to avoid this sort of dead-end. But that doesn't work so well if the tests don't exercise the stuff that is going to break :/ [06:16] does anyone know about poolie's script for making a kanban board? [06:16] lp:kanban? [06:16] * thumper looks [06:17] wgrant: So I get questioned either way. Crumbs, this code sucks. [06:18] StevenK: It sucks, and it's not clear how to solve this particular bit. We need to handle cases without an SPR, and cases without a PackageUpload. [06:18] Fun for all! [06:21] StevenK: That's why I suggsted an exploratory refactoring to minimise dependencies on SPR without changing behaviour. [06:21] But we need to work this out somehow. [06:21] Hmmm. [06:21] s/SPR/PU/ [06:22] wgrant: Which I attempted, and then you said I've gone too far. I've dialed it back a bit and it's still wrong. [06:22] lib/lp/soyuz/doc/distroseriesqueue-notify.txt is utterly broken [06:23] StevenK: The fact that you've gone too far is not a problem. The problem is that you've broken functionality! [06:23] And your reversion is broken because SPR.package_upload is stupid and legacy :( [06:23] Well, possibly more because delayed copies are stupid and hackish :( [06:24] But we still have the binary upload problem which makes me cry. [06:24] StevenK: Perhaps we announce on a set of packages. [06:25] May have zero or one SPRs, zero or more BPRs, and zero or more baby-eating custom uploads. [06:25] And then my explodes trying to keep track of changes files and content for each of those [06:26] s/my explodes/my head explodes/ [06:26] Sounds like it already may have :( [06:26] Right. But each announcement has a single changes file. [06:26] Which you can possibly pass in for now. [06:26] Remember that changes files will be optional soon. [06:26] Out of necessity. [06:26] So the changes file stuff does not have to be pretty; it is going to be aggressively mutilated in a week or two. [06:27] By whom? [06:27] undef [06:27] PERL! [06:27] But it's needed for copies from Debian. [06:27] So it has to be done. [06:27] So it is left as an exercise to the Julian, and can be disregarded by us as a given. [06:28] So. [06:28] it looks like we are looking at sets again. [06:29] Sets of SPRs and BPRs and pedovores. [06:35] What still uses the changesfile.... [06:35] Apart from too much. [06:36] Hm. [06:36] So we still parse Changed-By and Maintainer and Changes out of it. [06:36] hmmmm. [06:36] Difficult. [06:36] :( [06:37] Yes. [06:37] The first two are easily replaced with looking at SPR. The last needs to be replaced anyway. [06:37] So we can continue passing the content around for now, I think. [06:37] And remove it eventually. [06:38] But does that mean we can just use the string? [06:38] And not a file object? [06:38] The reason we use the file object is due to attaching the actual file to the mail [06:39] Hm. We can't do that with a string? [06:39] Ordering [06:39] Even if we can't, let's just write that to a temporary file or stringio or something. [06:39] Huh? [06:39] Oh, string [06:39] Not dict [06:39] String. [06:39] Right, not parsed. [06:40] Although I guess we need the parsed version too, is that what we parse around niow? [06:40] s/parse/pass/ [06:40] Yes, we pass around a dict and a file-like object [06:41] for build in packageupload.builds: [06:41] AttributeError: 'NoneType' object has no attribute 'builds' [06:41] For crying out loud [06:41] Ah. [06:41] sad. [06:41] This is all broken [06:41] Do we use the dict outside assemble_body? [06:41] Or can we just parse it in there? [06:41] And just pass the string around. [06:42] Yes, in notify_spr_less() [06:42] That doesn't count. [06:42] It's a separate beast. [06:42] _getRecipients wants the parsed dict too [06:42] Why? :/ [06:43] Ah [06:43] Is that used by notify_spr_less too? [06:43] No [06:43] Hrmph. [06:43] It is tied pretty tightly to packageupload, so I ignored it [06:43] Anyway, let's try not to change that yet. [06:43] We can continue passing around both the dict and file versions, I guess. [06:44] Total: 1101 tests, 10 failures, 5 errors in 29 minutes 58.207 seconds. [06:44] Those 15 are mostly doctests, so it's worse [06:44] That's what I was hoping for. [06:44] Failures, not worse. [06:45] lp.soyuz.tests.test_packageupload.PackageUploadTestCase.test_realiseUpload_for_delayed_copies [06:45] Damn it, I hate it when you're right. [06:45] :-P [06:45] :( [06:46] * StevenK looks at the failure and goes cross-eyed [06:47] StevenK: No point looking at the failure yet. [06:47] Until you've fixed it to use the right BPRs and PUCs. [06:47] So, stop tossing around SPR and go back to PU? [06:47] Then we should have just about nearly almost slightly restored the original behaviour. [06:47] And there will be reasonable failures. [06:48] Given how far you've gone already, I think just take optional sets of BPRs and PUCs. [06:48] In addition to the SPR. [06:48] Don't take a PU. [06:48] You don't need it. [06:48] You just need the subordinate releases/uploads and the changesfile. [06:48] You said the opposite for the subject [06:49] We can sort of sourceless notifications after that. [06:49] Hm? [06:49] packageupload.displayname has behaviour we might still need [06:49] Argh, forgot that bit. [06:49] We need to reimplement that. [06:49] Let me look at it. [06:49] Ah. [06:51] StevenK: You'll see you undo about half of what it does anyway. [06:51] StevenK: I think just grab the names yourself from the packages you're given. [06:51] Ignore the (delayed) bit. [06:51] Which I filed a bug about years ago anyway. [06:51] wgrant: If spr.package_upload is wrong, does that mean packageupload.sourcepackagerelease is also wrong? [06:52] StevenK: No. PackageUpload.sourcepackagerelease is fine. [06:52] But an SPR may have multiple PackageUploads. [06:52] spr.package_upload is the original one. [06:52] Which isn't the right one in the case of a delayed copy. [06:54] StevenK: Do we use the PU for anything else? [06:54] StevenK: Apart from getting the BPRs and PUCs, and displayname? [06:54] _buildSummary, but I just ripped that out [06:54] Great. [06:54] Perhaps I should write a PUS to string function [06:55] Hm? [06:55] You're not going near PUS here... [06:55] At least I hope not. [06:55] PUC, sure. [06:55] Because we have no other way to represent custom uploads. [06:55] But not PUS. [06:55] wgrant: A lot of the new code I've written takes an action as a string [06:55] Oh. [06:56] PackageUploadStatus. [06:56] PUS being PackageUploadStatus [06:56] Not PackageUploadSource. [06:56] Right! [06:56] But not quite. [06:56] Since you need 'announcement' as a separate thing. [06:56] Or maybe not. [06:56] I do, but that's only called once [06:56] If you can separate that out somehow, by all means use PUStatus instead. [06:56] Much cleaner. [06:56] Er? I'm advocating *not* using it [06:57] Oh, you want a map (no need for a function) to turn a PUS into a string to pass into notify? [06:57] Mm. [06:57] I guess. [06:57] Doesn't make much difference. [06:57] Not really [06:58] Right, assemble_body still uses spr.package_upload [06:58] And calculate_subject [06:58] That's it [06:59] What do they use them for? [06:59] s/them/it/ [06:59] assemble_body wants the signing key [06:59] calculate_subject wants displayname [07:00] signing key is OK for now. calculate_subject doesn't really want displayname... it's exactly 6 lines to reimplement the part of it that it requires. [07:01] So calculate_subject also wants builds and customfiles? [07:03] BPRs and PUCs, but yes, it will need to know about them. [07:04] StevenK: I think we may actually have a reasonable solution here! [07:06] It doesn't look reasonable yet [07:06] Well, a reasonable *vision* of a solution. [07:06] wgrant: Did you want spr.package_upload.signing_key usage to die too? [07:06] More than my "refactor mercilessly and see what falls out" started with. [07:07] StevenK: I think that's OK for now. [07:07] StevenK: Eventually it will be the requestor instead. [07:07] Yes [07:07] StevenK: But for now all we have is the SPR signer. [07:07] And that's on the original package_upload. [07:07] So spr.package_upload.signingkey is OK. [07:07] wgrant: Commit and push? [07:08] Ideally run a couple of the failing tests first. [07:08] But then, sure :) [07:10] Right, one is because I can't code [07:10] Another is due to the exact thing I just questioned [07:10] :O [07:10] Heh. [07:10] Which? signingkey? [07:11] if spr.package_upload.signing_key is not None: [07:11] AttributeError: 'NoneType' object has no attribute 'signing_key' [07:11] Guard it with a spr.package_upload None check. [07:11] And see what happens. [07:11] I suspect the test is dodgy. [07:11] Not creating a valid initial PackageUpload. [07:11] Or not invalidating a cache. [07:11] Or something like that. [07:15] Oh, BAH [07:15] set.add(string) is not helpful! [07:15] + '[ubuntu/breezy-autotest] a, e, l, n, p, t 0.99.6-1 (New)' [07:16] Heh. That should work. [07:16] But set(string) won't. [07:17] Ah [07:17] Which is what I do exactly [07:17] :-( [07:17] set([string]) makes me sad [07:17] We'll move to 2.7 within a few months. [07:17] Where you can just do {string} [07:24] Grumble. I think PackageUpload.sourcepackagerelease is also None for dist-upgrader uploads [07:24] It is :D [07:24] Don't worry about sourceless uploads right now. [07:25] Get delayed copy and mixed upload announcements working first. [07:25] Let me glance over that, then we can strategise on sourceless. [07:27] Hey everyone, an American just told me I had to learn about sarcasm! [07:49] jtv: noooo, really? surely you jest [07:51] StevenK: How's it going? [07:52] wgrant: test_realiseUpload_for_delayed_copies sucks [07:52] Surely not? [07:52] Hah [07:55] wallyworld_: see, there, what you said there? I can spot sarcasm! [07:55] wgrant: Right, delayed_copies fixed [07:56] StevenK: Excellent! [07:56] StevenK: Hopefully this only leaves sourceless uploads broken. [07:56] wgrant: I dunno. :-) [07:57] wgrant: http://pastebin.ubuntu.com/612607/ are the failing tests [07:57] Ye of even less faith than me, if that is possible. [07:57] wgrant: I've fixed test_realiseUpload_for_delayed_copies [07:58] OK, that's not too bad. [07:58] wgrant: What else do you think I should look at before pushing? [07:58] You might want to have a look at TestQueueTool next. [07:58] Since it's likely to be more understandable than the doctests. [07:58] I hope.; [07:58] * StevenK peers at it [07:59] Not sure if I've broken nascentupload-mumble.txt either [07:59] StevenK: wgrant: you guys are watching SOO tonight, right? [07:59] Mumble integration in archiveuploader sounds like a critical bug. [07:59] SOO? [07:59] State of Origin [08:00] I have heard of it but can't remember to which sport it relates. [08:00] wgrant: sad that you have to ask :-) [08:00] Possibly rugby. [08:00] Thugby league [08:00] heathens! [08:00] Victorians :P [08:00] AFL is all the rage here. [08:00] and you call yourselves australian [08:00] Although I hate it with passion :) [08:00] No, I'm Canadian ! [08:00] I don't really like the thought of watching grown men grop each other for 80 minutes [08:01] grop? is that a kinky version of grep? [08:01] or maybe grok? [08:01] groupe [08:01] Sigh [08:01] Groupé? [08:01] grope [08:02] ah well, i won't bother talking about the gaem tomorrow then [08:02] wgrant: 4 of the 5 errors are fixed by side-effect, the other is due to the test tossing in stringio [08:02] wgrant: (For TestQueueTool) [08:02] StevenK: Great, we're getting there :) [08:03] wallyworld_: Did you see that ludicrous display last night? [08:03] wgrant: no, didn't watch much tv last night [08:03] what happened? [08:03] Bah. [08:03] Does nobody watch The IT Crowd? [08:04] wgrant: yes, but i think i've seen them all [08:04] I've seen up until the end of season 4 [08:04] "Did you see that ludicrous display last night?" is the opening of the responses they use from bluffball.co.uk. [08:05] To cope with colleagues discussing the game the following day :) [08:05] hey, how do i use addCleanup() in a doc test? ie how do i get a reference to the test case being run? [08:05] wallyworld_: you don't [08:05] wallyworld_: you don't [08:05] wgrant: Commit and push, or fix more? [08:05] wallyworld_: unless someone fixed it [08:05] StevenK: Commit and push and then fix more! [08:05] wallyworld_: However it is possible to add a cleanup facility to the globals that our doctests have [08:06] wgrant: I don't like that idea. I think it's your turn. :-P [08:06] wallyworld_: this is yet another fail of doctests [08:06] so i want to use a feature flag. i can set it up but i need to be able to discard it afterwards [08:06] wallyworld_: with FeatureFixture? [08:06] wallyworld_: If you must use it in a doctest, can you use a FeatureFixture with a with block? [08:06] StevenK: yes [08:07] wallyworld_: or [08:07] wgrant: distroseriesqueue-views.txt [08:07] Sigh [08:07] feature = FeatureFixture(...) [08:07] wgrant: well, the stuff that needs it is spread throughout [08:07] wgrant: distroseriesqueue-views.txt also fixed by side effect [08:07] feature.setUp() [08:07] wallyworld_: :( [08:07] ... [08:07] feature.cleanUp() [08:07] StevenK: Excellent! [08:07] StevenK: Do you use testr? [08:07] * StevenK runs soyuz-set-of-uploads, but that crap fails if the wind is blowing the wrong way [08:07] lifeless: that will work. i was hoping not to have to spread that stuff from one end to the other [08:08] wgrant: I do not [08:08] StevenK: It's handy for stuff like this. [08:08] testr run --failing, done! [08:10] Project db-devel build #578: FAILURE in 5 hr 16 min: https://lpci.wedontsleep.org/job/db-devel/578/ [08:10] zomg, it works. [08:10] Got rid of that hideous pre-subscription inTeam reimplementation. [08:11] wgrant: Pushed [08:11] StevenK: Great. Will check in a sec. [08:11] StevenK: Is anything left failing except for sourceless uploads? [08:12] Also, will my eyes survive the diff? [08:12] Our JS infrastructure is fairly nice. [08:12] wgrant: Running -vvm soyuz again ... [08:12] See you in 50 minutes :( [08:13] 29, on this machine [08:13] Hmm. [08:14] Oh, right 50 was with archiveuploader and archivepublisher too. === danilos changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: danilos | https://code.launchpad.net/launchpad-project/+activereviews | Critical bugs:214 - 0:[######=_]:256 [08:21] oh, jtv, StevenK: I've removed you from the topic as OCRs, are you still "on duty"? (I thought that was from yesterday) [08:21] danilos: I still am, on request. [08:21] danilos: I am, for another 35-ish minutes [08:21] (But have done about all the backlog I was going to) [08:25] * StevenK drops two from the backlog [08:26] StevenK, I assume you need not go back on OCR anymore then, and as for you jtv, please re-add yourself to the topic if appropriate :) [08:27] danilos: you broke it, you fix it. Or just take over OCR. Your pick. :) [08:27] jtv, heh, ok, ok === danilos changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: jtv, danilos | https://code.launchpad.net/launchpad-project/+activereviews | Critical bugs:214 - 0:[######=_]:256 [08:28] danilos: *shrug* :-) [08:29] I attempted to review benji's drop feature flag branch, but my eyes glazed over at about line 600 [08:31] And I limited myself to one backlog review per person, on grounds of fairness (as in, it's not fair to an engineer to give the poor bastard multiple jtv reviews on the same day) [08:31] Haha [08:34] StevenK: 'for build in builds' should be 'for bpr in bprs', right? [08:34] Probably [08:34] "build.build" is slightly nonsensible. [08:35] wgrant: Fixed locally [08:35] StevenK: Thanks. So packageupload is entirely gone now (apart from spr.packageupload.signingkey), and it appears to work for everything except sourceless uploads? [08:36] wgrant: def notify() depends on it [08:36] wgrant: And _sendSuccessNotification [08:37] That's rather antisocial of them. [08:38] send_mail() needs to be weaned off, but that is simple, since it expands all of them from packageupload anyway [08:39] Ah, right, I was hoping they'd all just be passed down from notify(). [08:39] Is that easy enough? [08:39] It's a lot of arguments, but meh. [08:39] It can worked out inside _sendSuccessNotification or inside notify [08:40] We need to pull it up high enough that we can send notifications without a PU. [08:40] I don't know how high that is. [08:41] wgrant: Currently, notify() [08:41] You'd best take it all the way to the top, then :( [08:41] I can't easily wean notify off PU [08:41] Why not? [08:42] _send{Success,Rejection}Notification is fine [08:42] wgrant: Because nearly everything notify() does is in relation to packageupload [08:43] wgrant: http://pastebin.ubuntu.com/612620/ [08:43] Ah. [08:48] good morning [08:51] wgrant: I've pushed it all up to def notify() [08:51] StevenK: Great. [08:51] _sendSuccess and such need to grow an action, now [08:51] StevenK: So, that's enough refactoring for now... we just have to get sourceless announcements working. What crashes? [08:51] Or that. [08:52] Since it wants the PackageUploadStatus [08:52] Right. [08:52] That's all that's keeping packageupload anywhere other than notify()? [08:52] I *think* so [08:52] Great. [08:53] This is a really good first step. [08:58] wgrant: Almost [08:58] packageupload.isAutoSyncUpload(changed_by_email=changes['Changed-By']): [08:58] Can that be a class method? [08:59] No. [08:59] Still, easy to move across. [09:00] But what a dirty, dirty piece of code :( [09:00] Can't we just kill it and replace it with if not bprs and spr and changed_by == katie? [09:00] That was my intention. [09:00] But yes, makes me vomit [09:00] And check signingkey and stuff, yeah. [09:01] That's the only place it's used, except for tests. [09:01] (yes, it's tested!) [09:01] ... but only in distroseriesqueue-translations.txt. [09:01] Yay [09:01] Haha [09:01] Fail [09:02] If not signing_key, from_addr is None. Otherwise, it's Changed-By. [09:02] Shoot me now [09:03] wgrant: Actually, it's *worse* [09:04] No, it isn't. [09:04] distroseriesqueue-translations.txt's isAutoSync... is a re-implementation [09:04] Hahahaha [09:04] It's not bad, so I'll leave it be [09:05] It's in the interface :-( [09:06] Is that a problem? [09:06] Checking if it is === almaisan-away is now known as al-maisan [09:12] wgrant: I was worried it was exported [09:12] PU is exported rather minimally, fortunately. [09:12] Indeed [09:13] I think I've run out of steam, but with one grave hack, packageupload is contained in notify() only [09:13] Excellent. [09:14] Sigh, and _getRecipients [09:15] Hmm. [09:15] This is slightly entertaining. [09:16] "Subscribe someone else" makes four AJAX requests to work out where to put the spinner, then three more to perform the action once the spinner is there. [09:16] Haha [09:16] This means there's more lag between the picker closing the and the spinner appearing than there would be if the spinner was just not used at all. [09:16] wgrant: Do you want to claw your eyes out with this diff? [09:16] StevenK: With pleasure. [09:18] I think I will instead place a static spinner on the "Subscribe someone else" link. [09:19] Hello devotrons [09:20] wgrant: ---hah--- [09:20] lifeless: Rather. [09:34] oh, jtv left us :( [09:34] danilos: Hi! [09:35] danilos: Can I bother you for a very quick review, please? [09:35] https://code.launchpad.net/~henninge/launchpad/bug-753387-ajax-bug-subscription/+merge/62256 [09:35] henninge, if you must [09:35] danilos: suffer it to be, I pray thee [09:36] ;) [09:36] :) [09:38] henninge, btw, have you thought of using the actual feature flag check? that makes it so much easier to find it when removing the feature flag [09:39] danilos: oh, we have that in js? [09:39] * henninge reads up on feature flags [09:39] we don't [09:39] ah [09:39] we generally export a value to the js for the js to consult [09:39] or export custom js based on the flag [09:39] usually the former [09:39] henninge, we do have it in that particular JS file [09:40] ;-) [09:40] danilos: use_advanced_subscriptions [09:40] danilos: sorry, I was blind [09:40] henninge, nothing a pair of glasses won't fix :) [09:40] otoh, it always makes sense to check is something is null before you use it [09:41] I've just moving that same code around, and was wondering why that isn't all one function. [09:41] wgrant, henninge: fwiw, we expect a lot of that code to be refactored with the one final big bug our team is still working on [09:42] lifeless: I'm not around for the TL call [09:42] henninge, as for the null check, sure [09:42] danilos: Which bug is that? [09:42] henninge, also, note that I'd move the null check to update_mute_after_subscription_change() then to encapsulate it properly [09:43] I'm refactoring the subscribe someone else stuff at the moment. [09:43] Which is hopefully mostly unrelated. [09:43] wgrant: it's not, it's very much related :( [09:44] wgrant: bug 772754 [09:44] <_mup_> Bug #772754: After better-bug-notification changes, list of bug subscribers is confusing < https://launchpad.net/bugs/772754 > [09:44] jml: ok [09:45] wgrant: basically, we are changing the subscribers list in a big way, and that means that these links are going to change as well [09:45] wgrant: mock-up we are going for: https://launchpadlibrarian.net/71552495/all-in-one.png [09:45] danilos: that was actually my first solution [09:45] danilos: but I thought "Well, usually there is no reason to do that" [09:46] and I'd think it is the caller's responsibility to provide correct parameters, is it not? [09:46] danilos: How can you separate them like that when the "Other bug subscribers" might include teams of which the user is a member? [09:47] danilos: Anyway, I think my refactor is pretty much necessary for that. And I hope to be done with it tomorrow. [09:47] danilos: (at the moment it tries to predict where the new subscriber node will end up, which looks like it'll be just about impossible) [09:48] But if you are working on this imminently, I can drop this and leave you to it. [09:49] wgrant: yeah, we're already in the process of changing that all [09:49] Ah, OK. [09:49] henninge, r=me, your call on this, you've got good arguments, and I am not strongly tied to any of the sides [09:49] It seems odd that the feature was declared done on Monday with a massive change still underway... [09:50] was it? [09:50] wgrant: I agree [09:50] danilos: I'use the feature flag check and leave out the null check. [09:50] ll [09:50] jml: the squad roster was changed [09:50] jml: which is slightly different, but closely related [09:51] lifeless: oh ok. [09:51] It was also intended to release on Monday. [09:51] jml: as you aren't around for the tl meeting, can we have a brief call in ~20 minutes time ? [09:51] And it was only decided on Monday that that would not happen... [09:51] :/ [09:51] wgrant: don't frown. agility! [09:51] jml: new stuff [09:51] jml, well, kind of, we left the subscribers list (bug 772754) for maintenance as well, and the "restore subscription on unmute" will only be released with db-deploy [09:51] <_mup_> Bug #772754: After better-bug-notification changes, list of bug subscribers is confusing < https://launchpad.net/bugs/772754 > [09:52] jml: Heh, maybe. [09:52] I do concede that this didn't require full team to work on this one remaining bug, so switching to maintenance was a practical solution [09:53] but, in case you were curious, the whole "moving from feature squad to maintenance" thing is a bit of a mystery to me. flacoste has ideas that I don't quite follow. [09:53] lifeless: ok. I've got to arrange some stuff, might be a little longer. [09:53] henninge, if you use the use_advanced_subscriptions check, perhaps you should wrap the get_mute_subscription() call in it as well [09:53] jml: a little longer is fine [09:53] henninge, also, note that you might see a merge conflict with db-devel where entire get_mute_subscription was removed [09:54] :-P [09:54] danilos: err [09:54] btw [09:54] danilos: I did wrap [09:54] expose_user_administered_teams_to_js is causing timeouts [09:54] henninge, cool, I haven't checked the diff, just responding to your comment, seeing now that you did :) [09:54] (to anyone that recognises that function name) [09:55] lifeless, sounds familiar to me [09:55] is that +subscriptions page perhaps? [09:56] danilos: its being called into from milestone view initialisation, and it causes about 5K sqlobject object comparisons (quadratic on number of teams) [09:57] danilos: which turns out to be moderately inefficient, and when multiplied by the number of milestones series pages show (and others may show) it becomes pretty huge [10:01] danilos: do I have your r= for merging into db-devel as well? [10:01] danilos: I just tried out the conflict and would like to fix it now and foget about it ;-) [10:01] jml: that said, because the tl call is crazy early, sooner is better ;) [10:02] allenap: jml: bigjools: https://dev.launchpad.net/LEP/NotificationService [10:02] flacoste: ^ [10:02] lifeless: Cool. [10:03] henninge, yes, you do :) [10:04] allenap: I've just updated the servicesrequirements page, if you were already reading it [10:05] otp [10:06] danilos: thanks a lot [10:07] danilos: for reference, this is the resolved diff against db-devel. [10:07] http://paste.ubuntu.com/612645/ [10:08] henninge, cool, thanks [10:09] stub: hi [10:10] stub: I wonder, branchsummary, could I ask you to do the sqlobject/storm bits, enough that it can have some tests wrapped around it? [10:21] allenap: somewhat sad news—we'll have to stick to single-package PlainPackageCopyJobs for the time being. [10:22] Which means that the "collate by archive" code that both of us wrote in our own ways go out the window. [10:23] it may come in useful later [10:26] Is this for PackageUpload integration? [10:26] Or is there some other consideration? [10:26] eg. error reporting [10:29] jtv: :_( [10:30] wgrant: yes, it's basically error reporting & handling. [10:31] Not related to PackageUpload work. [10:32] bigjools: I doubt it'll be useful to keep any of that code—it's basically 3 lines. [10:33] And while I'm looking at this… can we really only copy from a series' main archive? [10:33] Project windmill-devel build #133: STILL FAILING in 1 hr 10 min: https://lpci.wedontsleep.org/job/windmill-devel/133/ [10:35] :( [10:36] Oh, to _and from_ main archives. [10:40] jtv: Doesn't PackageCopyJob store the source and target archive? [10:40] Possibly only in the JSON. [10:40] But still. [10:40] wgrant: store, yes. [10:40] But those values get set to the respective main archives for the source and target distroseries. [10:41] * jtv mumbles about forgetting non-primary archives altogether and modeling "partner" as an additional distroseries parent instead [10:42] Are we considering partner here? [10:42] It is meant to be demolished soon. [10:42] partner can go to hell [10:42] lifeless: EPARSE [10:42] :) [10:42] I am glad we agree. [10:42] So it doesn't matter. [10:43] partner has no place in DDs [10:43] If a derivative wants partner, they are stupid. [10:43] Right. [10:43] I'm simply not supporting it so they have no option [10:43] Heh, good policy. [10:44] * stub tries to recall BranchSummary [10:44] bigjools: I guess creating a new distro doesn't even create the archive, does it... that's handy. [10:44] May 534 be the only purpose 4 archive that ever exists :) [10:44] with any luck [10:45] stub: bug 758587 [10:45] <_mup_> Bug #758587: summarising bugs is expensive < https://launchpad.net/bugs/758587 > [10:50] bigjools: I might point out that rabbit isn't usable in the test suite yet :/ [10:50] bigjools: It was disabled yesterday, reenabled yesterday, and is failing again today but I haven't disabled it again yet. [10:51] allenap: Did you see that? :( [10:51] wgrant: No, I haven't seen that yet :-/ [10:52] It's failed twice. [10:52] On lucid_lp [11:04] lifeless: Ahh... confused me by saying 'BranchSummary', not BugSummary [11:04] lifeless: sure [11:05] hhhha 0- yes [11:05] thanks! [11:05] gnight all [11:34] I guess we're not actually putting anything in Job.requester yet? [11:36] bigjools: Job.requester isn't hooked up yet. :( [11:36] jtv: cock [11:36] See how useful a Launchpad Person would be sometimes? Even as a stopgap? [11:36] jtv: did you see how much work it would be to add? [11:37] jtv: I'd not be averse to using the Janitor [11:37] Probably not a lot of work… just a matter of adding it to the interface, the model class, & the utility. Just not sure whether that might interfere with abentley's ongoing Job work. [11:38] The Janitor as a bug reporter? Heaven help us. [11:38] jtv: it's just going to be adding comments on DSDs ... [11:38] it already adds comments on bugs elsewhere [11:38] But only along the lines of "you left this open overnight so I threw it away," no? [11:39] jtv: no, when uploads close bugs, for example [11:39] Well it's a bit of a metaphorical stretch but that to me is still "you left this open so I threw it away." [11:39] it's nothing like that! [11:39] "It was starting to smell funny." [11:39] :) [11:40] Although... true, an upload is different from a regular time-based closing. [11:40] So we've already got the Janitor filling in for that Launchpad persona I suggested. [11:40] Great. [11:40] Maybe I'll just make the problem worse to drive the point home. [11:44] jtv: the janitor is not actually *doing* anything, it's a fake persona that we just stamp onto things [11:44] perhaps that was the point that nobody understood in your email? [11:46] Yes, perhaps. [11:46] I thought the examples of "be the owner of things" and "be the author of messages" would exemplify that, but I suppose they didn't. [11:46] (As opposed to "create things" and "post messages"). [11:48] henninge: I notice that https://code.launchpad.net/~chrisjohnston/launchpad/197793/+merge/61053 hasn't landed. Any special reason? [11:49] also https://code.launchpad.net/~chrisjohnston/launchpad/483373/+merge/61042 [11:50] jml: actually, three of his branches havn't landed. [11:50] jml: test failures, simple to fix [11:50] jml: I emailed him to ask if he wanted to fix these himself [11:50] jml: if don't here back from himi I'll JFDI myself [11:50] henninge: thanks! [11:51] I consolidated them in one branch to land: lp:~henninge/launchpad/land-chrisjohnston-187013-197793-483373 [12:10] wgrant: packageupload ripped out of _getRecipients [12:11] StevenK: ! [12:11] Excellent. [12:11] So it's in notify() only now? [12:11] I think so. I'll check once I fix this pyflakes issue === henninge is now known as henninge-lunch [12:13] wgrant: Yes, it's just notify() [12:13] Excellent. [12:13] So now we just need to deal with sourcelessness. [12:13] ... and test fallout. [12:14] wgrant: I've been thinking about this while cooking dinner. We can probably just re-implement notify() as notification() with spr, bprs and customfiles [12:14] StevenK: If you call it that your apartment will collapse. [12:14] But yes, something along those lines. [12:14] wgrant: notification() was what we agreed to before? :-) [12:15] wgrant: And then the packageupload gubbins can be held inside queue.py [12:15] notification() isn't a verb. [12:15] But yeah. [12:15] Oh well, we just fix notify() [12:15] Yes. [12:15] Fix notify() to not take a PU, moving that into PU.notify. === al-maisan is now known as almaisan-away [12:46] Why, oh why does LaunchpadScriptLayer.switchDbConfig sabotage my database connection? [12:46] "Connection is closed." [12:49] If it was deliberate, maybe to ensure a rollback? [12:49] Well the one test for this does switchDbConfig, then opens a cursor and does a query,. [12:50] So I suspect it's something that broke when we went to Storm. [12:50] "Test that […] we end up connected as the right user." [12:51] It actually queries current_user. [12:52] I try commit / switchDbConfig / access-the-db and it fails in that last step. [12:53] switchDbConfig is implemented as a call to reconnect_stores [12:54] …which actually accesses the database through the main store. [12:56] I tried passing the same config name as the layer test did, but no change. [12:58] You know that switchDbConfig is called once in the whole codebase, right? [12:58] What are you doing with it? [12:58] Everyone tends to use switchDbUser normally... === benji is now known as Guest53291 === henninge-lunch is now known as henninge === almaisan-away is now known as al-maisan === matsubara-afk is now known as matsubara [13:21] Project windmill-devel build #134: STILL FAILING in 1 hr 9 min: https://lpci.wedontsleep.org/job/windmill-devel/134/ [14:06] henninge: bug #419531 [14:06] <_mup_> Bug #419531: project name picker search / vocabulary is hard/impossible to use (too many results on exact searches) < https://launchpad.net/bugs/419531 > === jtv changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: danilos | https://code.launchpad.net/launchpad-project/+activereviews | Critical bugs:214 - 0:[######=_]:256 [14:21] jtv: you still having a problem with the switchDb stuff? [14:22] jcsackett: no, I dropped it. [14:23] danilos: if you're looking for a somewhat big branch to review, I have just the thing for you: https://code.launchpad.net/~benji/launchpad/bug-784575-flags/+merge/62175 === benji___ is now known as benji [14:23] jtv: dig. i was about to suggest the helpers in lp.testing.storm but i just realized those are for switchDbUser, not *Config, so no help anyway. [14:23] benji, ha, sounds just like the thing I've been missing in my life today :) [14:23] heh [14:24] benji, though it's measly 2627 lines, not up to my standards :) I'll take it, but it's going to be the last one for today then; also, you've got a conflict [14:24] danilos: thanks; I'll look at the conflict now [14:25] thank you === danilos changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: - | https://code.launchpad.net/launchpad-project/+activereviews | Critical bugs:214 - 0:[######=_]:256 [14:27] benji, you might want to prepare a merged branch with db-devel as well since that one has more changes to the code you are touching, so it will raise conflicts when your branch hits stable and is attempted to be merged to db-devel (saying because I've seen the changed code :) [14:31] Project windmill-db-devel build #322: STILL FAILING in 1 hr 9 min: https://lpci.wedontsleep.org/job/windmill-db-devel/322/ [14:31] benji, lines 112, any reason not to make this an actual property defined on the class level? (i.e. field_names = ['bug_notification_level']) [14:33] danilos: well, we wouldn't want a list as a class attribute (shared mutables are bug magnets), but we could make it a tuple -- assuming no one tries to append to it [14:33] benji, sure, a tuple would be nicer [14:34] if you would, note that in your review and I'll see if the tuple works [14:34] benji, sure, though do note that we've mostly used lists for these in a bunch of LaunchpadFormViews [14:39] that's unfortunate; mutable class attributes have cost the universe many an hour [14:40] benji, perhaps worth filing a tech-debt bug and mailing the -dev list to warn of the problem? [14:40] could be, I'll think about doing that [14:40] thanks [14:45] Project devel build #749: FAILURE in 5 hr 34 min: https://lpci.wedontsleep.org/job/devel/749/ [14:48] sinzui: i am trying to qa bug 228355, and it occurs to me that qastaging uses the same signup service as lpnet; i'd rather not create a throwaway account on the service to test the change. thoughts? [14:48] <_mup_> Bug #228355: Unique name reveals hidden email address < https://launchpad.net/bugs/228355 > [14:48] hmm [14:49] I have a couple of test accounts on prod SSO. [14:49] At least one of which I haven't used on qastaging lately. [14:50] Isn't this about one that has never been used [14:50] Well, I have two SSO accounts that don't have LP people on qastaging. So they will do. [14:51] yes, thanks [14:51] (I created them back when, er, experimenting with U1) [14:51] https://qastaging.launchpad.net/~me+ubuntuonetest [14:52] That looks qa-ok. [14:54] benji, around lines 1224-1254, you remove a test that I believe is still useful to keep around, even if it needs to update for the new +subscribe page (eg. selecting appropriate radio box) [14:55] * benji looks [14:55] I am mostly concerned because it's related to private bugs [14:57] I don't think so. My reading of that test is that it's about the unsubscribe and then redirect behavior, which the new code doesn't have. [14:57] thanks wgrant [14:58] thanks, wgrant. [14:59] benji, uhm, ok, but what happens with the new code when someone unsubscribes from the private bug using +subscribe page? [14:59] do you mean the +subscription page? or are you really taking about +subscribe? [15:00] my understanding is that +susbcribe will be phased out [15:00] I mean +subscribe, it's there for non-JS browsers, we are not breaking it even if we were not focusing on it [15:01] if you think it's worth testing, I'll rejigger the test to use the new UI [15:01] benji, the test was actually testing +subscribe page for these things, with advanced features, it offers slightly different options, but still works for non-JS browsers [15:02] right [15:05] benji, ok, I guess it's best to check with gary when he comes back if we want to keep +subscribe working for non-JS browsers (I assume we do), and then reinstate the tests if true (that includes most of xx-bug-personal-subscriptions.txt that you are removing as well, imo) [15:08] benji, also, this is about Bug:+subscribe, not Product:+subscribe page I think, I am not sure about the latter [15:17] Project windmill-devel build #135: STILL FAILING in 46 min: https://lpci.wedontsleep.org/job/windmill-devel/135/ [15:29] benji, other than the +subscribe situation which I am unsure about, my other big concern with the branch is keeping the feature flag in the JS, and removing a third feature flag conditional in one place [15:30] benji, thus, needs-fixing for now [15:31] it sounds like you found some good stuff, I'll take a look in a while === al-maisan is now known as almaisan-away [15:53] Project windmill-db-devel build #323: STILL FAILING in 1 hr 9 min: https://lpci.wedontsleep.org/job/windmill-db-devel/323/ [16:03] sinzui: chat? [16:04] yes [16:04] i believe i have the empathy stuff all set up right. [16:05] I am told you are not available? were you calling me? [16:05] i was trying to. [16:06] try again [16:06] huh. empathy just crashed. [16:14] Hi, everyone. [16:14] deryck! ;-) [16:17] Project windmill-devel build #136: STILL FAILING in 46 min: https://lpci.wedontsleep.org/job/windmill-devel/136/ [16:17] danilos, benji, yeah, until told otherwise by LP leadership, I suspect we should keep previously-working non-JS functionality around. I'm thinking of Bug:+subscribe here. [16:19] gary_poster: the discussion was more about the tests for the new +susbcribe (the one that exists with the feature flag on/removed), I removed some tests for the old +subscribe and need to verify that the new +subscribe has annalogous tests and (I suppose) implement them if not [16:19] (I haven't (intentionally) removed any functionality.) [16:20] benji, huh. i'm not sure i'm on the right track then' [16:20] gimme a few and we can have a call, to make sure, if that is alright [16:21] that's ok, I wasn't on the right track when Danilo and were discussing it earlier :) I've since found enlightenment. [16:21] sure [16:31] henninge: ping [16:31] Hi cjohnston! [16:31] Hey! Just checking the status of my MPs [16:31] ;-) [16:37] cjohnston: The tests failed, I forwarded the email. [16:38] cjohnston: I just wanted to give you a chance to fix the tests yourself but I can do that, too. [16:38] cjohnston: they are simple to fix [16:38] When did you send the email [16:39] cjohnston: yesterday, 9:37 UTC [16:41] found ti [16:41] it [16:41] was hidden [16:49] henninge: out of curiosity, did you run the tests with 'ec2 land'? [16:50] jml: yes, I believe so [16:50] henninge: I ask because it's supposed to email the patch author with the test results as well the lander. [16:50] henninge: if it's not, maybe it's buggy. [16:50] jml: I created a new branch an merged three of cjohnston's branches and landed that branch [16:50] ahhh [16:50] that'll do it. [16:52] jml just wants me to get more mail since I want to throw the pie :-P [16:52] cjohnston: heh [16:53] cjohnston: it's actually that I have a deep and abiding belief in automating the processing of information using computers [16:53] call me crazy [16:54] ;-) [16:54] henninge, well done on plowing through some bugs the last couple days. === matsubara is now known as matsubara-lunch [16:55] deryck: ;-) [17:01] henninge: I'm not completely sure how to fix this.. Got time to help me learn? === matsubara-lunch is now known as matsubara [17:03] cjohnston: sure [17:04] well, actually, time is the problem [17:04] Want to try tomorrow? [17:05] I think your nearing your EOD? [17:05] cjohnston: I am. [17:05] cjohnston: yes, let's do it tomorrow, if that's ok. [17:06] Sure.. Do you have a time frame that may be good? Its morning over here, so I'd just like to make sure I'm about. [17:07] cjohnston: what's your timezone? [17:07] * henninge is at UTC+2 [17:07] -4 [17:08] oh, not too bad [17:09] anytime after 1130 UTC should be good for me. [17:09] cjohnston: you should just ping me whenever you come online [17:09] ok [17:10] Ok.. Sounds great. Thanks [17:11] cjohnston: actually, I might be at lunch at 1130, make it 1200. See you tomorrow ;) [17:11] UTC === Ursinha is now known as Ursinha-afk === Ursinha-afk is now known as Ursinha [17:57] g'night all [17:58] nn from me too [18:12] I'm curious, what's the difference in the two options on the survey? [18:16] jml: ^^ [18:36] Project windmill-devel build #137: STILL FAILING in 1 hr 8 min: https://lpci.wedontsleep.org/job/windmill-devel/137/ [18:53] Yippie, build fixed! [18:53] Project db-devel build #579: FIXED in 5 hr 42 min: https://lpci.wedontsleep.org/job/db-devel/579/ === abentley changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: abentley | https://code.launchpad.net/launchpad-project/+activereviews | Critical bugs:214 - 0:[######=_]:256 [19:33] Project windmill-db-devel build #324: STILL FAILING in 1 hr 16 min: https://lpci.wedontsleep.org/job/windmill-db-devel/324/ === almaisan-away is now known as al-maisan === al-maisan is now known as almaisan-away [19:54] if I get married, I'm registering my marriage as a project on launchpad so that we can track bugs, write blueprints, etc. [20:08] Yippie, build fixed! [20:08] Project devel build #750: FIXED in 5 hr 22 min: https://lpci.wedontsleep.org/job/devel/750/ [20:08] cr3: remember we don't have private projects yet, so this will all have to be open source. [20:11] bac: I'll make sure the project is under a GPL license so that others getting married have to do the same [20:15] I'd be worried about people forking the project with GPL [20:21] Project windmill-db-devel build #325: STILL FAILING in 47 min: https://lpci.wedontsleep.org/job/windmill-db-devel/325/ [20:31] cody-somerville: hi :) [20:32] flacoste: btw - https://dev.launchpad.net/LEP/NotificationService#preview [20:33] lifeless, Hi. :) Besides creating a new branch, I haven't had a chance to start tackling the bug we discussed last night - have been unfortunately been unexpectedly preoccupied today with other matters. I'm still hoping to get around to it today however. [20:38] Project windmill-devel build #138: STILL FAILING in 1 hr 9 min: https://lpci.wedontsleep.org/job/windmill-devel/138/ [20:42] cody-somerville: no worries [20:42] cody-somerville: its rather low hanging, so I might stab at it myself. [20:42] I have one more (phew) email from tuesday to send === Ursinha is now known as Ursinha-afk === Ursinha-afk is now known as Ursinha === almaisan-away is now known as al-maisan === al-maisan is now known as almaisan-away [21:12] Does Launchpad use PostgreSQL partitions for large tables? [21:12] no [21:12] Ah, okay, I've been wondering at what point it makes sense to think about it. [21:14] selena would be a good person to ask, I think [21:15] she did a 'managing TB's' talk at pgcon last week [21:17] Is LP slow for anyone else or is it just me [21:17] I'm up to over a minute trying to load a bug report [21:17] which bug [21:18] https://bugs.launchpad.net/bugs/787914 [21:18] <_mup_> Bug #787914: Bottom of "Why use Ubuntu?" has "download 11.04" with an 10.10 logo. < https://launchpad.net/bugs/787914 > [21:18] loaded in 3 seconds for me [21:18] 0.91 seconds render time [21:18] must be me.. what abot loading the attachment? [21:19] It is slow for me, still laoding [21:19] and still loading [21:19] ok.. so im not the only one [21:19] * sinzui thinks a server is going belly up [21:19] attachment loaded [21:19] still loading [21:19] It's seemed slow to me for a day or two now, but this is bad. [21:20] while thats slow [21:20] please check - [21:20] ping launchpad.net [21:20] we want no packet loss over 10 pings [21:21] From eth0.chenet.canonical.com (91.189.88.133) icmp_seq=25 Destination Host Unreachable [21:21] ahha [21:22] I can get to qastaging very quickly, but neither browser is loading lpnet pages [21:22] 223 works [21:22] 222 does not [21:22] goig to our ops channel to grab a network guy [21:23] sinzui: could you perhaps tweet on identi.ca? I'll start escalation stuff [21:23] I have to go out soon for a medical appointment [21:23] okay [21:24] I feel better that I'm not imagining things [21:24] Project windmill-devel build #139: STILL FAILING in 46 min: https://lpci.wedontsleep.org/job/windmill-devel/139/ [21:25] when I put 91.189.89.222 launchpad.net into my hosts [21:25] I cannot browse the site [21:26] its failing fast now [21:28] should be happier now [21:29] sinzui: front end is back [21:29] thanks [21:34] lifeless: sinzui 0% packetloss in 14 packets [21:35] this ones from nutmeg === mwhudson_ is now known as mwhudson [21:47] deryck: gary_poster: If one of you can confirm that we really do not need to store wiki names any more, we can close about 6 bugs: bug 186660 is the root issue [21:47] <_mup_> Bug #186660: Launchpad shouldn't store wiki names < https://launchpad.net/bugs/186660 > [21:47] sinzui, cool. deryck, I'm happy to promote that one on my team, or do you want to call it? [21:48] gary_poster, you can take that one since I got the downtime action earlier. ;) [21:48] deryck, +1 :-) [21:50] gary_poster: hi [21:50] lifeless, hi [21:50] gary_poster: I need a very quick code check with you [21:50] ok lifeless [21:50] gary_poster: can you do voice? its near your EOD so I want to be as prompt as possible [21:50] sure; lemme close a door :-)_ [21:51] say when [21:52] lifeless, I assume you'd prefer mumble. I'm in yellow one-on-one; join me or drag me [21:52] Skype is also fine [21:52] gary_poster: mumble is terrible for me from NZ :) [21:52] skype is better, sadly. [21:53] gary_poster: bug 787765 [21:53] <_mup_> Bug #787765: ProductSeries:+index timeouts < https://launchpad.net/bugs/787765 > === matsubara is now known as matsubara-afk === micahg_ is now known as micahg [23:05] lifeless: I'm getting between 5 and 11% packet loss on 222 again [23:12] StevenK or wgrant: if you have an opportunity, I'd like you to review my test case for arch any/all skew. (I got sidetracked on working it this and last week due to specs)