Logs for #nikola for 2017-02-17

02:23:43 <chronodekar> I've been spending the past few days porting over a wordpress theme into Nikola
02:23:51 <chronodekar> it's reached the point Ithink I can show off -
02:23:57 <chronodekar> https://note2self.abraham-v.com/libretto-theme-for-nikola/
02:24:05 <chronodekar> that's my demo site.
02:24:11 <chronodekar> the theme sources are here,
02:24:20 <chronodekar> https://github.com/note2self-abrahamvarricatt/libretto-theme-for-nikola
02:24:26 <chronodekar> hope you like it!
02:24:48 <chronodekar> My next step is to get into included among the other Nikola themes
02:24:52 <chronodekar> help?
03:19:15 <chronodekar> ah, just found this - https://github.com/getnikola/nikola-themes
03:32:23 <chronodekar> dammit, having trouble with the tests
03:32:40 <chronodekar> sigh. Think I'll just sleep and deal with it tomorrow
08:47:00 <amokleben> chronodekar: theme looks very nice and is surprisingly lean on bandwith
08:47:18 <amokleben> chronodekar: If you can tell us what your trouble is with the tests we may can sort it out
08:48:55 <ChrisWarrick> chronodekar: what tests are you even running?
08:49:23 <ChrisWarrick> chronodekar: scripts/test_themes.py? It’s “INTERNAL USE ONLY” and even we don’t touch that
08:50:34 <amokleben> ChrisWarrick: the Readme of the themes repo states "Run scripts/test_themes.py foo and see if it complains of anything"
08:50:41 <amokleben> ChrisWarrick: maybe this should be removed then.
08:51:07 <ChrisWarrick> it would be useful to know what the complaints are
08:56:55 <ChrisWarrick> right now, the script is incompatible with modern Nikola versions
12:42:56 <chronodekar> G'morning!
12:43:28 <chronodekar> wait .. INTERNAL USE ONLY? That ... wasn't the impression I got when viewing that repo
12:43:44 <chronodekar> about my error - yes, I was attempting to run that script
12:44:10 <chronodekar> at first, it complained about the nikola package missing - so I decided to setup a virtualenv
12:46:51 <chronodekar> doing 'pip install "Nikola[extras]"' on a fresh virtualenv results in an error about 'doit'
12:48:59 <chronodekar> here's a snippet of my output,
12:49:01 <chronodekar> http://pastebin.com/C5im2CDi
12:49:49 <chronodekar> My OS is Ubuntu 16.04 LTS 64bit
12:51:46 <chronodekar> as for my theme, I think I'll update my README and make a pull request to that repo anyway. 
13:21:29 <FreeDog> hi everyone
13:24:16 <FreeDog> simple, is it posible to write a post dated diferent as the current?
13:33:18 <FreeDog> I had writed few text on local (plain text, not nikola) and want to blog them as if I was posted it in that date, does it make any sense? or I should post them with the current date and reference them to the date were wrote on the text post?
13:34:53 <[Tritium]> You can set the date to anything you like, and even set nikola not to generate dates posted in the future if you so desire
13:35:45 <[Tritium]> well, you cant set the date to befor january 1, the year 1
13:35:52 <[Tritium]> python doesnt support that >.>
13:35:59 <FreeDog> lol
13:36:27 <[Tritium]> and you cant have a post older than december 31, 9999
13:36:35 <[Tritium]> s/older/newer/
13:39:39 <FreeDog> And it shoul be done with new_post --date-path command? or changing the data on post metadata
13:44:25 <KwBot> [nikola] laodzu opened issue #2672: Thumbnails for files in IMAGE_FOLDERS are not generated https://github.com/getnikola/nikola/issues/2672
13:44:26 <ralsina> FreeDog: you can just change the date
13:47:49 <KwBot> [nikola] Kwpolska closed issue #2672: Thumbnails for files in IMAGE_FOLDERS are not generated https://github.com/getnikola/nikola/issues/2672
13:48:52 <FreeDog> thanks
13:52:09 <FreeDog> As soon as I upload the site I share with you guys, good job with nikola, I really like it
13:53:35 -GitHub[themes]:#nikola- [nikola-themes] abrahamvarricatt opened pull request #97: Libretto theme (master...libretto-theme) https://git.io/vDH08
13:54:07 <chronodekar> And I just created ... oh! There's a message in here about it already.
13:54:21 <chronodekar> Didn't realize the themes repo was being reported too. 
13:54:34 <chronodekar> Hope I've formatted things correctly?
13:54:35 <[Tritium]> I think all the repos are reported
13:58:18 -GitHub[themes]:#nikola- [nikola-themes] ralsina closed pull request #97: Libretto theme (master...libretto-theme) https://git.io/vDH08
14:02:48 <chronodekar> That got merged fast!
14:02:56 <chronodekar> I'm feeling rather thrilled now. :)
14:04:52 <chronodekar> ralsina and ChrisWarrick : Thanks for accepting it! I'll work on adding a tags page next.
14:06:48 -GitHub[themes]:#nikola- [nikola-themes] Kwpolska pushed 1 new commit to master: https://git.io/vDHud
14:06:48 -GitHub[themes]:#nikola- nikola-themes/master bc49253 Chris Warrick: Delete empty files in libretto...
14:24:38 <ralsina> chronodekar: hey, themes are easy to merge, they have no conflicts, and everyone can check out the WIP in any theme :-)
14:24:52 <ralsina> chronodekar: it's usually a good idea to inherit base, tho, it makes new themes much less work
14:41:14 <chronodekar> ralsina: the bundles feature of Nikola - does it do minification too ?
15:34:40 <ChrisWarrick> chronodekar: no
15:34:57 <chronodekar> darn..
16:30:30 -GitHub[nikola]:#nikola- [nikola] Kwpolska created contributing (+1 new commit): https://git.io/vDHdY
16:30:30 -GitHub[nikola]:#nikola- nikola/contributing 232ae69 Chris Warrick: Update CONTRIBUTING.rst, add issue and PR templates...
16:32:33 -GitHub[nikola]:#nikola- [nikola] Kwpolska force-pushed contributing from 232ae69 to 20512a8: https://git.io/vDHdK
16:32:33 -GitHub[nikola]:#nikola- nikola/contributing 20512a8 Chris Warrick: Update CONTRIBUTING.rst, add issue and PR templates...
16:35:34 -GitHub[nikola]:#nikola- [nikola] Kwpolska force-pushed contributing from 20512a8 to de4f30b: https://git.io/vDHdK
16:35:34 -GitHub[nikola]:#nikola- nikola/contributing de4f30b Chris Warrick: Update CONTRIBUTING.rst, add issue and PR templates...
16:36:16 -travis-ci:#nikola- getnikola/nikola#8364 (contributing - 232ae69 : Chris Warrick): The build has errored.
16:36:17 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/commit/232ae69b352e
16:36:17 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/202682418
16:37:55 -travis-ci:#nikola- getnikola/nikola#8365 (contributing - 20512a8 : Chris Warrick): The build has errored.
16:37:56 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/232ae69b352e...20512a8b13b2
16:37:56 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/202683096
16:39:49 <KwBot> [nikola] Kwpolska reopened issue #2672: Thumbnails for files in IMAGE_FOLDERS are not generated https://github.com/getnikola/nikola/issues/2672
16:43:03 -GitHub[nikola]:#nikola- [nikola] Kwpolska force-pushed contributing from de4f30b to 367e044: https://git.io/vDHdK
16:43:03 -GitHub[nikola]:#nikola- nikola/contributing 367e044 Chris Warrick: Update CONTRIBUTING.rst, add issue and PR templates...
16:43:07 -travis-ci:#nikola- getnikola/nikola#8366 (contributing - de4f30b : Chris Warrick): The build passed.
16:43:08 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/20512a8b13b2...de4f30b49e31
16:43:08 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/202684226
16:44:12 -GitHub[nikola]:#nikola- [nikola] Kwpolska force-pushed contributing from 367e044 to 8dd13e3: https://git.io/vDHdK
16:44:12 -GitHub[nikola]:#nikola- nikola/contributing 8dd13e3 Chris Warrick: Update CONTRIBUTING.rst, add issue and PR templates...
16:51:25 -travis-ci:#nikola- getnikola/nikola#8368 (contributing - 8dd13e3 : Chris Warrick): The build passed.
16:51:26 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/367e0449c79e...8dd13e36aff6
16:51:26 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/202687171
17:49:31 <KwBot> [nikola] laodzu closed issue #2672: Thumbnails for files in IMAGE_FOLDERS are not generated https://github.com/getnikola/nikola/issues/2672
19:19:06 -GitHub[themes]:#nikola- [nikola-themes] abrahamvarricatt opened pull request #98: Tag support for Libretto (master...libretto-tag-update) https://git.io/vDQnh
19:20:18 <chronodekar> Took some effort to get tags coming below the pages in a little box.
19:20:24 <chronodekar> here is how it looks like,
19:20:25 <chronodekar> https://note2self.abraham-v.com/libretto-theme-for-nikola/posts/0013-towers-of-midnight.html
19:20:31 <chronodekar> should work on mobile too :)
19:25:31 <chronodekar> how long does it take for a theme to update on https://themes.getnikola.com/    ?
19:25:54 <ChrisWarrick> chronodekar:19:25:56 * chronodekar wants to showoff to friends
19:26:01 <chronodekar> darn....
19:26:19 <ChrisWarrick> chronodekar: it requires human intervention
19:26:35 <chronodekar> ChrisWarrick: ouch! I didn't realize that.
19:26:50 <chronodekar> thought there might be some automated script for it
19:26:56 <ChrisWarrick> not yet
19:27:19 <chronodekar> can I help to build something?
19:27:41 <ChrisWarrick> chronodekar: Do you speak Node?
19:28:06 <chronodekar> Nodejs ? I've used it on a few personal projects on my system.
19:28:38 <chronodekar> you use webpack or gulp to manage the deploys?
19:29:14 <ChrisWarrick> chronodekar: no, but we could use someone who can write/deploy a small screenshot tool with phantom.js
19:29:41 <chronodekar> ChrisWarrick: I'd like to try my hand at that. 
19:29:41 <ChrisWarrick> webkit2png goes crazy on a Retina Mac, and our PyQt4 script segfaults
19:31:24 <chronodekar> ChrisWarrick: I'm assuming that you have some system to build different demo sites from the themes repo. 
19:31:38 <ChrisWarrick> chronodekar: scripts/build_themes.py
19:31:46 <chronodekar> ChrisWarrick:  then, what you need the screenshot tool, is to open up the index.html on each and take the shots?
19:31:50 <ChrisWarrick> yes
19:32:36 <chronodekar> ChrisWarrick: let me explore this a bit. 
19:33:37 <ChrisWarrick> chronodekar: https://themes.getnikola.com/#libretto might or might not work
19:34:14 <chronodekar> ChrisWarrick: I'll keep an eye on that link. Thanks!
19:35:00 <ChrisWarrick> that site is a monstrosity
19:35:25 <chronodekar> the themes site?
19:35:28 <ChrisWarrick> yes
19:35:41 <chronodekar> do you build it with the script you mentioned?
19:35:46 <chronodekar> that build_themes.py ?
19:35:52 <ChrisWarrick> Yes. And then it’s client-side javascript.
19:36:08 <ChrisWarrick> Client-side Spaghetti JavaScript, to be precise. Which is as bad as it sounds.
19:38:41 <chronodekar> ChrisWarrick: after the themes are built, who builds the index.html for themes.getnikola.com ? I don't see any source in the themes repo
19:38:56 <ChrisWarrick> chronodekar: don’t worry about that
19:39:26 <ChrisWarrick> chronodekar: scripts/build_site.py builds a JS file with all theme data, output/index.html never changes
19:39:50 <ChrisWarrick> https://themes.getnikola.com/#libretto now works, I had to press the nuclear button on cloudflare
19:40:30 <chronodekar> oh. So it wasn't exactly a Nikola site to begin with! Just updating sources for the JS
19:41:33 <chronodekar> ChrisWarrick: Looks nice. Thanks for taking that live. :)
19:41:39 -GitHub[themes]:#nikola- [nikola-themes] Kwpolska pushed 2 new commits to master: https://git.io/vDQlW
19:41:39 -GitHub[themes]:#nikola- nikola-themes/master b23bef8 Chris Warrick: Remove useless gen_site.py...
19:41:39 -GitHub[themes]:#nikola- nikola-themes/master 6f375e8 Chris Warrick: Add base-jinja as parent to libretto...
19:41:40 * chronodekar can showoff now
19:41:41 <ChrisWarrick> making it a Nikola site is on our issue list, I might get to it soon
19:42:23 <ChrisWarrick> chronodekar: also, I made some small patches: I removed the empty bundles file, and added base-jinja as parent, which is mandatory.
19:42:43 <chronodekar> ChrisWarrick: I updated the theme a bit back with those changes
19:42:54 <chronodekar> though I used 'base' instead of 'base-jinja'
19:42:59 <ChrisWarrick> chronodekar: you have to use base-jinja
19:43:37 <chronodekar> ChrisWarrick: gimme a bit I'll make that change.
19:43:50 <ChrisWarrick> I did that already
19:43:56 -GitHub[themes]:#nikola- [nikola-themes] Kwpolska pushed 3 new commits to master: https://git.io/vDQlr
19:43:56 -GitHub[themes]:#nikola- nikola-themes/master 2f2d756 AbrahamV: Tag support for Libretto...
19:43:56 -GitHub[themes]:#nikola- nikola-themes/master d14ed54 Chris Warrick: Merge branch 'master' into libretto-tag-update
19:43:56 -GitHub[themes]:#nikola- nikola-themes/master a8c9e6d Chris Warrick: Merge pull request #98 from abrahamvarricatt/libretto-tag-update...
19:43:56 <chronodekar> :) Thanks!
19:44:03 <ChrisWarrick> GitHub’s merge resolution thing is pretty nice
19:44:41 <ChrisWarrick> chronodekar: you based that off a WordPress theme, right?
19:44:51 <chronodekar> ChrisWarrick: yes.
19:45:02 <chronodekar> Though, I had to rework a lot of the CSS
19:45:24 <ChrisWarrick> and it’s linked in README, that’s fine
19:45:49 <chronodekar> yeah, I don't mean to claim that as my own design
19:46:47 <ChrisWarrick> pushed update
19:48:14 <chronodekar> ChrisWarrick: Thanks!