E&S CVS Commit: PEAK - Added a ZConfig schema for 'running.commands.EventDriven' applications,

pje at eby-sarna.com pje at eby-sarna.com
Mon May 19 09:10:00 EDT 2003

Module Name:	PEAK
Committed By:	pje
Date:		Mon May 19 13:09:27 UTC 2003

Modified Files:
	PEAK/src/ZConfig/doc: schema.dtd
	PEAK/src/peak: peak.ini
	PEAK/src/peak/binding: components.py
	PEAK/src/peak/running: commands.py
Added Files:
	PEAK/src/peak/running: EventDriven.xml component.xml

Log Message:
Added a ZConfig schema for 'running.commands.EventDriven' applications,
a ZConfig component definition for adaptive tasks, and a running shortcut
called 'EventDriven'.  It should now be possible to do this::

     #!/usr/bin/env peak EventDriven

at the top of a ZConfig file formatted according to the new schema, and
have it run.  Unfortunately, so far the only type of task that can be
included is 'running.daemons.AdaptiveTask', which doesn't actually *do*
anything.  So, right now doing this is equivalent to creating an over-
engineered 'sleep' command.  ;)

Also, fixed a problem in ZConfig 'schema.dtd'; I used 'PCDATA' where I
should've used 'CDATA', and I fixed various problems with the
'fromZConfig()' component constructor.  It's kind of annoying that ZConfig
defaults unspecified items to 'None', even if you said they weren't
required and had no default. :(  I'll see if I can do something about this
later; for now I just delete 'None' values from the data.

To view diffs of this commit, you can use the following URL(s):

To generate a diff of this commit:
cvs rdiff -r1.42 -r1.43 PEAK/CHANGES.txt
cvs rdiff -r1.60 -r1.61 PEAK/TODO.txt
cvs rdiff -r1.1.1.2 -r1.2 PEAK/src/ZConfig/doc/schema.dtd
cvs rdiff -r1.45 -r1.46 PEAK/src/peak/peak.ini
cvs rdiff -r1.115 -r1.116 PEAK/src/peak/binding/components.py
cvs rdiff -r0 -r1.1 PEAK/src/peak/running/EventDriven.xml \
cvs rdiff -r1.23 -r1.24 PEAK/src/peak/running/commands.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

More information about the source-changes mailing list