You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by Ichiro Furusato <ic...@gmail.com> on 2014/10/30 12:10:15 UTC

Proposed: moving all versioning to VersioningProvider API

Hi,

Not sure if anyone is interested in this. I had a brief spurt of work on
doing something
I've been meaning to do for years, namely, removing the versioning-related
methods
from WikiPageProvider and the JSPWiki implementations of the provider, and
moving
that functionality to the VersioningProvider API. E.g., any 'version'
argument has been
moved from WikiPageProvider to VersioningProvider. I've also modified the
Caching
Provider by adding a CachingVersioningProvider to separate out that same
set of
functions into the latter.

I'm not sure if this idea is acceptable to the group, and I've
unfortunately run out of
steam (actually, mostly time) to entirely complete the work, in that I've
not got the
existing unit tests all working.

I've got a patch file and the actual src/main/java src/test/java code in a
tarball at:

  http://neocortext.net/public/jspwiki-versioning-20141030.tar.gz

Sorry I wasn't able to finish (going back into the code tunnel tomorrow)
but thought
someone might like to pick this up.Thought it would be wasted effort if I
didn't pass
it on rather than let it grow stale on my shelf.

Cheers,

Ichiro

PS. Just finished a versioning provider and the existing API was bugging me.