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
louquillio_ has quit [Remote host closed the connection]
tom[] has quit [Ping timeout: 252 seconds]
tom[] has joined #nanoc
VitamineD has quit [Quit: VitamineD]
VitamineD has joined #nanoc
louquillio_ has joined #nanoc
ics has quit [Ping timeout: 252 seconds]
ics has joined #nanoc
alerante has quit [Remote host closed the connection]
forcev is now known as FunkyPenguin
FunkyPenguin has quit [Changing host]
FunkyPenguin has joined #nanoc
alerante has joined #nanoc
alerante has quit [Ping timeout: 248 seconds]
<GitHub142> [nanoc-core] ddfreyne pushed 3 new commits to master: http://git.io/_Romlg
<GitHub142> nanoc-core/master 385d9a3 Denis Defreyne: Simplify test task
<GitHub142> nanoc-core/master b0883d1 Denis Defreyne: Rename item_collection to items
<GitHub142> nanoc-core/master 1e3c19d Denis Defreyne: Use fast way of finding items
<GitHub112> [nanoc-core] ddfreyne force-pushed master from 385d9a3 to 05047e8: http://git.io/WVrHEA
<GitHub112> nanoc-core/master 05047e8 Denis Defreyne: Simplify test task
<GitHub5> [nanoc-core] ddfreyne pushed 1 new commit to master: http://git.io/bhiGNw
<GitHub5> nanoc-core/master d37e9b3 Denis Defreyne: Ignore .bundle and .yardoc
<GitHub77> [nanoc-core] ddfreyne pushed 1 new commit to master: http://git.io/puuRww
<GitHub77> nanoc-core/master 6837eb6 Denis Defreyne: Re-enable Coveralls
alerante has joined #nanoc
<GitHub75> [nanoc-core] ddfreyne pushed 4 new commits to master: http://git.io/M0fUHA
<GitHub75> nanoc-core/master b073e95 Denis Defreyne: Do not capture IO in tests
<GitHub75> nanoc-core/master 48f8cca Denis Defreyne: Remove skip env var support in tests
<GitHub75> nanoc-core/master 3fc499b Denis Defreyne: Remove commented out special error handling
<travis-ci> [travis-ci] nanoc/nanoc-core/master 05047e8 Denis Defreyne: The build passed.
<travis-ci> [travis-ci] nanoc/nanoc-core/master d37e9b3 Denis Defreyne: The build passed.
alerante has quit [Ping timeout: 260 seconds]
<travis-ci> [travis-ci] nanoc/nanoc-core/master 6837eb6 Denis Defreyne: The build was fixed.
<GitHub11> [nanoc-core] ddfreyne pushed 2 new commits to master: http://git.io/lDcEHg
<GitHub11> nanoc-core/master 85debf3 Denis Defreyne: Remove unused capturing_stdio test helper
<GitHub11> nanoc-core/master 69d2707 Denis Defreyne: Remove unused test helpers
<travis-ci> [travis-ci] nanoc/nanoc-core/master 81c54bf Denis Defreyne: The build was fixed.
<travis-ci> [travis-ci] nanoc/nanoc-core/master 69d2707 Denis Defreyne: The build passed.
<GitHub53> [nanoc-core] ddfreyne pushed 1 new commit to master: http://git.io/uIiY6A
<GitHub53> nanoc-core/master ca75ae4 Denis Defreyne: Move new items check into outdatedness checker
<travis-ci> [travis-ci] nanoc/nanoc-core/master ca75ae4 Denis Defreyne: The build passed.
<GitHub129> [nanoc-core] ddfreyne pushed 2 new commits to master: http://git.io/CHZo_w
<GitHub129> nanoc-core/master 1280377 Denis Defreyne: Let dependency tracker handle unserialising
<GitHub129> nanoc-core/master e92c51f Denis Defreyne: Let dependency tracker handle adding new vertices
<travis-ci> [travis-ci] nanoc/nanoc-core/master e92c51f Denis Defreyne: The build passed.
VitamineD has quit [Quit: VitamineD]
VitamineD has joined #nanoc
alerante has joined #nanoc
alerante has quit [Ping timeout: 248 seconds]
alerante has joined #nanoc
alerante has quit [Ping timeout: 245 seconds]
alerante has joined #nanoc
VitamineD has quit [Quit: VitamineD]
VitamineD has joined #nanoc
louquillio_ has quit [Remote host closed the connection]
guardian` has joined #nanoc
guardian has quit [*.net *.split]
guardian` is now known as guardian
VitamineD has quit [Quit: VitamineD]
VitamineD has joined #nanoc
bbs_ has joined #nanoc
<bbs_> hello! is there a way to fetch a content item based on an identifier (like 'route <identifier>' or 'compile <identifier>' do internally?)
<bbs_> basically i'm trying to write a multiroute method to generate compile and route reps based on yaml data in a single parent item
louquillio_ has joined #nanoc
<bbs_> ah, i think i can do it with preprocess and @items
<bbs_> oh, maybe not. looks like preprocess is perhaps too late to add compile and route rules?
<bbs_> so i guess back to original query. is it possible to get content items matching an identifier regex in a way that would allow dyanmic creation of compile and route rules based on the items' data?
<VitamineD> bbs_: you're taking the problem backwards
<VitamineD> make a rule that matches your regex
<VitamineD> the rule can then decide what filters to apply depending on item metadata
<VitamineD> you can have logic in rules
<bbs_> can i dynamically generate multiple output files that way?
<VitamineD> multiple reps for sure
<bbs_> and i can define multiple reps from within a signle route block?
<VitamineD> then you can route reps with a separate rule
<VitamineD> can't say for sure
<bbs_> yeah that's the issue, i don't want to manually define every rep
<bbs_> i want to be able to say... based on this array of item data, generate a separate output for each
<bbs_> i want all that data in a single file
<bbs_> i figure the standard nanoc way to do this is to split all the item data into separate content files, then have them applied to a common layout
<VitamineD> yup
<bbs_> this is very inefficient for me because my item data is coming in as json already, so i want to just keep a single unified json (or yaml) data file, and then spit out multiple outputs
<bbs_> without having to manually split and maintain a boatload of individual files
<VitamineD> I suppose you could have a preprocess block generating a bunch of items from that json file
<bbs_> i tried to do that, but i can't create route or compile rules from within a preprocess block
<VitamineD> then routing would become straightforward (depending on your identifier scheme)
<VitamineD> is your routing that much specific to the data ?
<bbs_> not at all, but my understanding is that ot create multiple output files i have to create spearate route blocks with unique reps
<bbs_> oh, you're saying actually generate new item objects in the preprocess stage?
<VitamineD> yes
<VitamineD> that is definitely possible
<bbs_> that's a pretty good idea
<bbs_> i'll check that out, thanks
VitamineD has quit [Ping timeout: 265 seconds]
<bbs_> that did the trick, thanks a lot for the help
jugglinmike has joined #nanoc
relix has joined #nanoc
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
relix has joined #nanoc
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]