Steve Traugott wrote:
Hi All,

(I mistakenly tried to start this thread on the trac users' list, so
pardon the noise if you've already seen it.)
I'm working on a patch to enable an IWikiWorkflowController, so I can
write a market-based workflow plugin on top of it...  More on the
market-based thing later; for now I'm just focusing on the minimum API
a generic workflow extension point might need -- it's not much,
really; just a way for a plugin to control the default viewable
version of a page, and a way to allow edits of arbitrary versions
without running afoul of collision detection.

Maybe I don't understand exactly what you try to achieve,
but to me, a ''workflow'' seems to have more to do with
state transition than with version control.
See the ticket workflow work of Alec Thomas, for example:
http://projects.edgewall.com/trac/wiki/WorkFlow
The wiki pages don't even have state or properties yet, though.

OTOH, what you described seems to be the ability to edit
(or branch from) any arbitrary version from the Wiki,
and be able to mark one of those versions to be the default
one.

I don't know of any Wiki that provides this kind of flexibility,
though in theory any Wiki using RCS as the backend would
have the possibility to do this. The UI might probably end up
being complex...

But in Trac, there's little support for this, as the successive versions
of a Wiki page are stored in sequence.

After some initial floundering around, I *think* I'm taking the right
approach with this patch+plugin route; I can't see a way to do this in
a plugin alone, unless I completely override the wiki component.  I've
written a proposal describing what I'm doing -- see
http://trac-hacks.org/wiki/stevegt.  I'll post the patch on
trac-hacks.org sometime in the next few days.  I do hope to get the
patch into mainstream someday, so I'm all ears if anyone has any
suggestions.

Maybe I'll understand better after seeing some code :)

-- Christian
_______________________________________________
Trac-dev mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-dev

Reply via email to