configuration directory

AL13N alien at rmail.be
Fri Sep 13 11:15:19 CEST 2013


> On 2013-09-12 13:33, AL13N wrote:
>> This should be a patch for
>> A) allowing multiple main config files
>>
>> i haven't compiled/run/tested this yet, but this is the kind of thing i
>> thought would be good.
>>
>> can someone please tell me if i'm working in the right direction or not?
>>
>
> Sort of, and then again, no. It would be good if, as a first step, we
> read all main-config-parameters from read_main_config_file() (or some
> other function which just groks key/value pairs that gets fed by one
> or more invocations of read_main_config_file()).
>
> That way the patch wouldn't have to fiddle with object config reading,
> which won't work properly unless you also add multi-config support to
> read_object_config_files().

but, that's the way it's written now... we'd have to refactor the way the
config files are read, and then the patch would be quite invasive,
wouldn't it?

did you see the 2nd patch? where i added multi-config support for
read_object_config_files? (or at least very basic, i didn't check if these
functions reset some internal variables at the start of their call)


what exactly are you thinking of doing?


------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk




More information about the Developers mailing list