Logs for #nikola for 2016-03-07

00:13:31 <sknebel> kkremitzki: there are drafts, those get build but you can stop them from being deployed: https://getnikola.com/handbook.html#drafts 
00:23:42 <kkremitzki> sknebel: thanks, I'll take a look
01:23:35 <KwBot> [plugins] davidak closed issue #144: localsearch: index link at domain root while Nikola is deployed to a subdirectory https://github.com/getnikola/plugins/issues/144
01:32:14 <davidak> in what case would i have a different SITE_URL and BASE_URL?
02:03:13 <KwBot> [nikola] davidak opened issue #2285: override variable like SITE_URL in different deployments https://github.com/getnikola/nikola/issues/2285
02:09:46 <davidak> either nobody has used multiple deployments or normal users don't consider improving software and accept they have to change SITE_URL on every different deployment. that don't make sense to me if the program can do it for me.
03:02:02 <[Tritium]> davidak: https://gist.github.com/tritium21/4af08a35fc3ec839cc1f
03:02:26 <[Tritium]> hold on, missed a line
03:02:38 <[Tritium]> fixed
03:03:45 <[Tritium]> any site specific settings would be in those conditionals
03:03:54 <[Tritium]> in the suite that is
03:19:42 <davidak> that would be a good workaround
03:19:55 <[Tritium]> davidak: you could also have multiple config files... second config could from config import *, and and just overide the values you want in the second config
07:49:06 -GitHub[nikola]:#nikola- [nikola] felixfontein pushed 1 new commit to pass-lang-to-slugify: https://git.io/v2pvd
07:49:06 -GitHub[nikola]:#nikola- nikola/pass-lang-to-slugify 0b98214 Felix Fontein: Improving warnings about missing language for slugify* variants.
07:58:43 -travis-ci:#nikola- getnikola/nikola#6965 (pass-lang-to-slugify - 0b98214 : Felix Fontein): The build passed.
07:58:44 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/f5816a8b9ee7...0b98214ab264
07:58:44 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/114178827
09:33:02 -GitHub[nikola]:#nikola- [nikola] Kwpolska created requires-io-master from master (+0 new commits): https://git.io/Sm_jqQ
09:37:59 <davidak> what about a license directive to override LICENSE for a single post/page?
09:38:52 <davidak> i want my startpage to have default copyright because it contains personal information but the rest be CC-BY-SA
09:39:10 <ChrisWarrick> davidak: a meta setting? you can implement that yourself
09:39:45 <davidak> how would i do that?
09:39:46 <ChrisWarrick> davidak: ${post.meta('license') or the_dfault_thing}
09:40:06 <[Tritium]> davidak: AIUI, LICENSE is pretty much only used in the footer?
09:40:15 <davidak> yes
09:40:18 <ChrisWarrick> davidak: about multiple deployments, you need 2 config files
09:40:39 <ChrisWarrick> davidak: they can from import a common bad
09:40:48 <ChrisWarrick> base*
09:41:11 <[Tritium]> (the trick I showed you essentially turns one file into two config files)
09:41:25 -travis-ci:#nikola- getnikola/nikola#6966 (requires-io-master - 8ee888b : Chris Warrick): The build passed.
09:41:26 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/requires-io-master
09:41:26 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/114194589
09:41:50 <davidak> i find that very messy
09:42:16 <ChrisWarrick> multiple deployments are a mess on their own
09:42:28 <[Tritium]> Yes.  they are.  I wish I didn't start
09:42:49 <ChrisWarrick> you could also try to get rid of site URL and the base tag
09:43:28 <[Tritium]> But changing the license on a per page basis... You might be able to do that without any python code... A special template?
09:43:53 <[Tritium]> .. template: altlicense.tmpl
09:44:13 <ChrisWarrick> that looks good too
09:44:31 <davidak> i want to make a special template for the startpage. i just don't include the default footer content. that would be simple :D
09:44:49 <ChrisWarrick> you can change it there
09:48:27 -travis-ci:#nikola- getnikola/nikola#6967 (requires-io-master - f2582b1 : requires.io): The build passed.
09:48:28 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/8ee888bd9c19...f2582b1aecd1
09:48:28 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/114194605
10:40:14 -GitHub[nikola]:#nikola- [nikola] ralsina created fix-2263 (+1 new commit): https://git.io/v2pwC
10:40:14 -GitHub[nikola]:#nikola- nikola/fix-2263 a94dec2 Roberto Alsina: don't crash on 'empty' wordpress posts (Issue #2263)
10:40:30 -GitHub[nikola]:#nikola- [nikola] ralsina opened pull request #2287: Don't crash on 'empty' wordpress posts (Issue #2263) (master...fix-2263) https://git.io/v2pw4
10:46:29 <ralsina> We still have some plugins that do sys.exit(1) it seems. That's probably a bad idea.
10:46:56 <ralsina> They should raise an exception so "nikola build -c" works
10:50:15 -travis-ci:#nikola- getnikola/nikola#6969 (fix-2263 - a94dec2 : Roberto Alsina): The build passed.
10:50:16 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/commit/a94dec2d1226
10:50:16 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/114208652
11:07:58 <amokleben> ralsina: if it's inevitable better just raise SystemExit. But I'd recommend raising a custom exception for that.
12:33:37 <ralsina> amokleben: agreed
12:33:46 <ralsina> amokleben: it's just a few places, I'll take a look
12:34:47 <KwBot> [nikola] ralsina opened issue #2288: Some plugins call exit() https://github.com/getnikola/nikola/issues/2288
12:34:50 <KwBot> [nikola] ralsina assigned issue #2288 to ralsina: Some plugins call exit() https://github.com/getnikola/nikola/issues/2288
12:35:55 <KwBot> [nikola] ralsina closed issue #2285: override variable like SITE_URL in different deployments https://github.com/getnikola/nikola/issues/2285
12:40:37 <KwBot> [nikola] ralsina assigned issue #2263 to ralsina: import_wordpress problem with php code in blogpost https://github.com/getnikola/nikola/issues/2263
12:41:20 <KwBot> [nikola] ralsina assigned issue #2262 to ralsina: optional import_wordpress to single file https://github.com/getnikola/nikola/issues/2262
13:14:12 <KwBot> [nikola] max-arnold opened issue #2289: Untranslated posts appear in sitemap.xml https://github.com/getnikola/nikola/issues/2289
13:30:43 <KwBot> [nikola] ralsina assigned issue #2289 to ralsina: Untranslated posts appear in sitemap.xml https://github.com/getnikola/nikola/issues/2289
13:36:21 -GitHub[nikola]:#nikola- [nikola] ralsina created fix-2289 (+1 new commit): https://git.io/v2hJA
13:36:21 -GitHub[nikola]:#nikola- nikola/fix-2289 87e741b Roberto Alsina: Fix #2289
13:39:11 -GitHub[nikola]:#nikola- [nikola] ralsina opened pull request #2290: Fix #2289 (master...fix-2289) https://git.io/v2hUZ
13:42:42 -travis-ci:#nikola- getnikola/nikola#6971 (fix-2289 - 87e741b : Roberto Alsina): The build passed.
13:42:43 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/commit/87e741b5ed89
13:42:43 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/114239745
13:59:35 <KwBot> [nikola] ralsina closed issue #2289: Untranslated posts appear in sitemap.xml https://github.com/getnikola/nikola/issues/2289
13:59:47 -GitHub[nikola]:#nikola- [nikola] ralsina pushed 1 new commit to master: https://git.io/v2htH
13:59:47 -GitHub[nikola]:#nikola- nikola/master 94ff0ad Roberto Alsina: Merge pull request #2290 from getnikola/fix-2289...
14:05:10 -travis-ci:#nikola- getnikola/nikola#6973 (master - 94ff0ad : Roberto Alsina): The build passed.
14:05:11 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/8ee888bd9c19...94ff0adc12c4
14:05:11 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/114245184
14:58:37 -GitHub[nikola]:#nikola- [nikola] Kwpolska deleted requires-io-master at f2582b1: https://git.io/v2hWX
15:04:21 -travis-ci:#nikola- getnikola/nikola#6974 (master - 680450c : Chris Warrick): The build passed.
15:04:22 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/94ff0adc12c4...680450c667e4
15:04:22 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/114258550
16:55:47 -GitHub[nikola]:#nikola- [nikola] ralsina pushed 1 new commit to fix-2263: https://git.io/v2hbk
16:55:47 -GitHub[nikola]:#nikola- nikola/fix-2263 75f1a95 Roberto Alsina: merged master
20:48:11 <KwBot> [nikola] ralsina closed issue #2263: import_wordpress problem with php code in blogpost https://github.com/getnikola/nikola/issues/2263
20:48:25 -GitHub[nikola]:#nikola- [nikola] ralsina deleted fix-2263 at 75f1a95: https://git.io/v2j7T
20:53:25 -travis-ci:#nikola- getnikola/nikola#6977 (master - 3f1a22d : Roberto Alsina): The build passed.
20:53:26 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/680450c667e4...3f1a22d1d5e4
20:53:26 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/114349287