aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-10-07 14:25:45 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-10-07 14:25:45 -0400
commita09c79ccf1b9523c4b82db8846435c81f7404d44 (patch)
tree8e874e894c67261e7846ddba96a2284d298840fc /doc
parent0fb4474cf82ffe0ccd2b206843ba4f61160e4cf8 (diff)
downloadikiwiki-a09c79ccf1b9523c4b82db8846435c81f7404d44.tar
ikiwiki-a09c79ccf1b9523c4b82db8846435c81f7404d44.tar.gz
problem with explicit, presence dependencies
Diffstat (limited to 'doc')
-rw-r--r--doc/todo/dependency_types.mdwn19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/todo/dependency_types.mdwn b/doc/todo/dependency_types.mdwn
index 9d649e1e0..7714f2891 100644
--- a/doc/todo/dependency_types.mdwn
+++ b/doc/todo/dependency_types.mdwn
@@ -301,3 +301,22 @@ Not 100% free since it would add explicit deps for things that are not
shown on an inline that limits its display to the first sorted N items.
I suppose we could reach 100% free by making the function also handle
sorting and limiting, though that could be overkill.
+
+----
+
+Found a further complication in presence dependencies. Map now uses
+presence dependencies when adding its explicit dependencies on pages. But
+this defeats the purpose of the explicit dependencies! Because, now,
+when B is changed to not match a pagespec, the A's presence dep does
+not fire.
+
+I didn't think things through when switching it to use presense
+dependencies there. But, if I change it to use full dependencies, then all
+the work that was done to allow map to use presence dependencies for its
+main pagespec is for naught. The map will once again have to update
+whenever *any* content of the page changes.
+
+This points toward the conclusion that explicit dependencies, however they
+are added, are not the right solution at all. Some other approach, such as
+maintaining the list of pages that match a dependency, and noticing when it
+changes, is needed.