1 I noticed when generating my wiki that all of my RSS feeds were
2 getting regenerated even when I edited only a page that did not affect
5 I found that the problem only occurs in the presence of a file that
6 contains \[[inline pages="*"]].
8 Here's a short script for replicating the bug. Just cut and paste this
9 to a shell, (it will only muck in a new /tmp/ikiwiki-test directory
13 mkdir ikiwiki-test; cd ikiwiki-test; mkdir src
14 echo '[[inline pages="blog/*"]]' > src/myblog.mdwn
15 mkdir src/blog; echo "A blog entry" > src/blog/entry.mdwn
16 echo 'use IkiWiki::Setup::Standard {
19 url => "http://example.com",
20 templatedir => "/dev/null",
21 underlaydir => "/dev/null",
28 ls -l --time-style=full-iso output/myblog/index.rss
29 echo "not a blog entry" > src/not-a-blog.mdwn
31 ls -l --time-style=full-iso output/myblog/index.rss
32 echo '[[inline pages="*"]]' > src/archives.mdwn
34 ls -l --time-style=full-iso output/myblog/index.rss
35 echo "still not blogging" >> src/not-a-blog.mdwn
37 ls -l --time-style=full-iso output/myblog/index.rss
39 Here's the tail of the output that I see for this command:
41 $ echo "not a blog entry" > src/not-a-blog.mdwn
42 $ ikiwiki --setup setup
44 scanning not-a-blog.mdwn
45 rendering not-a-blog.mdwn
47 $ ls -l --time-style=full-iso output/myblog/index.rss
48 -rw-r--r-- 1 cworth cworth 459 2007-06-01 06:34:36.000000000 -0700 output/myblog/index.rss
49 $ echo '[[inline pages="*"]]' > src/archives.mdwn
50 $ ikiwiki --setup setup
52 scanning archives.mdwn
53 rendering archives.mdwn
55 $ ls -l --time-style=full-iso output/myblog/index.rss
56 -rw-r--r-- 1 cworth cworth 459 2007-06-01 06:34:37.000000000 -0700 output/myblog/index.rss
57 $ echo "still not blogging" >> src/not-a-blog.mdwn
58 $ ikiwiki --setup setup
60 scanning not-a-blog.mdwn
61 rendering not-a-blog.mdwn
62 rendering archives.mdwn, which depends on not-a-blog
64 $ ls -l --time-style=full-iso output/myblog/index.rss
65 -rw-r--r-- 1 cworth cworth 459 2007-06-01 06:34:38.000000000 -0700 output/myblog/index.rss
67 It looks like the rendering of archives.mdwn is also silently
68 generating myblog/index.rss.