will be automatically done on all upgrades.
delete $setup{disable_plugins};
}
- if (! $config{refresh}) {
- debug("generating wrappers..");
- my @wrappers=@{$setup{wrappers}};
- delete $setup{wrappers};
- my %startconfig=(%config);
- foreach my $wrapper (@wrappers) {
- %config=(%startconfig, verbose => 0, %setup, %{$wrapper});
- checkconfig();
- gen_wrapper();
- }
- %config=(%startconfig);
- }
- else {
- delete $setup{wrappers};
+ debug("generating wrappers..");
+ my @wrappers=@{$setup{wrappers}};
+ delete $setup{wrappers};
+ my %startconfig=(%config);
+ foreach my $wrapper (@wrappers) {
+ %config=(%startconfig, verbose => 0, %setup, %{$wrapper});
+ checkconfig();
+ gen_wrapper();
}
+ %config=(%startconfig);
foreach my $c (keys %setup) {
if (defined $setup{$c}) {
Making this change makes your ikiwiki setup file more future-proof since
new default plugins will be automatically used.
- You will need to rebuild your wiki when upgrading to this version.
- If you listed your wiki in /etc/ikiwiki/wikilist this will be done
- automatically when the Debian package is upgraded. Or use
- ikiiki-mass-rebuild to force a rebuild.
+ You will need to rebuild your ikiwiki wrappers when upgrading to this
+ version. If you listed your wiki in /etc/ikiwiki/wikilist this will be
+ done automatically when the Debian package is upgraded. Or use
+ ikiiki-mass-rebuild --refresh to force a refresh.
-- Joey Hess <joeyh@debian.org> Mon, 3 Jul 2006 16:59:29 -0400
be copied unsanitised. With this plugin, it will process, and html
sanitise them, like any other page type.
* Rebuilding wrappers is necessary on upgrade to this version.
+ * Make ikiwiki --setup --refresh rebuild wrappers, so wrapper rebuild
+ will be automatically done on all upgrades.
- -- Joey Hess <joeyh@debian.org> Mon, 3 Jul 2006 18:15:30 -0400
+ -- Joey Hess <joeyh@debian.org> Mon, 3 Jul 2006 20:24:18 -0400
ikiwiki (1.7) unstable; urgency=low
# Change this when some incompatible change is made that requires
# rebuilding all wikis.
-firstcompat=1.8
+firstcompat=1.4
if [ "$1" = configure ] && \
dpkg --compare-versions "$2" lt "$firstcompat"; then
* --refresh
Refresh the wiki, updating any changed pages. This is the default
- behavior so you don't normally need to specify it.
+ behavior so you don't normally need to specify it. If used with -setup also
+ updates any configured wrappers.
* --rebuild