diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2010-03-26 00:57:46 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2010-03-26 00:57:46 -0400 |
commit | 1093c7e4b2ec5f3b4052ed5c1b5530560864a920 (patch) | |
tree | 7d63f0e8da33d69c2dd5256d81534da1f68d4712 /doc/bugs/depends_simple_mixup.mdwn | |
parent | 243b0dd082cf4b66dfef55b2c9b459109bee7398 (diff) | |
download | ikiwiki-1093c7e4b2ec5f3b4052ed5c1b5530560864a920.tar ikiwiki-1093c7e4b2ec5f3b4052ed5c1b5530560864a920.tar.gz |
new bug
Diffstat (limited to 'doc/bugs/depends_simple_mixup.mdwn')
-rw-r--r-- | doc/bugs/depends_simple_mixup.mdwn | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/bugs/depends_simple_mixup.mdwn b/doc/bugs/depends_simple_mixup.mdwn new file mode 100644 index 000000000..506bef904 --- /dev/null +++ b/doc/bugs/depends_simple_mixup.mdwn @@ -0,0 +1,18 @@ +The [[bugs]] page, at least before I commit this, has a bug at the top that +has been modified to link to done, and ikiwiki's dependency calculations +failed to notice and update the bugs page. Looking at the indexdb, I saw +that the page was not included in the `depends_simple` of the bugs page. + +I was able to replicate the problem locally by starting off with the page +not marked done (when it did appear in the bugs page `depends_simple` +(appropriatly as a link dependency, since a change to the page removing the +link would make it match)), then removing the done link. + +At that point, it vanished from `depends_simple`. Presumably because +the main (pagespec) depends for the bugs page now matched it, as a content +dependency. But, it seems to me it should still be listed in +`depends_simple` here. This, I think, is the cause of the bug. + +Then re-add the done link, and the dependency calc code breaks down, +not noticing that bugs dependeded on the page and needs to be updated. +--[[Joey]] |