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

dholbachgood morning07:37
davidcalleMorning o/08:27
dholbachsalut davidcalle08:42
davidcalleHey dholbach :)08:42
dholbachdavidcalle: there's still a few things to be done, but I wanted to share my WIP: https://code.launchpad.net/~dholbach/developer-ubuntu-com/rework-importer/+merge/28118308:44
dholbachsome links are still broken08:44
dholbachbut apart from that the importer works08:44
davidcalledholbach: comments are stripped even when we don't use the editor?08:49
davidcalle(in rawhtml plugins)08:49
dholbachyes08:49
davidcalledholbach: I'm about to make an import, should build-apps exist before launching it? Or do I just need Snappy and Guides?09:04
davidcalledholbach: If I understand correctly, an import directive on a single file will write on the target page, and on a dir, will create subpages09:10
dholbachdavidcalle: yes09:23
davidcalleA few things I'm noticing: please tell me if that matches your experience or if I've done something wrong: pages are not published when imported, pages such as HACKING.md or the parent page for the devel docs of snapcraft are named "Snapcraft" in the menu.09:26
davidcalledholbach: ^ Other than this, I can't say how impressed I am by your tenacity on this front, seriously09:27
dholbachI had it on my TODO list for long enough :)09:30
dholbachand thanks for the flowers09:31
dholbachyou helped out quite a bit with it as well09:31
dholbachI'd say if we're happy with testing and we get the links fixed, we should be good for deploying v1 :)09:31
davidcalledholbach: the two points from above could be good to have for v1 as well, no? The publication issue has also the effect of not publishing changes when the importer runs again09:34
davidcalleI can work on both if you want, I'll just need a moment to wrap my head about these new classes09:35
dholbachdavidcalle: I haven't quite figured out what the deal is with the publication status09:35
davidcalledholbach: regarding pictures importing, it works ootb, right? Eg, the one in build-apps is hotlinked from https://rawgit.com/ted-gould/snapcraft/snapcraft-overview-diagram/docs/snapcraft%20overview.svg09:40
davidcalledholbach: or is it something you special cased?09:40
dholbachno, it just worked, but I guess we'll need to add a test or two, just to be sure it works :)09:40
dholbachah ok, here's why it works:09:43
dholbachREADME.md:[overview-image]: https://rawgit.com/ted-gould/snapcraft/snapcraft-overview-diagram/docs/snapcraft%20overview.svg09:43
dholbachthe question is: what happens if you have a local image and try to use that :)09:43
davidcalledholbach: right, nothing good :)09:51
dpmo/14:03
davidcalle\o14:05
dholbachyo yo yo14:05
davidcalledholbach: small branch fixing the translations-dashboard : https://code.launchpad.net/~davidc3/developer-ubuntu-com/translations-dashboard-1528618/+merge/28122515:47
dholbachlooking15:49
davidcalledholbach, couldn't reproduce it locally, I've changed the code live on staging, works :)  https://developer.staging.ubuntu.com/translations-dashboard/15:49
dholbachvery nice15:50
dholbachI should probably check in the importer if the HTML of updated articles actually changed...15:50
dholbachdavidcalle: the "list-items" link 404s15:51
dholbachbut that might be just an issue on staging(?)15:51
davidcalledholbach what "list-items"?15:51
dholbachin any case the code looks good to me15:51
dholbachdavidcalle: on https://developer.staging.ubuntu.com/translations-dashboard/ there's a link called 'list-items'15:52
dholbacha link to an article15:52
dholbachit points to https://developer.staging.ubuntu.com/apps/design-guide/building-blocks/list-items15:52
davidcalledholbach: oh sorry, I was looking at my local instance15:52
davidcalledholbach: yes, that's from a set of pages that were created, but never published (manual import of the app design guide), which makes me realize that I should exclude non-published pages from the list, they are just noise15:54
dholbachnice one!15:54
davidcalledholbach: updated (haven't updated the live code, but I've tested locally: simply checking if not page.publisher_is_draft is enough to discard updates that are pending changes in draft)16:05
dholbachyep, sounds good16:07

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