Tags:
create new tag
view all tags

SID-02504: How to select a different store for each web?

Status: Asked Asked TWiki version: 6.1.0 Perl version: 5.16.3
Category: CategoryVersionControl Server OS: RHEL 7.7 Last update: 2 years ago

The Store Settings configuration section says: " You can manually add options to LocalSite.cfg to select a different store for each web. If $TWiki::cfg{Store}{Fred} is defined, it will be taken as the name of a perl class (which must implement the methods of TWiki::Store::RcsFile). The TWiki::Store::Subversive class is an example implementation using the Subversion version control system as a data store. "

I've tried creating a new web named "Foo" and then trying to set $TWiki::cfg{Store}{Foo} = 'TWiki::Store::RcsXXX';

to switch this web to a non-existent provider (temporarily, to confirm that the setting is taking effect).

But this doesn't seem to have any effect that I can tell. What's the correct way in LocalSite.cfg to set the Store provider for a web?

-- TWiki Guest - 2023-01-30

Discussion and Answer

I am not familiar with this feature, and I briefly looked through the code and did not find any code that makes the store implementation web specific. I might be wrong though. Let others chime in.

-- Peter Thoeny - 2023-01-31

      Change status to:
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.
SupportForm
Status Asked
Title How to select a different store for each web?
SupportCategory CategoryVersionControl
TWiki version 6.1.0
Server OS RHEL 7.7
Web server Apache 2.4.6-97
Perl version 5.16.3
Browser & version

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2023-01-31 - PeterThoeny
 
  • 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.