Logs for #nikola for 2016-02-29

02:43:03 <[Tritium]> davidak: I have discovered that when i think i want .. raw:: html, i probably want a custom template
02:44:21 <davidak> i have an iframe for piwik user settings where you can stop tracking your requests for the imprint
03:30:53 <KwBot> [nikola] davidak opened issue #2274: Support tags in pages https://github.com/getnikola/nikola/issues/2274
09:37:39 <ChrisWarrick> davidak: (ps. I hope you don't take me closing all those issues personally)
15:46:36 <davidak> ChrisWarrick: if you have a good reason i don't take it personally.
15:46:53 <ChrisWarrick> great!
15:48:50 <davidak> i hope the wordpress import related issues get taken seriously as it is a major drawback to switch from WP. not even your included export for testing works…
15:49:30 <davidak> https://github.com/thomasf/exitwp/issues/61 this converter actually works but has Jekyll metadata format
15:49:57 <davidak> i would try next to convert that using pandoc into rst with metadata Nikola understand
15:55:52 <ChrisWarrick> we have a jekyll importer too
15:56:23 <davidak> then i will try this next
18:37:43 <KwBot> [nikola-themes] davidak opened issue #74: Zen: Font loaded over http, blocked in Chromium https://github.com/getnikola/nikola-themes/issues/74
18:38:20 <ralsina> davidak: fixing the WP importer is pretty difficult because WP exports really weird things (plugins can basically put stuff in the dump)
18:38:36 <ChrisWarrick> and wordpress itself is a mess
18:39:01 <ChrisWarrick> I wrote a WordPress importer recently. Pretty much EVERYTHING lives in wp_posts.
18:39:32 <KwBot> [nikola-themes] Kwpolska assigned issue #74 to Kwpolska: Zen: Font loaded over http, blocked in Chromium https://github.com/getnikola/nikola-themes/issues/74
18:40:56 <ralsina> Good news: after ubuntu 16.04 is released we'll have up-to-date packages there
18:41:07 <ralsina> not .deb packages, but up-to-date packages :-)
18:41:42 <KwBot> [nikola-themes] davidak opened issue #75: page broken in all jinja theme demos https://github.com/getnikola/nikola-themes/issues/75
18:43:43 <davidak> ralsina: maybe it helps to see how exitwp has solved it. it is also python code
18:47:34 <ChrisWarrick> ralsina: where?
18:54:40 <KwBot> [nikola-themes] Kwpolska closed issue #74: Zen: Font loaded over http, blocked in Chromium https://github.com/getnikola/nikola-themes/issues/74
18:54:57 <davidak> :)
18:55:49 <ChrisWarrick> that’s two minutes in vim and 10 minutes in rebuilds. 
18:55:54 -GitHub[themes]:#nikola- [nikola-themes] Kwpolska pushed 1 new commit to master: https://git.io/v2of6
18:55:54 -GitHub[themes]:#nikola- nikola-themes/master c9039ee Chris Warrick: Fix #74; update themes...
18:58:24 <ralsina> ChrisWarrick: new packaging thing
18:58:28 <ralsina> ChrisWarrick: called "snaps"
18:58:40 <ChrisWarrick> ralsina: What is that? Something saner than PPA?
18:58:44 <ralsina> ChrisWarrick: oh yes
18:58:56 <ralsina> ChrisWarrick: basically, self-contained apple-like app packages
18:59:06 <ralsina> ChrisWarrick: uploaded to a "store"
18:59:17 <ralsina> ChrisWarrick: packaging nikola took me all of 45 seconds
19:01:20 <ChrisWarrick> ralsina: can I do it without a Ubuntu 16.04 system like I can theoretically do for the AUR?
19:01:34 <ralsina> ChrisWarrick: maybe
19:01:43 <ralsina> ChrisWarrick: setting it up locally is still a bit complicated
19:01:56 <ralsina> ChrisWarrick: but there is not much to do except the build and that will need a 16.04
19:02:12 <ChrisWarrick> worst case scenario, I’ll just vagrantup a ubuntu 16.04 box
19:02:16 <ralsina> ChrisWarrick: this is the whole packaging info needed http://hastebin.com/yugokokedi.sm
19:02:40 <ChrisWarrick> ralsina: application error
19:02:46 <ChrisWarrick> any better source?
19:02:47 <ralsina> run one command and boom! 80MB packaged nikola
19:03:07 <ralsina> http://pastebin.ubuntu.com/15246048/
19:03:14 <ChrisWarrick> eighty?!
19:03:26 <ralsina> self-contained apps are heavy
19:03:46 <ChrisWarrick> So it has Python, lxml, doit, Nikola?
19:03:49 <ralsina> yep
19:04:19 <ChrisWarrick> well, it’s probably easier for users
19:04:31 <ChrisWarrick> and we could ignore those laggards over at debian
19:04:38 <ChrisWarrick> (why do distros have to be so slow?)
19:06:08 <davidak> very simple
19:07:54 <ralsina> yeah
19:07:58 <ChrisWarrick> IMO it could be made better if we could depend on the distro packages for python, lxml, pillow and take care of the rest
19:08:19 <ralsina> It doesn't because it also aims to provide confined apps
19:08:28 <ralsina> so that nikola can't mess anything in the system
19:09:18 <ChrisWarrick> like docker but without all the drawbacks?
19:09:22 <ralsina> also, because it will keep working even after the distro updates python or whatever
19:09:29 <ralsina> ChrisWarrick: that's the goal :-)
19:09:48 <ralsina> https://developer.ubuntu.com/en/snappy/ for more info ;-)
19:10:18 <ralsina> Distros are slow because a .deb has shell scripts that run as root. So, releasing a .deb is SCARY.
19:10:22 <ralsina> A snap? Not scary.
19:10:57 <ChrisWarrick> looks fun
19:10:57 <ralsina> One thing I heard: "all debs are security holes, the only protection you have is that becoming a debian maintainer takes very long"
19:11:31 <ChrisWarrick> can they be installed on “regular” (desktop) Ubuntu releases or do you need some magical Core edition?
19:11:45 <davidak> NixOS has solved the dependency hell for years. you can have multiple versions of a package at the same time. and other very innovative features like configuration management fundamentally better than puppet and all others
19:11:45 <davidak> http://nixos.org/nixos/about.html
19:12:05 <ChrisWarrick> NixOS is a great idea with awful marketing
19:12:25 <davidak> self-contained apps is just a workaround not a real solution
19:12:27 <ralsina> ChrisWarrick: it should work on 16.04
19:14:46 <ChrisWarrick> “Looks like there is a docker package for Ubuntu Core, let's check it out!”
19:14:54 <ralsina> ChrisWarrick: how do you feel about not using the same extension for ako and jinja?
19:14:55 <ChrisWarrick> How many layers of abstraction are we going down, exactly?
19:15:03 <ralsina> ChrisWarrick: depends, are you using kubernetes?
19:15:06 <ChrisWarrick> ralsina: That’s impossible.
19:15:18 <ChrisWarrick> a quick google says no
19:15:18 <ralsina> ChrisWarrick: why impossible?
19:15:53 <ChrisWarrick> ralsina: We depend on .tmpl in so many places and would have to employ rewriting. People would question this decision and have issues just because of a single book.tmpl thing
19:16:02 <ralsina> that's a good point
19:16:33 <ChrisWarrick> “You need to write book.tmpl in your conf.py/foo.rst, because history mistakes, we chose to fix in the most Microsoft way possible: with a shim”
19:17:01 <ralsina> hahaha
19:17:44 <ralsina> ok, let's ship a book.tmpl and a book.jinja, then use the right one in the themes demo sites (via our script) and the user will have to fix it manually when he changes engines locally
19:18:01 <ChrisWarrick> great
19:19:00 <ChrisWarrick> If you haven’t read The Old New Thing by Raymond Chen, and especially the bonus chpaters (<http://www.informit.com/store/old-new-thing-practical-development-throughout-the-9780321440303> → sample content), you totally should
19:34:39 <ralsina> I will not buy a 30 dollar ebook :-P
19:35:03 <ChrisWarrick> the sample content and his blog are good enough
20:29:53 <davidak> import_jekyll: ERROR: Jekyll configuration file was not found
20:29:56 <davidak> what informations are needed?
20:36:41 <KwBot> [nikola] davidak opened issue #2275: nikola plugin install dependency with pip in wrong python version https://github.com/getnikola/nikola/issues/2275
20:42:10 <KwBot> [plugins] davidak opened issue #141: import_page encoding problem https://github.com/getnikola/plugins/issues/141
20:58:43 <KwBot> [plugins] ralsina assigned issue #141 to ralsina: import_page encoding problem https://github.com/getnikola/plugins/issues/141