Question
Hello,
Is it possible to use TWiki with a Subversion based revision control system rather than
RCS?
What we'd like to do is have all Wiki documents available within a Subversion branch that users can check out and check in through the command line, in addition to via the web interface.
Has anybody done this? How would I go about doing this?
Environment
--
JoeAuty - 15 Mar 2007
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
Is there some sort of post-edit hook where I could write up a script to handle the svn commit of a doc?
--
JoeAuty - 20 Mar 2007
Joe, the simplest thing you can do, is to change the rcs command line settings in LocalLib.cfg to use svn instead. I've not done it, but it really should 'just' work.
ie, use RcsWrap, but make it use
svn rather than
co ci rcslog etc.
you may need some code to get it to understand subtle changes in the output. As a part of
WikiRing partners
we are persuing some sponsorship to make time to work on this kind of thing (and Database backed stores etc). If you're in need of help, feel free to contact us.
--
SvenDowideit - 20 Mar 2007
Asking WikiRing partners is certainly a good option among all the
CodersForHire and
ConsultantsForHire. For a healthy TWiki open source eco-system I think it is important to nurture TWiki.org as the central repository for TWiki extensions/enhancements.
--
PeterThoeny - 21 Mar 2007
There is some code in the TWiki Subversion repository for
Subversive.pm
(or
4.2.4
) that seems like it does what you want. I haven't tried it myself (yet). My understanding is that you have to configure TWiki to use the new module. The code requires the svn client to be installed (i.e. it does not use the Subversion perl bindings, it uses system commands)
--
RobertJacobson - 05 Sep 2007,
TrippLilley - 05 Jan 2009 (Subversive.pm URL update)