/srv/irclogs.ubuntu.com/2012/09/21/#launchpad-dev.txt

wallyworld_wgrant: i thought unclosed <br>tags were valid html5?02:07
sinzuino02:07
wgrantwallyworld_: They're valid HTML5, but not valid XHTML02:07
wgrantAnd we are a polyglot02:07
wgrantBecause people parse us with XML parsers02:07
wgrantBecause SGML is awful, and HTML5 is only mildly better02:07
sinzuiwe will not permit them because we cannot check our own work...and we do not know what the browser will do02:07
wallyworld_ok, i'll lp-land a quick fix, didn't see the mp comment before i landed02:08
wgrantFormally we treat our markup as an HTML5/XHTML polyglot, and I've fixed most historical issues that prevent parsing as either.02:08
sinzuiI patch pocket-lint a few months back because it chocked on html5 with html4 entities02:09
wallyworld_sinzui: if you're stil lawake, i'd love a quick chat about 105263902:09
sinzuithey are the same of course, but old tools do not know that02:09
sinzuiwallyworld_, okay02:10
wallyworld_sinzui: just need to reboot - mumble hates me02:11
=== bigjools-afk is now known as bigjools
wallyworld_wgrant: i just created a branch to fix those couple of <br> tags i left in and doing a search finds lots more. i'll fix those while i'm there02:38
wallyworld_well, a few anyway02:38
wallyworld_many are in comments02:39
james_wlifeless, is there a way to refer to the root context in handlebars?02:39
james_wI'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 rendered02:39
wgrantwallyworld_: I know there are some in structsub JS02:40
wgrantBut what others?02:40
wgrantAh, there's one on an edit form02:40
james_wand I might be any number of layers deep, and don't want to duplicate that config at all layers02:40
wgrantwallyworld_: Beware about fixing the ones in JS02:40
lifelessjames_w: I don't think so. I mean, we could add / vs ../02:40
wgrantwallyworld_: Some of our UI relies on the markup being misparsed02:40
wallyworld_wgrant: yes, they are mainly js ones02:40
wallyworld_ok, will leave alone then02:41
lifelessjames_w: I'm not sure its a good idea though, as the compiler is pretty unaware of how deep it is today.02:41
wgrantwallyworld_: eg. the structsub thing relied on accidental empty table cells due to invalid markup02:41
wgrantFixing the <br> there might change the nesting02:41
james_wlifeless, yeah, it feels wrong, I'm just struggling to find a solution that doesn't multiply data02:41
james_w{{#with foo=bar}} would work02:42
james_was would {{>partial foo=bar}}02:42
lifelessjames_w: passing it down in userspace, as it were?02:43
lifelessjames_w: that seems like a solid approach to me02:43
james_wlifeless, those aren't supported syntaxes currently?02:43
lifelessso, remember that ../ is template nesting, not context nesting02:46
lifelessjames_w: does that help ?02:46
james_wlifeless, what do you mean?02:47
lifelessyou aren't an arbitrary depth down02:49
lifelessjames_w: anyhow, handlebars does support keyword parameters02:50
james_whttp://paste.ubuntu.com/1217974/02:51
lifelesshmmm, No OOPS Tools Production OOPSes found for 2012-09-20 <- not sure I believe that.02:52
wgrantlifeless: Wasn't it upgraded just after midnight?02:52
lifelesscould be02:54
lifelessjames_w: so, I'm suggesting02:56
lifelessjames_w: http://paste.ubuntu.com/1217979/02:57
lifelessI don't know if that will work OOTB02:57
lifelessbut it may02:57
james_wit doesn't02:58
lifelessyou tried ?02:58
james_wyeah02:58
james_wlet me get the error02:59
james_wpybars/frompymeta.py in moduleFromSource03:02
james_w        code = compile(source, filename, "exec")03:02
james_wnon-keyword arg after keyword arg (pymeta_grammar__render__195.py, line 8)03:02
lifelessok03:02
lifelessso, there is a protocol for calling helpers with kw arguments03:02
lifelessit makes sense to me that a template called with extra kw arguments would shove them in the context03:03
lifelessI suggest either getting handlebars.js or making it require an option to enable or something03:03
lifelessso we don't go spuriously incompatible indefinitely.03:03
lifelessjames_w: if you think its a sensible approach03:03
* lifeless grabs a drink before fixing https://bugs.launchpad.net/python-timeline-django/+bug/105085203:04
_mup_Bug #1050852: Error in action handling <python-timeline-django:New> < https://launchpad.net/bugs/1050852 >03:04
james_wlifeless, ok03:04
james_wlifeless, 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 this03:05
lifelesskk03:07
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
wgrantStevenK: What do you think of the restriction that non-virtual main archives can't be arch-restricted?06:10
wgrantThat is:06:10
wgrant        if self.is_main and not self.require_virtualized:06:10
wgrant            return getUtility(IProcessorFamilySet).getRestricted()06:10
wgrantIt seems like a pretty pointless special case06:10
wgrantSo I'm going to give Ubuntu primary/partner all restricted archs and remove it, unless you can think of a reason not to06:10
StevenKmain archives being purpose PRIMARY and PARTNER?06:11
wgrantAnd DEBUG, but yes06:11
StevenKRight06:11
StevenKSounds like a good plan06:11
StevenKRemove PARTNER while you're at it06:11
wgrantHeh06:11
wgrantStevenK: https://code.launchpad.net/~wgrant/launchpad/bug-897999/+merge/12564007:05
StevenKwgrant: I was about to comment on your crimes against indenting when I realised it was code you were deleting.07:09
StevenKwgrant: r=me07:10
adeuringgood morning07:33
=== bigjools-afk is now known as bigjools
cjwatsonStevenK: totally QAable on mawson - it just got trumped by secure boot stuff yesterday08:35
=== almaisan-away is now known as al-maisan
cjwatsonStevenK: I'll do it this morning08:36
=== adeuring changed the topic of #launchpad-dev to: http://dev.launchpad.net/ | On call reviewer: adeuring | Firefighting: - | Critical bugs: ∞
czajkowskijelmer: can this be closed https://answers.launchpad.net/launchpad/+question/20650110:47
cjwatsonwow, that rules file is insane10:57
cjwatsonI'll follow up10:57
czajkowskicjwatson: thank you11:04
=== al-maisan is now known as almaisan-away
cjwatsonwgrant: 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 now12:14
cjwatsonBecause, -195612:15
wgrantcjwatson: 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
cjwatsonYeah - fortunately we have a freeze now12:15
wgrantRight :)12:15
cjwatsonAnd if we have this deployed and enabled on say Monday, we'll have that freeze period plus the flush at the end12:15
cjwatsonWhich I think will be enough12:16
wgrantIndeed12:16
vilahi guys, I found a socks_proxy=socks://lpdev.local:8110/ in my env, any idea where it's coming from ?12:28
vilaas in: I setup an lpdev instance long ago, but this line is nowhere to be seen in my .bashrc/.profile12:29
vilaI discover it recently as it breaks a badly isolated test in another project12:29
=== skaet_ is now known as skaet
wgrantvila: That's not a standard Launchpad thing.14:00
wgrantvila: No tool I know of uses lpdev.local14:00
wgrantOr socks_proxy14:00
vilawgrant: 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
vila(and all the significant ones are under version control anyway)14:06
vilawgrant: 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:07
cr3hi folks, I'd like to have a project and team deleted from launchpad. should I ask a question to launchpad (itself)?14:38
czajkowskicr3: yes plase14:40
cr3czajkowski: cheers!14:40
czajkowskicr3: need the list deleted so just waiting on that to happen14:54
cr3czajkowski: thanks, no rush14:55
cr3czajkowski: this is mostly about keeping Launchpad tidy :)14:56
=== adeuring changed the topic of #launchpad-dev to: http://dev.launchpad.net/ | On call reviewer: - | Firefighting: - | Critical bugs: ∞
=== matsubara__ is now known as matsubara
sinzuijcsackett, how goes to demolition of the suggest ubuntu packages portlet?18:10
jcsackettsinzui: 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:11
sinzuiI keep getting locked out of my computer bug the screen-lock18:12
jcsackettsinzui: that sounds like a pain.18:12
sinzuiI just disabled it so I can talk without needing to kill procs or reboot18:12
jcsackettsinzui: dig.18:13
sinzuijcsackett, did you see Bug #105376 ? There is a db column that can be removed too I think18:15
_mup_Bug #105376: Kubuntu 7.04beta Alt. CD install not create a new user. <debian-installer (Ubuntu):Fix Released by brian-murray> < https://launchpad.net/bugs/105376 >18:15
sinzuijcsackett, did you see Bug #1053765 ? There is a db column that can be removed too I think18:15
_mup_Bug #1053765: Suggest ubuntu packages portlet has nothing to do <package-link> <projects> <tech-debt> <Launchpad itself:Triaged by jcsackett> < https://launchpad.net/bugs/1053765 >18:15
sinzuiI missed a digit18:15
jcsackettsinzui: i didn't see that bug. thanks.18:15
jcsackettah, i see you updated my card as well.18:16
jcsackettsinzui: do we want to obliterate the portlet, period? or just the part that's trying to encourage linking if not known?18:32
sinzuijust the suggestions18:32
jcsackettok; that's what i was assuming, but i realized it could be meant to remove all of it.18:32
sinzuiwe still want to show the 5 most recent packages built from the project's releases18:32
jcsackettsinzui: dig.18:33
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
wallyworld_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 distros22:03
wallyworld_also, there are some comments in the bug about teams vs users22:03
wallyworld_the idea is that user is removed from teams first, so we only need the api to check for direct shring for the user22:04
wallyworld_ah hang on, you are talking about teams for maintainer and driver22:05
wallyworld_i do need to fix this then22:05
wallyworld_and you also want commercial admins to get back all results, not just admins22:05

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!