Logs for #nikola for 2015-09-08

00:39:48 -GitHub[plugins]:#nikola- [plugins] jjconti pushed 1 new commit to master: http://git.io/vZtcw
00:39:48 -GitHub[plugins]:#nikola- plugins/master 2b0afe5 Juanjo Conti: Fix Copyright year
00:40:55 -travis-ci:#nikola- [PLUGINS] getnikola/plugins#775 (master - 2b0afe5 : Juanjo Conti): The build is still failing.
00:40:56 -travis-ci:#nikola- [PLUGINS] Change view: https://github.com/getnikola/plugins/compare/a00216a74046...2b0afe59dd3f
00:40:56 -travis-ci:#nikola- [PLUGINS] Build details: https://travis-ci.org/getnikola/plugins/builds/79205302
00:47:12 -GitHub[plugins]:#nikola- [plugins] jjconti created import_twitpic (+1 new commit): http://git.io/vZtCQ
00:47:12 -GitHub[plugins]:#nikola- plugins/import_twitpic 2939228 Juanjo Conti: Add 0.1 version of import_twitpic
00:47:40 -GitHub[plugins]:#nikola- [plugins] jjconti opened pull request #110: Add 0.1 version of import_twitpic (master...import_twitpic) http://git.io/vZtCj
00:48:10 -travis-ci:#nikola- [PLUGINS] getnikola/plugins#776 (import_twitpic - 2939228 : Juanjo Conti): The build failed.
00:48:11 -travis-ci:#nikola- [PLUGINS] Change view: https://github.com/getnikola/plugins/commit/29392283e40e
00:48:11 -travis-ci:#nikola- [PLUGINS] Build details: https://travis-ci.org/getnikola/plugins/builds/79205764
00:53:40 -GitHub[plugins]:#nikola- [plugins] jjconti pushed 1 new commit to import_twitpic: http://git.io/vZtlf
00:53:40 -GitHub[plugins]:#nikola- plugins/import_twitpic 32288ee Juanjo Conti: Fix style
00:55:03 -travis-ci:#nikola- [PLUGINS] getnikola/plugins#778 (import_twitpic - 32288ee : Juanjo Conti): The build is still failing.
00:55:04 -travis-ci:#nikola- [PLUGINS] Change view: https://github.com/getnikola/plugins/compare/29392283e40e...32288ee60ab6
00:55:04 -travis-ci:#nikola- [PLUGINS] Build details: https://travis-ci.org/getnikola/plugins/builds/79206264
01:33:36 -GitHub[plugins]:#nikola- [plugins] jjconti pushed 1 new commit to import_twitpic: http://git.io/vZt0v
01:33:36 -GitHub[plugins]:#nikola- plugins/import_twitpic dd831bb Juanjo Conti: Fix style
01:34:45 -travis-ci:#nikola- [PLUGINS] getnikola/plugins#780 (import_twitpic - dd831bb : Juanjo Conti): The build was fixed.
01:34:46 -travis-ci:#nikola- [PLUGINS] Change view: https://github.com/getnikola/plugins/compare/32288ee60ab6...dd831bbe158a
01:34:46 -travis-ci:#nikola- [PLUGINS] Build details: https://travis-ci.org/getnikola/plugins/builds/79209411
01:42:25 -GitHub[plugins]:#nikola- [plugins] jjconti closed pull request #110: Add 0.1 version of import_twitpic (master...import_twitpic) http://git.io/vZtCj
01:43:30 -travis-ci:#nikola- [PLUGINS] getnikola/plugins#782 (master - 6b3ba10 : Juan José Conti): The build was fixed.
01:43:31 -travis-ci:#nikola- [PLUGINS] Change view: https://github.com/getnikola/plugins/compare/2b0afe59dd3f...6b3ba1094b7f
01:43:31 -travis-ci:#nikola- [PLUGINS] Build details: https://travis-ci.org/getnikola/plugins/builds/79210031
05:19:50 -GitHub[nikola]:#nikola- [nikola] felixfontein created add-locale-handlers (+2 new commits): http://git.io/vZtAv
05:19:51 -GitHub[nikola]:#nikola- nikola/add-locale-handlers cca4187 Felix Fontein: Moved formatted_date into the LocaleBorg.
05:19:51 -GitHub[nikola]:#nikola- nikola/add-locale-handlers 2ba6025 Felix Fontein: Added handlers facility.
05:21:00 -GitHub[nikola]:#nikola- [nikola] felixfontein opened pull request #2036: WIP: Add locale handlers for month names and formatted dates. (master...add-locale-handlers) http://git.io/vZtAL
05:24:56 -travis-ci:#nikola- getnikola/nikola#6260 (add-locale-handlers - 2ba6025 : Felix Fontein): The build failed.
05:24:57 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/cca4187cefb9^...2ba6025b04ad
05:24:57 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/79226212
06:06:02 -GitHub[nikola]:#nikola- [nikola] felixfontein pushed 1 new commit to add-locale-handlers: http://git.io/vZqeL
06:06:02 -GitHub[nikola]:#nikola- nikola/add-locale-handlers da5f350 Felix Fontein: Added docstring.
06:15:51 -travis-ci:#nikola- getnikola/nikola#6263 (add-locale-handlers - da5f350 : Felix Fontein): The build was fixed.
06:15:52 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/2ba6025b04ad...da5f3501d699
06:15:52 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/79229360
11:38:50 <juanjo> ChrisWarrick: last night i added a plugin to https://plugins.getnikola.com/
11:39:08 <juanjo> seems it was before UTC midnight
11:39:14 <juanjo> can you regenerate the site?
12:33:52 <ralsina> juanjo: I got it, 1 minute
12:36:06 <ralsina> juanjo: was it import_twitpic? Updated and it appears to be there now ;-)
12:52:39 <juanjo> thanks
13:02:51 <juanjo> rst question
13:02:56 <juanjo> i have a list of items
13:03:10 <juanjo> if an item is too long and i want to have 79 columns files
13:03:20 <juanjo> how do I cut the line to the next line?
13:03:28 <ralsina> but inside the item?
13:03:41 <ralsina> break the line, indent 3 spaces
13:03:52 <ralsina> like this:
13:03:59 <ralsina> * This is the first line
13:04:06 <ralsina>    this is the rest of the item
13:04:16 <ralsina> Sort of WYSIWYG :-)
13:04:32 <juanjo> great
14:33:18 -GitHub[nikola]:#nikola- [nikola] Aeyoun created encodelinks (+1 new commit): http://git.io/vZYTy
14:33:18 -GitHub[nikola]:#nikola- nikola/encodelinks 33db32f Daniel Aleksandersen: Use encoelink() everywhere
14:39:09 -travis-ci:#nikola- getnikola/nikola#6264 (encodelinks - 33db32f : Daniel Aleksandersen): The build failed.
14:39:10 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/commit/33db32fc95ea
14:39:10 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/79297610
14:40:40 -GitHub[nikola]:#nikola- [nikola] Aeyoun opened pull request #2037: Use encodelink() everywhere (master...encodelinks) http://git.io/vZYLm
14:43:47 <juanjo> Duplicate explicit target name:
14:43:58 <juanjo> why you cant have 2 explicit links with the same name?
14:44:14 <ralsina> juanjo: because that means foo.html#whatever is ambiguous
14:44:37 <juanjo> thats a rst thing or nikola?
14:44:41 <ralsina> rst
14:44:43 <juanjo> whatever_n
14:44:45 <juanjo> ?
14:44:48 <ralsina> or use __
14:44:57 <ralsina> that way it doesn t create the target and it works
14:45:05 -GitHub[nikola]:#nikola- [nikola] Aeyoun pushed 1 new commit to encodelinks: http://git.io/vZYqI
14:45:05 -GitHub[nikola]:#nikola- nikola/encodelinks e4189f5 Daniel Aleksandersen: Oops.
14:47:15 <ralsina> juanjo: http://docutils.sourceforge.net/docs/user/rst/quickref.html#hyperlink-targets
14:47:23 <ralsina> links in rst are surprisingly complicated :-P
14:50:10 <juanjo> something funny
14:50:23 <juanjo> i discovered that nikola sites are one column themed
14:50:41 <juanjo> to avoid rebuild all the site every time you add a post!
14:50:54 <Aeyoun> juanjo: huh?
14:50:58 <juanjo> hehe (for example if in the second column you have tags with counts)
14:51:20 <juanjo> not?
14:52:42 <ChrisWarrick> juanjo: you guessed it right
14:52:56 <ChrisWarrick> juanjo: though you could easily add something in JS (a tag cloud)
14:57:13 <ralsina> And of course, we already provide the json with the data to do that ;-)
14:57:22 <KwBot> [nikola] Kwpolska assigned issue #2035 to Kwpolska: Add a page with import sources https://github.com/getnikola/nikola/issues/2035
15:11:16 -GitHub[nikola]:#nikola- [nikola] Aeyoun pushed 1 new commit to encodelinks: http://git.io/vZYCy
15:11:16 -GitHub[nikola]:#nikola- nikola/encodelinks edb03d6 Daniel Aleksandersen: flake8
15:31:52 -GitHub[plugins]:#nikola- [plugins] Kwpolska deleted import_twitpic at dd831bb: http://git.io/vZYEh
15:42:01 <Aeyoun> How many users use py2.7 vs py3?
15:42:35 <ralsina> who knows
15:42:57 * Aeyoun grumbles about the overhead of supporting py2.7
15:44:53 <ChrisWarrick> we could make some sort of micro-survey
15:48:35 <ralsina> Aeyoun: really is it uch work?
15:48:39 <ralsina> much*
15:49:36 <Aeyoun> It’s more work than not doing it. I find myself often having to rewrite something readable to something less readable to work in both versions.
15:50:04 <Aeyoun> I just don’t get why the Python community haven’t moved to py3 yet.
15:51:33 <ChrisWarrick> Aeyoun: because old software
15:52:08 <Aeyoun> …yeah, but we’re making new software, right? … That’s the disconnect I don’t get.
15:53:49 <ChrisWarrick> Aeyoun: some people just can’t let go.  Also, there are old tutorials and almost all OSes default to Python 2.7
15:57:19 <Aeyoun> ralsina ChrisWarrick: what are you guys using?
15:57:26 <ralsina> 2.7
15:57:32 * ralsina hangs head in shame
15:57:40 <ChrisWarrick> Aeyoun: recently migrated to 3.4, complete with an anger-filled “you broke this shit” issue
15:58:11 * ralsina once gave a PyCon keynote called "Python 2 must die" and then kept using it
15:58:21 <ChrisWarrick> “Python 3.4 is BATSHIT INSANE” to be precise
15:58:57 * ChrisWarrick primarily uses 3.4 nowadays, though I do have one thing in 2.7 (KwBot, twisted)
15:59:21 <ralsina> Sigh, twisted
15:59:44 <ChrisWarrick> it is getting better though
15:59:47 <ralsina> I made canonical pay a pile of money to port large chunks of twisted to py3 ... 3 YEARS AGO
16:00:08 <ralsina> Ok, switched the nikola venv to py3
16:00:14 <ralsina> there, noone uses py2
16:00:15 <ChrisWarrick> PSF threw a bunch of money at them too, all they got was porting their custom testing thingy
16:02:41 <juanjo> I use 2.7
16:02:51 <juanjo> but dont know wh
16:02:54 <juanjo> why
16:02:56 <juanjo> :)
16:04:01 <juanjo> the fact that it runs in virtualevn should make easy to only support py3
16:04:16 <juanjo> but probably there are users not using venv
16:07:33 <ralsina> we ony support > 3.3 right?
16:08:30 <ChrisWarrick> >=
16:13:07 <ralsina> Aeyoun, ChrisWarrick: how do you guys feel about https://github.com/getnikola/nikola/pull/2025
16:13:22 <ralsina> I think it's pretty risk free and makes theme creation easier
16:13:29 <ralsina> or at least much less verbose :-)
16:13:59 <ChrisWarrick> dunno, really
16:14:03 <ralsina> I just dont want to merge it by decree, would rather have a +1
16:14:11 <ChrisWarrick> if it works and does not break existing themes, go with it
16:14:33 <juanjo> If my plugin requires PIL should I add it to requirements.txt or it's already requried by Nikola?
16:14:51 <ralsina> it almost passes the invariant test blank lines added
16:14:59 <ralsina> juanjo: it's already required
16:15:05 <ChrisWarrick> juanjo: Pillow*
16:15:10 <ralsina> ok, updating and erging
16:16:09 <juanjo> Pillow? didnt know of the ranme
16:16:09 -GitHub[nikola]:#nikola- [nikola] ralsina pushed 1 new commit to idea-for-1814: http://git.io/vZY94
16:16:09 -GitHub[nikola]:#nikola- nikola/idea-for-1814 c2b7b78 Roberto Alsina: Merge branch 'master' into idea-for-1814
16:16:17 <juanjo> if i import PIL it import that?
16:16:40 <ralsina> juanjo: yes
16:17:03 <ChrisWarrick> juanjo: Pillow is a new and shiny fork of PIL, around for quite a few years
16:17:24 <ralsina> juanjo: check gallery.py to see the "right" way to import it
16:17:34 <ralsina> although we probably don't need that anymore now that pillow is everywhere
16:17:35 <juanjo> ok, thanks
16:31:47 -GitHub[nikola]:#nikola- [nikola] ralsina closed pull request #2025: WIP Idea to avoid repeating ourselves so much in templates (master...idea-for-1814) http://git.io/vGxvq
16:32:54 <KwBot> [nikola] ralsina closed issue #1814: Think about restructuring templates https://github.com/getnikola/nikola/issues/1814
16:50:53 <juanjo> something weird here
16:51:00 <juanjo> im writing import_pics
16:51:03 <juanjo> if i run 
16:51:11 <juanjo> nikola imoprt_pics
16:51:16 <juanjo> i got the message:
16:51:37 <juanjo> Purpose: import pics
16:51:37 <juanjo> Usage:   nikola import_pics [options] folder
16:51:37 <juanjo> Options:
16:51:39 <juanjo>   -o ARG, --output-folder=ARG  Location to write imported content.
16:51:41 <juanjo>   -i, --interactive         Interactive mode, to see the pic and add text and tags to it.
16:51:43 <juanjo>   -h ARG, --header=ARG      Header will be used as part of the title.
16:51:45 <juanjo>   -t ARG, --tags=ARG        Tags to add to all new posts. Comma separated.
16:51:49 <juanjo> which is correct
16:51:51 <juanjo> but if I add paramenters
16:52:05 <juanjo> nikola import_pics -i -h "Nokia" -t "6131, Desde el camino, Fotos" -o posts/nokia/ galleries/DesdeElCamino/2008\ -\ 2009\ -\ Nokia\ 6131/
16:52:13 <juanjo> nikola args parser gets crazy
16:52:29 <juanjo> and returns the same as if i write nikola and hit return
16:59:53 <ChrisWarrick> juanjo: that’s because you thought -h is a good argument
17:03:03 <ChrisWarrick> juanjo: we have a bit of special parsing to make '-h' work for help
17:07:18 <juanjo> heheh
17:09:08 <ChrisWarrick> try -n, --name?
17:55:17 <Aeyoun> py27 sucks.
18:02:07 <Aeyoun> Trying to do anything with Unicode requires you to sacrifice an arm. And a leg. And your sanity.
18:02:43 <ChrisWarrick> Aeyoun: what is it?
18:03:25 <Aeyoun> Just going back and forth with py2 and py3 for when and how things need to be encoded.
18:33:12 -GitHub[plugins]:#nikola- [plugins] ralsina created update-tipue (+4 new commits): http://git.io/vZOKa
18:33:12 -GitHub[plugins]:#nikola- plugins/update-tipue 5f22614 Roberto Alsina: mention HTML posts
18:33:12 -GitHub[plugins]:#nikola- plugins/update-tipue 71e21c9 Roberto Alsina: tipue search 5.0
18:33:12 -GitHub[plugins]:#nikola- plugins/update-tipue d011a9b Roberto Alsina: not needed
18:34:31 -GitHub[plugins]:#nikola- [plugins] ralsina opened pull request #111: Update tipue (master...update-tipue) http://git.io/vZO6T
18:34:53 -GitHub[plugins]:#nikola- [plugins] ralsina closed pull request #99: Upgrade Tipue Search to v5.0 (master...localsearch-v0.2) http://git.io/vOw0Y
18:36:25 <ralsina> Aeyoun: if you pile punycode and all the rest of the crap on top it's a lovely crap-cluub-sandwich :-P
18:36:29 <ralsina> My sympathies
18:37:01 <Aeyoun> Haha
18:37:44 <Aeyoun> It’s like py2 and py3 were designed to be polar opposite from each other’s Unicode implementations.
18:39:17 <ralsina> yes! crap and -crap :-)
18:39:33 <ralsina> which one is which is arguable
18:49:47 <Aeyoun> py27 is definitively giving me the most trouble.
18:51:50 <juanjo> ChanServ: the -h thing remembered me https://twitter.com/t_crayford/status/640951231037468673/photo/1
18:53:43 <ChrisWarrick> python3.4 is one of the few programming languages that actually does unicode right
18:53:48 <ChrisWarrick> juanjo: I’m not a robot
19:01:01 <ralsina> ChrisWarrick: armin ronacher strongly disagrees :-)
19:01:24 <ralsina> http://lucumr.pocoo.org/2014/1/5/unicode-in-2-and-3/
19:01:50 <ChrisWarrick> ralsina: he’s butthurt because there’s no neanderthal bytes class
19:02:50 <ChrisWarrick> ralsina: also, I said 3.4, and I mean it — it actually counts astral codepoints (outside of BMP/over U+FFFF) correctly
19:39:30 <KwBot> [nikola] ralsina opened issue #2038: Maybe use versioneye to handle both python and JS version checking? https://github.com/getnikola/nikola/issues/2038
19:40:23 -GitHub[nikola]:#nikola- [nikola] Aeyoun pushed 1 new commit to encodelinks: http://git.io/vZ3e3
19:40:23 -GitHub[nikola]:#nikola- nikola/encodelinks 643be7b Daniel Aleksandersen: py2 support
20:13:59 <ralsina> Aeyoun: crazy idea about how to make local sitemaps work!
20:14:26 <ralsina> Aeyoun: always create exactly 1000 sitemap tasks, each one calc_dep in scan_locs
20:14:39 <ralsina> oh, no wont work because we dont know the targets :-(
20:14:41 <ralsina> nevermind
20:27:53 <Aeyoun> Yeah. Kind of a hard problem, isn't it.
20:34:21 <ralsina> Aeyoun: I thought of  2 ways to do it but both may require schettino's help
20:34:43 <ralsina> Aeyoun: I still have one or two REALLY crazy ideas tho
20:35:53 <Aeyoun> How crazy?
20:36:11 <ralsina> doing it as a task multiplier :-P
20:36:33 <ralsina> Also, check your email for free t-shirt info
20:36:51 <ralsina> crazier: this is no longer a task and we just do it as ppart of nikola build
20:37:00 <ralsina> after all tasks are done
20:38:45 <ralsina> all things considered, sitemap is really special and not in a good way :-P
20:46:12 <KwBot> [nikola] felixfontein closed issue #2029: Overwrite `LocaleBorg.get_month_name` for custom locale? https://github.com/getnikola/nikola/issues/2029
20:46:28 -GitHub[nikola]:#nikola- [nikola] felixfontein pushed 1 new commit to master: http://git.io/vZ346
20:46:28 -GitHub[nikola]:#nikola- nikola/master b0e9b64 Felix Fontein: Merge pull request #2036 from getnikola/add-locale-handlers...
20:51:25 -travis-ci:#nikola- getnikola/nikola#6275 (master - b0e9b64 : Felix Fontein): The build passed.
20:51:26 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/a6cc45c83b8e...b0e9b644a981
20:51:26 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/79360761
20:52:06 -GitHub[nikola]:#nikola- [nikola] felixfontein deleted add-locale-handlers at da5f350: http://git.io/vZ3RC
20:52:28 -GitHub[nikola]:#nikola- [nikola] felixfontein force-pushed earlytask_impl from 9cf7171 to 47fa05c: http://git.io/zEQY8Q
20:52:28 -GitHub[nikola]:#nikola- nikola/earlytask_impl 322e4bc Felix Fontein: Split tasks into stages, with three (four) default stages: EarlyTask, Task and LateTask....
20:52:28 -GitHub[nikola]:#nikola- nikola/earlytask_impl 9ef9edd Felix Fontein: Setting doit minimal version....
20:52:28 -GitHub[nikola]:#nikola- nikola/earlytask_impl e123b8d Felix Fontein: Added support for target regexes.
20:57:19 -travis-ci:#nikola- getnikola/nikola#6276 (earlytask_impl - 47fa05c : Felix Fontein): The build passed.
20:57:20 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/9cf7171f2d40...47fa05cd0a67
20:57:20 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/79361728
21:21:30 <KwBot> [nikola] felixfontein opened issue #2039: Improved tag support / refactoring of tag handling and tag plugin. https://github.com/getnikola/nikola/issues/2039
22:35:03 <KwBot> [nikola] felixfontein opened issue #2040: indexes plugin results in exception if index link is created too early. https://github.com/getnikola/nikola/issues/2040
23:38:41 <xjjk> hello, I upgraded to Nikola 7.7/master and I'm having issues w/ my jinja-based theme
23:39:01 <xjjk> I haven't modified anything but no base.late_load_js() doesn't appear to be called anymore (i.e. no JavaScript)
23:40:17 <ralsina> xjjk: what theme are you using?
23:40:25 <xjjk> bootstrap3-jinja
23:40:31 <ralsina> let me check
23:40:43 <xjjk> I haven't overriden any templates
23:40:48 <xjjk> working on setting up a test site
23:41:21 <ralsina> xjjk: is this 7.7.0 from the release?
23:41:28 <xjjk> ralsina: master at the moment
23:41:41 <ralsina> I *may* have broken this in a branch yesterday :-)
23:41:44 <xjjk> aha
23:41:58 <xjjk> I noticed a lot of jinja-related commits in the past few days
23:41:59 <ralsina> Can you file an issue? It's pretty late today, but I promise to look tomorrow
23:42:07 <xjjk> Sure
23:42:12 <xjjk> What information do you need?
23:42:19 <ralsina> xjjk: well, the jinja theme is autogenerated, I broke both bootstrap3 and the jinja version :-)
23:42:31 <xjjk> ah
23:45:30 <ralsina> xjjk: if you have not changed any templates, can you check if bootstrap3 works?
23:45:45 <ralsina> Since it should look identical to bootstrap3-jinja it would help me find the problem
23:51:28 <xjjk> sure
23:51:37 <xjjk> setting up a test site on master now
23:54:51 <ralsina> xjjk: a quick look at master's templates shows the call to late_load_js is there, but maybe something more subtle broke