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: CHANGES.txt TODO.txt
	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):
http://cvs.eby-sarna.com/PEAK/CHANGES.txt.diff?r1=1.42&r2=1.43
http://cvs.eby-sarna.com/PEAK/TODO.txt.diff?r1=1.60&r2=1.61
http://cvs.eby-sarna.com/PEAK/src/ZConfig/doc/schema.dtd.diff?r1=1.1.1.2&r2=1.2
http://cvs.eby-sarna.com/PEAK/src/peak/peak.ini.diff?r1=1.45&r2=1.46
http://cvs.eby-sarna.com/PEAK/src/peak/binding/components.py.diff?r1=1.115&r2=1.116
http://cvs.eby-sarna.com/PEAK/src/peak/running/EventDriven.xml?rev=1.1&content-type=text/vnd.viewcvs-markup
http://cvs.eby-sarna.com/PEAK/src/peak/running/component.xml?rev=1.1&content-type=text/vnd.viewcvs-markup
http://cvs.eby-sarna.com/PEAK/src/peak/running/commands.py.diff?r1=1.23&r2=1.24

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 \
    PEAK/src/peak/running/component.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