Inspired by bob, I've written a Wiki::Toolkit interface to Apache Lucy search:
http://www.wiki-toolkit.org/changeset/545/
Passes tests for me - can other people have a bash at it? I think this is
worth a release; then I can start on getting it into OpenGuides.
Kake
Hi,
Is anyone able to take a look at this test failure?
Cheers,
Dominic.
----- Forwarded message from Andreas Koenig via RT <bug-Wiki-Toolkit(a)rt.cpan.org> -----
Date: Tue, 16 Apr 2013 16:13:27 -0400
From: Andreas Koenig via RT <bug-Wiki-Toolkit(a)rt.cpan.org>
To: undisclosed-recipients: ;
Subject: [rt.cpan.org #84680] Fails with DBD::SQLite 1.38_01, _02
X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI,
SPF_PASS autolearn=ham version=3.3.1
Reply-To: bug-Wiki-Toolkit(a)rt.cpan.org
X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.2
Tue Apr 16 16:13:27 2013: Request 84680 was acted upon.
Transaction: Ticket created by ANDK
Queue: Wiki-Toolkit
Subject: Fails with DBD::SQLite 1.38_01, _02
Broken in: (no value)
Severity: (no value)
Owner: Nobody
Requestors: ANDK(a)cpan.org
Status: new
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=84680 >
As per subject.
Sample fail report:
http://www.cpantesters.org/cpan/report/d426cf62-11d8-11e2-93c9-4fe877251228
Ribasushi knows probably more, he asked me for a bit of extra smoking on DBD::SQLite 1.83+
HTH, Thanks && Regards,
----- End forwarded message -----
--
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)
I've just made a long-overdue fix to Wiki::Toolkit::Formatter::UseMod
to allow people to style external links with CSS rather than with
hardcoded square brackets:
http://www.wiki-toolkit.org/changeset/540
I think this merits a release!
Kake
Hello! I have fixed bug #41:
http://www.wiki-toolkit.org/ticket/41
This was the bug that was making overly-ancient versions of nodes show
up when using the "metadata_was" parameter to ->list_recent_changes().
It would be great if we could have a Wiki::Toolkit release ASAP, since
I need this fix for OpenGuides.
Kake
Hello list,
I'm thinking of implementing a flat-file backend. As Dom pointed out,
metadata and versioning would need to be addressed.
For metadata, I was thinking of using Lucy[0] and storing metadata as
fields.
As for versioning, I would have one current version of a file
("foo.txt"), and previous versions would follow a naming convention like
"foo__2012-02-03T191540.txt". Moderation could also be represented in
the filename somehow.
Additionally, if one didn't want to constrain users from using silly
node names with long timestamps on the end, the versioned files could be
kept in a directory named from the node.
How does that sound?
Cheers,
--Ryan
[0] http://search.cpan.org/~dwheeler/Lucy-0.2.2/lib/Lucy.pod
Hello
Please check that mocking "quote" is a right idea. I guess any DBI
method would be ok here.
diff done with svn version 1.6.5
--
Alexandr Ciornii, http://chorny.net
The schema upgrade 9_to_10 (at least) does not work with PostgreSQL 7.4
- it seems to rely on functionality only in 8.
http://www.wiki-toolkit.org/ticket/47
Is anyone on the list currently using PostgreSQL 7.4 with Wiki::Toolkit
and likely to run into this issue in future?
Dominic.
--
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)
I've just release Wiki::Toolkit 0.77, containing some changes which have
lingered in SVN for far too long:
0.77 24 December 2008
Complete support for store->list_metadata_by_type, which
returns a list of all the metadata values
Add store->list_metadata_names, which will tell you all the
different metadata types (names)
write_node: return the version of the node that was just committed,
if successful
Don't write out a new version of a node if the checksum is the
same as the one already stored (#43)
t/400_upgrade.t: skip all tests correctly if no backends
configured (#44)
Configure charset correctly when passing in an existing $dbh (#24)
Available on CPAN and
<http://www.wiki-toolkit.org/download/Wiki-Toolkit-0.77.tar.gz>
Cheers,
Dominic.
--
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)
[Cc Wiki::Toolkit list]
On Thu, Jun 26, 2008 at 09:34:17PM +0100, Kake L Pugh wrote:
> On Thu 26 Jun 2008, Kake L Pugh <kake(a)earth.li> wrote:
> > I suspect that I have at last found out the thing that makes
> > OpenGuides take people's servers over. It's the per-user RSS feeds,
> > which are usually linked from e.g.
> > http://cambridge.openguides.org/wiki/?username=Kake;action=userstats
> >
> > [...]
> >
> > The root problem is with the _find_recent_changed_by_criteria method
> > in Wiki::Toolkit::Store::Database, specifically the "metadata_wasnt"
> > parameter in combination with the "limit" one. I am working on a
> > rewrite of this method to make it more efficient, but this is going to
> > require some thinking and hence some time.
>
> Having discovered that there's no real reason for the RSS feeds to use
> metadata_wasnt rather than metadata_was, I've circumvented the problem
> for now by switching the code in Wiki::Toolkit::Feed::Listing to use
> metadata_was. All tests still pass, and I've used RGL's latest
> database dump to confirm that the per-user RSS feeds are no longer so
> horribly inefficient.
>
> This change has been added to Wiki::Toolkit svn; no changes to
> OpenGuides were needed.
Thanks for this - I'll try and accelerate my pending changes and then
roll a Wiki::Toolkit release.
Dominic.
--
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)