/srv/irclogs.ubuntu.com/2015/12/14/#ubuntu-website.txt

dholbachgood morning07:33
dholbachdavidcalle: do you know what the state of deployments is right now? do we know why the last deployment to production failed?08:03
davidcalledholbach: I don't, all I know is that it worked on staging. mhall119 will know more :)08:19
dholbachok08:19
dholbachI was just wondering if the latest went to prod :)08:20
dholbachdavidcalle: I found a markdown extension to allow github-style markdown - the snappy folks will be happy now :)12:52
davidcalledholbach, Hah, excellent :)12:53
mhall119davidcalle: dholbach: something is wrong with the request headers being sent to the devportal, and a change in the last deployment tried to use them which caused the failures13:13
dholbachwill it be hard to fix?13:15
mhall119I don't know, but I can revert the change that triggers it13:15
dholbachmh13:15
dholbachok13:15
davidcallemhall119: which changes trigger it?13:34
mhall119I added USE_X_FORWARDED_HOST in charm_settings.py13:37
mhall119that was suppose to fix the cn.developer.ubuntu.com redirects, by telling Django the original request host, but instead it's giving Django invalid Host headers13:37
mhall119dholbach: davidcalle: Found the bug and a potential fix: https://code.djangoproject.com/ticket/1187714:20
ubottuDjango bug 11877 in Documentation "Document that request.get_host() fails when behind multiple reverse proxies" [Normal,Closed]14:20
davidcallemhall119: 6yo patch!14:22
* dholbach crosses fingers14:22
mhall119davidcalle: the patch was actually just to documentation, there's an attached middleware we can use to fix the actual problem, I'm working on incorporating that now14:23
dholbachdavidcalle: I'm working on fixing links in the importer again :)14:25
davidcalledholbach: I'm wondering how the initial logic for link scales up to what you are doing14:31
dholbachI don't think it's too bad, but I'm thinking about adding some tests for this - otherwise it's just going to be too brittle14:32
dholbachdavidcalle: can you help me fix the markup of https://developer.ubuntu.com/en/snappy/guides/porting/ - I was just trying to fix a link, but some previous unpublished changes were still in there - now the 8- and 12-cols are a bit mixed up - or something :-)15:24
davidcalledholbach: ouch :) Looking15:29
* dholbach hugs davidcalle15:29
davidcalledholbach: fixed, there were multiple issues but the main layout one was caused by "twelve-code" instead of "twelve-col"15:53
dholbachugh...15:54
* dholbach hugs davidcalle15:54
dholbachthanks a lot for fixing it15:54
dholbachdavidcalle, mhall119: http://bazaar.launchpad.net/~dholbach/developer-ubuntu-com/rework-importer/revision/220 - tada! :)16:16
davidcalledholbach: Nooooooo16:17
dholbachdavidcalle: you'd prefer to keep the site working just magically? :-P16:18
davidcallemhall119: look we have a volunteer to write the duc testsuite :D16:18
davidcalledholbach: that's awesome, though, how do you run it? :)16:18
dholbachmanage.py test16:18
* davidcalle tries16:21
mhall119davidcalle: if we have the framework setup for them, we can ask for volunteers, maybe from GCI?16:23
davidcalledholbach, this would be very interesting, but I'm wondering if we have many things to be tested. From the top of my mind I can only think of a handful of tests: Maybe 3 for the API importer, 2 for the webapps generator.16:26
dholbachfor all our custom code I guess we should have a test or two16:26
dholbachand for the markdown importer I'm going to have at least 10 tests or something16:26
davidcalleTrue16:27
mhall119davidcalle: the js scopes docs package doesn't have a data.json, which is the entry point for the yuidoc importer17:48

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