louquillio has quit [Remote host closed the connection]
louquillio has joined #nanoc
<ddfreyne>
skroon_: yeah you can pass your own list of articles to other functions
<ddfreyne>
articles/sorted_articles just provide sensible defaults
alerante has quit [Read error: Connection reset by peer]
alerante_ has joined #nanoc
skroon__ has joined #nanoc
skroon_ has quit [Ping timeout: 268 seconds]
skroon has quit [Ping timeout: 268 seconds]
skroon has joined #nanoc
alerante_ has quit [Remote host closed the connection]
bobthecow has quit [Ping timeout: 276 seconds]
<guardian>
o/
<guardian>
ddfreyne: how can I hack a way to compile a single item?
FunkyPenguin has quit [Quit: No Ping reply in 180 seconds.]
FunkyPenguin has joined #nanoc
FunkyPenguin has quit [Changing host]
FunkyPenguin has joined #nanoc
<musicmatze>
ddfreyne: s/functions/methods/
<musicmatze>
:-P
skroon has quit [Ping timeout: 240 seconds]
skroon__ has quit [Ping timeout: 240 seconds]
<musicmatze>
Hi there. Version 0.0.4-0 of my static site compiler was released tonight! That means, I'm writing modules from now on. Just if you're interested...
skroon has joined #nanoc
skroon_ has joined #nanoc
skroon__ has joined #nanoc
<ddfreyne>
guardian: You can't easily in nanoc 3.x but it will be easier in nanoc 4.x
<ddfreyne>
musicmatze: Cool! where can I find it?
skroon_ has quit [Ping timeout: 241 seconds]
skroon has quit [Ping timeout: 241 seconds]
<guardian>
does nanoc has an helper to go up a path?
<guardian>
like /a/b/c/ —> go up —> /a/b/
skroon has joined #nanoc
<ddfreyne>
guardian: a Nanoc::Item has a #parent
<ddfreyne>
(the parent can be nil)
<ddfreyne>
guardian: Also see the breadcrumbs helper
<guardian>
I said path, not identifier
<ddfreyne>
nope
<guardian>
anyways, found another way
<guardian>
I'm massing my robots.txt so that it disallows archive pages… I'm not happy with them appearing in google results when entering site:pempek.net
<musicmatze>
But as there are no modules yet, you cannot compile anything ! :-P
<musicmatze>
By they way: Reading a file-tree in C is ugly! Really!
<ddfreyne>
musicmatze: how so?
<musicmatze>
-> man scandir
<ddfreyne>
yeah it's not ideal :)
<musicmatze>
Running filter functions which return numbers, but when you compile, the compiler tells you that returning a number is not correct or so, because it wants an enum... I finally figured it out how to do it yesterday night after ~2 hours dealing around with compiler warnings!
<musicmatze>
Ideal would be : int getfilepaths(const char *root, char **pathes_dest, size_t *len_dest);
<musicmatze>
maybe with 'int flags' for config (follow symlinks, bla bla)
<musicmatze>
ddfreyne: Found an old tweet from you: "The diff between nanoc 3.x and nanoc 4.0 is over 300 screenfuls already. It sure is making progress!" - 1. Mai 2013! lol!
<_rgn>
when's 4.0 gonna be out and will there be a document on how to migrate
<musicmatze>
that's indeed a good question! :-P
<ddfreyne>
nanoc 4.0 has no release date, but the idea is to improve it incrementally and keep it usable all the time
<ddfreyne>
There will be a migration document, and I've been meanign to write that up... haven't gotten to it yet
<ddfreyne>
(It will remain incomplete for some time)
<ddfreyne>
It will be significantly easier to go from 3 to 4 than it was to go from 2 to 3.
jaspervd1 has quit [Ping timeout: 264 seconds]
jaspervdj has joined #nanoc
bghost has joined #nanoc
skroon has quit [Ping timeout: 264 seconds]
skroon__ has quit [Ping timeout: 264 seconds]
Rym has joined #nanoc
louquillio has quit [Remote host closed the connection]
alerante has joined #nanoc
bghost has quit [Ping timeout: 257 seconds]
Rym has quit [Read error: Connection reset by peer]
Rym_ has joined #nanoc
bghost has joined #nanoc
bghost has quit [Quit: leaving]
louquillio has joined #nanoc
bghost has joined #nanoc
tbm_ has joined #nanoc
<ddfreyne>
!tell bobthecow Do you think output.diff is useful? I'm thinking of scratching that, and telling people to use git diff (with the output dir being a submodule or in a separate branch)
<number-six>
ddfreyne: I'll pass that on when I see bobthecow here.
kelvinst has joined #nanoc
pavelkunc has joined #nanoc
bghost_ has joined #nanoc
bghost has quit [Ping timeout: 256 seconds]
ldk has quit [*.net *.split]
louquillio has quit [*.net *.split]
Rym_ has quit [*.net *.split]
_br_ has quit [*.net *.split]
koan has quit [*.net *.split]
pepijndevos has quit [*.net *.split]
ldk has joined #nanoc
pepijndevos has joined #nanoc
louquillio has joined #nanoc
Rym_ has joined #nanoc
_br_ has joined #nanoc
koan has joined #nanoc
pavelkunc has quit [Quit: Leaving.]
bobthecow has joined #nanoc
bobthecow has joined #nanoc
louquillio has quit [Remote host closed the connection]