[Tilesathome] override config?
Florian Lohoff
f at zz.de
Thu May 27 06:43:06 BST 2010
Hi,
can we have something like this please:
Index: lib/TahConf.pm
===================================================================
--- lib/TahConf.pm (revision 21457)
+++ lib/TahConf.pm (working copy)
@@ -43,6 +43,7 @@
$Config->file("config.defaults", "layers.conf", "tilesAtHome.conf", "authentication.conf");
$Config->args(); # overwrite config options with command line options
$Config->file("general.conf"); # overwrite with hardcoded values that must not be changed
+ $Config->file("local.conf"); # overwrite with hardcoded values that must not be changed
$self->{Config} = $Config;
general.conf beeing a config which is in the SVN overriding everything is bad.
There is sometimes the need to override something e.g. API servers for testing
without breaking the autoupdate the client.
So there should be some last resort, not in svn, local config read
from the client. Most of the time it should not exist though.
Flo
--
Florian Lohoff f at zz.de
"Es ist ein grobes Missverständnis und eine Fehlwahrnehmung, dem Staat
im Internet Zensur- und Überwachungsabsichten zu unterstellen."
- - Bundesminister Dr. Wolfgang Schäuble -- 10. Juli in Berlin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 827 bytes
Desc: Digital signature
URL: <http://lists.openstreetmap.org/pipermail/tilesathome/attachments/20100527/0dbb4d62/attachment.pgp>
More information about the Tilesathome
mailing list