From: Joey Hess Date: Sat, 5 Jan 2008 07:23:31 +0000 (-0500) Subject: * aggregate: Only save state if it was already loaded. This didn't used to X-Git-Tag: 2.18~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ceffae8af1c797a715ad8bc375ee3f233703b03d;p=ikiwiki.git * aggregate: Only save state if it was already loaded. This didn't used to * table: Fix dependency tracking for external data files. Closes: #458387 --- diff --git a/IkiWiki/Plugin/table.pm b/IkiWiki/Plugin/table.pm index 02a2ba05d..ddc2f68be 100644 --- a/IkiWiki/Plugin/table.pm +++ b/IkiWiki/Plugin/table.pm @@ -22,6 +22,7 @@ sub preprocess (@) { #{{{ return "[[table ".gettext("cannot find file")."]]"; } $params{data} = readfile(srcfile($params{file})); + add_depends($params{page}, $params{file}); } if (lc $params{format} eq 'auto') { diff --git a/debian/changelog b/debian/changelog index 7ecedf1e8..5e119baf0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -ikiwiki (2.18) UNRELEASED; urgency=low +ikiwiki (2.18) unstable; urgency=low * Split error messages for failures to drop real uid and gid. * Retry dropping uid and gid, possibly this will help with the "Resource @@ -11,11 +11,12 @@ ikiwiki (2.18) UNRELEASED; urgency=low need to be able to use form values. To fix this dilemma, it's been changed to a decode_cgi_utf8, which is called on the cgi query object, before the form is set up, and decodes *all* cgi parameters. - * aggregate: Only save state if it was already loaded. This didn't used to + * aggregate: Only save state if it was already loaded. This didn't used to matter, but after recent changes, state is not always loaded, and saving would kill it. + * table: Fix dependency tracking for external data files. Closes: #458387 - -- Joey Hess Tue, 01 Jan 2008 18:46:59 -0500 + -- Joey Hess Sat, 05 Jan 2008 02:15:18 -0500 ikiwiki (2.17) unstable; urgency=low