[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Blends and Config::Model ?



Hi Andreas,

following our brief discussion, here is a bit more information about
Config::Model, a Perl module to “create tools to validate, migrate and edit
configuration files”.  http://search.cpan.org/~ddumont/Config-Model/

What makes it interesting for the Blends is that it supports the Debian control
data syntax — it calls it “Dpkg” format.  This syntax is used for the tasks
files of our blends.

In particular, it is possible to declare the syntax and describe it at the same
time, which I think would be beneficial for the tasks files, as we would get a
validator for free.

http://ddumont.wordpress.com/2011/04/08/configuration-doc-generation-with-configmodel/

If you would like to see a real life example, you can try the DEP-5 parser on some
of our copyright files.

http://ddumont.wordpress.com/2011/01/13/debian-copyright-dep5-parsereditorvalidatormigrator-is-released/

Cheers,

-- 
Charles Plessy
Debian Med packaging team,
http://www.debian.org/devel/debian-med
Tsurumi, Kanagawa, Japan


Reply to: