← Back to team overview

dhis2-devs-core team mailing list archive

Re: dhis.conf

 

Hi Lars,
Yes, I see your point, and maybe even YAML is too much. Having two leading
spaces could be too much to task.

Anyway, I thought I would at least suggest it, but if a plain old
properties file works, then lets not over-engineer it for the moment. I can
just possibly envision a situation where you would like to specify a lot
more in the properties file than just the database connection. But  that is
not the immediate concern of course.

Regards,
Jason


On Thu, Nov 12, 2015 at 2:23 AM, Morten Olav Hansen <mortenoh@xxxxxxxxx>
wrote:

> What about at least using a standard extension like .properties?
>
> --
> Morten
>
> On Wed, Nov 11, 2015 at 11:28 PM, Lars Helge Øverland <larshelge@xxxxxxxxx
> > wrote:
>
>> I agree that structure is nice. However, the intention is to keep this as
>> simple as absolutely possibly. I think the average dhis self-taught sys
>> admin is a bit familiar with good old property files but not so much with
>> yaml or json, and the risk for people ending up with invalid config is
>> high. I can foresee a flurry of dev list emails going like this:
>>
>> - "the system does not start"
>> - "if your config file valid yaml?"
>> - "yaml what?"
>> - "just read up here http://www.yaml.org/start.html";
>> - "no i don't need to invoice basketballs"
>> - "can you post your config file?"
>> - "yes"
>> - "no don't include your password, now you must reset it"
>> - "okay i set it to Pass123 now"
>>
>>
>>
>>
>>
>>
>>
>>
>> --
>> Mailing list: https://launchpad.net/~dhis2-devs-core
>> Post to     : dhis2-devs-core@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-devs-core
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
> --
> Mailing list: https://launchpad.net/~dhis2-devs-core
> Post to     : dhis2-devs-core@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs-core
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Jason P. Pickering
email: jason.p.pickering@xxxxxxxxx
tel:+46764147049

Follow ups

References