]> sipb.mit.edu Git - ikiwiki.git/commitdiff
also a problem for theme plugin
authorJoey Hess <joey@kitenet.net>
Fri, 18 Jun 2010 18:39:08 +0000 (14:39 -0400)
committerJoey Hess <joey@kitenet.net>
Fri, 18 Jun 2010 18:39:08 +0000 (14:39 -0400)
doc/bugs/underlaydir_file_expose.mdwn

index c827c6dd85b8b8d4cf7ffec25849d80df4000393..ca492e396ea2170bb9c461a0fad4a7bbefcb9ff5 100644 (file)
@@ -1,4 +1,12 @@
 If a file in the srcdir is removed, exposing a file in the underlaydir,
 If a file in the srcdir is removed, exposing a file in the underlaydir,
-ikiwiki will notice the removal and delete the page from the destdir. The
+ikiwiki will not notice the removal, and the
 page from the underlay will not be built. (However, it will be if the wiki
 gets rebuilt.)
 page from the underlay will not be built. (However, it will be if the wiki
 gets rebuilt.)
+
+> This problem is caused by ikiwiki storing only filenames relative to
+> the srcdir or underlay, and mtime comparison not handling this case.
+
+> A related problem occurs if changing a site's theme with the
+> [[plugins/theme]] plugin. The style.css of the old and new theme
+> often has the same mtime, so ikiwiki does not update it w/o a rebuild.
+> --[[Joey]]