ddfreyne changed the topic of #nanoc to: 3.6.4 (may 29th) | 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
jugglinmike has quit [Quit: Leaving.]
louquillio has quit [Remote host closed the connection]
Rym has quit [Quit: Rym]
louquillio has joined #nanoc
smkelly has quit [Ping timeout: 240 seconds]
pepijndevos has quit [Ping timeout: 240 seconds]
pepijndevos has joined #nanoc
smkelly has joined #nanoc
alerante_ has quit [Remote host closed the connection]
cDlm has quit [Quit: cDlm]
<ddfreyne> bobthecow: As an idea, it may be worth investigating $SAFE usage in nanoc and prevent people from bypassing nanoc's dependency tracking stuff. Maybe a bit extreme though :)
<ddfreyne> actually that is not really goign to work well
skroon has quit [Read error: Operation timed out]
skroon has joined #nanoc
skroon has quit [Ping timeout: 261 seconds]
skroon has joined #nanoc
skroon has quit [Read error: Connection reset by peer]
skroon has joined #nanoc
skroon has quit [Ping timeout: 268 seconds]
<ddfreyne> Automated tests are starting to look better:
<guardian> damn I wish I could do nanoc compile /foo/
<guardian> wow nanoc compile -w is so scary
<ddfreyne> What is scary about it?
<guardian> the amount of warnings :)
<ddfreyne> guardian: Can you throw them in a gist?
<guardian> yeah
<guardian> http://pastebin.com/Dap4C8gb some are mine, but the others...
<ddfreyne> guardian: Seems like it's mostly shadowing variables (which is fine, although maybe confusing) and uninitialised variables, but those default to nil anyway
<ddfreyne> I finally converted adsf into a git repository: https://github.com/ddfreyne/adsf
<guardian> now that I see those warnings, I may have found the cause for *maybe* strange dependencies
<guardian> http://pastebin.com/xgFWiyAM could raise Nanoc::Errors::UnmetDependency.new(rep) unless rep.compiled? be the culprit?
<guardian> my post items use my 'image' helper that needs to tell nanoc "ok this post depends on all the reps of this image"
<guardian> oh well I'll try to clean up and publish the source of my site on github anyways
<ddfreyne> guardian: Before that line, you need two more ones:
<ddfreyne> Nanoc::NotificationCenter.post(:visit_started, item)
<ddfreyne> Nanoc::NotificationCenter.post(:visit_ended, item)
<ddfreyne> with item being whatever item you depend on
<ddfreyne> Hmmm... that should actually not be necessary
<ddfreyne> guardian: Ahh, you need that, because you are using #raw_path instead of #path
<ddfreyne> Hmmmm
<guardian> oh well it's working great
<guardian> don't bother with it, it's not the cause for my troubles
<ddfreyne> nm, it's not necessary
<ddfreyne> #raw_path properly generates dependencies
<guardian> the cause is my cache busting thingy
<guardian> "irc://freenode.planet-d.net:1337/#raw_path properly generates dependencies" by now? was it always the case?
<ddfreyne> It has been for a long time
<guardian> fucking irc client :)
<guardian> can item.children return nil?
<ddfreyne> guardian: https://github.com/nanoc/nanoc/commit/c793107183fbfb32c2113d6db40c7d66ba1ed863 since nanoc 3.3.0, somewhere in 2011 :P
<ddfreyne> guardian: No, it will always be an enumerable
<guardian> ok so yeah I think I started this image helper before 3.3 :)
<ddfreyne> alright
Rym has joined #nanoc
Rym has quit [Ping timeout: 260 seconds]
alerante has joined #nanoc
<bobthecow> ddfreyne: hey! 3/4 environments are passing nanoc-core. congrats!
<ddfreyne> JRuby has weird issues though :(
skroon has joined #nanoc
<skroon> hi all
<ddfreyne> hi
skroon_ has joined #nanoc
<ddfreyne> bobthecow: It is extremely useful to have good CI. I've basically been ignoring Travis before :(
louquillio has quit [Remote host closed the connection]
<bobthecow> definitely.
<darix> ddfreyne: in doubt bother headius
<ddfreyne> Yeah I was speaking with him on #rubinius a while ago
<ddfreyne> Also, one of 3 failign tests on rbx was a bug in Rubinius! :D
<skroon_> ddfreyne: I would like to use my multilingual site with two blogs (for now, and when getting more language, multiples) , one at: mydomain.com/blog/ and at: mydomain.com/nl/blog/
<skroon_> is this an issue with the blog helpers?
<skroon_> or is just only a matter of setting the Rules correctly?
<skroon_> reason i'm asking is helpers like: aritlces() and sorted_articles() will give me back mixed language blogs by default right?
<musicmatze> skroon_: You could set a flag in the articles 'language: ger' and select from the sorted_articles() method:
<musicmatze> sorted_articles.select {|a| a[:language] == 'ger' }
<musicmatze> as an example...
<musicmatze> don't know if exactly _this_ code works, but that's the way how I would do it with nanoc.
<skroon_> musicmatze: ah nice one indeed
<skroon_> musicmatze: thanks
alerante has quit [Remote host closed the connection]
alerante has joined #nanoc
alerante has quit [Remote host closed the connection]
whk has joined #nanoc
alerante has joined #nanoc
whk has quit [Quit: Leaving.]
louquillio has joined #nanoc