On Wed, Aug 11, 2010 at 10:40 AM, Jerome Renard <[email protected]> wrote:
> Hi James,
>
> On Wed, Aug 11, 2010 at 10:33 AM, James Pic <[email protected]> wrote:
>
>> Congrats for writing yet another implementation of configuration override
>> ;)
>>
>
> Lol I was not aware you did that ;)
>

I know ;)

Actually that happens quite frequently :P

Another cool thing would be to allow multiline values, although that
could cause some minor BC breaks :S

>
>>
>> Another cool feature is configuration section inheritance, maybe you
>> want to implement that as well. It's actually pretty simple, i'll post
>> my implementation if you want.
>>
>
> Configuration directive inheritance is already implement AFAIR :)
> But reading your implement can be interesting anways, maybe there is
> a lot of good stuff in there.
>

It's pretty trivial (sources attached), consider this example section:

[sec]
bar=X
foo=Y

Inheritance allows to write:

[sec2..sec]
foo=Z

Instead of:

[sec2]
bar=X
foo=Z

-- 
http://jamespic.com/contact
Customer is king - Le client est roi - El cliente es rey.

Reply via email to