alerante has quit [Remote host closed the connection]
alerante has joined #nanoc
alerante has quit [Ping timeout: 245 seconds]
louquillio_ has quit [Ping timeout: 240 seconds]
louquillio_ has joined #nanoc
alerante has joined #nanoc
alerante has quit [Ping timeout: 240 seconds]
achal has joined #nanoc
<guardian>
morning
<guardian>
ddfreyne: do you know how I could alter http://pastebin.com/kypU63NS so that it ALSO populate @site.@code_snippets so that outdateness checker notices when those additional snippets change?
relix has joined #nanoc
alerante has joined #nanoc
<travis-ci>
[travis-ci] nanoc/nanoc/bug/fix-jruby-failures a4f6279 Denis Defreyne: The build is still failing.
<ddfreyne>
Relatedly, I'd love to get more people aboard nanoc development. Would be great to have a bunch of people that are willing to do code reviews.
<ddfreyne>
If interested, talk to me!
VitamineD has joined #nanoc
VitamineD has quit [Ping timeout: 245 seconds]
jutah has joined #nanoc
VitamineD has joined #nanoc
VitamineD_ has joined #nanoc
VitamineD has quit [Ping timeout: 276 seconds]
VitamineD_ has quit [Quit: Computer has gone to sleep.]
<guardian>
ddfreyne: interested, but not sure I can always provide useful feedback
<travis-ci>
[travis-ci] nanoc/nanoc/bug/fix-jruby-failures f885fe7 Denis Defreyne: The build passed.
<guardian>
ddfreyne: Now you have to update that warning message would Nokogiri issues be fixed. Why not reference #422 in the warning msg?
<ddfreyne>
guardian: It's OK not to be able to always provide feedback. It's mostly just so PRs get more exposure before beign merged and bobthecow does not have sole responsibility for reviewing :)
<ddfreyne>
guardian: I could mention #422 in the warning message I guess.
<guardian>
ddfreyne: so loading the _factory/lib/**/*.rb code snippets from _factory/Rules 's preprocess block works but _factory/Rules uses some helpers in the compile/route definitions (like an images_dir helper that looks up inside @config)
<guardian>
maybe I should get rid of this images_dir helper and replace it by straight @config[:images_dir]
<ddfreyne>
Hmm, that is annoying…
<guardian>
well... that's annoying but a clean solution involves exposing a helper search path to nanoc.yaml
<ddfreyne>
Or let the Rules file determine where to load code snippets from
<ddfreyne>
(So you'd have some sort of #require-like functionality in there)
<guardian>
in fact, adding snippets to @site.code_snippets from _factory/Rules' preprocess block doesn't work in the end
<ddfreyne>
guardian: Yeah, that's worng and exactly what I suspected :)
<ddfreyne>
#<< adds a single element; the single element in this case being the entire array
<guardian>
ah crap
<guardian>
so, do you still want me onboard? :))))
<ddfreyne>
You need #concat
<guardian>
well at least I think I'm a behaving student :)
<ddfreyne>
Heh
<ddfreyne>
Alright, off to dinner
<ddfreyne>
seeya!
<guardian>
o/
<guardian>
thx for the help
<guardian>
when you have more time I'm interested in discussing about a solution to have the Rules file tell from which code_snippets should be loaded. When you say "(So you'd have some sort of #require-like functionality in there)" are you thinking of augmenting the DSL?
<guardian>
in the meantine, I have product/lib/_factory.rb that loads _factory/**/*.rb, "that loads" == "code_snippets.each { |cs| cs.load }"
<guardian>
and I ALSO have _factory/Rules that looks up _factory/**/*.rb files but this time doesn't call cs.load but just concat @site.code_snippets
<guardian>
that's icky but that unblock my current situation
FunkyPenguin has quit [Ping timeout: 240 seconds]
FunkyPenguin has joined #nanoc
alerante has quit [Remote host closed the connection]
gregkare_ has joined #nanoc
gregkare_ has quit [Client Quit]
FunkyPenguin has quit [Ping timeout: 240 seconds]
FunkyPenguin has joined #nanoc
gregkare has quit [Quit: bye]
FunkyPenguin has quit [Excess Flood]
gregkare has joined #nanoc
FunkyPenguin has joined #nanoc
achal has left #nanoc [#nanoc]
alerante has joined #nanoc
jutah has quit [Quit: Connection closed for inactivity]
FunkyPenguin has quit [Ping timeout: 276 seconds]
FunkyPenguin has joined #nanoc
FunkyPenguin has quit [Ping timeout: 240 seconds]
FunkyPenguin has joined #nanoc
FunkyPenguin has quit [Ping timeout: 245 seconds]
FunkyPenguin has joined #nanoc
FunkyPenguin has quit [Excess Flood]
FunkyPenguin has joined #nanoc
VitamineD_ has joined #nanoc
FunkyPenguin has quit [Ping timeout: 245 seconds]
FunkyPenguin has joined #nanoc
FunkyPenguin has quit [Ping timeout: 276 seconds]
FunkyPenguin has joined #nanoc
FunkyPenguin has quit [Ping timeout: 245 seconds]
FunkyPenguin has joined #nanoc
FunkyPenguin has quit [Ping timeout: 240 seconds]
FunkyPenguin has joined #nanoc
FunkyPenguin has quit [Ping timeout: 250 seconds]
FunkyPenguin has joined #nanoc
FunkyPenguin has quit [Excess Flood]
FunkyPenguin has joined #nanoc
<ddfreyne>
guardian: This may require some backwards-incompatible reworking I think… would definitely be useful to think about this in nanoc 4.
jutah has joined #nanoc
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]