Logs for #nikola for 2015-09-21

12:12:23 -GitHub[nikola]:#nikola- [nikola] Aeyoun pushed 1 new commit to master: http://git.io/vn8on
12:12:23 -GitHub[nikola]:#nikola- nikola/master 402a62e Daniel Aleksandersen: minifyjson filter
12:17:16 -travis-ci:#nikola- getnikola/nikola#6448 (master - 402a62e : Daniel Aleksandersen): The build was broken.
12:17:17 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/47de6c451dc8...402a62eee125
12:17:17 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/81375730
12:29:12 <KwBot> [nikola] ralsina closed issue #2094: Thumbnails of SVGs are not scaled https://github.com/getnikola/nikola/issues/2094
12:29:23 -GitHub[nikola]:#nikola- [nikola] ralsina pushed 7 new commits to master: http://git.io/vn8XR
12:29:23 -GitHub[nikola]:#nikola- nikola/master 71171b6 Florian Finkernagel: Fix #2094 - scaling and colorbox of SVG thumbnails
12:29:23 -GitHub[nikola]:#nikola- nikola/master 09ac576 Florian Finkernagel: Fix #2094 - refinement
12:29:23 -GitHub[nikola]:#nikola- nikola/master 4afcab2 Florian Finkernagel: Fix #2094 - docstrings
12:29:59 <ralsina_> ChrisWarrick: a docker image, if it's not a lot of work, would be nice,specially if it came with coil
12:30:15 <ralsina_> ChrisWarrick: it would mean people can rollout to digitalocean in 30 seconds
12:34:45 -travis-ci:#nikola- getnikola/nikola#6449 (master - 6fd72bc : Roberto Alsina): The build is still failing.
12:34:46 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/402a62eee125...6fd72bc23cd7
12:34:46 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/81378443
12:48:23 -GitHub[site]:#nikola- [nikola-site] ralsina pushed 2 new commits to master: http://git.io/vn8Hn
12:48:23 -GitHub[site]:#nikola- nikola-site/master eb1c7ff Roberto Alsina: bug
12:48:23 -GitHub[site]:#nikola- nikola-site/master e8fdca5 Roberto Alsina: linked to latest tutorial from docs page
13:35:48 <ChrisWarrick> ralsina_: I’m not a Docker fan, but I’ll make the Nikola one by rbrewer123 official, then we can think about a coil one
13:36:09 <ralsina_> ChrisWarrick: awesome
14:50:34 <KwBot> [nikola] ralsina opened issue #2107: Think about generalization of taxonomies. https://github.com/getnikola/nikola/issues/2107
15:04:57 <teknico> ralsina_, interesting, I'd like to discuss tags, categories and sections a little
15:05:03 <teknico> however, that issue seems to be about implementation, so I'll write to the group about them instead
15:05:19 <ralsina_> teknico: categories are going out because noone understands what categories are supposed to be
15:05:41 <teknico> ralsina_, that's very good to hear :-)
15:05:44 <ralsina_> in the sense that every CMS has a concept of categories and they are all different,, yet all expect Nikola's to be  exactly like the  ones they know :-)
15:05:58 <teknico> I believe they're basically redundant with sections, which are better anyway
15:06:25 <ralsina_> plus, Aeyoun has done the good work of DEFINING what sections are :-)
15:06:36 <teknico> ralsina_, exactly :-)
15:06:44 -GitHub[site]:#nikola- [nikola-site] Kwpolska pushed 1 new commit to master: http://git.io/vn4Sz
15:06:44 -GitHub[site]:#nikola- nikola-site/master 03f13c2 Chris Warrick: Add link to Docker image...
15:06:48 <ralsina_> teknico: it's implementation, yes, but it also means that adding new "axis" to classify posts will become easier
15:06:54 <Aeyoun> Sections! Fuck yeah.
15:07:30 <teknico> Aeyoun, I actually need them, like right now, and was about to use categories, so thank you very much for them :-)
15:07:55 <Aeyoun> teknico: you’re welcome. Please share if you make something cool.
15:08:38 <teknico> Aeyoun, it's just my personal site, and sources are on bitbucket already, fwiw :-)
15:09:01 <Aeyoun> ralsina_: is there a way to flag a post so it doesn’t appear in an index? Or, I have a post or two I’d just like to appear in a section indexes and feeds but they’re not interesting enough for the front page.
15:09:08 <ralsina_> Aeyoun: draft?
15:09:20 <ralsina_> Aeyoun: oh... no.
15:09:36 <Aeyoun> ralsina_: well it’ not a draft. 
15:09:40 <ralsina_> looks like a missing feature
15:10:04 <Aeyoun> teknico: I got a big increase in page-views-per-visitors from the way I added sections to https://aeyoun.com
15:10:06 <ralsina_> should be ~5 lines to implement out of metadata
15:10:22 <Aeyoun> ralsina_: it’s like a page but it’s a post, and it’s not important enough for the front page.
15:10:49 <ralsina_> Aeyoun: "hide-from-global-index" or something better named as metadata, and an if? :-)
15:11:00 <Aeyoun> ralsina_: The front page is another example of something that’s poorly defined.
15:11:15 <ralsina_> well it's "everything that is a post"
15:11:20 <Aeyoun> I’m alternating between calling it the "main index" and the "front-page".
15:11:28 <teknico> Aeyoun, yes, I've been studying your site, it's more or less exactly what I want to do :-)
15:11:32 <Aeyoun> ralsina_: but I style my front page index different from all my other indexes.
15:11:41 <ralsina_> but yes, poor definition in the sense that some people don't even want it to be that, would prefer a page, and it's sort of a pain
15:11:51 <Aeyoun> teknico: cool. :)
15:11:52 <teknico> Aeyoun, but I could not locate sources for it (hint ;-) )
15:12:19 <Aeyoun> teknico: I’d loose my commit rights if anyone saw the hackjob that is my theme at the moment. :)
15:12:19 <ralsina_> Aeyoun: BTW, did you like the book template? I am inordinately proud I got that far with my sucky HTML skills :-D
15:12:37 <teknico> Aeyoun:, having a look at your conf.py would be useful
15:12:52 <teknico> oh, I wouldn't even look at the theme, I promise ;-)
15:13:01 <Aeyoun> ralsina_: I’ve not actually seen it. My email server  (and all my PCs) died over the weekend. Power surge.
15:13:09 <ralsina_> fun!
15:13:14 <Aeyoun> teknico: the theme is purge hack-job magic.
15:13:17 <Aeyoun> ralsina_: expensive.
15:13:33 <ralsina_> Aeyoun: power company doesn't pay surge damages? It does here
15:13:34 <Aeyoun> In this household with two geeks … very expensive.
15:13:40 <teknico> Aeyoun, oh wow, really?!? :-o
15:13:56 <ChrisWarrick> Aeyoun: do you have your e-mail server at home?
15:14:21 <Aeyoun> ChrisWarrick: yup. and my jabber server. calendar, contact, …
15:14:42 <teknico> Aeyoun, I sure hope you have good and recent backups
15:14:48 <ChrisWarrick> Aeyoun: that’s probably expensive
15:15:02 <Aeyoun> ralsina_: well, … not sure what happen. Everything just died. No one else in the building had any issues.
15:15:14 <ralsina_> :-(
15:15:34 <ralsina_> STOP PLAYING WITH THE EMP GUN
15:15:49 <teknico> I have surge filters all over the place, but no means to check how much they're still effective (outside of an actual incident)
15:16:02 <Aeyoun> teknico: I have laptops. Plural. Not all of them charge at the same time. Actually, none of them were damanged. Just … the two tower-PCs and one of the servers. a couple of switches.
15:16:05 <ralsina_> teknico: you should check them. They expire :-P
15:16:34 <teknico> ralsina_, yeah, they also are kind of one-use. But how do I check them?
15:16:51 * ralsina_ has like a mid-size of horrible electrical incidents from college early netwrking work
15:16:57 <ralsina_> teknico: they have expiration dates :-)
15:17:00 <Aeyoun> The PS4 and Xbox survived. The Wii U looks fine but it had forgot wifi passwords and settings. Must have kept them in some ram instead of on the drive.
15:17:07 <ralsina_> teknico: or buy one and blow one up :-)
15:18:00 <Aeyoun> Anyway. I was kind of hoping to observe if other’s would adopt some of the things I made on my own sites in terms of sections and navigation before committing time to include it in Nikola.
15:18:04 <ralsina_> like, do you know what happens when you have 250 meters of coaxial cable and ligthning hits a beach that is 50 meters away from one end of it?
15:18:06 <teknico> ralsina_, I was thinking more of a functional check with measuring equipment, you know :-P
15:18:15 <ralsina_> teknico: party pooper
15:18:59 <ralsina_> teknico: I suspect you need rather esoteric equipment to test those, no idea how to do it non-destructively
15:19:18 <teknico> ralsina_, yeah, that's my impression too
15:19:34 <teknico> Aeyoun, very gladly, how do I do that? :-)
15:19:58 <teknico> ralsina_, btw, categories are the only things with hierarchy, which IMO is not that useful for categories, but would be for tags
15:20:19 <teknico> any chance the hierarchy handling can be moved to tags?
15:20:54 <Aeyoun> teknico: ask about specifics and I’ll dig up what I did for you.
15:21:05 <ChrisWarrick> we should start by nuking the current tags/categories/authors/sections implementations and rewriting them from scratch, this time making them much simpler
15:21:32 <teknico> Aeyoun, do you mean just by looking at your site output? sections is what stood out, but I'll have another look
15:21:56 <ralsina_> teknico: well, that's a good reason to explore the refactoring. Are hierarchies good? If yes, let's make them a 1st class feature
15:22:30 <Aeyoun> teknico: the sections are made  automagically by outputting post in different folders in the top-level of your output/ folder.
15:23:05 <Aeyoun> https://www.irccloud.com/pastebin/HCAS26JI/
15:23:20 <teknico> Aeyoun, yeah, saw that comment about sections in conf.py 
15:23:48 <ChrisWarrick> teknico: I have a section implementation that’s similar to Aeyoun’s (but that uses meta tags instead, because Cool URIs Don’t Change).  https://chriswarrick.com/internet/ https://github.com/Kwpolska/chriswarrick.com
15:24:27 <Aeyoun> Redirects help.
15:25:15 <Aeyoun> ChrisWarrick: I’d rather say “Cool URIs don’t break over time.”
15:25:43 <ChrisWarrick> Aeyoun: I would need to litter my nginx config with all those redirects first
15:26:04 <Aeyoun> inclue includes/moved_posts.conf;
15:26:05 <teknico> ChrisWarrick, I like the section name being part of the URI, why should it make it change?
15:26:13 <Aeyoun> Spell it correctly, and it will even work.
15:26:25 <teknico> the post URI, that is
15:26:50 <ChrisWarrick> teknico: because I had /blog/ URLs in the past, and those are links that are distributed over the web
15:27:24 <teknico> ChrisWarrick, ah, so adopting sections to include existing posts, I see
15:28:12 <Aeyoun> if you don’t want to maintain redirects.
15:28:44 <Aeyoun> diff your sitemap.xml before and after moving posts, redirect from old to new locations. easy.
15:29:47 <Aeyoun> Or just leave all old posts where they are and put new posts into sections.
15:31:13 -GitHub[nikola]:#nikola- [nikola] Kwpolska pushed 1 new commit to master: http://git.io/vn4xt
15:31:13 -GitHub[nikola]:#nikola- nikola/master 4f654c9 Chris Warrick: Fix reST syntax in changelog...
15:33:28 -GitHub[site]:#nikola- [nikola-site] Kwpolska pushed 1 new commit to master: http://git.io/vn4xb
15:33:28 -GitHub[site]:#nikola- nikola-site/master 3f6721d Chris Warrick: Fix reST syntax in changelog...
15:33:38 <KwBot> [nikola-site] Kwpolska closed issue #32: Something broke in the site's menu https://github.com/getnikola/nikola-site/issues/32
15:33:51 -GitHub[nikola]:#nikola- [nikola] Kwpolska closed pull request #2103: Fix site menu (don’t escape HTML in navbar) (master...fix-site-menu) http://git.io/vnc8n
15:36:35 -travis-ci:#nikola- getnikola/nikola#6450 (master - 4f654c9 : Chris Warrick): The build is still failing.
15:36:36 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/6fd72bc23cd7...4f654c939631
15:36:36 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/81410255
15:36:41 <Aeyoun> ChrisWarrick ralsina_ : I’d like to move last* out from cache/ so that folder can be deleted and recreated safely. Where should I stick these files instead?
15:37:15 <Aeyoun> lastping, lastdeploy, last$pluginame
15:37:42 <Aeyoun> They’re states and not really “cache”.
15:38:19 <KwBot> [nikola] ralsina assigned issue #2106 to ralsina: output/assets/css/code.css is orphaned? https://github.com/getnikola/nikola/issues/2106
15:38:20 <ChrisWarrick> Aeyoun: there was an issue for this
15:38:40 <ChrisWarrick> Aeyoun: https://github.com/getnikola/nikola/issues/2009
15:39:25 -GitHub[site]:#nikola- [nikola-site] Kwpolska pushed 1 new commit to master: http://git.io/vn4jC
15:39:25 -GitHub[site]:#nikola- nikola-site/master 31bc4a5 Chris Warrick: Make path handlers list horizontal...
15:40:05 -GitHub[nikola]:#nikola- [nikola] Kwpolska pushed 2 new commits to master: http://git.io/vn4j6
15:40:05 -GitHub[nikola]:#nikola- nikola/master 0612e9b Chris Warrick: Print Unicode in rst2html...
15:40:05 -GitHub[nikola]:#nikola- nikola/master 0d7c0b0 Chris Warrick: Make path handlers list horizontal...
15:40:20 -travis-ci:#nikola- getnikola/nikola#6451 (master - d41be89 : Chris Warrick): The build is still failing.
15:40:21 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/4f654c939631...d41be895c048
15:40:21 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/81410833
15:40:27 <ralsina_> Aeyoun: lets implement the persistent state feature
15:40:51 <ralsina_> BTW: we totally broke some of our integration tests (probably was me!)
15:41:17 <ralsina_> because we dont raise SystemExit in the check plugin anymore and the tests were expecting it
15:41:22 <Aeyoun> ralsina_: I’ve gotten nowhere with #2106. It starts working as soon I try to debug it. When I stop debugging it stops working again.
15:41:41 <ralsina_> Aeyoun: I can reproduce it in the demo site, so I should be able to fix it
15:41:57 <Aeyoun> ralsina_: ah, great. thanks!
15:42:12 <Aeyoun> ChrisWarrick: that looks like it’s my problem, thanks.
15:44:07 -GitHub[nikola]:#nikola- [nikola] Kwpolska pushed 1 new commit to master: http://git.io/vnBvV
15:44:07 -GitHub[nikola]:#nikola- nikola/master 5ef0dba Chris Warrick: Document jsonminify...
15:45:30 <Aeyoun> Sorry, I forgot to push that I did add documentation to jsonminify.
15:46:17 -travis-ci:#nikola- getnikola/nikola#6452 (master - 0d7c0b0 : Chris Warrick): The build is still failing.
15:46:18 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/d41be895c048...0d7c0b045c4a
15:46:18 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/81411934
15:48:30 -travis-ci:#nikola- getnikola/nikola#6453 (master - 5ef0dba : Chris Warrick): The build was fixed.
15:48:31 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/0d7c0b045c4a...5ef0dba8bb6b
15:48:31 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/81412652
15:50:32 <ChrisWarrick> Aeyoun: the doscstring too?
15:52:02 <Aeyoun> ChrisWarrick: yeah, I forgot it, added it when I saw it broke, and then forgot to push.
15:52:18 <ChrisWarrick> Aeyoun: oh well, sorry.  nuke your commit and pull from master
15:55:52 <Aeyoun> Already nuked mine.
16:01:50 -GitHub[nikola]:#nikola- [nikola] ralsina created fix-2106 (+1 new commit): http://git.io/vnBq3
16:01:50 -GitHub[nikola]:#nikola- nikola/fix-2106 53401cf Roberto Alsina: Make failing tests fail
16:07:22 -travis-ci:#nikola- getnikola/nikola#6454 (fix-2106 - 53401cf : Roberto Alsina): The build failed.
16:07:23 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/commit/53401cfebf28
16:07:23 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/81415908
16:09:46 <Aeyoun> Success?
16:26:38 -GitHub[nikola]:#nikola- [nikola] ralsina pushed 2 new commits to fix-2106: http://git.io/vnBCp
16:26:38 -GitHub[nikola]:#nikola- nikola/fix-2106 b060fea Roberto Alsina: Merge branch 'master' into fix-2106
16:26:38 -GitHub[nikola]:#nikola- nikola/fix-2106 83f8c61 Roberto Alsina: fix #2106
16:27:11 -GitHub[nikola]:#nikola- [nikola] ralsina opened pull request #2108: Fix 2106 (master...fix-2106) http://git.io/vnBWt
16:29:48 -GitHub[nikola]:#nikola- [nikola] ralsina pushed 1 new commit to fix-2106: http://git.io/vnBlk
16:29:48 -GitHub[nikola]:#nikola- nikola/fix-2106 997b82b Roberto Alsina: typo
16:30:21 <KwBot> [nikola] ralsina closed issue #2106: output/assets/css/code.css is orphaned? https://github.com/getnikola/nikola/issues/2106
16:30:33 -GitHub[nikola]:#nikola- [nikola] ralsina pushed 1 new commit to master: http://git.io/vnBll
16:30:33 -GitHub[nikola]:#nikola- nikola/master e051a1d Roberto Alsina: Merge pull request #2108 from getnikola/fix-2106...
16:31:14 -travis-ci:#nikola- getnikola/nikola#6455 (fix-2106 - 83f8c61 : Roberto Alsina): The build was fixed.
16:31:15 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/53401cfebf28...83f8c6125bdb
16:31:15 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/81420457
16:31:45 -travis-ci:#nikola- getnikola/nikola#6457 (fix-2106 - 997b82b : Roberto Alsina): The build has errored.
16:31:46 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/83f8c6125bdb...997b82b97c9f
16:31:46 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/81420959
16:36:28 -travis-ci:#nikola- getnikola/nikola#6459 (master - e051a1d : Roberto Alsina): The build passed.
16:36:29 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/5ef0dba8bb6b...e051a1d15474
16:36:29 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/81421121
16:37:50 <Aeyoun> nikola build
16:37:50 <Aeyoun> Scanning posts................done!
16:37:50 <Aeyoun> .  copy_assets:output/assets/css/code.css
16:37:50 <Aeyoun> nikola build
16:37:50 <Aeyoun> Scanning posts................done!
16:37:50 <Aeyoun> .  copy_assets:output/assets/css/code.css
16:38:04 <Aeyoun> ralsina_: that’s with the latest master.
16:38:30 <ralsina_> Aeyoun: what I did was fix the orphans, not fix the repeated task :-)
16:38:45 <Aeyoun> Ah, I thought/hoped they were one and the same.
16:38:49 <ralsina_> So, maybe we need to reopen it
16:40:04 <Aeyoun> Randomly it also copies all assets  inherited from the base theme.
16:40:23 <Aeyoun> I just run nikola build; over and over again.
16:45:34 <ralsina_> Aeyoun: for that one I can' t really help yet because it doesn't happe in my sites
16:45:57 <ralsina_> Aeyoun: is your site versioned somewhere I can see?
16:46:17 <ralsina_> otherwise, could you dumpdb before/after a bogus build
16:46:19 <ralsina_> ?
16:47:46 <Aeyoun> the doit db, you mean?
16:51:21 <ralsina_> yes
16:51:36 <ralsina_> Aeyoun: nikola dumpdb
16:52:23 <Aeyoun> $ nikola dumpdb
16:52:23 <Aeyoun> DBM type is 'dbm.ndbm'
16:52:23 <Aeyoun> ERROR: ndbm does not support iteration of elements
16:53:37 <ralsina_> Aeyoun: latest dit claims to provide "cmd option to show the reason a task is not up-to-date"
16:53:43 <ralsina_> No idea how :-)
16:55:02 <ralsina_> Aeyoun: apparently nikola info -s TASK
16:55:16 <ralsina_> so, nikola info -s copy_assets:output/assets/css/code.css
16:56:20 <Aeyoun> $ nikola info -s copy_assets:output/assets/css/code.css
16:56:21 <Aeyoun> ERROR: Error parsing Command: option -s not recognized (parsing options: ['-s', 'copy_assets:output/assets/css/code.css'])
16:57:23 <Aeyoun> hang on, old version of doit.
16:58:25 <Aeyoun> $ nikola info -s copy_assets:output/assets/css/code.css
16:58:25 <Aeyoun> Scanning posts................done!
16:58:25 <Aeyoun> name:'copy_assets:output/assets/css/code.css'
16:58:25 <Aeyoun> targets:['output/assets/css/code.css']
16:58:25 <Aeyoun> Task is not up-to-date:
16:58:25 <Aeyoun>  * The following uptodate objects evaluate to false:
16:58:25 <Aeyoun>     - False (args=None, kwargs=None)
16:58:46 <Aeyoun> False is false. I’m glad we cleared that up.
16:59:00 <ralsina_> amazing
16:59:46 <ralsina_> So, there is something wrong in the uptodate for that file, which usually means I would figure it out by looking at the DB dump for it. But I can't see your DB dump :-)
17:00:27 <ralsina_> Aeyoun: you have a custom code.css in files/ ?
17:01:19 <Aeyoun> files/assets/css/:
17:01:19 <Aeyoun> article.css  error.css  figure.css  index.css  site.css  snippet.css  tag.css  tags.css
17:01:19 <Aeyoun> themes/fork/assets/css/:
17:01:19 <Aeyoun> rst.css  theme.css
17:02:18 <Aeyoun> ralsina_: I did have a themes/fork/assets/css/code.css at one point in time. After deleting that file, I started having these problems. Never had any of the other files, though.
17:02:42 <Aeyoun> I’ve deleted the .doit.db.db and cache/ to no avail.
17:03:13 <ralsina_> does dumpdb still give you the same error?
17:03:19 <Aeyoun> Deleted __pycache__ and output too.
17:03:56 <Aeyoun> ralsina_: yes, by design it seems. http://pydoit.org/api/doit.cmd_dumpdb-pysrc.html (line 50)
17:04:26 <ralsina_> you may be able to convince it to use a different DB
17:04:41 <Aeyoun> I had no idea I had a say in the matter. ;-)
17:04:56 <ralsina_> nikola --backend=something build
17:05:05 <ralsina_> I would suggest sqlite3 :-)
17:05:30 <ralsina_> once it is created you can not use that argument anymore
17:05:41 <ralsina_> and also, we should force it to sqlite3 ourselves
17:06:32 <Aeyoun> There are more tools to work with sqlite dbs, so that would be a good thing. GUI tools even.
17:07:15 <ralsina_> yep
17:07:43 <Aeyoun> Are you sure it’s --backend?
17:07:57 <ralsina_>   --backend=ARG             Select dependency file backend. [default: dbm]
17:07:57 <ralsina_>                             choices: dbm, json, sqlite3
17:08:08 <ralsina_> nikola help build says so :-)
17:08:14 <Aeyoun> oh, build --backend
17:08:30 <ralsina_> ah build --backend not --backend build sorry :-)
17:08:53 <Aeyoun> ralsina_: you’re so authoritative in all things Nikola that I don’t stop to question the things you say. :P
17:09:10 <Aeyoun> Maybe I’m crazy here, but that was much faster than normal.
17:09:10 <ralsina_> oh boy are you in for a rude awakening :-)
17:09:30 <ralsina_> dbm is stupid as a default, if I may channel Chris :-)
17:10:28 <Aeyoun> How do I change the default?
17:11:39 <Aeyoun> I have to specify --backend on every build now, and dumpdb doesn’t support that argument and chocks when it doesn’t find the expected db format.
17:13:02 <ralsina_> Aeyoun: ok, so we'll have to code that in... it's a scary change because it will force users to rebuild from scratch and we may not be able to offer guidance :-P
17:13:23 <ralsina_> looks like we're screwed then and/or need to go beg schettino
17:14:59 <ralsina_> Aeyoun: do you have CODE_COLOR_SCHEME set
17:15:00 <ralsina_> ?
17:15:29 <Aeyoun> $ time nikola build --backend=sqlite3
17:15:29 <Aeyoun> real	0m42.293s
17:15:29 <Aeyoun> user	1m1.596s
17:15:29 <Aeyoun> sys	    0m1.364s
17:15:29 <Aeyoun> $ time nikola build
17:15:29 <Aeyoun> real	0m51.697s
17:15:29 <Aeyoun> user	1m48.444s
17:15:30 <Aeyoun> sys	    0m2.528s
17:15:54 <ralsina_> that's a large difference!
17:15:55 <Aeyoun> ralsina_: no
17:16:04 <ralsina_> I have no clue :-(
17:16:44 <Aeyoun> Surprised it would have such a difference.
17:20:51 <ralsina_> does info -s give the same result with sqlite?
17:22:25 <Aeyoun> ralsina_: exactly the same.
17:23:00 <Aeyoun> Trying to get dumpdb to work with --backend now.
17:25:08 <Aeyoun> cmd_dbdump.py: DBM type is ''
17:26:13 <Aeyoun> Yeah, this is not tested at all. There s no way any of this could work.
17:31:20 <Aeyoun> {"deps:": [], "checker:": "MD5Checker", "_values_:": {"_config_changed:nikola.plugins.task.copy_assets": "5add0c0754c2b5c8452c422d4e27bdc7"}}
17:32:02 <Aeyoun> {"checker:": "MD5Checker", "deps:": [], "_values_:": {"_config_changed:nikola.plugins.task.copy_assets": "5add0c0754c2b5c8452c422d4e27bdc7"}}
17:32:10 <Aeyoun> ralsina_: first and second run
17:32:18 <ralsina_> that surely looks alike to each other :-P
17:32:30 <Aeyoun> unsorted?
17:32:58 <ralsina_> hmmm but then it would fail for everyone
17:33:01 <Aeyoun> the other copy_assets are all sorted.
17:33:05 <ralsina_> and on every task
17:33:13 <ralsina_> no idea yet :-P
17:33:22 <ralsina_> Have to go on an errand will be back in a bit
17:33:25 <Aeyoun> {"_values_:": {"_config_changed:nikola.plugins.task.copy_assets": "5add0c0754c2b5c8452c422d4e27bdc7"}, "checker:": "MD5Checker", "themes/fork/assets/css/rst.css": [1425219109.0, 0, "d41d8cd98f00b204e9800998ecf8427e"], "deps:": ["themes/fork/assets/css/rst.css"]}
17:33:53 <Aeyoun> code.css is the  only one with an empty deps list, I see.
17:34:43 <ralsina_> ahhh so maybe that doesn't like empty deps?
17:34:58 <Aeyoun> [] == False, right?
17:35:02 <ralsina_> it's empty because it's generated from scratch... you could add /etc/passwd as dep to see what happens
17:35:16 <ralsina_> well it´ s not ==  but it is false-ish
17:35:45 <ralsina_> We could add conf.py for things that have no file_deps if that's the problem
17:36:31 <Aeyoun> no, finding other tasks with no deps now.
17:55:32 <ChrisWarrick> Aeyoun: if not []:  executes; if [] == False:  does not.
18:14:28 <SteveDrees> [] can't ever be false
18:15:29 <SteveDrees> it is empty, not false.
18:45:37 <ralsina_> Crazy idea, lets stop having plugins and themes and lets have packages
18:46:59 <Aeyoun> ralsina_: why is that crazy?
18:47:18 <ralsina_> because it's probably very backwards-incompatible
18:47:27 <ralsina_> and we'll end up reimplementing apt
18:47:43 <ralsina_> I like to think ideas that just pop up are crazy by default
18:47:53 <ralsina_> then, if we can hack them into sanity... cool.
19:04:15 <ChrisWarrick> ralsina_: it’s not really that hard
19:04:39 <ralsina_> ChrisWarrick: it would also provide a more reasonable CLI I suspect
19:04:42 <ChrisWarrick> ralsina_: we could make a single installer thing by querying both files at once
19:05:00 <ChrisWarrick> ralsina_: or by generating a file that contains both themes and plugins if you want to save a http request
19:05:22 <ralsina_> I am not even sure it's worth doing, since current solution "works"
19:05:32 <ChrisWarrick> ralsina_: then again, we should sanitize the indexes first by nuking the client-side JS garbage
19:05:56 * ralsina_ hugs the JS garbage
19:06:27 * ChrisWarrick does not understand most of it
19:06:44 <ralsina_> I probably don't understand it either, TBH
19:08:09 <ralsina_> I don't read JS, I just write it.
19:21:48 <ChrisWarrick> hah
20:26:02 <KwBot> [nikola] felixfontein opened issue #2109: Possible bug in `get_asset_path`? https://github.com/getnikola/nikola/issues/2109
22:00:32 <Aeyoun> Woho. Premiere tickets to The Martian. ^___^