Logs for #nikola for 2016-08-24

00:34:02 -GitHub[nikola]:#nikola- [nikola] Kwpolska pushed 1 new commit to requires-io-master: https://git.io/v6QxF
00:34:02 -GitHub[nikola]:#nikola- nikola/requires-io-master ce30b61 requires.io: [requires.io] dependency update
00:44:37 -travis-ci:#nikola- getnikola/nikola#7486 (requires-io-master - ce30b61 : requires.io): The build passed.
00:44:38 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/a5e05cc27aca...ce30b6107708
00:44:38 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/154617930
00:54:33 -travis-ci:#nikola- getnikola/nikola#7485 (requires-io-master - a5e05cc : Chris Warrick): The build passed.
00:54:34 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/requires-io-master
00:54:34 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/154617924
06:34:33 -GitHub[nikola]:#nikola- [nikola] Kwpolska deleted requires-io-master at ce30b61: https://git.io/v673P
06:40:24 -travis-ci:#nikola- getnikola/nikola#7488 (master - 39e065f : Chris Warrick): The build passed.
06:40:25 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/a5e05cc27aca...39e065fc908f
06:40:25 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/154661552
11:05:53 <chronodekar> I'm having some trouble understanding the meta-data format Nikola uses. 
11:06:10 <chronodekar> What I'm trying to do, is create a blog and write all my posts in Markdown
11:06:55 <chronodekar> In my conf.py file I've removed the references to *.rst and replaced them with *.md
11:07:34 <chronodekar> my .. confusion is the format of meta-data created when running 'nikola new_post'
11:08:05 <chronodekar> the metadata looks like some RST-style information stuffed into a Markdown file.
11:08:08 <chronodekar> ref: https://dpaste.de/DxV8
11:08:22 <chronodekar> I'm comparing it with a Markdown file used with Jekyll.
11:08:41 <chronodekar> Is it possible to configure nikola to parse posts in a similar format?
11:58:01 <ralsina> chronodekar: we have an issue for that
11:58:05 <ralsina> chronodekar: but it's not done
11:58:21 <ralsina> chronodekar: in the meantime, yes, it's actually rst comments inside a markdown post
12:08:47 <chronodekar> ralsina: Hmm.. thanks for telling me.
12:09:01 <chronodekar> Does nikola support different build configurations?
12:09:15 <chronodekar> i.e. one way to build my site for everyone
12:09:31 <chronodekar> but another way to build only my 'to-publish' posts, so I can see how they look like?
12:09:58 <ralsina> chronodekar: yes
12:10:03 <ralsina> chronodekar: 1 sec for details
12:10:27 <ralsina> chronodekar: there are at least 2 ways
12:10:35 <chronodekar> ralsina: that sounds promising!
12:10:38 <chronodekar> what are they?
12:10:52 <chronodekar> or if you can link to documentation, I'll read it there.
12:10:53 <ralsina> 1) use --conf=devel.py where devel.py is a configuration file that adds a folder with your drafts to POSTS
12:11:07 <ralsina> devel.py could be something like 
12:11:09 <ralsina> import conf
12:11:28 <ralsina> POSTS += ('drafts/*.md', 'posts', 'posts.tmpl')
12:11:41 <ralsina> The 2nd way is to use drafts
12:11:58 <ralsina> If you tag a post as draft then it will not be included in indexes and will not be deployed
12:12:04 <chronodekar> ah! you are making use of python imports! Crafty. Reminds me of django dev environments
12:12:20 <ralsina> That way you can see it locally but it will not be available in your production server
12:12:39 <ralsina> chronodekar: yes, both nikola and django use python modules for config :-)
12:13:06 <chronodekar> ralsina: drafts? when you say not linked in index - the end post actually get generated anyone, but because there is no navigatable link, it's effectively hidden?
12:13:12 <ralsina> You would have to set DEPLOY_DRAFTS=False for the 2nd way to work
12:13:21 <ralsina> chronodekar: right
12:13:33 <ralsina> and if you set DEPLOY_DRAFTS=False it will not be copied to your server
12:14:19 <ralsina> More details in the manual, look for draft
12:14:25 <ralsina> !drafts
12:14:35 <chronodekar> I need to try this out (drafts feature)
12:14:44 <ralsina> Oh, well, I thought Kwbot would understand that :-)
12:14:52 <chronodekar> ^_^
12:15:28 <ralsina> chronodekar: what DEPLOY_DRAFTS does, is it will delete drafts from output/ before deploying, so it's a bit brutal :-)
12:15:38 <chronodekar> I'm curious - on the users page https://users.getnikola.com/  some links are in red. and others are in green
12:15:45 <chronodekar> are the red ones no longer using nikola?
12:15:49 <chronodekar> or they are just new?
12:15:56 <ralsina> no idea, ChrisWarrick did that site
12:16:10 <chronodekar> he,he. OK.
12:23:42 <ChrisWarrick> chronodekar: no links have colors here
12:24:02 <ChrisWarrick> chronodekar: all links are blue; the first 6 are featured sites with yellow backgrounds
12:24:08 <chronodekar> ChrisWarrick: wrong wording on my part
12:24:12 <chronodekar> I meant that background color
12:24:56 <ChrisWarrick> then as I said, first 6 are featured sites
12:24:58 <chronodekar> ChrisWarrick: if they are featured sites, you probably want to show them a bit differently. 
12:25:07 <ChrisWarrick> ?
12:25:13 <chronodekar> at least, for me, I was wondering if there was something off about them.
12:25:31 <chronodekar> perhaps a heading at the top which says 'featured sites with nikola' ?
12:26:00 <chronodekar> just my 2 cents
12:27:36 <ChrisWarrick> the yellow background should be enough
12:44:57 <x1101> ChrisWarrick: I just tried to add my site via the 'add it to the index' link, and got a 500 when submitting the form. FYI. 
12:46:40 <ChrisWarrick> x1101: my e-mail server went bonkers
12:47:49 <x1101> Just sharing some info. I figured you'd like to be made aware, if you weren't already. 
12:55:09 -GitHub[sites]:#nikola- [nikola-users] Kwpolska pushed 1 new commit to master: https://git.io/v67Fu
12:55:09 -GitHub[sites]:#nikola- nikola-users/master 3f369b5 Chris Warrick: Remove New Relic stuff...
12:59:25 <ChrisWarrick> x1101: I wasn't. Should be fixed now.
13:02:05 <x1101> ChrisWarrick: apparenrlty it accepted the page even when it gave me the error earlier
13:02:21 <ChrisWarrick> x1101: the error was with e-mailing me
13:09:03 -GitHub[sites]:#nikola- [nikola-users] Kwpolska pushed 1 new commit to master: https://git.io/v67NS
13:09:03 -GitHub[sites]:#nikola- nikola-users/master 203cc9c Chris Warrick: Add warning if e-mail fails (instead of HTTP 500)...
13:13:28 <ralsina> Who had done a thing to build a site using Travis? we should document that.
13:14:29 <ralsina> Ah, here http://johntfoster.github.io/posts/managing-a-professional-website.html#trigger
13:20:13 <ChrisWarrick> ralsina: this looks crazy
13:21:09 <ralsina> I never actually read it :-P
13:21:55 <ChrisWarrick> ralsina: I could write up something much simpler
13:22:08 <ralsina> ChrisWarrick: would be awesome, but I know you are busy
13:22:31 <ChrisWarrick> nah, not really
13:52:06 <x1101> using TravisCI to build a site seems needlessly complicated. 
13:59:30 <ChrisWarrick> x1101: the idea is, write stuff anywhere without installing Python and Nikola
13:59:49 <x1101> just git and vim (or some other heathe editor)?
14:00:04 <ChrisWarrick> github.com is enough
14:00:21 <x1101> I guess that also makes sense
14:00:50 <x1101> I fiddle with my site too much. Mostly because I'm still learning rst (and haven't bothered getting md working correctly)
14:01:05 <x1101> which means I like to look at it locally before I "deploy"
14:01:06 <ralsina> Since GH "supports markdown" it works reasonably as an IDE
14:01:32 <ralsina> Or.... http://prose.io/
14:02:54 <ralsina> That actually works pretty well as a frontend to a travis-built site!
14:05:47 <x1101> what I had been typing before you responded was (re: needless complication) "which means I don't yet understand the use case"
14:13:52 <ralsina> x1101: the bad part of static site generators is that they run on your computer
14:14:05 <ralsina> x1101: and if things could run in someone else's computer, it would be nice
14:14:38 <ralsina> x1101: for example, using prose.io + GH + travis there is nothing preventing you from creating a mobile "app" to post things to your site
14:18:08 -GitHub[site]:#nikola- [nikola-site] Kwpolska pushed 1 new commit to master: https://git.io/v65LG
14:18:08 -GitHub[site]:#nikola- nikola-site/master ca0c658 Chris Warrick: Remove bad advice about lxml on Macs...
14:50:47 -GitHub[nikola]:#nikola- [nikola] Kwpolska created github_deploy-no-timestamp (+1 new commit): https://git.io/v65sg
14:50:47 -GitHub[nikola]:#nikola- nikola/github_deploy-no-timestamp 6eb1eca Chris Warrick: Don’t store timestamp in github_deploy...
14:57:49 -GitHub[nikola]:#nikola- [nikola] Kwpolska pushed 1 new commit to master: https://git.io/v65Z8
14:57:49 -GitHub[nikola]:#nikola- nikola/master 2971a12 Chris Warrick: Reflect new GitHub Pages branching behavior...
15:01:26 -travis-ci:#nikola- getnikola/nikola#7489 (github_deploy-no-timestamp - 6eb1eca : Chris Warrick): The build passed.
15:01:27 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/commit/6eb1eca45ae5
15:01:27 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/154776111
15:11:36 -GitHub[nikola]:#nikola- [nikola] Kwpolska created murder-base-tag (+2 new commits): https://git.io/v65c5
15:11:36 -GitHub[nikola]:#nikola- nikola/murder-base-tag 6c25405 Chris Warrick: Ask users to enable GitHub Pages in deployment tutorial
15:11:36 -GitHub[nikola]:#nikola- nikola/murder-base-tag 2a9be29 Chris Warrick: Disable <base> tag by default
15:13:07 -GitHub[nikola]:#nikola- [nikola] Kwpolska pushed 1 new commit to murder-base-tag: https://git.io/v65CW
15:13:07 -GitHub[nikola]:#nikola- nikola/murder-base-tag 580317b Chris Warrick: Changelog for #2471
15:17:31 -travis-ci:#nikola- getnikola/nikola#7491 (master - 2971a12 : Chris Warrick): The build passed.
15:17:32 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/39e065fc908f...2971a126ebdf
15:17:32 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/154778505
15:20:41 -GitHub[nikola]:#nikola- [nikola] Kwpolska pushed 1 new commit to master: https://git.io/v65lU
15:20:41 -GitHub[nikola]:#nikola- nikola/master 8d52ca1 Chris Warrick: Custom domains are now configured on github.com
15:23:55 -travis-ci:#nikola- getnikola/nikola#7492 (murder-base-tag - 2a9be29 : Chris Warrick): The build failed.
15:23:56 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/6c2540512b73^...2a9be293d725
15:23:56 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/154783091
15:31:50 -travis-ci:#nikola- getnikola/nikola#7493 (master - 6c25405 : Chris Warrick): The build passed.
15:31:51 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/2971a126ebdf...6c2540512b73
15:31:51 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/154783117
15:34:19 -GitHub[nikola]:#nikola- [nikola] ralsina pushed 1 new commit to master: https://git.io/v65Br
15:34:19 -GitHub[nikola]:#nikola- nikola/master 1591e27 Chris Warrick: Disable <base> tag by default (#2471)...
15:35:33 -GitHub[nikola]:#nikola- [nikola] ralsina pushed 1 new commit to master: https://git.io/v65By
15:35:33 -GitHub[nikola]:#nikola- nikola/master e705bf9 Chris Warrick: Don’t store timestamp in github_deploy (#2470)...
15:36:07 <KwBot> [nikola] ralsina closed issue #2242: State saving on deploy breaks certain workflows https://github.com/getnikola/nikola/issues/2242
15:42:04 -travis-ci:#nikola- getnikola/nikola#7495 (murder-base-tag - 580317b : Chris Warrick): The build failed.
15:42:05 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/2a9be293d725...580317b4de28
15:42:05 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/154783567
15:49:22 -travis-ci:#nikola- getnikola/nikola#7497 (master - 8d52ca1 : Chris Warrick): The build passed.
15:49:23 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/6c2540512b73...8d52ca184f01
15:49:23 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/154785871
15:54:07 -travis-ci:#nikola- getnikola/nikola#7498 (master - 1591e27 : Chris Warrick): The build was broken.
15:54:08 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/8d52ca184f01...1591e275c141
15:54:08 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/154790489
15:55:58 <ralsina> ohhhh nikola under pypy is ~40% faster
15:56:13 <ralsina> OTOH, py2-only right now, and it core dumps on our site :-P
15:56:15 <ChrisWarrick> does it actually work?
15:56:33 <ralsina> ChrisWarrick: yep
15:56:54 <ralsina> ChrisWarrick: I just installed pypy in ubuntu, then created a venv using it and installed nikola[extras]
15:57:01 <ralsina> well, pypy and pypy-dev
15:57:27 <ralsina> "nikola help" takes 1 sec compared to 1.6
15:57:36 <ralsina> I think it mostly works
15:58:01 <ChrisWarrick> great
15:58:34 -travis-ci:#nikola- getnikola/nikola#7499 (master - e705bf9 : Chris Warrick): The build was broken.
15:58:35 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/1591e275c141...e705bf9ec4fa
15:58:35 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/154790830
16:05:26 <x1101> that's awesome!
16:20:51 <travis-ci> Wheelhouse build by Chris Warrick: The build passed. See https://travis-ci.org/getnikola/wheelhouse/builds/154803829.
16:22:33 -travis-ci:#nikola- Invariant build by Chris Warrick: The build passed. See https://travis-ci.org/getnikola/invariant-builds/builds/154804292.
16:24:09 <travis-ci> Wheelhouse build by Chris Warrick: The build passed. See https://travis-ci.org/getnikola/wheelhouse/builds/154804392.
16:24:52 -travis-ci:#nikola- getnikola/nikola#7499 (master - e705bf9 : Chris Warrick): The build passed.
16:24:53 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/1591e275c141...e705bf9ec4fa
16:24:53 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/154790830
17:52:05 <chronodekar> Finally! I got a dummy nikola site published on github pages via travisci !! 
17:52:19 <chronodekar> travis details = https://travis-ci.org/note2self-abrahamvarricatt/nikola-test/branches
17:52:28 <chronodekar> that took quite some time to debug/figure out.
17:52:43 <chronodekar> site itself = https://note2self-abrahamvarricatt.github.io/nikola-test/
17:53:03 <chronodekar> I think that's enough for the day. I'm going to bed.
17:53:13 <chronodekar> But it WORKS !!!!!! YESSS!!!!
17:53:26 * chronodekar skips to bed
17:55:32 <ChrisWarrick> chronodekar: I actually finished writing my own guide 20 minutes ago
17:56:56 <ChrisWarrick> chronodekar, ralsina: https://travis-ci.org/Kwpolska/ghpagestest https://kwpolska.github.io/ghpagestest/
17:57:14 <ralsina> awesome, both of you
17:57:38 <ralsina> ChrisWarrick: if you can put the basic skeleton as a GH repo people can fork and edit via something like prose.io, then we're golden
17:57:51 <ralsina> and it will work as an alternative to coil!
17:57:53 <ChrisWarrick> ralsina: how about a blog post on getnikola.com?
17:58:01 <ralsina> ChrisWarrick: would be awesome ^2
18:00:01 <ralsina> Then I will someday add the stuff to get staticman comments and voila :-)
18:10:30 <ralsina> Hell, we could set it up for getnikola.com even
18:27:43 <KwBot> [nikola] Kwpolska opened issue #2472: reST listings should also have source links https://github.com/getnikola/nikola/issues/2472
18:28:40 <KwBot> [nikola] Kwpolska opened issue #2473: Listings should always copy source files https://github.com/getnikola/nikola/issues/2473
18:28:40 <KwBot> [nikola] Kwpolska assigned issue #2473 to Kwpolska: Listings should always copy source files https://github.com/getnikola/nikola/issues/2473
18:35:28 <ChrisWarrick> ralsina, chronodekar: https://getnikola.com/blog/automating-nikola-rebuilds-with-travis-ci.html
18:36:15 -GitHub[site]:#nikola- [nikola-site] Kwpolska pushed 1 new commit to master: https://git.io/v65NV
18:36:15 -GitHub[site]:#nikola- nikola-site/master 1325251 Chris Warrick: Add guide on automated Travis CI rebuilds...
18:36:20 <ChrisWarrick> KwBot: rehash
18:36:20 <KwBot> ChrisWarrick: 8 tokens and 48 factoids loaded.
18:36:23 <ChrisWarrick> !travis
18:36:23 <KwBot> ChrisWarrick: Automating Nikola rebuilds with Travis CI: https://getnikola.com/blog/automating-nikola-rebuilds-with-travis-ci.html
18:36:40 <ralsina> ChrisWarrick: awesome!
18:39:09 <ralsina> It's so much easier to do it using gitlab :-P
18:39:23 <ralsina> damn github monoculture
18:40:23 <ChrisWarrick> ralsina: do they handle rebuilds for you?
18:40:31 <ralsina> ChrisWarrick: yep, let me dig the URL
18:40:54 <ralsina> https://gitlab.com/pages/nikola
18:41:00 <ChrisWarrick> ralsina: while you're at it, retweet @getnikola's tweet on the github thing
18:41:08 <ralsina> will do
18:42:49 <ralsina> done
18:43:22 <ChrisWarrick> great
18:44:15 <ralsina> ChrisWarrick: if I can get some more shit done this weekend, next week looks good for a release to me
18:44:20 <ralsina> I'll do this one
18:44:26 <ChrisWarrick> go ahead
18:44:49 <ralsina> I should also do a blog post about all the new data / shortcut stuff
18:45:04 <ralsina> with a nice all-the-way-through tutorial it will make much more sense :-)
18:45:16 -GitHub[nikola]:#nikola- [nikola] Kwpolska pushed 1 new commit to master: https://git.io/v65xW
18:45:16 -GitHub[nikola]:#nikola- nikola/master 248d271 Chris Warrick: Backport manual changes
18:45:26 -GitHub[site]:#nikola- [nikola-site] Kwpolska pushed 1 new commit to master: https://git.io/v65xl
18:45:26 -GitHub[site]:#nikola- nikola-site/master 16617a3 Chris Warrick: Add mention of GitLab Pages to manual...
18:54:14 -travis-ci:#nikola- getnikola/nikola#7500 (master - 248d271 : Chris Warrick): The build was broken.
18:54:15 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/e705bf9ec4fa...248d271620a4
18:54:15 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/154842732
19:06:01 -GitHub[nikola]:#nikola- [nikola] Kwpolska created fix-2473 (+1 new commit): https://git.io/v65jx
19:06:01 -GitHub[nikola]:#nikola- nikola/fix-2473 62410b0 Chris Warrick: Fix #2473 -- always copy source files for listings
19:08:00 <ChrisWarrick> (deleted Kwpolska/ghpagestest, it's pretty useless now)
19:11:32 -travis-ci:#nikola- getnikola/nikola#7501 (fix-2473 - 62410b0 : Chris Warrick): The build failed.
19:11:33 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/commit/62410b099eb7
19:11:33 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/154848173