Matt S., Greg M. et. al.,

There is a nearly finished version of the proposed core framework for
the config-db, templating system and event/trigger system in my tree in
cvs

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/leaf/devel/ccarr/devel/leaf-tools/

The tools are named cdb, tmpl and trig, and are currently installed in
/leaf/bin (this is subject to change, as is the interface, functionality
and anything else about them after some user feedback).

There are pretty good manpage-style help files for cdb and tmpl
(*.help), and the usage statement of trig (and looking at the 15 lines
of source) should probably be enough (it is pretty simplistic).  There
is also a shot at laying out the big picture of the core config-db,
hier.help (but I think it will need quite a bit of adjustment in
practice)

Please play around with these and let me know if they will do the job. 
I am more than willing to add features if you find them really necessary
and the current interface/feature set will not do the job.  I believe
that they can be used equally effectively (with some creativity) for
both on-LEAF, shell- or web-based configuration and off-LEAF java-,
perl- or python-based preconfiguration.  It is possible that you could
even stick with your XML plan off-LEAF and easily transform it to the
hierarchical filesystem config-db format before burning the CD, floppy
or CF card.

Also, it is quite possible that if we find ourselves transforming the
output or behavior of these utilities in the same or similar ways over
and over again, if the utilities cannot be modified to produce the
desired results, we may be able to write a nice shlib with functions to
do the job.

Let me know what you think and where you would like me to proceed from
here.

Also, I quite appreciate code review and feedback from any of you
/bin/sh gurus out there; you know who you are ;-)  I have tried to
comment the code and lay it out so that it is easily understood, so it
should not be too hard to grasp what I am trying to do, but feel free to
ask whether or not I was smoking crayons when I wrote some construct!

-- 
-----------------------------------------------------------------------
Chad Carr                                         [EMAIL PROTECTED]
-----------------------------------------------------------------------



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

_______________________________________________
leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to