Logs for #nikola for 2015-07-20

08:57:05 -GitHub[nikola]:#nikola- [nikola] Kwpolska pushed 1 new commit to master: http://git.io/vm5tN
08:57:05 -GitHub[nikola]:#nikola- nikola/master e5c0122 Chris Warrick: Clean up appveyor.yml...
09:01:30 -travis-ci:#nikola- getnikola/nikola#5789 (master - e5c0122 : Chris Warrick): The build passed.
09:01:31 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/ad32b464c370...e5c01226aa91
09:01:31 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/71732704
09:13:58 -GitHub[themes]:#nikola- [nikola-themes] Kwpolska pushed 3 new commits to master: http://git.io/vm5nd
09:13:58 -GitHub[themes]:#nikola- nikola-themes/master 45e614c Chris Warrick: make scripts/build_site.py compatible with py3k...
09:13:58 -GitHub[themes]:#nikola- nikola-themes/master d5bb104 Chris Warrick: make scripts/build_themes.py compatible with py3k...
09:13:58 -GitHub[themes]:#nikola- nikola-themes/master 2c05c1b Chris Warrick: update cadair and octopress...
13:13:19 -GitHub[site]:#nikola- [nikola-site] Kwpolska pushed 2 new commits to redesign: http://git.io/vmdiU
13:13:19 -GitHub[site]:#nikola- nikola-site/redesign 6f5bf2c Chris Warrick: tidy up html input...
13:13:19 -GitHub[site]:#nikola- nikola-site/redesign 059acbe Chris Warrick: Fix #24 -- add OS X install instructions...
13:14:35 <KwBot> [nikola] ralsina closed issue #1895: Getting the title from rest titles is broken. https://github.com/getnikola/nikola/issues/1895
13:14:49 -GitHub[nikola]:#nikola- [nikola] Kwpolska pushed 1 new commit to master: http://git.io/vmdiP
13:14:49 -GitHub[nikola]:#nikola- nikola/master 105446b Chris Warrick: Merge pull request #1897 from getnikola/mock-1.1.4...
13:18:46 -GitHub[nikola]:#nikola- [nikola] Kwpolska force-pushed requires-io-master from 3c5c9b2 to 94afa94: http://git.io/Sm_jqQ
13:18:46 -GitHub[nikola]:#nikola- nikola/requires-io-master 94afa94 Chris Warrick: mock==1.2.0...
13:22:55 -travis-ci:#nikola- getnikola/nikola#5791 (requires-io-master - 94afa94 : Chris Warrick): The build is still failing.
13:22:56 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/3c5c9b245267...94afa943cac5
13:22:57 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/71764412
13:47:55 <ChrisWarrick> Aeyoun: what is the best way, in your opinion, to implement search on a Nikola website? dynamic is fine as long as it’s relatively easy to set up (Python preferred, PHP discouraged, anytihing else — depends)
13:49:41 <Aeyoun> ChrisWarrick: I’ve used php and sqlite myself.
13:51:05 <Aeyoun> ChrisWarrick: the db is "static" in the sqlite db and is pre-build when I deploy. access it with php on the site.
13:51:13 <ChrisWarrick> that’s a no-go
13:51:51 <ChrisWarrick> fuck it, let’s try duckduckgo custom search
13:53:57 <Aeyoun> ChrisWarrick: that is a no-go. the duck's index is very old.
13:54:02 <ChrisWarrick> I just noticed
13:54:10 <Aeyoun> Months between indexes.
13:54:20 <ChrisWarrick> google custom search fairs slightly better
13:54:29 <ChrisWarrick> fares*
13:54:58 <Aeyoun> when sending pings (ping plugin) it's just a day or ten behind
13:55:05 <Aeyoun> without, it can be weeks.
13:55:43 <ChrisWarrick> I’m not pinging them every 15 minutes (it’s for the new website, for the irc logs part)
13:55:54 <ralsina> ChrisWarrick: why not localsearch?
13:56:14 <ChrisWarrick> ralsina: I really resent JS-only things
13:57:13 <ralsina> ChrisWarrick: you could use a tiny PHP thing that uses localsearch's generated JSON file for searching
13:57:59 <ChrisWarrick> I’ll try localsearch first
13:58:12 <ralsina> or just use something like sphinx (this one: http://sphinxsearch.com/ )
13:59:19 <Aeyoun> here is my custom spider, http://pastebin.com/YWWjwN5e
14:05:04 <Aeyoun> You could try, http://yacy.net/en/index.html
14:39:39 <ChrisWarrick> done with localsearch: https://irclogs.getnikola.com/search/
14:51:35 <ChrisWarrick> ralsina: that title thingy is really broken
14:52:09 <ralsina> ChrisWarrick: I would not mind killing it to be honest
14:52:18 <ralsina> except for the detail of perhaps breaking people's sites
14:52:51 <KwBot> [nikola] Kwpolska opened issue #1898: Recent title reading changes break normal builds https://github.com/getnikola/nikola/issues/1898
14:52:51 <KwBot> [nikola] Kwpolska assigned issue #1898 to ralsina: Recent title reading changes break normal builds https://github.com/getnikola/nikola/issues/1898
14:52:54 <ChrisWarrick> ralsina:14:53:46 <ralsina> ChrisWarrick: is that on nikola's site?
14:53:51 <ChrisWarrick> ralsina: yes
14:53:57 <ralsina> ok, checking
14:59:18 <ralsina> How the hell does it get index as slug?
15:00:02 <ChrisWarrick> ralsina: since you now ignore empty newlines, line 93
15:00:23 <ChrisWarrick> well, don’t break on empty lines*
15:00:26 <ralsina> ChrisWarrick: but there's a slug in the metadata
15:00:33 <ralsina> so it should read that one and stop
15:00:39 <ralsina> so it's a bug indeed
15:00:54 <ChrisWarrick> ralsina: it seems to look through the entire file just because someone might have a crazy title
15:01:12 <ralsina> ok, I think I know how to fix it
15:01:24 <ChrisWarrick> ralsina: I would limit title detection to one line after meta, or the first line
15:02:56 <ralsina> the problem is, the same function is parsing the metadata at the beginning of the file AND those cray titles
15:03:02 <ralsina> it's trying to do too much
15:04:00 <ralsina> I am sure I can fix it later today
15:10:53 -GitHub[site]:#nikola- [nikola-site] Kwpolska pushed 1 new commit to redesign: http://git.io/vmFa8
15:10:53 -GitHub[site]:#nikola- nikola-site/redesign 3b20af0 Chris Warrick: Add IRC logs to Support & Contact...
15:24:11 -GitHub[nikola]:#nikola- [nikola] ralsina created fix-1898 (+1 new commit): http://git.io/vmFiT
15:24:11 -GitHub[nikola]:#nikola- nikola/fix-1898 74f16c1 Roberto Alsina: fix #1898
15:24:34 -GitHub[nikola]:#nikola- [nikola] ralsina opened pull request #1899: fix #1898 (master...fix-1898) http://git.io/vmFi3
15:25:11 -GitHub[nikola]:#nikola- [nikola] Kwpolska deleted mock-1.1.4 at 72083ce: http://git.io/vmFiV
15:25:39 -GitHub[nikola]:#nikola- [nikola] Kwpolska deleted fix-1251 at 8608905: http://git.io/vmFih
15:32:36 -travis-ci:#nikola- getnikola/nikola#5793 (fix-1898 - 74f16c1 : Roberto Alsina): The build failed.
15:32:37 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/commit/74f16c1e0994
15:32:37 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/71786148
15:33:29 -GitHub[nikola]:#nikola- [nikola] ralsina pushed 1 new commit to fix-1898: http://git.io/vmFMa
15:33:29 -GitHub[nikola]:#nikola- nikola/fix-1898 94e695d Roberto Alsina: remove random debugging
15:36:03 <ralsina> bonus points: we have not been running the tests for metadata extraction since whenever things got switched to py.test
15:36:13 <ralsina> because they are doctests
15:45:54 -travis-ci:#nikola- getnikola/nikola#5795 (fix-1898 - 94e695d : Roberto Alsina): The build is still failing.
15:45:55 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/74f16c1e0994...94e695d79cb8
15:45:55 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/71788150
15:48:14 -GitHub[nikola]:#nikola- [nikola] ralsina pushed 1 new commit to fix-1898: http://git.io/vmF7h
15:48:14 -GitHub[nikola]:#nikola- nikola/fix-1898 378ae40 Roberto Alsina: run tests for metadata extraction again
15:55:45 -travis-ci:#nikola- getnikola/nikola#5797 (fix-1898 - 378ae40 : Roberto Alsina): The build is still failing.
15:55:46 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/94e695d79cb8...378ae40e7e08
15:55:46 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/71790627
16:12:40 <ChrisWarrick> ralsina: are you sure?
16:12:48 <ralsina> totally
16:13:00 <ralsina> added a 1 == 0 doctest in that function and it didn t fail
16:13:02 <ChrisWarrick> https://travis-ci.org/getnikola/nikola/jobs/71790639#L592
16:13:21 <ChrisWarrick> (and the command above)
16:13:23 <ralsina> ChrisWarrick: that's after I turned the doctest into a regular test
16:13:28 <ChrisWarrick> ??
16:13:43 <ChrisWarrick> look at line 591
16:14:27 <ralsina> I had added --doctest-modules in setup.py but that didn't work well
16:14:47 <ChrisWarrick> and we don’t use setup.py for running doctests; we run them on travis only
16:14:51 <ralsina> Ahhhh it's in .travis.yml
16:15:11 <ralsina> well, ok then we were running them, just not when I tried them locally I guess
16:16:13 <ChrisWarrick> https://gist.github.com/Kwpolska/de997c9ed7e1e694b239
16:16:31 <ChrisWarrick> or doit doctest
16:17:02 <ChrisWarrick> or doit test  if you want both
16:17:10 <ralsina> ayway
16:17:22 -GitHub[nikola]:#nikola- [nikola] ralsina pushed 1 new commit to fix-1898: http://git.io/vmbU9
16:17:22 -GitHub[nikola]:#nikola- nikola/fix-1898 f30002b Roberto Alsina: Make tests pass again
16:17:28 <ralsina> that branch seems  to be working ok now, that function is much more sane
16:18:28 <ralsina> no idea why it picked up a NB translation update tho
16:21:46 <ChrisWarrick> no idea either
16:22:29 -travis-ci:#nikola- getnikola/nikola#5799 (fix-1898 - f30002b : Roberto Alsina): The build was fixed.
16:22:30 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/378ae40e7e08...f30002b5bf42
16:22:30 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/71795450
16:25:10 <KwBot> [nikola] ralsina closed issue #1898: Recent title reading changes break normal builds https://github.com/getnikola/nikola/issues/1898
16:25:22 -GitHub[nikola]:#nikola- [nikola] Kwpolska pushed 1 new commit to master: http://git.io/vmbqt
16:25:22 -GitHub[nikola]:#nikola- nikola/master a28f129 Chris Warrick: try using test requirements with appveyor...
16:30:13 -travis-ci:#nikola- getnikola/nikola#5801 (master - a28f129 : Chris Warrick): The build passed.
16:30:14 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/105446b7b6c3...a28f1291c371
16:30:14 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/71796652
17:16:22 <KwBot> [nikola] Kwpolska opened issue #1900: ipynb listings https://github.com/getnikola/nikola/issues/1900
19:32:49 <superfly> Is there a way I can get Nikola to generate URLs without .html ?
19:33:42 <superfly> I'm replacing my Drupal-based site, and it's urls are all "/a/b/blog-post-here"
20:47:13 <ralsina> superfly: yes, check PRETTY_URLS in your conf.py
20:49:57 <superfly> ralsina: ah, thought I'd seen it somewhere, but couldn't find it this time. thanks
20:50:07 <ralsina> superfly: you're welcome!
20:50:17 <ralsina> superfly: it's the default for new sites now :-)
20:50:22 <superfly> ah
20:51:09 <superfly> ralsina: is there an accompanying .htaccess file? or is there a better way to get Apache to handle it?
20:51:24 <superfly> (of course, I could always write my own)
20:51:25 <ralsina> superfly: you don't need to configure apache at all
20:51:37 <ralsina> as long as it takes foo/index.html as foo/
20:51:45 <ralsina> which is apache's default
20:51:54 <superfly> ah
20:52:21 <superfly> that's not quite what I want. I'll do some jiggery pokery
20:59:01 <ralsina> superfly: well, it's one way to do it, which works without tweaking apache, which is why we do it that way ;-)
20:59:58 <superfly> ralsina: yep, I get it. Not a problem, I'm sure I can figure something out.
21:00:20 <ralsina> superfly: awesome, if you find a nice & different solution, please share!
21:00:27 <superfly> ralsina: will do