[02:07] wgrant: i thought unclosed
tags were valid html5? [02:07] no [02:07] wallyworld_: They're valid HTML5, but not valid XHTML [02:07] And we are a polyglot [02:07] Because people parse us with XML parsers [02:07] Because SGML is awful, and HTML5 is only mildly better [02:07] we will not permit them because we cannot check our own work...and we do not know what the browser will do [02:08] ok, i'll lp-land a quick fix, didn't see the mp comment before i landed [02:08] Formally we treat our markup as an HTML5/XHTML polyglot, and I've fixed most historical issues that prevent parsing as either. [02:09] I patch pocket-lint a few months back because it chocked on html5 with html4 entities [02:09] sinzui: if you're stil lawake, i'd love a quick chat about 1052639 [02:09] they are the same of course, but old tools do not know that [02:10] wallyworld_, okay [02:11] sinzui: just need to reboot - mumble hates me === bigjools-afk is now known as bigjools [02:38] wgrant: i just created a branch to fix those couple of
tags i left in and doing a search finds lots more. i'll fix those while i'm there [02:38] well, a few anyway [02:39] many are in comments [02:39] lifeless, is there a way to refer to the root context in handlebars? [02:39] I'm looking for a way to do conditional logic based in a partial not on the thing being rendered, but the context in which it is being rendered [02:40] wallyworld_: I know there are some in structsub JS [02:40] But what others? [02:40] Ah, there's one on an edit form [02:40] and I might be any number of layers deep, and don't want to duplicate that config at all layers [02:40] wallyworld_: Beware about fixing the ones in JS [02:40] james_w: I don't think so. I mean, we could add / vs ../ [02:40] wallyworld_: Some of our UI relies on the markup being misparsed [02:40] wgrant: yes, they are mainly js ones [02:41] ok, will leave alone then [02:41] james_w: I'm not sure its a good idea though, as the compiler is pretty unaware of how deep it is today. [02:41] wallyworld_: eg. the structsub thing relied on accidental empty table cells due to invalid markup [02:41] Fixing the
there might change the nesting [02:41] lifeless, yeah, it feels wrong, I'm just struggling to find a solution that doesn't multiply data [02:42] {{#with foo=bar}} would work [02:42] as would {{>partial foo=bar}} [02:43] james_w: passing it down in userspace, as it were? [02:43] james_w: that seems like a solid approach to me [02:43] lifeless, those aren't supported syntaxes currently? [02:46] so, remember that ../ is template nesting, not context nesting [02:46] james_w: does that help ? [02:47] lifeless, what do you mean? [02:49] you aren't an arbitrary depth down [02:50] james_w: anyhow, handlebars does support keyword parameters [02:51] http://paste.ubuntu.com/1217974/ [02:52] hmmm, No OOPS Tools Production OOPSes found for 2012-09-20 <- not sure I believe that. [02:52] lifeless: Wasn't it upgraded just after midnight? [02:54] could be [02:56] james_w: so, I'm suggesting [02:57] james_w: http://paste.ubuntu.com/1217979/ [02:57] I don't know if that will work OOTB [02:57] but it may [02:58] it doesn't [02:58] you tried ? [02:58] yeah [02:59] let me get the error [03:02] pybars/frompymeta.py in moduleFromSource [03:02] code = compile(source, filename, "exec") [03:02] non-keyword arg after keyword arg (pymeta_grammar__render__195.py, line 8) [03:02] ok [03:02] so, there is a protocol for calling helpers with kw arguments [03:03] it makes sense to me that a template called with extra kw arguments would shove them in the context [03:03] I suggest either getting handlebars.js or making it require an option to enable or something [03:03] so we don't go spuriously incompatible indefinitely. [03:03] james_w: if you think its a sensible approach [03:04] * lifeless grabs a drink before fixing https://bugs.launchpad.net/python-timeline-django/+bug/1050852 [03:04] <_mup_> Bug #1050852: Error in action handling < https://launchpad.net/bugs/1050852 > [03:04] lifeless, ok [03:05] lifeless, I won't do that now as I'm just trying things out, but if the experiment is a success then I'll still do it if I haven't found a better way to address this [03:07] kk === almaisan-away is now known as al-maisan === al-maisan is now known as almaisan-away [06:10] StevenK: What do you think of the restriction that non-virtual main archives can't be arch-restricted? [06:10] That is: [06:10] if self.is_main and not self.require_virtualized: [06:10] return getUtility(IProcessorFamilySet).getRestricted() [06:10] It seems like a pretty pointless special case [06:10] So I'm going to give Ubuntu primary/partner all restricted archs and remove it, unless you can think of a reason not to [06:11] main archives being purpose PRIMARY and PARTNER? [06:11] And DEBUG, but yes [06:11] Right [06:11] Sounds like a good plan [06:11] Remove PARTNER while you're at it [06:11] Heh [07:05] StevenK: https://code.launchpad.net/~wgrant/launchpad/bug-897999/+merge/125640 [07:09] wgrant: I was about to comment on your crimes against indenting when I realised it was code you were deleting. [07:10] wgrant: r=me [07:33] good morning === bigjools-afk is now known as bigjools [08:35] StevenK: totally QAable on mawson - it just got trumped by secure boot stuff yesterday === almaisan-away is now known as al-maisan [08:36] StevenK: I'll do it this morning === adeuring changed the topic of #launchpad-dev to: http://dev.launchpad.net/ | On call reviewer: adeuring | Firefighting: - | Critical bugs: ∞ [10:47] jelmer: can this be closed https://answers.launchpad.net/launchpad/+question/206501 [10:57] wow, that rules file is insane [10:57] I'll follow up [11:04] cjwatson: thank you === al-maisan is now known as almaisan-away [12:14] wgrant: Do you have any remaining concerns about https://code.launchpad.net/~cjwatson/launchpad/remove-queue-tool/+merge/114464, once process-accepted-bugs-job is deployed and the associated ops work done? I'm just merging in current devel now [12:15] Because, -1956 [12:15] cjwatson: Well, we should probably live through a bit of freeze first. It's very likely that the bugs thing will be sufficient to get rid of all the timeouts, but we're pretty screwed if it doesn't. [12:15] Yeah - fortunately we have a freeze now [12:15] Right :) [12:15] And if we have this deployed and enabled on say Monday, we'll have that freeze period plus the flush at the end [12:16] Which I think will be enough [12:16] Indeed [12:28] hi guys, I found a socks_proxy=socks://lpdev.local:8110/ in my env, any idea where it's coming from ? [12:29] as in: I setup an lpdev instance long ago, but this line is nowhere to be seen in my .bashrc/.profile [12:29] I discover it recently as it breaks a badly isolated test in another project === skaet_ is now known as skaet [14:00] vila: That's not a standard Launchpad thing. [14:00] vila: No tool I know of uses lpdev.local [14:00] Or socks_proxy [14:06] wgrant: there was a wiki page mentioning socks at some point (I can't find it anymore), the .local is from avahi and comes from me. But I don't remember ever putting that in any .rc file :-/ [14:06] (and all the significant ones are under version control anyway) [14:07] wgrant: note that (from memory) the wiki page was referring to some FF setting, not an env var... but since I *never* used socks myself... [14:38] hi folks, I'd like to have a project and team deleted from launchpad. should I ask a question to launchpad (itself)? [14:40] cr3: yes plase [14:40] czajkowski: cheers! [14:54] cr3: need the list deleted so just waiting on that to happen [14:55] czajkowski: thanks, no rush [14:56] czajkowski: this is mostly about keeping Launchpad tidy :) === adeuring changed the topic of #launchpad-dev to: http://dev.launchpad.net/ | On call reviewer: - | Firefighting: - | Critical bugs: ∞ === matsubara__ is now known as matsubara [18:10] jcsackett, how goes to demolition of the suggest ubuntu packages portlet? [18:11] sinzui: slowly, though not because of the task itself. i have had a rocky-ish day so far in terms of other things needing doing. [18:12] I keep getting locked out of my computer bug the screen-lock [18:12] sinzui: that sounds like a pain. [18:12] I just disabled it so I can talk without needing to kill procs or reboot [18:13] sinzui: dig. [18:15] jcsackett, did you see Bug #105376 ? There is a db column that can be removed too I think [18:15] <_mup_> Bug #105376: Kubuntu 7.04beta Alt. CD install not create a new user. < https://launchpad.net/bugs/105376 > [18:15] jcsackett, did you see Bug #1053765 ? There is a db column that can be removed too I think [18:15] <_mup_> Bug #1053765: Suggest ubuntu packages portlet has nothing to do < https://launchpad.net/bugs/1053765 > [18:15] I missed a digit [18:15] sinzui: i didn't see that bug. thanks. [18:16] ah, i see you updated my card as well. [18:32] sinzui: do we want to obliterate the portlet, period? or just the part that's trying to encourage linking if not known? [18:32] just the suggestions [18:32] ok; that's what i was assuming, but i realized it could be meant to remove all of it. [18:32] we still want to show the 5 most recent packages built from the project's releases [18:33] sinzui: dig. === almaisan-away is now known as al-maisan === al-maisan is now known as almaisan-away [22:03] sinzui: hi, with that new getSHaredProducts branch, i did not return distros because of the lazr restful issues with heterogeneous results. i was thinking about a separate api for distros [22:03] also, there are some comments in the bug about teams vs users [22:04] the idea is that user is removed from teams first, so we only need the api to check for direct shring for the user [22:05] ah hang on, you are talking about teams for maintainer and driver [22:05] i do need to fix this then [22:05] and you also want commercial admins to get back all results, not just admins