summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorhttp://www.cse.unsw.edu.au/~willu/ <http://www.cse.unsw.edu.au/~willu/@web>2008-09-27 20:03:15 -0400
committerJoey Hess <joey@kitenet.net>2008-09-27 20:03:15 -0400
commit66eb48ebcd0d2d55c2b3c24f55cab6b8f65276cb (patch)
tree62683994259162b408666fd890851c91816f10c8 /doc
parent2ff3c8aee78114974b6930c18247f050d35f2012 (diff)
Thoughts on the new wikistate variable
Diffstat (limited to 'doc')
-rw-r--r--doc/plugins/write/discussion.mdwn12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/plugins/write/discussion.mdwn b/doc/plugins/write/discussion.mdwn
index 50fbab1ef..c8d4ebb14 100644
--- a/doc/plugins/write/discussion.mdwn
+++ b/doc/plugins/write/discussion.mdwn
@@ -8,3 +8,15 @@ print join(",",keys %IkiWiki::config);
[[DavidBremner]]
+I'm a little concerned about one aspect of the `%wikistate` variable that was just introduced.
+I think global state for each plugin is a fine idea, but I worry about making it persist across
+rebuilds. (And by rebuild, I assume we're talking about the `--rebuild` option.)
+
+My reasoning is that a 'rebuild' should be similar to checking out a new copy of the wiki
+and building. Another way of saying this is that all permanent state should be in the RCS.
+It is great that there is temporary state stored in other places - I think of it as indexing
+and caching. I'm worried that with the persistence, plugin writers will start putting data
+there that isn't backed by the RCS and that will break IkiWiki's great abilities as a
+distributed wiki.
+
+[[Will]]