Tags:
create new tag
view all tags

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

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Version control, Plugins

-- JoeAuty - 15 Mar 2007

Answer

ALERT! 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)

Change status to:
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2009-01-05 - TrippLilley
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.