tags 411027 patch
thanks
Hi,
On Wed, Mar 07, 2007 at 06:07:20PM -0800, Steve Langasek wrote:
>
> Could you take a look at bug #411027, filed on libkwiki-perl? Martin's
> assessment is that the package is in pretty bad shape overall, and dropping
> this package for etch implies dropping kwiki as well, so perhaps you'd care
> to take a look at fixing up libkwiki-perl's prominent issues?
I don't know what would be the best to fix this bug:
* fix kwiki's documentation to mention that 'kwiki -new my_kwki' is not
sufficient.
* Fix libkwiki-perl so that the wiki directory created after -new is
usable.
* package kwiki2
Calling handle_update_all (or unlinking registry.dd) at the end of
handle_new in Command.pm fixes the second point.
There is still a documentation issue (Kwiki::Command only documents
-new, and mentions -update, -install, -remove, -new_view), so I leave it
up to libkwiki-perl or kwiki's maintainers to apply the patch or to drop
kwiki from Etch (and package kwiki2, which seams to have more
documentation)
PS: Also upstream recommends not to install 0.38:
http://search.cpan.org/src/INGY/Kwiki-0.39/README
(maybe it's just to promote the new Kwiki2; which will have an upgrade
path from Kwiki: http://www.kwiki.org/?UpgradingToKwiki2)
Kind Regards,
--
Nekral
diff -rauNp ../orig/libkwiki-perl-0.38/lib/Kwiki/Command.pm ./libkwiki-perl-0.38/lib/Kwiki/Command.pm
--- ../orig/libkwiki-perl-0.38/lib/Kwiki/Command.pm 2005-04-03 12:50:54.000000000 +0200
+++ ./libkwiki-perl-0.38/lib/Kwiki/Command.pm 2007-03-09 01:31:35.000000000 +0100
@@ -19,6 +19,7 @@ sub handle_new {
$self->install('widgets');
io('plugin')->mkdir;
$self->set_permissions;
+ $self->handle_update_all;
warn "\nKwiki software installed! Point your browser at this location.\n\n";
}