ddfreyne changed the topic of #nanoc to: 3.6.7 (dec 9th) | web http://nanoc.ws/ | repo http://bit.ly/XE6e3G | issues http://bit.ly/VfXaSV | forum http://ho.io/n-discuss | irclog http://irclog.whitequark.org/nanoc
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jugglinmike has quit [Quit: Leaving.]
louquillio has quit [Remote host closed the connection]
louquillio has joined #nanoc
TobiasFar has quit [Ping timeout: 264 seconds]
<ddfreyne> Question: should the default nanoc 4.0 output directory be named "public" rather than "output"?
<ddfreyne> Or perhaps "build"?
relix has joined #nanoc
<jd_> public is pretty standard
<ddfreyne> jd_: Yes, but it might be confusing as it doesn't convey the importance of not putting anythign in public/ yourself
<ddfreyne> (Because it really is a sort of build directory)
<VitamineD> public is for static files in rails apps
<ddfreyne> Yeah.
<ddfreyne> Calling it build/ makes it rather clear, IMO
TobiasFar has joined #nanoc
<jd_> build, then
<GitHub94> [nanoc-core] ddfreyne created build-dir (+1 new commit): http://git.io/5L87rA
<GitHub94> nanoc-core/build-dir 572f5df Denis Defreyne: Compile to build/ rather than output/
<travis-ci> [travis-ci] nanoc/nanoc-core/build-dir 572f5df Denis Defreyne: The build passed.
<GitHub67> [nanoc-core] ddfreyne opened pull request #2: Compile to build/ rather than output/ (master...build-dir) http://git.io/G8xLOQ
<GitHub121> [nanoc-core] ddfreyne created prune-by-default (+1 new commit): http://git.io/JwjH5g
<GitHub121> nanoc-core/prune-by-default 8829c8b Denis Defreyne: Prune by default
<GitHub0> [nanoc-core] ddfreyne opened pull request #3: Prune by default (master...prune-by-default) http://git.io/UppDfw
<travis-ci> [travis-ci] nanoc/nanoc-core/prune-by-default 8829c8b Denis Defreyne: The build passed.
<travis-ci> [travis-ci] nanoc/nanoc/release-3.6.x 8843d30 Denis Defreyne: The build passed.
<jd_> ddfreyne, not that it really matters, but jd_ (irc) == chikamichi (github)
<jd_> same guy, thankful for nanoc ;)
<ddfreyne> cool :)
<travis-ci> [travis-ci] nanoc/nanoc/release-3.6.x 2104d64 Denis Defreyne: The build passed.
<travis-ci> [travis-ci] nanoc/nanoc/release-3.6.x a11e822 Denis Defreyne: The build passed.
<travis-ci> [travis-ci] nanoc/nanoc/master ccae845 Denis Defreyne: The build passed.
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
relix has joined #nanoc
VitamineD has quit [Quit: Leaving.]
VitamineD has joined #nanoc
VitamineD has quit [Ping timeout: 240 seconds]
FunkyPenguin has quit [*.net *.split]
guardian has quit [*.net *.split]
bobthecow has quit [*.net *.split]
stbuehler has quit [*.net *.split]
tom[] has quit [*.net *.split]
smkelly has quit [*.net *.split]
guardian has joined #nanoc
stbuehler has joined #nanoc
bobthecow has joined #nanoc
bobthecow has quit [Changing host]
bobthecow has joined #nanoc
tom[] has joined #nanoc
FunkyPenguin has joined #nanoc
smkelly has joined #nanoc
jaspervd1 has joined #nanoc
jaspervdj has quit [Write error: Broken pipe]
<bobthecow> ddfreyne: or _site ;)
<ddfreyne> bobthecow: Oh, go away.
<bobthecow> remember way back a long time ago i asked if we could make all directories in nanoc configurable?
<bobthecow> why not do that, then default it to build/
<bobthecow> ?
<bobthecow> then people who explicitly want public/ or banana/ could make it that?
<ddfreyne> bobthecow: The output dir is configurable (and has been forever actually). The other dirs aren't really yet
<ddfreyne> But I believe build/ is a sane default.
<bobthecow> ok. then make it build/
<ddfreyne> bobthecow: That means I have a +1 for the PR I take it?
<GitHub39> [nanoc-core] ddfreyne closed pull request #2: Compile to build/ rather than output/ (master...build-dir) http://git.io/G8xLOQ
<GitHub153> [nanoc-core] ddfreyne pushed 1 new commit to master: http://git.io/di8kmg
<GitHub153> nanoc-core/master 521104f Denis Defreyne: Merge pull request #2 from nanoc/build-dir...
<ddfreyne> Sweet.
<GitHub158> [nanoc-core] ddfreyne deleted build-dir at 572f5df: http://git.io/GI7PwQ
<ddfreyne> (Unrelated: it's been a long time since I had so few open nanoc issues)
<ddfreyne> bobthecow: BTW, can you elaborate on the always auto-prune issue?
<ddfreyne> I didn't find a reference to what you said before.
<bobthecow> i've got nanoc writing to a directory that also contains non-nanoc files (user uploaded images). without a way to disable autoprune or use proper exclusion globs (which i believe it didn't have at the time) the uploaded files get clobbered.
<ddfreyne> bobthecow: There are exclusion globs now (either in 3.7 or in 4.0, not sure)
<travis-ci> [travis-ci] nanoc/nanoc-core/master 521104f Denis Defreyne: The build passed.
<ddfreyne> Does that resolve the issue?
<bobthecow> for me.
<ddfreyne> bobthecow: Also, it'd still be optional, but rather opt-out rather than opt-in
<bobthecow> yep. that works :)
<ddfreyne> Sweet
<GitHub144> [nanoc-core] ddfreyne closed pull request #3: Prune by default (master...prune-by-default) http://git.io/UppDfw
<GitHub55> [nanoc-core] ddfreyne pushed 1 new commit to master: http://git.io/L77btQ
<GitHub55> nanoc-core/master 8d2edc2 Denis Defreyne: Merge branch 'prune-by-default'...
<GitHub175> [nanoc-core] ddfreyne deleted prune-by-default at 8829c8b: http://git.io/GMv1ww
<travis-ci> [travis-ci] nanoc/nanoc-core/master 8d2edc2 Denis Defreyne: The build passed.
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
relix has joined #nanoc
relix has quit [Client Quit]
<ddfreyne> New and shiny release!
ddfreyne changed the topic of #nanoc to: 3.6.8 (mar 22th) | web http://nanoc.ws/ | repo http://bit.ly/XE6e3G | issues http://bit.ly/VfXaSV | forum http://ho.io/n-discuss | irclog http://irclog.whitequark.org/nanoc
<jd_> ddfreyne, what about a postprocess hook in Rules?
<jd_> would prove very useful to send compiled data to a search indexer, for instance
<ddfreyne> 100% agreed, and that's why there's a trello card for it :)
<jd_> didn't realized there was a trello board
<ddfreyne> jd_: I'd like to have a postprocess block that has some meta-information about which pages are created, modified, deleted etc. So it's not a very simple feature
<ddfreyne> jd_: It's a bit hidden, yeah
<ddfreyne> (and not very used)
<ddfreyne> Still sort of trying to figure out what works best for project planning.
<travis-ci> [travis-ci] nanoc/nanoc/3.6.8 894bd44 Denis Defreyne: The build has errored.
<jd_> I've been using trello boards since it opened to manage business projects in team (not exclusively trello, and not exclusively business projects, but quite a few)
<jd_> if you go with the colored labels, make them super meaningful (red == critical, green == feature request, whatever you happen to like and remember)
<ddfreyne> Yeah
<ddfreyne> green = new in nanoc 4
<jd_> prefixing can complement them efficiently: [Core] Some core feature request, [Toolset] Provide a better cli
<ddfreyne> yellow = changed
<ddfreyne> red = removed
<ddfreyne> purple = problematic
<jd_> don't know your screen resolution, but trying to split things in 2 or even 3 cols before the "TODO/Doing" frontier (to manage the backlog, that is) proved useful
<ddfreyne> I don't really like Trello's columns... they become extremely long.
<jd_> but this was true on bigger team/projects
<jd_> :)
<ddfreyne> ... exactly :)
<jd_> so you may want to try a few thematic, backlog cols
<jd_> not much, just 2 can make things clearer
<ddfreyne> Ideas / Planned / Doing / Done
<jd_> (and avoid using colors everywhere)
<jd_> things like that, yeah
<ddfreyne> Ideas being stuff that might not make it at all
<jd_> on projects with many contributors, it's easy to filter cards by people/self, so it's a bit more problematic on "solo" projects like this one
<jd_> as each cards concerns you… :p
number-six has quit [Remote host closed the connection]
<jd_> getting clearer already
<jd_> a Done card with incomplete checklist :)
<ddfreyne> Haha
<ddfreyne> Ahem.
number-six has joined #nanoc
<ddfreyne> The Ideas stuff might move to the wishlist (on the wiki), actually... or at least some of them
<ddfreyne> JSON/TOML instead of YAML is nice to have, but something that doesn’t need to be in nanoc 4.0 from the start
<ddfreyne> jd_: feel free to vote on cards you care about
<jd_> ddfreyne, yes I will review the board
<ddfreyne> Two more places to look:
<jd_> I'm currently working on my nanoc-powered pro site, so it's in my head :)
<ddfreyne> (I clearly cannot count)
<travis-ci> [travis-ci] nanoc/nanoc/release-3.6.x 3d114e0 Denis Defreyne: The build passed.
<jd_> promoting the board url on the readme could be a good thing once it's "ready"
<ddfreyne> I suppose killing the wishlist and moving everythign to Trello would not be a bad idea
<ddfreyne> (Although it might mean the backlog column becomes huge)
<jd_> a huge backlog column is not really an issue, it's the Planned one
<jd_> I'd say
<ddfreyne> What about splitting Issues into Backlog+Accepted ?
<ddfreyne> Accepted being "this idea is worth considering, but we need more discussion and clarity on possible features and/or implementation"
<jd_> Accepted is not a synonym for Planned?
<jd_> in fact, the quote you made is really what a Backlog is
<jd_> a bunch of things "worth considering"
<jd_> "to discuss further on at some point"
<ddfreyne> jd_: True
<jd_> which means "Ideas" actually
<jd_> (scrum masters love their jargon)
<jd_> well, it's not really Ideas, more Later goals
<jd_> so Ideas is more what you want I guess, it's well named already
<ddfreyne> jd_: Yup
<ddfreyne> Lots of stuff in the 4.0 development ideas wiki page is already on Trello... this needs cleaning up.
<jd_> (I can't vote yet, don't have the rights it seems)
<ddfreyne> jd_: Hmm, interesting… but you should be able to comment
<jd_> I do
<ddfreyne> jd_: Should work now
<ddfreyne> (Voting is a Trello plugin and the settings are in a different place)
<jd_> yes, they reworked this a few months ago
<jd_> it's quite hidden now
<jd_> weird UX choices
<jd_> :)
<jd_> is this also a rainy week-end for you?
<ddfreyne> Yeah.
<jd_> ^^
<ddfreyne> I'm cleaning up the Wishlist as well now, heh
relix has joined #nanoc
<ddfreyne> I don't like wikis. The nanoc wiki is a bit of a mess...
<ddfreyne> jd_: BTW, did you vote on anything?
<jd_> not yet
<jd_> currently cleaning stuff on my own ;)
<travis-ci> [travis-ci] nanoc/nanoc/master 0ba4198 Denis Defreyne: The build passed.
<ddfreyne> Alright, time to go out!
<ddfreyne> Seeya later.
louquillio has quit [Remote host closed the connection]
achal has joined #nanoc
bensonshaji has joined #nanoc
<bensonshaji> Guys, How can get the permalink of a post in nanoc
<bensonshaji> ?
VitamineD has joined #nanoc
<jd_> (that is, item.identifier)
<jd_> you may need @site.config['base_url'] (which may be defined by you in nanoc.yaml) to build full path, if required
<bensonshaji> jd_, like this? @item.path
<bensonshaji> jd_, it works!
<bensonshaji> jd_, How can I truncate words for the index page?
<jd_> your milleage may vary, search on the internet for "ruby truncate text"
<jd_> depends on whether you want to truncate on letters, words, sentences…
number-six has quit [Remote host closed the connection]
<jd_> but yeah bensonshaji, @item.path is the way to go actually
number-six has joined #nanoc
<bensonshaji> jd_, I tried googling with couple of failures... For example truncate(@item[:excerpt], :length => 80) , it fails.
<bensonshaji> jd_, saying that truncate is not defined.
<bensonshaji> jd_, I tried with @item[:excerpt].str.at(0..80) , Again Failed...
<jd_> @item[:excerpt][0..80]
<jd_> maybe
<bensonshaji> jd_, exactly... That does the magic!
VitamineD has quit [Quit: Leaving.]
jugglinmike has joined #nanoc
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
relix has joined #nanoc
VitamineD has joined #nanoc
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
achal has quit [Quit: Connection closed for inactivity]
bensonshaji has quit [Quit: Leaving]
<ddfreyne> jd_: item.identifier won't necessarily work, because the routed path might be different