diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-10-13 13:57:39 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-10-13 13:57:39 -0400 |
commit | 7e326ebfce89b7e81b361afacefa361fd8919586 (patch) | |
tree | af0d0e09d110e14b101ab42774545e893e744050 | |
parent | 68433d82b88e93962561d6ddad8689984398def1 (diff) | |
download | ikiwiki-7e326ebfce89b7e81b361afacefa361fd8919586.tar ikiwiki-7e326ebfce89b7e81b361afacefa361fd8919586.tar.gz |
update
-rw-r--r-- | doc/todo/dependency_types.mdwn | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/doc/todo/dependency_types.mdwn b/doc/todo/dependency_types.mdwn index 1c2f579b3..2bdf1d6a3 100644 --- a/doc/todo/dependency_types.mdwn +++ b/doc/todo/dependency_types.mdwn @@ -552,22 +552,16 @@ operators. Currently, this turns into roughly: `FailReason() & SuccessReason(patch)` Let's say that the glob instead returns a HardFailReason, which when -ANDed with another object, drops their influences. (But when ORed, combines -them.) Fixes the above, but does it always work? - -"(bugs/* or link(patch)) and backlink(index)" => -`( HardFailReason() | SuccessReason(page) ) & SuccessReason(index)`` => -`SuccessReason(page & SuccessReason(index)` => -SuccessReason(page, index) => right - -"(bugs/* and link(patch)) or backlink(index)" => -`( HardFailReason() & SuccessReason(page) ) | SuccessReason(index)`` => -`HardFailReason() | SuccessReason(index)` => -`SuccessReason(index)` => right - -"!bugs/* and link(patch)" => -`HardFailReason() | SuccessReason(bugs/foo)` => -`HardFailReason()` => right +ANDed with another object, blocks their influences. (But when ORed, +combines them.) + +Question: Are all pagespec terms that return reason objects w/o any +influence info, suitable to block influence in this way? + +To be suitable to block, a term should never change from failing to match a +page to successfully matching it, unless that page is directly changed in a +way that influences are not needed for ikiwiki to notice. But, if a term +did not meet these criteria, it would have an influence. QED. #### Influence types |