/srv/irclogs.ubuntu.com/2016/04/22/#ubuntu-website.txt

dholbachsalut davidcalle08:16
dholbachcan you check the errors.log file?08:17
davidcalleMorning o/08:38
davidcalleYup08:38
dholbachbrilliant, thanks08:38
dholbachhttps://developer.staging.ubuntu.com/en/snappy/build-apps/ still is not updated ... or updated in the wrong way :)08:39
dholbachthe rest seems to be fine as far as I can see08:39
davidcalle"error.log" is empty. I also have a django_errors.log containing 18 instances of "Don't know how to interpret '/tmp/tmpExtvFT/snapcraft/docs/images'." and nothing else.08:42
davidcalledholbach: ^08:42
dholbachhohum.......08:43
dholbachall right.. back to the drawing board08:43
davidcalledholbach: let's make a custom branch and see if it gets updated. (I think I have one already for this purpose, hold on)08:44
davidcalledholbach: I see https://developer.staging.ubuntu.com/en/snappy/build-apps/ empty08:44
dholbachyes, same here08:45
davidcalleHmm08:45
dholbachit works locally08:49
dholbachI just built a page which had lots of different plugins - it came out with just one rawhtml plugin with just the html I was expecting it to have08:49
davidcalledholbach: Where does the name "Build apps" in the menu comes from?09:03
davidcalledholbach: is it something that the importer can control?09:03
davidcalledholbach: I've created a branch with a list of pages: Page0.md, Page1, Page2, imported to snappy/foo . With Page0 set as /foo. I was expecting the name of the page to be Foo. (based on build-apps > Build Apps), but it's Page0. How is that dealt with? Eg. if I change the name of the page, will it go back to Page0 on the next import? Is the name set only if09:14
davidcallethe page needs to be created and not updated afterwards?09:14
davidcalleAlso, I've disabled other imports while testing this09:15
davidcalledholbach: could the build-apps page bug be caused by the fact there are two imports defined for this branch, and only one being active?09:20
dholbachdavidcalle, it's the page title09:46
davidcalledholbach: good news: if we start from a clean slate (deleting /build-apps), no issues, everything works fine, a manual change to the content gets reverted after import.09:47
dholbachdavidcalle, both are active09:47
davidcallewell overriden more than reverted.09:47
dholbachok... it's still bizarre that this doesn't work09:47
dholbachok, it's at least to work around :-)09:47
dholbachthanks!09:47
dholbachnow on to the hero tour09:48
davidcalledholbach: we know that we can go from clean slate to what we want, and that the tree doesn't explode. Ship it. :)09:48
dholbachI like your pragmatic approach to things09:51
dholbachdavidcalle, did you "make crontab"?10:15
dholbachif not, can you maybe do it and maybe run a regular import yourself maybe and see if there's any errors or anything? :-)10:23
davidcalledone both, no errors10:35
* davidcalle lunch, brb10:36
dholbachgracias10:58
dholbachdavidcalle, https://developer.staging.ubuntu.com/en/snappy/start/as-dev doesn't look like it's working :)11:00
dholbachhttps://developer.staging.ubuntu.com/en/snappy/start/as-dev/ looks a bit weird again11:00
dholbachit's not text vs rawhtml plugin11:00
dholbachok, so the redirect page (using JS) I made an actual redirect, importing it from a .html file from snappy-dev-website doesn't work11:42
dholbachnow we just need to figure out why the style is a bit weird11:44
dholbachand why it wants to go to https://developer.staging.ubuntu.com/en/snappy/start/as-dev/16-04/step2-ubuntu-rpi2/ instead of https://developer.staging.ubuntu.com/en/snappy/start/as-dev/16-04/step2-setup-rpi2-ubuntu/11:45
dholbachand remove webdm11:45
dholbachI'll start filing a couple of bugs :)11:45
dholbachok, we either fix it in snappy-dev-website or in our hero template11:51
dholbachit's just that I don't really understand the logic there O:-)11:51
dholbachlet me dive deeper11:51
dholbachhttp://paste.ubuntu.com/15979960/ is what the URLs should look like11:55
dholbachstep 2 would be http://paste.ubuntu.com/15979964/ rather11:56
dholbachtemplates/snappy_hero_tour.html also refers to snappy/get-started vs snappy/start12:07
dholbachI wonder if that's the issue12:07
dholbachs/the/an :)12:07
dholbachit's http://paste.ubuntu.com/15980061/ now12:09
dholbachok... that doesn't fix it12:11
davidcalledholbach: I'm going to live edit the template on staging, hold on :)13:22
dholbach"don't disturb the doctor right now, he's preparing for brain surgery"13:23
davidcalle"getting productive with nano"13:47
davidcalledholbach: ok, nav fixed, but templates are cached, so you need to update the page until the urls are correct :p13:47
dholbachwow13:48
dholbachthe caching drives me nuts :)13:50
dholbach3 things are still broken for me:13:51
dholbach1) the nav lists "get started" as snappy/start13:51
dholbach2) the css of snappy/get-started/as-dev is a bit off13:51
dholbach3) the URLs are broken13:51
dholbachI'll keep reloading this to see if it magically fixes itself and gets your goodness from your nano session :)13:52
davidcalledholbach: about the layout, didrock did something wrong indeed.13:54
davidcalledholbach: get-started VS start, yeah, not sure where it's coming from, importer directive setup?13:54
dholbach15.10 is wrong as well13:54
davidcalleLooking at the page tree, there is no 15.1013:55
dholbachyeah, that as well :)13:56
davidcalledholbach: you know that you are on a page with the fixed urls when the little number lights red :)13:56
davidcallewell, orange13:56
dholbachdavidcalle, can you maybe put your changes into a branch, so I can try it out locally?13:57
dholbachmight be quicker ;-)13:57
davidcalledholbach: mayyybe13:58
* dholbach hugs davidcalle 13:58
davidcalledholbach: do you want it based on a specific branch?14:00
dholbachany recent one should be fine14:01
dholbachI will propose https://code.launchpad.net/~dholbach/developer-ubuntu-com/just-one-rawhtml-plugin/+merge/292490 to go into trunk, and make sure to back out https://code.launchpad.net/~dholbach/developer-ubuntu-com/hourly-md-imports/+merge/29238414:02
dholbachor how do you feel about the latter?14:02
davidcalledholbach: https://code.launchpad.net/~davidc3/developer-ubuntu-com/hero-tour-fixes14:04
* dholbach hugs davidcalle 14:04
davidcalledholbach: happy to merge the first in trunk and request a deployment later today14:05
dholbachdavidcalle, ok, let me back out the cronjob14:05
davidcalledholbach: do you want we try to fix the tour before a deployment?14:05
dholbachdavidcalle, which part do you want to fix?14:06
davidcalledholbach: hmm, oh you are right, that's the github part that needs layout fixes :)14:06
dholbachI'm not sure I understand14:07
davidcalledholbach: the broken layout comes from the github branch14:07
dholbachoh ok14:07
dholbachdavidcalle, https://code.launchpad.net/~dholbach/developer-ubuntu-com/just-one-rawhtml-plugin/+merge/292490 should be ready now14:08
dholbachI'll try it out locally14:08
* davidcalle looks14:08
davidcalledholbach: oh, you merged the template fix :) <314:09
dholbachdavidcalle, the URLs also don't work for me locally14:20
davidcalleouch14:20
davidcalledholbach: what do the look like?14:20
davidcallethey*14:20
dholbachhttp://127.0.0.1:8001/en/snappy/get-started/as-dev/16-04/step2-ubuntu-artik/ for example14:20
davidcallehmm14:21
davidcalleReload? :D14:21
dholbachjust leaving the page as it is and clicking on the orange ">" takes me to: http://127.0.0.1:8001/en/snappy/get-started/as-dev/16-04/step2-ubuntu-rpi2/14:25
davidcalledholbach: I'm setting it up locally, will fix in a moment14:29
dholbach<314:29
dholbachmaybe we should ask for a deployment once we're done with what we want to fix?14:29
dholbachso we can at least turn on the other imports on Monday14:30
davidcalledholbach: yep!14:30
dholbachand then discuss with didrocks what needs fixing in snappy-dev-website14:30
davidcallesounds good, yes.14:30
davidcalledholbach: is the generate step supposed to take a lot of time?14:31
dholbachsome time14:32
davidcalledholbach: ok, looks like it failed because I didn't have a get-started page14:32
dholbachoh?14:34
davidcalledholbach: yeah, worked now14:35
davidcallehttp://127.0.0.1:8000/en/snappy/get-started/as-dev/16-04/stepNaN14:45
davidcallelol14:45
dholbachouch :)14:46
davidcalledholbach: pushed14:55
dholbachshall I merge from your branch again or where did you push it?14:55
davidcalledholbach: I was trying to push on your branch and wondering why it wasn't working :) I just pushed it on mine14:57
dholbachhaha14:58
davidcalledholbach: I'll wait for your +1 after the Q&A to merge, stage, rt, etc. Will you have time to try it?14:58
dholbachit works!15:00
dholbachpushed it to my branch15:01
* dholbach hugs davidcalle 15:01
davidcalleYay15:01
dholbachnice work!15:02
dholbachthanks a lot!15:02
davidcalledholbach: thank you!15:03

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