Logs for #nikola for 2015-05-12

05:11:49 -GitHub[nikola]:#nikola- [nikola] bnmnetp opened pull request #1716: Look for DOIT_CONFIG in config so it can be set in conf.py (master...master) http://git.io/vUuwO
10:47:45 <Aeyoun> Plug-in installation inside a Nikola site directory shouldn’t require root, right?
10:47:53 <Aeyoun> https://www.irccloud.com/pastebin/JSCEoOKi
10:57:01 <ralsina_> Aeyoun: right, it shouldn t
10:57:26 <ralsina_> ahhh it's trying to pip-install a dependency
10:57:39 <ralsina_> ah no
10:57:48 <ralsina_> did you ever built that site as root?
10:58:00 <Aeyoun> No impossible, but unlikely.
10:58:10 <ralsina_> Aeyoun: looks like you once built it as root or something, and that file is not owned by you :-)
11:00:20 <Aeyoun> ralsina_: Some files in ‘./cache/.mako.tmp/__pycache__/' were owned by root. ;) Thanks.
12:47:05 <ChrisWarrick> Aeyoun: mako cache is an issue with multiple accounts, I encountered this with Coil CMS (my dev site runs as nobody and not kwpolska)
12:51:01 <ralsina> we could set mako cache per user
12:51:09 <ralsina> "or something"
12:56:40 <ChrisWarrick> ralsina: how would you do that, other than creating weird directories that would benefit only a few people?  (the coil docs actually recommend an undocumented workaround to disable the cache)
12:57:17 <ralsina> ChrisWarrick: check ownership of the cache dir, and if it's not the same as current user, create one with a username suffi
12:57:19 <ralsina> x
12:57:40 <ChrisWarrick> not really worth the effort imo
12:59:37 <ralsina> probably not
12:59:47 <ralsina> except maybe in coil's case?
12:59:53 <ralsina> it's like 4 lines of code :-)
13:00:16 <Aeyoun> store cache in /tmp …
13:00:23 <Aeyoun> Reboot would fix the issue. :D
13:02:23 <ralsina> the reason for the cache is, building those py files is really rather slow
13:05:26 <ChrisWarrick> you should be using jinja anyways
13:05:35 <ralsina> by default?
13:06:43 <ChrisWarrick> nobody said that, but jinja is much more fun than mako
13:06:51 <ChrisWarrick> and does not allow arbitrary code execution
13:06:53 <Aeyoun> is it faster?
13:07:52 <ChrisWarrick> Aeyoun: no idea
13:08:11 <ChrisWarrick> Aeyoun: http://jinja.pocoo.org/docs/dev/faq/#how-fast-is-it “similar performance to mako”
13:09:48 <Aeyoun> That means "worse"
13:28:27 <amokleben> I updated my Nikola yesterday and well... it just worked :D
13:30:43 <ralsina> amokleben: good :-)
13:31:27 <amokleben> I did really like the messages telling me that I am missing some plugin and how to install it
13:31:50 <amokleben> Thanks for everyone involved :)
13:56:46 -GitHub[nikola]:#nikola- [nikola] ralsina created fix-1251 (+1 new commit): http://git.io/vUgFD
13:56:46 -GitHub[nikola]:#nikola- nikola/fix-1251 1535de6 Roberto Alsina: fix 1251
13:57:15 -GitHub[nikola]:#nikola- [nikola] ralsina opened pull request #1717: fix 1251 (master...fix-1251) http://git.io/vUgFN
13:58:42 -GitHub[nikola]:#nikola- [nikola] ralsina pushed 1 new commit to fix-1251: http://git.io/vUgbg
13:58:42 -GitHub[nikola]:#nikola- nikola/fix-1251 8608905 Roberto Alsina: oops
14:07:38 -travis-ci:#nikola- getnikola/nikola#4994 (fix-1251 - 1535de6 : Roberto Alsina): The build failed.
14:07:40 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/commit/1535de632635
14:07:40 -travis-ci:#nikola- Build details: http://travis-ci.org/getnikola/nikola/builds/62240538
14:10:37 -GitHub[nikola]:#nikola- [nikola] ralsina closed pull request #1717: fix 1251 (master...fix-1251) http://git.io/vUgFN
14:17:22 -GitHub[plugins]:#nikola- [plugins] ralsina pushed 1 new commit to master: http://git.io/vU2vL
14:17:23 -GitHub[plugins]:#nikola- plugins/master 370b5d8 Roberto Alsina: fix https://github.com/getnikola/nikola/issues/1251
14:24:03 -travis-ci:#nikola- getnikola/nikola#4996 (fix-1251 - 8608905 : Roberto Alsina): The build passed.
14:24:04 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/1535de632635...8608905b9601
14:24:04 -travis-ci:#nikola- Build details: http://travis-ci.org/getnikola/nikola/builds/62240834
14:42:26 <travis-ci> [PLUGINS] getnikola/plugins#619 (master - 370b5d8 : Roberto Alsina): The build passed.
14:42:26 <travis-ci> [PLUGINS] Change view: https://github.com/getnikola/plugins/compare/f6619dc3edc8...370b5d8e443c
14:42:26 <travis-ci> [PLUGINS] Build details: http://travis-ci.org/getnikola/plugins/builds/62244055
16:09:11 -GitHub[nikola]:#nikola- [nikola] ralsina pushed 1 new commit to master: http://git.io/vU2x2
16:09:11 -GitHub[nikola]:#nikola- nikola/master cb1ede7 Roberto Alsina: Merge pull request #1712 from getnikola/fix-1325...
16:10:27 <ChrisWarrick> ralsina: are we doing v8 directly?
16:11:59 -GitHub[nikola]:#nikola- [nikola] Kwpolska pushed 1 new commit to master: http://git.io/vU2pj
16:11:59 -GitHub[nikola]:#nikola- nikola/master e90ae98 Chris Warrick: new in master
16:20:09 -GitHub[nikola]:#nikola- [nikola] ralsina deleted fix-1325 at 9ea4522: http://git.io/vUaff
16:20:34 -GitHub[nikola]:#nikola- [nikola] ralsina pushed 1 new commit to master: http://git.io/vUafZ
16:20:34 -GitHub[nikola]:#nikola- nikola/master fa27ee5 Roberto Alsina: little fix
16:23:21 <ralsina> ChrisWarrick: I don t know
16:23:23 -travis-ci:#nikola- getnikola/nikola#4999 (master - cb1ede7 : Roberto Alsina): The build passed.
16:23:24 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/e78294e7ee2a...cb1ede73a549
16:23:24 -travis-ci:#nikola- Build details: http://travis-ci.org/getnikola/nikola/builds/62261392
16:23:40 <ralsina> ChrisWarrick: we could use it to get rid of all the incompatible changes we want
16:23:52 <ralsina> or we could go to a 7.5
16:24:04 <ChrisWarrick> v7 is going to be 1 year old on Saturday
16:24:17 <ralsina> good, 1 year per major version is not bad :-)
16:24:26 <ChrisWarrick> a lot of cruft has been amassed in that time
16:25:02 <ChrisWarrick> and Nikola needs a diet
16:25:37 <ralsina> so let's start a wishlist issue for v8
16:25:43 <ralsina> with checkboxes
16:30:32 <ChrisWarrick> started as https://github.com/getnikola/nikola/issues/1718
16:35:12 <ralsina> Added a few refactors and stuff that's in progress
16:35:15 -travis-ci:#nikola- getnikola/nikola#5000 (master - e90ae98 : Chris Warrick): The build passed.
16:35:17 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/cb1ede73a549...e90ae983b18b
16:35:17 -travis-ci:#nikola- Build details: http://travis-ci.org/getnikola/nikola/builds/62261736
17:24:24 -travis-ci:#nikola- getnikola/nikola#5002 (master - fa27ee5 : Roberto Alsina): The build passed.
17:24:25 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/e90ae983b18b...fa27ee5d7a2c
17:24:25 -travis-ci:#nikola- Build details: http://travis-ci.org/getnikola/nikola/builds/62263194
18:21:53 <Aeyoun> Should Nikola support responsive images? Or would that be too deep into in only-Aeyoun-cares land?
18:27:40 <ChrisWarrick> Aeyoun: you can always write a plugin and we would decide if it can go in the main repo or the plugins repo
18:32:32 <Aeyoun> would probably have to be implemented as a filter.
18:33:26 <Aeyoun> Actually, that would probably not work. Hmmm.
18:35:04 <ChrisWarrick> what do you mean by “responsive images”, exactly?
18:46:55 <Aeyoun> https://www.irccloud.com/pastebin/Xft5GPWu
18:47:28 <Aeyoun> ChrisWarrick: that. so resizing from one source image into multiple widths and possibly formats into the output.
18:48:59 <ChrisWarrick> Aeyoun: I doubt the resizing part is worthy of being in the core.  if it were easy to write a <picture> reST tag, we could use that
18:49:43 <Aeyoun> (img elelement is fallback, source elements contain candidate lists of sizes and formats, browser picks whatever fits the screen/bandwidth situation best)
18:50:05 <Aeyoun> Reduces CPU and bandwidth for visitors.
18:50:21 <Aeyoun> WordPress and Drupal has this already, I’m told.
18:50:45 <ChrisWarrick> I understand your concerns, however I am not a fan of generating the random images for everyone.  Also, we are not following other CMSes.
18:51:50 <Aeyoun> They’re not random. :P Just different resolutions based on viewport/screen width.
18:52:39 <ChrisWarrick> still, I am not a fan of littering sites with files
18:53:01 <ChrisWarrick> a plugin in the plugins repo could do it
18:54:54 <Aeyoun> I can’t really see how it could do it, though. Given Nikola’s many compilers it would have to be a filter. But a filer would create orphans if it started converting <img src="highres.jpg" into multiple formats.
18:55:58 -GitHub[nikola]:#nikola- [nikola] ralsina created fix-1688 (+1 new commit): http://git.io/vUVcD
18:55:58 -GitHub[nikola]:#nikola- nikola/fix-1688 ebebae7 Roberto Alsina: fix #1688
18:57:39 -GitHub[nikola]:#nikola- [nikola] ralsina opened pull request #1719: fix #1688 (master...fix-1688) http://git.io/vUVCw
18:58:19 -GitHub[nikola]:#nikola- [nikola] ralsina pushed 1 new commit to fix-1688: http://git.io/vUVCN
18:58:19 -GitHub[nikola]:#nikola- nikola/fix-1688 fb8408f Roberto Alsina: Update CHANGES.txt
19:09:16 -GitHub[nikola]:#nikola- [nikola] ralsina pushed 1 new commit to fix-1688: http://git.io/vUVBi
19:09:16 -GitHub[nikola]:#nikola- nikola/fix-1688 ae351ce Roberto Alsina: remove experiment leftovers
19:10:47 <ralsina> Aeyoun: leaving orphans is not horrible
19:11:11 <ralsina> Aeyoun: if you have a file in files/ and then you remove it, you end up with orphans, too. And we don't worry :-)
19:11:31 <ralsina> Aeyoun: same way here, you have an image, you copy/resize, then you remove it, orphans
19:11:44 <ralsina> BTW, you could do it as a multiplier task, like gzip is done
19:12:49 <Aeyoun> ralsina: would that work when it also has to modify the output?
19:12:58 <ralsina> Aeyoun: yep
19:13:06 <ralsina> Well... not sure, really
19:13:12 <ralsina> Why modify it?
19:13:31 <ralsina> Shouldn't it just create a set of resized images?
19:13:52 <Aeyoun> ralsina: it also need to do this, https://www.irccloud.com/pastebin/Xft5GPWu
19:14:10 <ralsina> that is a HTML filter
19:14:15 <ralsina> so, 2 plugins
19:14:21 <ralsina> or one plugin and a filter :-)
19:14:53 <ralsina> OTOH how you are going to manipulate HTML to do that ... lxml doesn't understand this sort of new thing AFAIK
19:15:39 <Aeyoun> No idea just yet. ;)
19:26:36 -travis-ci:#nikola- getnikola/nikola#5005 (fix-1688 - fb8408f : Roberto Alsina): The build passed.
19:26:37 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/ebebae781278...fb8408fafc56
19:26:37 -travis-ci:#nikola- Build details: http://travis-ci.org/getnikola/nikola/builds/62283852
19:31:59 -travis-ci:#nikola- getnikola/nikola#5003 (fix-1688 - ebebae7 : Roberto Alsina): The build passed.
19:32:00 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/commit/ebebae781278
19:32:00 -travis-ci:#nikola- Build details: http://travis-ci.org/getnikola/nikola/builds/62283516
19:43:55 -travis-ci:#nikola- getnikola/nikola#5007 (fix-1688 - ae351ce : Roberto Alsina): The build passed.
19:43:56 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/fb8408fafc56...ae351cea28c5
19:43:56 -travis-ci:#nikola- Build details: http://travis-ci.org/getnikola/nikola/builds/62285594
20:00:57 -GitHub[nikola]:#nikola- [nikola] felixfontein pushed 1 new commit to category_hierarchies: http://git.io/vUV7c
20:00:57 -GitHub[nikola]:#nikola- nikola/category_hierarchies 374fd3c Felix Fontein: Improved category slug collision test....
20:11:05 -GitHub[nikola]:#nikola- [nikola] felixfontein pushed 1 new commit to category_hierarchies: http://git.io/vUVbz
20:11:05 -GitHub[nikola]:#nikola- nikola/category_hierarchies 366a0af Felix Fontein: Moved parsing/joining code to utils.py, and fixed a little bug.
20:15:42 -GitHub[nikola]:#nikola- [nikola] felixfontein force-pushed category_hierarchies from 366a0af to ae3c911: http://git.io/vUVAJ
20:15:42 -GitHub[nikola]:#nikola- nikola/category_hierarchies 64e6ed8 Felix Fontein: Allowing category hierarchies. Must currently be explicitly enabled....
20:15:42 -GitHub[nikola]:#nikola- nikola/category_hierarchies 85dc8ab Felix Fontein: Making flake8 happy.
20:15:42 -GitHub[nikola]:#nikola- nikola/category_hierarchies 5a0fe48 Felix Fontein: Fixed templates via scripts/jinjify.py.
20:18:16 -GitHub[nikola]:#nikola- [nikola] felixfontein pushed 1 new commit to category_hierarchies: http://git.io/vUVxm
20:18:16 -GitHub[nikola]:#nikola- nikola/category_hierarchies 45c0bca Felix Fontein: Forgot to add new function names to __all__.
20:29:23 -travis-ci:#nikola- getnikola/nikola#5010 (category_hierarchies - 366a0af : Felix Fontein): The build has errored.
20:29:24 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/374fd3c0670d...366a0afbcad1
20:29:24 -travis-ci:#nikola- Build details: http://travis-ci.org/getnikola/nikola/builds/62294150
20:35:32 -travis-ci:#nikola- getnikola/nikola#5011 (category_hierarchies - ae3c911 : Felix Fontein): The build is still failing.
20:35:33 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/366a0afbcad1...ae3c911414be
20:35:33 -travis-ci:#nikola- Build details: http://travis-ci.org/getnikola/nikola/builds/62294936
20:36:26 -GitHub[nikola]:#nikola- [nikola] felixfontein pushed 1 new commit to master: http://git.io/vUwTL
20:36:26 -GitHub[nikola]:#nikola- nikola/master 85617e3 felixfontein: Merge pull request #1711 from getnikola/category_hierarchies...
20:46:45 -GitHub[nikola]:#nikola- [nikola] ralsina pushed 8 new commits to master: http://git.io/vUwqf
20:46:45 -GitHub[nikola]:#nikola- nikola/master 2bb9cc1 Brad Miller: Look for DOIT_CONFIG in config so it can be set in conf.py
20:46:45 -GitHub[nikola]:#nikola- nikola/master 70551fc Brad Miller: better/more pythonic style
20:46:45 -GitHub[nikola]:#nikola- nikola/master 7a63bb1 Brad Miller: Add missing whitespace after ,
20:54:37 -travis-ci:#nikola- getnikola/nikola#5013 (category_hierarchies - 45c0bca : Felix Fontein): The build failed.
20:54:38 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/ae3c911414be...45c0bca1c2e0
20:54:38 -travis-ci:#nikola- Build details: http://travis-ci.org/getnikola/nikola/builds/62295367
21:12:55 -travis-ci:#nikola- getnikola/nikola#5015 (master - 85617e3 : felixfontein): The build was broken.
21:12:56 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/fa27ee5d7a2c...85617e3d2582
21:12:56 -travis-ci:#nikola- Build details: http://travis-ci.org/getnikola/nikola/builds/62297892
21:31:09 -travis-ci:#nikola- getnikola/nikola#5016 (master - b0bf8de : Roberto Alsina): The build was broken.
21:31:10 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/85617e3d2582...b0bf8dedf0e8
21:31:10 -travis-ci:#nikola- Build details: http://travis-ci.org/getnikola/nikola/builds/62299446
21:39:34 <Aeyoun> Does category hierarchies put posts under category slugs? not sure I get the feature based on the documentation in conf.py.in