ddfreyne changed the topic of #nanoc to: 3.6.11 (may 9th) | 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
VitamineD has quit [Ping timeout: 252 seconds]
VitamineD has joined #nanoc
alerante has joined #nanoc
jugglinmike has quit [Quit: Leaving.]
dkm has quit [Ping timeout: 240 seconds]
dkm has joined #nanoc
canton7 has quit [*.net *.split]
number-six has quit [*.net *.split]
irsol has quit [*.net *.split]
ldk has quit [*.net *.split]
TobiasFar has quit [*.net *.split]
jaspervdj has quit [*.net *.split]
ddfreyne has quit [*.net *.split]
tom[] has quit [*.net *.split]
jd_ has quit [*.net *.split]
mikey_p has quit [*.net *.split]
VitamineD has quit [*.net *.split]
koan has quit [*.net *.split]
stbuehler has quit [*.net *.split]
zaiste has quit [*.net *.split]
bobthecow has quit [*.net *.split]
tlevine has quit [*.net *.split]
guardian has quit [*.net *.split]
francois2 has quit [*.net *.split]
jarr0dsz has quit [*.net *.split]
Keltia has quit [*.net *.split]
VitamineD has joined #nanoc
bobthecow has joined #nanoc
jarr0dsz has joined #nanoc
ddfreyne has joined #nanoc
tom[] has joined #nanoc
jd_ has joined #nanoc
canton7 has joined #nanoc
TobiasFar has joined #nanoc
guardian has joined #nanoc
francois2 has joined #nanoc
zaiste has joined #nanoc
mikey_p has joined #nanoc
tlevine has joined #nanoc
jaspervdj has joined #nanoc
number-six has joined #nanoc
Keltia has joined #nanoc
irsol has joined #nanoc
koan has joined #nanoc
stbuehler has joined #nanoc
ldk has joined #nanoc
canton7 has quit [*.net *.split]
number-six has quit [*.net *.split]
irsol has quit [*.net *.split]
ldk has quit [*.net *.split]
TobiasFar has quit [*.net *.split]
jaspervdj has quit [*.net *.split]
ddfreyne has quit [*.net *.split]
tom[] has quit [*.net *.split]
jd_ has quit [*.net *.split]
mikey_p has quit [*.net *.split]
VitamineD has quit [*.net *.split]
koan has quit [*.net *.split]
stbuehler has quit [*.net *.split]
zaiste has quit [*.net *.split]
bobthecow has quit [*.net *.split]
francois2 has quit [*.net *.split]
guardian has quit [*.net *.split]
tlevine has quit [*.net *.split]
jarr0dsz has quit [*.net *.split]
Keltia has quit [*.net *.split]
VitamineD has joined #nanoc
jarr0dsz has joined #nanoc
bobthecow has joined #nanoc
canton7 has joined #nanoc
stbuehler has joined #nanoc
ddfreyne has joined #nanoc
koan has joined #nanoc
irsol has joined #nanoc
number-six has joined #nanoc
mikey_p has joined #nanoc
ldk has joined #nanoc
Keltia has joined #nanoc
TobiasFar has joined #nanoc
tom[] has joined #nanoc
jd_ has joined #nanoc
jaspervdj has joined #nanoc
zaiste has joined #nanoc
francois2 has joined #nanoc
guardian has joined #nanoc
tlevine has joined #nanoc
alerante has quit [Read error: Connection reset by peer]
alerante has joined #nanoc
prxq has joined #nanoc
zi has quit [Read error: Connection reset by peer]
zi has joined #nanoc
VitamineD has quit [Ping timeout: 240 seconds]
louquillio_ has quit [Ping timeout: 240 seconds]
VitamineD has joined #nanoc
louquillio_ has joined #nanoc
<guardian> o/
<guardian> o/
<guardian> ddfreyne: any opinion on what we discussed with bobthecow about :steal_rep yesterday night?
<ddfreyne> I'm not sure I fully understand
VitamineD_ has joined #nanoc
VitamineD has quit [Ping timeout: 260 seconds]
VitamineD_ has quit [Quit: Computer has gone to sleep.]
VitamineD_ has joined #nanoc
VitamineD__ has joined #nanoc
VitamineD_ has quit [Ping timeout: 240 seconds]
VitamineD___ has joined #nanoc
VitamineD__ has quit [Read error: Connection reset by peer]
VitamineD___ is now known as cDlm
jugglinmike has joined #nanoc
<guardian> ddfreyne: the same nanoc site, I want to build it for 2 targets:
<guardian> ddfreyne: - target www == items are routed like /foo/bar/index.html
<guardian> - target offline: items are routed like /foo/bar.html
<guardian> target offline is used for zipping the whole doc/site and shipping to customer.
<guardian> target www is to serve on a webserver
<guardian> so far I do: NANOC_TARGET=www nanoc compile
<guardian> or NANOC_TARGET=offline nanoc compile
<guardian> yesterday we discussed compiling once, routing twice
<guardian> from what I understood from nanoc 4, I think I can write the same item to 2 destinations easily
<guardian> but with nanoc 3.x, I believe I have to use reps: :www and :offline reps, and then make a :steal_content filter that steals the compiled content from a rep
<guardian> e.g. rep :www would go through the whole filter pipeline
<guardian> but rep :offline would go through a single filter: :steal_content(:rep => :www)
<guardian> that's how I envision achieving this with nanoc 3.x but maybe you have a better idea
<guardian> is it a clear explanation?
<ddfreyne> guardian: Yup, that is not a bad idea actually
<ddfreyne> guardian: You could also have two snapshots for the same rep
<ddfreyne> and then route those
<guardian> two snapshots for the same rep?
<guardian> in my mind: 1 rep == 1 compile, 1 route/destination file == 1 rep
<guardian> so if I want 2 routes, 1 need 2 reps
<guardian> if I want both foo/bar.html and foo/bar/index.html, then I need 2 reps for item /foo/bar/
<guardian> I don't understand how I can have 1 item /foo/bar/, 2 snapshots, 2 destination files
<ddfreyne> guardian: route '/blah/', rep: :something, snapshot: :a do … end
<ddfreyne> guardian: route '/blah/', rep: :something, snapshot: :b do … end
<ddfreyne> guardian: compile '/blah/', rep: :something do … snapshot :a … snapshot :b … end
<ddfreyne> that works
<bobthecow> ddfreyne: oh, right. i forgot you could route a snapshot.
<bobthecow> that would work even better.
cDlm has quit [Ping timeout: 252 seconds]
jugglinmike has quit [Ping timeout: 260 seconds]
alerante has quit [Remote host closed the connection]
jugglinmike has joined #nanoc
jugglinmike has quit [Client Quit]
jugglinmike has joined #nanoc
cDlm has joined #nanoc
alerante has joined #nanoc
cDlm has quit [Ping timeout: 240 seconds]
cDlm has joined #nanoc
cDlm has quit [Read error: Connection reset by peer]
cDlm has joined #nanoc
cDlm has quit [Ping timeout: 240 seconds]
cDlm has joined #nanoc
zi has quit [Quit: :( * 10]
jugglinmike has quit [Quit: Leaving.]
cDlm has quit [Ping timeout: 276 seconds]
cDlm has joined #nanoc
alerante has quit []
alerante has joined #nanoc
prxq has quit [Ping timeout: 252 seconds]