SID-02504: How to select a different store for each web?
| Status: |
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
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.