[Freeipa-devel] The proposed description of the INI file format

Simo Sorce ssorce at redhat.com
Fri Apr 10 21:15:41 UTC 2009


On Fri, 2009-04-10 at 16:27 -0400, Dmitri Pal wrote:
> Hi,
> 
> I was thinking about the INI file processing.
> In many cases there is a need to validate that the INI file is 
> synthetically and structurally correct.
> Such checking would be very helpful when admin changed the file
> manually 
> or when the policy tries to merge/apply something.
> The attached file is an attempt to create and example of the template 
> file that will contain the rules (grammar) about the INI file.
> I think such kind of validation will be extremely helpful.
> On the other hand I was not planning to implement everything I
> propose 
> in the first pass.
> This might be too much but at least structural and type checking
> might 
> be very good start.
> 
> File has a lot of comments and written in INI format.
> This seems like re-inventing XML in a human readable and editable
> form. :-)

Indeed :)

Looks reasonable to me.

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York




More information about the Freeipa-devel mailing list