listdirectives: Avoid listing _comment directives and generally assume any directive starting with _ is likewise internal.

master
Joey Hess 2009-05-22 14:17:26 -04:00
parent 7825960d31
commit 8f6cdf3ae0
3 changed files with 6 additions and 4 deletions

View File

@ -45,7 +45,7 @@ sub checkconfig () {
sub needsbuild (@) {
my $needsbuild=shift;
@fulllist = sort keys %{$IkiWiki::hooks{preprocess}};
@fulllist = grep { ! /^_/ } sort keys %{$IkiWiki::hooks{preprocess}};
@shortlist = grep { ! $IkiWiki::hooks{preprocess}{$_}{shortcut} } @fulllist;
$pluginstring = join(' ', @shortlist) . " : " . join(' ', @fulllist);

2
debian/NEWS vendored
View File

@ -1,4 +1,4 @@
ikiwiki (3.13) UNRELEASED; urgency=low
ikiwiki (3.13) unstable; urgency=low
The `ikiwiki-transition deduplinks` command introduced in the
last release was buggy. If you followed the NEWS file instructions

6
debian/changelog vendored
View File

@ -1,4 +1,4 @@
ikiwiki (3.13) UNRELEASED; urgency=low
ikiwiki (3.13) unstable; urgency=low
* ikiwiki-transition: If passed a nonexistant srcdir, or one not
containing .ikiwiki, abort with an error rather than creating it.
@ -13,8 +13,10 @@ ikiwiki (3.13) UNRELEASED; urgency=low
that need a srcdir.
* ikiwiki-transition: deduplinks was broken and threw away all
metadata stored by plugins in the index. Fix this bug.
* listdirectives: Avoid listing _comment directives and generally
assume any directive starting with _ is likewise internal.
-- Joey Hess <joeyh@debian.org> Wed, 06 May 2009 20:45:44 -0400
-- Joey Hess <joeyh@debian.org> Fri, 22 May 2009 14:10:56 -0400
ikiwiki (3.12) unstable; urgency=low