Tags:
create new tag
view all tags

Question

I wish to "baseline" a TWiki installation, so that all current Topics become r1.1 and that any new changes are tracked from the baseline forward (and previous change history is deleted). This will make global history searches more relevant to the new project. I have searched through TWiki.org but have not seen any topics that specifically address this. I believe a script that modifies the ,v files would work, but I was wondering if there is a simpler way (or if the script already exists). Thanks for your help.

Environment

TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Linux Fedora C3
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Topic revisions

-- TWikiGuest - 26 Sep 2005

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.

Deleting all of the ,v files in the data and pub directories removes all history. A new ,v file will be created on the next save or upload (for data and pub respectively).

-- MattWilkie - 26 Sep 2005

Matt's recommendation works as described. Kind of obviou but worth pointing out: The first person editing & saving a topic without a txt,v file will be identified as the author of that topic.

For audit trail, if you are interested in tracking the initial change to the exting text you might want to save every topic once (possibly with a generic user name).

-- PeterThoeny - 26 Sep 2005

Thanks for the quick response. I neglected to say I had tried this, and it seemed to worked OK except the revision numbers at the bottom of each Topic page still reflect the old rev numbers (on any page that is not yet edited and saved). A simple rcs -i for each file does not work either, since it does not create the proper rcs-header that TWiki expects. Maybe a simple global edit/save using the same routine TWiki-edit uses would work? If so, if anyone could tell me the name of the routine that would be great.

-- TWikiGuest - 27 Sep 2005

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2005-09-27 - TWikiGuest
 
  • 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-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.