/srv/irclogs.ubuntu.com/2016/05/10/#ubuntu-website.txt

davidcalledholbach: https://developer.staging.ubuntu.com/en/ click on Iot->Get started, then do it again08:50
dholbachhttps://developer.staging.ubuntu.com/en/snappy/snappy/get-started/as-dev/08:51
dholbachlooks like there's a snappy too much in the URL08:51
davidcalledholbach: for some reason the menu path is relative (both in the dropdown and breadcrumbs)08:51
dholbachI was thinking if this was one of the redirects08:52
dholbachhum... I don't quite get it08:54
dholbachI removed the [x] advertise from two of the imports08:55
dholbachnot sure if that's it though08:55
dholbachdavidcalle, I'm working on https://code.launchpad.net/~dholbach/developer-ubuntu-com/importer-versioning/+merge/294202 now - it's working out quite nicely so far, only thing left to add is the alias logic (to add redirects)09:04
davidcalledholbach: so, in the admin, we will be able to set an "alias" <-> "version" map?09:16
dholbachyes09:16
dholbachfor any branch it can be configured09:16
davidcalleNice09:17
dholbachdavidcalle, my thinking right now is that we configure something like: <branch>, version=16.04, alias=current09:37
dholbachso that we get snappy/guides/16.04 and redirects from snappy/guides/current/09:38
dholbachon the other hand would this create a big link/redirect/page farm09:38
dholbachmaybe it'd make more sense to do this in the yet-to-come url-rewrite app(?)09:39
dholbachalso making snappy/guides/X redirect to snappy/guides/current/X or something09:39
davidcalledholbach: since there is no urgency for versioning (afaik at least), maybe it could be done through the url rewriting app09:45
dholbachso maybe I drop the 'alias' logic for now09:47
dholbachand we just add (if at all necessary) something to http://bazaar.launchpad.net/~developer-ubuntu-com-dev/developer-ubuntu-com/stable/view/head:/templates/404.html#L1809:48
dholbachdavidcalle, ^ what do you think?09:54
davidcalledholbach: well, on the bright side, it's easy and painless to do. But on the other hand, we shouldn't start relying to much on it. Or if we do, at least make it faster. (eg. by dropping the check if the page we want to redirect exists or not).09:59
dholbachis the plan still that we replace it with an app(?)10:00
dholbacha django app I mean10:00
davidcalledholbach: well, it would be better, stuart is already complaining we rely on javascript for this :p and it can be a bit slow (between 0 and 2 sec), making people think there is no page at all.10:01
dholbachright10:01
dholbachbut with the options of having a redirect app or a javascript redirect in place, I'm wondering if adding 'alias' to the branch configuration makes sense at all :)10:02
davidcalleright10:02
dholbachdavidcalle, I think I'll drop it for now10:03
dholbachonce we have the redirect app, we could add a redirect.add() call :)10:04
davidcalledholbach: I was trying to figure out how it would work in practice, yes10:04
dholbachwe're not in a real hurry with that one I guess :)10:06
dholbachmy mom and my niece are here for lunch now - I'll remove the alias logic afterwards again :)10:06
davidcalledholbach: enjoy :) I'll have a few things to ask you as well !10:07
dholbachcool10:09
dholbachdavidcalle, https://developer.staging.ubuntu.com/en/snappy/get-started/as-dev/ - nice work! :-)12:28
davidcalledholbach: hah, thanks. I've found a workaround for the eight-col auto resize the importer applies. There is a pr waiting for didier.12:35
dholbach<3 <3 <312:36
davidcalledholbach: my question from earlier was actually your feedback on ^ ;)12:39
dholbachit's brilliant work :)12:39
davidcalledholbach: I'm looking for your redirect-app branch and can't find it12:39
dholbachit was WIP and I think I remember mhall119 saying that it wasn't the direction we agreed on12:41
dholbachI think I deleted it as your 404 branch came up at the same time12:41
davidcalleAh right12:42
davidcalledholbach: alright. So, until we make an app for this: what do you think about speeding up the current redirecter? I'd like your thoughts on the following:12:43
davidcalleCurrently, it updates the url, looks if the new one exists, redirects. The 2nd step makes things slow. Maybe we can get rid of it? If the redirect target page doesn't exist, you would still end up on a 404, but with an updated url. (as opposed to currently: if the redirect target is missing, you stay on the original 404).12:45
davidcalleNow that I think again about it: the "report a bug" button would make you report a bug on the updated url, which is where we would want the fix.12:46
davidcalleSo, it wouldn't be too bad12:46
dholbachI think that makes sense12:47
davidcallealright, thanks12:48
davidcalledholbach: if you can have a quick look https://code.launchpad.net/~davidc3/developer-ubuntu-com/faster-404-redirects/+merge/29424013:10
dholbachLGTM13:11
davidcallety13:12
dholbachdavidcalle, http://docs.django-cms.org/en/latest/how_to/extending_page_title.html looks very nice to me - I'll play around with it :)13:58
davidcalledholbach: here is our solution for tagging pages!14:01
dholbachyep14:01
dholbachdavidcalle, when you talk to didrocks to merge the PR from you, can you get him to do the other one as well? :-)16:35
dholbachhttps://code.launchpad.net/~dholbach/developer-ubuntu-com/enable_admin_style/+merge/29427516:48
dholbach^ most important MP of the day16:48
dholbachall right... and with that I call it a day - see you tomorrow! :-)16:48
minothi, I'd like to update the page https://wiki.ubuntu.com/UserDirectoryPHP to say that from 16.04, the default to use is /etc/apache2/mods-available/php7.0.conf19:28
minot as opposed to php5.conf19:28
minotIt says immutable page and so I can't edit it. Apparently I can edit the Home page but I don't want to try it19:30
pleia2minot: unfortunately that wiki had to be locked down due to spam, can you send your comment to the ubuntu-doc@lists.ubuntu.com mailing list?19:49
minotOK will do19:49
pleia2(though that's a very old page and documentation is supposed to be on help.ubuntu.com/communty wiki, not sure how it ended up there...)19:49

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