aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/wiki_rebuild_should_throw_errors_if_the_configured_underlaydir_or_templatedir...
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-10-30 12:48:34 -0400
committerJoey Hess <joey@kitenet.net>2011-10-30 12:48:34 -0400
commit14607a10f92c8859fc6c4b28c59b228c131f9c87 (patch)
treede4ab4c803f1be1e611e5f9d165239031705902c /doc/bugs/wiki_rebuild_should_throw_errors_if_the_configured_underlaydir_or_templatedir_don__39__t_exist.mdwn
parent3aa41021ad4aa4361b44663fd8dbb1a7dbea72e0 (diff)
downloadikiwiki-14607a10f92c8859fc6c4b28c59b228c131f9c87.tar
ikiwiki-14607a10f92c8859fc6c4b28c59b228c131f9c87.tar.gz
bug responses
(Yes, I'm still alive)
Diffstat (limited to 'doc/bugs/wiki_rebuild_should_throw_errors_if_the_configured_underlaydir_or_templatedir_don__39__t_exist.mdwn')
-rw-r--r--doc/bugs/wiki_rebuild_should_throw_errors_if_the_configured_underlaydir_or_templatedir_don__39__t_exist.mdwn12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/bugs/wiki_rebuild_should_throw_errors_if_the_configured_underlaydir_or_templatedir_don__39__t_exist.mdwn b/doc/bugs/wiki_rebuild_should_throw_errors_if_the_configured_underlaydir_or_templatedir_don__39__t_exist.mdwn
index 8da9f4f6b..2b096b2a6 100644
--- a/doc/bugs/wiki_rebuild_should_throw_errors_if_the_configured_underlaydir_or_templatedir_don__39__t_exist.mdwn
+++ b/doc/bugs/wiki_rebuild_should_throw_errors_if_the_configured_underlaydir_or_templatedir_don__39__t_exist.mdwn
@@ -1 +1,13 @@
I originally set up ikiwiki by using the debian package, but had some odd issues, so i figured i'd try installing from git. To do that i uninstalled the debian package and then did the Makefile dance from the git dir. In that process the original dirs configured in templatedir underlaydir in my wiki were deleted; HOWEVER when rebuilding the script just went ahead and did not even note the lack of those dirs. It would be nice if it threw errors if the dirs were configured, but non-existant.
+
+> Hmm. This behavior was explicitly coded into ikiwiki for underlay dirs:
+> [commit](http://source.ikiwiki.branchable.com/?p=source.git;a=commitdiff;h=cb4b99929757f970d5ae697f0d09514ad624ed46).
+> Pity I didn't say why, but presumably there are cases
+> where one of the underlaydirs is expected to be missing, or where
+> this robustness of not crashing is needed.
+>
+> The situation with missing templatedirs is more clear: When
+> it's looking for a given template file it just tries to open it in each
+> directory in turn, and uses the first file found; checking that a
+> directory exists would be extra work and there's a nice error message if
+> a template cannot be found. --[[Joey]]