E&S CVS Commit: PEAK - Moved config to its own top-level subpackage, peak.config, since it doesn't

pje at eby-sarna.com pje at eby-sarna.com
Sat Jul 27 17:57:00 EDT 2002


Module Name:	PEAK
Committed By:	pje
Date:		Sat Jul 27 21:56:55 UTC 2002

Modified Files:
	PEAK: setup.py
	PEAK/src/peak/api: __init__.py
	PEAK/src/peak/binding: components.py
	PEAK/src/peak/metamodels: querying.py
	PEAK/src/peak/running: api.py
Added Files:
	PEAK/src/peak/config: __init__.py api.py config_components.py
	    modules.py
Removed Files:
	PEAK/src/peak/running/config: __init__.py api.py config_components.py
	    modules.py

Log Message:
Moved config to its own top-level subpackage, peak.config, since it doesn't
really fit well with the rest of 'running' as it's shaping up.  Also,
removed lockfiles and dameons from the running.api, as they aren't
really part of the API.  Lockfiles will normally be instantiated via
a URL reference, as will most Daemon providers.  To create daemons, the
preferred method will be:

from peak.running import daemons

class MyDaemon(daemons.AbstractDaemon):
    ....

Similarly, when we have logging base classes, 'from peak.running import
logs' and 'aLog = logs.SomeLogger()' will be reasonable usage as well,
since logs will also normally be instantiated via URL references.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/setup.py.diff?r1=1.18&r2=1.19
http://cvs.eby-sarna.com/PEAK/src/peak/api/__init__.py.diff?r1=1.13&r2=1.14
http://cvs.eby-sarna.com/PEAK/src/peak/binding/components.py.diff?r1=1.33&r2=1.34
http://cvs.eby-sarna.com/PEAK/src/peak/config/__init__.py?rev=1.1&content-type=text/vnd.viewcvs-markup
http://cvs.eby-sarna.com/PEAK/src/peak/config/api.py?rev=1.1&content-type=text/vnd.viewcvs-markup
http://cvs.eby-sarna.com/PEAK/src/peak/config/config_components.py?rev=1.1&content-type=text/vnd.viewcvs-markup
http://cvs.eby-sarna.com/PEAK/src/peak/config/modules.py?rev=1.1&content-type=text/vnd.viewcvs-markup
http://cvs.eby-sarna.com/PEAK/src/peak/metamodels/querying.py.diff?r1=1.4&r2=1.5
http://cvs.eby-sarna.com/PEAK/src/peak/running/api.py.diff?r1=1.2&r2=1.3

To generate a diff of this commit:
cvs rdiff -r1.18 -r1.19 PEAK/setup.py
cvs rdiff -r1.13 -r1.14 PEAK/src/peak/api/__init__.py
cvs rdiff -r1.33 -r1.34 PEAK/src/peak/binding/components.py
cvs rdiff -r0 -r1.1 PEAK/src/peak/config/__init__.py \
    PEAK/src/peak/config/api.py PEAK/src/peak/config/config_components.py \
    PEAK/src/peak/config/modules.py
cvs rdiff -r1.4 -r1.5 PEAK/src/peak/metamodels/querying.py
cvs rdiff -r1.2 -r1.3 PEAK/src/peak/running/api.py
cvs rdiff -r1.1 -r0 PEAK/src/peak/running/config/__init__.py \
    PEAK/src/peak/running/config/modules.py
cvs rdiff -r1.5 -r0 PEAK/src/peak/running/config/api.py
cvs rdiff -r1.4 -r0 PEAK/src/peak/running/config/config_components.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