diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-10-07 21:26:57 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-10-07 21:26:57 -0400 |
commit | 83b9bf54ec85f7c1156983108f57c2b1af0e8fe5 (patch) | |
tree | 29280b5ef081073c16fbc3d2ebd949ebdb080e36 /doc | |
parent | bb389a5ae25461ed20e2d28b18ea8b08f5f36473 (diff) | |
parent | f7601954a862afd4c5a5b9ba83480af0472e1cf9 (diff) | |
download | ikiwiki-83b9bf54ec85f7c1156983108f57c2b1af0e8fe5.tar ikiwiki-83b9bf54ec85f7c1156983108f57c2b1af0e8fe5.tar.gz |
Merge branch 'master' into dependency-types
Diffstat (limited to 'doc')
-rw-r--r-- | doc/todo/dependency_types.mdwn | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/todo/dependency_types.mdwn b/doc/todo/dependency_types.mdwn index ca0dbc920..479cc95cc 100644 --- a/doc/todo/dependency_types.mdwn +++ b/doc/todo/dependency_types.mdwn @@ -379,6 +379,8 @@ Given that, the `backlink` will always be evalulated, and will put index onto the influence list. If we combine the influences from each successful match, we get the right result. +> This is implemented, seems to work ok. --[[Joey]] + #### High-level Calculation and Storage Calculating the full influence list for a pagespec requires trying to match @@ -409,3 +411,14 @@ Where to store the influence list? Well, it appears that we can just add regular list of simple dependencies. So, the data stored ends up looking just like what is stored today by the explicit dependency hacks. Except, it's calculated more smartly, and is added automatically. + +> I've implemented influence calculation in `add_depends`. As expected, +> it means rather a lot more work, and makes some things much slower. +> Optimisation via `pagespec_match_depends` next.. --[[Joey]] + +#### Influence types + +Note that influences can also have types, same as dependency types. +For example, "backlink(foo)" has an influence of foo, of type links. +"created_before(foo)" also is influenced by foo, but it's a presence +type. Etc. |