• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

I find it a bit annoying that the configuration files LocalLib.cfg and LocalSite.cfg are in bin and lib. Each tim e i update the bin and lib dirs, I must take care not to overwrite the configuration files. It would be so much easier if these files where in the dir /config.


Why do you need to take care? Neither of these files is in the release, they are purely local.

I did consider this for Dakar, but decided to leave them where they were, because I felt a move was high risk.

  1. LocalLib.cfg sits alongside setlib.cfg; both of these files have to be found by the scripts before any path adjustments have been made. The scripts have to be able to "deduce" where they are, and putting them in the same directory is an obvious way to do that. You could use a relative path to find them, but this is risky in an environment where CGI scripts are not alongside other data e.g. are separated off in a separate cgi-bin area, as is the case in some ISP setups.
  2. LocalSite.cfg sits alongside TWiki.cfg, which is in the lib directory because it is included using a do which relies on @INC. The @INC path could be extended to include a different directory, but that path is already too long and I am reluctant to lengthen it, as it has been a source of error several times in the past.
I'm not saying the can't be moved, it's just that I perceive there are more negatives than positives in such a move. CC

ItemTemplate
Summary Put all configuration files in a separate directory
ReportedBy TWiki:Main.ArthurClemens
Codebase

AppliesTo

Priority Enhancement
CurrentState No Action Required
WaitingFor

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2005-07-18 - TWikiGuest
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback