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