[Opensim-dev] Globally avaibability of config options (?)
Sean Dague
sean at dague.net
Fri Oct 19 18:26:15 UTC 2007
On Fri, Oct 19, 2007 at 05:46:24PM +0200, Stefan Andersson wrote:
> All your points are good and valid. We need to get our config and directory shit together.
>
> We're trying to move to Nini configuration library for configuration settings.
>
> Nini is an excellent framework for combining different types of
> settings, and supports cascading and defaults. I think you will find
> it gives you what you're asking for.
>
> This said, it's a bad thing to pass a poorly typed config collection
> around the system; better to be explicit and specific about what each
> component needs to know to do its work, one you get down to actually
> instantiate something./Stefan
I think this is one of those "be careful what you wish for". There is
currently data in quite a few places, and that should be made a bit more
sensible, but imagine everything about regions and libraries being
passed on the command line, and your head would explode.
I think we're talking about a few classes of configurations:
* Basic Application - doing via .ini and/or command line (nini gives us
this today)
* Regions & Standard asset library - xml today. Possibly also let this
be a database instead.
* start / stop scripts - this is largely a work around for persistance
bits that don't work yet. Fix those, and you'll reduce the need for
this file. :) (patches always welcomed)
-Sean
--
__________________________________________________________________
Sean Dague Mid-Hudson Valley
sean at dague dot net Linux Users Group
http://dague.net http://mhvlug.org
There is no silver bullet. Plus, werewolves make better neighbors
than zombies, and they tend to keep the vampire population down.
__________________________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20071019/48476017/attachment-0001.pgp>
More information about the Opensim-dev
mailing list