ddfreyne changed the topic of #nanoc to: 3.8.0 (May 4th) - 4.0.0a2 (May 12th) | 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 [Ping timeout: 245 seconds]
jaspervd1 is now known as jaspervdj
<nanoc-gh> [nanoc] ddfreyne created item-rep-collection-view (+1 new commit): http://git.io/vkwHq
<nanoc-gh> nanoc/item-rep-collection-view 72a9bdf Denis Defreyne: Add ItemRepCollectionView
<nanoc-gh> [nanoc] ddfreyne force-pushed item-rep-collection-view from 72a9bdf to 9ef9345: http://git.io/vkwHa
<nanoc-gh> nanoc/item-rep-collection-view 9ef9345 Denis Defreyne: Add ItemRepCollectionView
<nanoc-gh> [nanoc] ddfreyne pushed 1 new commit to master: http://git.io/vkwHP
<nanoc-gh> nanoc/master 80012da Denis Defreyne: Merge pull request #607 from nanoc/item-rep-collection-view...
<nanoc-gh> [nanoc] ddfreyne created remove-gem-test-output-check (+1 new commit): http://git.io/vkwQI
<nanoc-gh> nanoc/remove-gem-test-output-check 329b92a Denis Defreyne: Remove test_build output check
<nanoc-gh> [nanoc] ddfreyne pushed 1 new commit to master: http://git.io/vkwQu
<nanoc-gh> nanoc/master 6e1887d Denis Defreyne: Merge pull request #608 from nanoc/remove-gem-test-output-check...
<travis-ci> nanoc/nanoc/master 80012da Denis Defreyne: The build is still failing.
pkunc has joined #nanoc
<nanoc-gh> [nanoc] ddfreyne pushed 1 new commit to master: http://git.io/vkwFE
<nanoc-gh> nanoc/master 77a236a Denis Defreyne: Update release notes for 4.0.0b3
<ddfreyne> guardian: nanoc 4 should not be too far away from a release. I intend to release it in June.
<travis-ci> nanoc/nanoc/master 77a236a Denis Defreyne: The build passed.
<nanoc-gh> [nanoc] ddfreyne pushed 2 new commits to aws-deploy-md5-v2: http://git.io/vkwhI
<nanoc-gh> nanoc/aws-deploy-md5-v2 194078e Denis Defreyne: Add more tests
<nanoc-gh> nanoc/aws-deploy-md5-v2 28d9cf7 Denis Defreyne: Prevent useless local etag calculation
<nanoc-gh> [nanoc] ddfreyne pushed 1 new commit to aws-deploy-md5-v2: http://git.io/vkwhW
<nanoc-gh> nanoc/aws-deploy-md5-v2 104abd9 Denis Defreyne: Remove double call
<nanoc-gh> [nanoc] ddfreyne pushed 1 new commit to aws-deploy-md5-v2: http://git.io/vkwjl
<nanoc-gh> nanoc/aws-deploy-md5-v2 dcadf78 Denis Defreyne: Extract #needs_upload?
<travis-ci> nanoc/nanoc/aws-deploy-md5-v2 28d9cf7 Denis Defreyne: The build is still failing.
<nanoc-gh> [nanoc] ddfreyne pushed 1 new commit to aws-deploy-md5-v2: http://git.io/vkrJZ
<nanoc-gh> nanoc/aws-deploy-md5-v2 eaab4eb Denis Defreyne: Fix delete call
<nanoc-gh> [nanoc] ddfreyne pushed 1 new commit to aws-deploy-md5-v2: http://git.io/vkrke
<nanoc-gh> nanoc/aws-deploy-md5-v2 6f7752d Denis Defreyne: Extract #upload
<travis-ci> nanoc/nanoc/aws-deploy-md5-v2 104abd9 Denis Defreyne: The build is still failing.
<nanoc-gh> [nanoc] ddfreyne force-pushed aws-deploy-md5-v2 from 6f7752d to bfb34eb: http://git.io/A46f
<nanoc-gh> nanoc/aws-deploy-md5-v2 bfb34eb Denis Defreyne: Do not upload files with identical etags
<nanoc-gh> [nanoc] ddfreyne force-pushed aws-deploy-md5-v2 from bfb34eb to c25a153: http://git.io/A46f
<nanoc-gh> nanoc/aws-deploy-md5-v2 c25a153 Denis Defreyne: Do not upload files with identical etags
<nanoc-gh> [nanoc] ddfreyne deleted aws-deploy-md5-v2 at c25a153: http://git.io/vkrI8
<nanoc-gh> [nanoc] ddfreyne pushed 1 new commit to master: http://git.io/vkrLs
<nanoc-gh> nanoc/master f4576ed Denis Defreyne: Add AWS ETags enhancement to release notes
<travis-ci> nanoc/nanoc/aws-deploy-md5-v2 eaab4eb Denis Defreyne: The build has errored.
<travis-ci> nanoc/nanoc/aws-deploy-md5-v2 6f7752d Denis Defreyne: The build has errored.
<nanoc-gh> [nanoc] ddfreyne created allow-nil-object-dir-name (+1 new commit): http://git.io/vkrmk
<nanoc-gh> nanoc/allow-nil-object-dir-name c44131a Denis Defreyne: Allow nil in layouts/content dir name
<travis-ci> nanoc/nanoc/aws-deploy-md5-v2 bfb34eb Denis Defreyne: The build has errored.
<travis-ci> nanoc/nanoc/aws-deploy-md5-v2 dcadf78 Denis Defreyne: The build has errored.
<nanoc-gh> [nanoc] ddfreyne deleted allow-nil-object-dir-name at c44131a: http://git.io/vkrYB
<travis-ci> nanoc/nanoc/master 7a176ec Denis Defreyne: The build passed.
<ddfreyne> Oh, the topic is totally outdated.
ddfreyne changed the topic of #nanoc to: 3.8.0 (May 4th) - 4.0.0b2 (May 23rd) | 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
<travis-ci> nanoc/nanoc/master f4576ed Denis Defreyne: The build passed.
<travis-ci> nanoc/nanoc/master d504f20 Denis Defreyne: The build passed.
pkunc has quit [Quit: Leaving.]
pkunc has joined #nanoc
pkunc has quit [Client Quit]
pkunc has joined #nanoc
cDlm has joined #nanoc
<cDlm> ddfreyne: any plans for b3 soon ?
cDlm is now known as VitamineD
<ddfreyne> VitamineD: In the next few days I think.
<ddfreyne> VitamineD: Are you looking for something specific in b3?
<VitamineD> no, just the recent batch of fixes
<VitamineD> I'm following along
tom][ has joined #nanoc
tom[] has quit [Ping timeout: 246 seconds]
tom][ is now known as tom[]
jugglinmike has joined #nanoc
pkunc has quit [Quit: Leaving.]
bghost has joined #nanoc
pkunc has joined #nanoc
<ddfreyne> Cool :)
pkunc has quit [Quit: Leaving.]
<nanoc-gh> [nanoc] ddfreyne pushed 2 new commits to master: http://git.io/vkKeg
<nanoc-gh> nanoc/master 888a4aa Denis Defreyne: Set version to 4.0.0b3
<nanoc-gh> nanoc/master acd8e35 Denis Defreyne: Set release date of 4.0.0b3 to today
<ddfreyne> VitamineD: Will release now.
<nanoc-gh> [nanoc] ddfreyne tagged 4.0.0b3 at 513e846: http://git.io/vkKvZ
<VitamineD> cool :)
<travis-ci> nanoc/nanoc/master acd8e35 Denis Defreyne: The build passed.
prxq has joined #nanoc
<ddfreyne> VitamineD: released.
<VitamineD> I bundle up'd right after my previous line :)
<ddfreyne> VitamineD: The upgrade guide is quite a bit more extensive these days. If you read it before, I recommend re-reading!
<ddfreyne> guard-nanoc is broken for some bizarre reason. It also has NO TESTS :(
<ddfreyne> I will deal with that some other time.
<ddfreyne> I am pretty happy that I managed to create the top right tooltip all with CSS.
<VitamineD> most of my site compiles… what remains is the blog part, which relies on my own helpers
<ddfreyne> VitamineD: Most of the helpers should still work just fine
<VitamineD> they are building items in preprocess stage
<VitamineD> also I think I was directly storing items in attributes
<VitamineD> I don't remember exactly, I just put that whole part aside until now
<ddfreyne> VitamineD: I suppose you could create your own objects and then hand them over to create_item
pkunc has joined #nanoc
<VitamineD> string_pattern_type is not documented?
<ddfreyne> VitamineD: Ack, missing from the config documentation. Will fix.
<ddfreyne> VitamineD: It's missing from the configuration reference though.
<VitamineD> yup, that's where I was looking
<VitamineD> I guess glob is the default value
<ddfreyne> Yes
<ddfreyne> Set it to 'legacy' for nanoc 3 behavior
<nanoc-gh> [nanoc] ddfreyne pushed 1 new commit to master: http://git.io/vkKsF
<nanoc-gh> nanoc/master f22c7a4 Denis Defreyne: Fix style
<travis-ci> nanoc/nanoc/master f22c7a4 Denis Defreyne: The build passed.
<nanoc-gh> [nanoc] ddfreyne pushed 1 new commit to master: http://git.io/vkKnc
<nanoc-gh> nanoc/master 5b85ae8 Denis Defreyne: Disable metrics cops
<travis-ci> nanoc/nanoc/master 5b85ae8 Denis Defreyne: The build passed.
<VitamineD> where's the beta API docs ?
<VitamineD> http://nanoc.ws/docs/api/pre/ is dead
<ddfreyne> VitamineD: The API is not on the site on purpose, because a lot of the API is now private. Even ItemView is private in a way: I expose @item and @items, but not the class itself.
<ddfreyne> I might revisit that at some point, but the API docs are on rubydoc.info anyway.
<VitamineD> in the upgrade guide, you mention replacing item[:extension] by item.identifier.extension, but it's private
<ddfreyne> VitamineD: Whatever's documented on the web site is public
<ddfreyne> As in, part of the public API and that will not change within 4.x.
<VitamineD> NoMethodError: private method `extension' called for <Nanoc::Identifier type=full "/contact.markdown">
number-six has quit [Remote host closed the connection]
<ddfreyne> VitamineD: Oh crap. That method doesn't actually exist, heh
<ddfreyne> File.extname(item.identifier) - use that for now
number-six has joined #nanoc
<VitamineD> ah
<VitamineD> I was using yaml files to attach attributes to image files
<ddfreyne> (possibly File.extname(item.identifier.to_s) -- with the .to_s)
<VitamineD> class Nanoc::Identifier
<VitamineD> def extension
<VitamineD> end
<VitamineD> end
<VitamineD> File.extname(@string)
<VitamineD> ← monkey
<ddfreyne> VitamineD: Yup, works. I believe my implementation will return something that does not include the . as part of ther eturn value though.
<ddfreyne> VitamineD: YAML for image file attributes still works.
<VitamineD> hm, so it's probably something else
<ddfreyne> VitamineD: What issue are you experiencing?
<VitamineD> aah ok
<VitamineD> my images are routed to the yaml filename
<ddfreyne> VitamineD: You mean the identifier ends with .yaml?
<VitamineD> the generated file
<ddfreyne> VitamineD: Do you have an example? Can I see your code?
<VitamineD> create [0.00s] staging/damien.pollet/images/faces/damien-pollet-dslr.yaml
<ddfreyne> VitamineD: What does the routing rule for that look like?
<VitamineD> source files are content/images/faces/damien-pollet-dslr.jpg content/images/faces/damien-pollet-dslr.yaml
pkunc has quit [Quit: Leaving.]
<VitamineD> the code is not committed yet
<VitamineD> I'm generating the route from the identifier's extension, so that's probably it
<VitamineD> thing is, given 2 files differing by extension, how does nanoc merge them in a single identifier
<ddfreyne> VitamineD: Hm. That logic is still the same. Could I get hold of the source you're using right now? (commit into a branch?)
<ddfreyne> Alright, lemme look
<ddfreyne> VitamineD: I also get a NoMethodError: undefined method `entries' for nil:NilClass
<ddfreyne> VitamineD: The .yaml thing is likely a bug.
<VitamineD> yes, my system for building the pagination and archives pages is probably still broken
<ddfreyne> OK, found the bug.
<VitamineD> it relied on item[:extension] working like an attribute, I think
<ddfreyne> When there is both a .yaml and soething else, it will use the .yaml as the identifier.
telemachus has joined #nanoc
<ddfreyne> Fixing. So much for releasing nanoc 4 b3 :D
<VitamineD> so a b4a1 then :p
<nanoc-gh> [nanoc] ddfreyne created fix-identifier-with-separate-yaml-file (+1 new commit): http://git.io/vkKEq
<nanoc-gh> nanoc/fix-identifier-with-separate-yaml-file de1b2f1 Denis Defreyne: Use content filename when constructing identifier
<ddfreyne> The other (content_filename/meta_filename) did not matter in nanoc 3.x, because the identifier does not include the extension anyway.
<nanoc-gh> [nanoc] ddfreyne created identifier-ext (+1 new commit): http://git.io/vkKuT
<nanoc-gh> nanoc/identifier-ext 229b624 Denis Defreyne: Add Identifier#ext
<ddfreyne> I went for #ext instead of #extension because it's quite a bit shorter and consistent with what already exists.
<VitamineD> ok
<VitamineD> do you know if bundle will pull from git dependencies ?
<ddfreyne> VitamineD: gem 'nanoc', github: 'nanoc/nanoc'
<ddfreyne> Not sure about the branch though.
<VitamineD> yes, but does it update the clone ?
<ddfreyne> VitamineD: gem 'nanoc', github: 'nanoc/nanoc', branch: 'fix-identifier-with-separate-yaml-file'
<VitamineD> on bundle up I suppose ?
<ddfreyne> VitamineD: if you "bundle update" then yes
<VitamineD> ok
<ddfreyne> I am soon off to get some sleep though!
<ddfreyne> Ah, I am so happy that nanoc 4 is taking shape.
<ddfreyne> Took such a ridiculously long time to get to the point where I am now.
<VitamineD> :)
<ddfreyne> VitamineD: Anyway, give me +1 if those fixes work for you
<VitamineD> hard to say, I'm chasing several bugs at once
<ddfreyne> Alright
<VitamineD> the changes look good of course
<VitamineD> but since I only have partial compiles and everything is related…
<nanoc-gh> [nanoc] ddfreyne deleted identifier-ext at 229b624: http://git.io/vkKwM
<ddfreyne> VitamineD: Merged. You should be able to use GitHub master now
<nanoc-gh> [nanoc] ddfreyne deleted fix-identifier-with-separate-yaml-file at de1b2f1: http://git.io/vkKwy
<ddfreyne> VitamineD: I'll be around for support next week, but now I believe I need sleep!
<VitamineD> gn
<VitamineD> yup the .jpg are back :)
<ddfreyne> seeya!
telemachus has quit [Quit: (null)]
<travis-ci> nanoc/nanoc/master 9c94511 Denis Defreyne: The build passed.
bghost has quit [Ping timeout: 256 seconds]
bghost has joined #nanoc
bghost has quit [Ping timeout: 255 seconds]
bghost has joined #nanoc
bghost has quit [Ping timeout: 250 seconds]
whk has joined #nanoc
whk has quit [Client Quit]
prxq has quit [Remote host closed the connection]
bghost has joined #nanoc
jugglinmike has quit [Ping timeout: 265 seconds]
bghost has quit [Ping timeout: 264 seconds]
<VitamineD> ddfreyne: any reason why children and parent are empty for full-style identifiers?
<VitamineD> no single acceptable convention, I suppose?
<VitamineD> ddfreyne: btw, "Troubeshooting" typo in the upgrade guide