E&S CVS Commit: PEAK - Re-org/refactoring of many items from the TODO list for 0.5, including:

pje at eby-sarna.com pje at eby-sarna.com
Sun Nov 3 14:48:00 EST 2002


Module Name:	PEAK
Committed By:	pje
Date:		Sun Nov  3 19:47:29 UTC 2002

Modified Files:
	PEAK: INSTALL.txt TODO.txt
	PEAK/src/peak: exceptions.py peak.ini
	PEAK/src/peak/api: __init__.py tests.py
	PEAK/src/peak/binding: once.py
	PEAK/src/peak/config: config_components.py
	PEAK/src/peak/metamodels/tests: __init__.py
	PEAK/src/peak/naming: __init__.py api.py contexts.py names.py spi.py
	PEAK/src/peak/naming/factories: __init__.py peak_imports.py smtp.py
	    uuid.py
	PEAK/src/peak/running: lockfiles.py
	PEAK/src/peak/storage: connections.py
	PEAK/src/peak/tests: __init__.py
	PEAK/src/peak/util: Struct.py
	PEAK/src/peak/util/tests: __init__.py
Added Files:
	PEAK/src/peak/storage: LDAP.py SQL.py
	PEAK/src/peak/util: imports.py
Removed Files:
	PEAK/src/peak/binding: imports.py
	PEAK/src/peak/naming: references.py
	PEAK/src/peak/naming/factories: ldap.py lockfiles.py

Log Message:
Re-org/refactoring of many items from the TODO list for 0.5, including:

* moved peak.binding.imports -> peak.util.imports, added importSuite()

* Decided not to do binding.Acquire, it should just be a documented idiom

* Moved LDAP and lockfile URLs to peak.storage.LDAP and
  peak.running.lockfiles, respectively

* Moved factories.getObjectInstance -> spi, updated peak.ini to load
  naming.spi as the provider.

* Consolidated naming.references into naming.names

* Made ParsedURLs compile their pattern strings, and automatically make
  their 'fromX()' methods classmethods (and the same is true for other
  'struct' types.

* Refactored cursors and connections out into distinct SQLCursor/LDAPCursor
  types, based on a common AbstractCursor.

* Added TooManyResults/TooFewResults errors to peak.exceptions


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/INSTALL.txt.diff?r1=1.7&r2=1.8
http://cvs.eby-sarna.com/PEAK/TODO.txt.diff?r1=1.11&r2=1.12
http://cvs.eby-sarna.com/PEAK/src/peak/exceptions.py.diff?r1=1.1&r2=1.2
http://cvs.eby-sarna.com/PEAK/src/peak/peak.ini.diff?r1=1.2&r2=1.3
http://cvs.eby-sarna.com/PEAK/src/peak/api/__init__.py.diff?r1=1.17&r2=1.18
http://cvs.eby-sarna.com/PEAK/src/peak/api/tests.py.diff?r1=1.2&r2=1.3
http://cvs.eby-sarna.com/PEAK/src/peak/binding/once.py.diff?r1=1.18&r2=1.19
http://cvs.eby-sarna.com/PEAK/src/peak/config/config_components.py.diff?r1=1.13&r2=1.14
http://cvs.eby-sarna.com/PEAK/src/peak/metamodels/tests/__init__.py.diff?r1=1.3&r2=1.4
http://cvs.eby-sarna.com/PEAK/src/peak/naming/__init__.py.diff?r1=1.11&r2=1.12
http://cvs.eby-sarna.com/PEAK/src/peak/naming/api.py.diff?r1=1.12&r2=1.13
http://cvs.eby-sarna.com/PEAK/src/peak/naming/contexts.py.diff?r1=1.21&r2=1.22
http://cvs.eby-sarna.com/PEAK/src/peak/naming/names.py.diff?r1=1.22&r2=1.23
http://cvs.eby-sarna.com/PEAK/src/peak/naming/spi.py.diff?r1=1.25&r2=1.26
http://cvs.eby-sarna.com/PEAK/src/peak/naming/factories/__init__.py.diff?r1=1.16&r2=1.17
http://cvs.eby-sarna.com/PEAK/src/peak/naming/factories/peak_imports.py.diff?r1=1.6&r2=1.7
http://cvs.eby-sarna.com/PEAK/src/peak/naming/factories/smtp.py.diff?r1=1.9&r2=1.10
http://cvs.eby-sarna.com/PEAK/src/peak/naming/factories/uuid.py.diff?r1=1.3&r2=1.4
http://cvs.eby-sarna.com/PEAK/src/peak/running/lockfiles.py.diff?r1=1.6&r2=1.7
http://cvs.eby-sarna.com/PEAK/src/peak/storage/LDAP.py?rev=1.1&content-type=text/vnd.viewcvs-markup
http://cvs.eby-sarna.com/PEAK/src/peak/storage/SQL.py?rev=1.1&content-type=text/vnd.viewcvs-markup
http://cvs.eby-sarna.com/PEAK/src/peak/storage/connections.py.diff?r1=1.5&r2=1.6
http://cvs.eby-sarna.com/PEAK/src/peak/tests/__init__.py.diff?r1=1.16&r2=1.17
http://cvs.eby-sarna.com/PEAK/src/peak/util/Struct.py.diff?r1=1.6&r2=1.7
http://cvs.eby-sarna.com/PEAK/src/peak/util/imports.py?rev=1.1&content-type=text/vnd.viewcvs-markup
http://cvs.eby-sarna.com/PEAK/src/peak/util/tests/__init__.py.diff?r1=1.6&r2=1.7

To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 PEAK/INSTALL.txt
cvs rdiff -r1.11 -r1.12 PEAK/TODO.txt
cvs rdiff -r1.1 -r1.2 PEAK/src/peak/exceptions.py
cvs rdiff -r1.2 -r1.3 PEAK/src/peak/peak.ini
cvs rdiff -r1.17 -r1.18 PEAK/src/peak/api/__init__.py
cvs rdiff -r1.2 -r1.3 PEAK/src/peak/api/tests.py
cvs rdiff -r1.10 -r0 PEAK/src/peak/binding/imports.py
cvs rdiff -r1.18 -r1.19 PEAK/src/peak/binding/once.py
cvs rdiff -r1.13 -r1.14 PEAK/src/peak/config/config_components.py
cvs rdiff -r1.3 -r1.4 PEAK/src/peak/metamodels/tests/__init__.py
cvs rdiff -r1.11 -r1.12 PEAK/src/peak/naming/__init__.py
cvs rdiff -r1.12 -r1.13 PEAK/src/peak/naming/api.py
cvs rdiff -r1.21 -r1.22 PEAK/src/peak/naming/contexts.py
cvs rdiff -r1.22 -r1.23 PEAK/src/peak/naming/names.py
cvs rdiff -r1.6 -r0 PEAK/src/peak/naming/references.py
cvs rdiff -r1.25 -r1.26 PEAK/src/peak/naming/spi.py
cvs rdiff -r1.16 -r1.17 PEAK/src/peak/naming/factories/__init__.py
cvs rdiff -r1.4 -r0 PEAK/src/peak/naming/factories/ldap.py
cvs rdiff -r1.1 -r0 PEAK/src/peak/naming/factories/lockfiles.py
cvs rdiff -r1.6 -r1.7 PEAK/src/peak/naming/factories/peak_imports.py
cvs rdiff -r1.9 -r1.10 PEAK/src/peak/naming/factories/smtp.py
cvs rdiff -r1.3 -r1.4 PEAK/src/peak/naming/factories/uuid.py
cvs rdiff -r1.6 -r1.7 PEAK/src/peak/running/lockfiles.py
cvs rdiff -r0 -r1.1 PEAK/src/peak/storage/LDAP.py \
    PEAK/src/peak/storage/SQL.py
cvs rdiff -r1.5 -r1.6 PEAK/src/peak/storage/connections.py
cvs rdiff -r1.16 -r1.17 PEAK/src/peak/tests/__init__.py
cvs rdiff -r1.6 -r1.7 PEAK/src/peak/util/Struct.py
cvs rdiff -r0 -r1.1 PEAK/src/peak/util/imports.py
cvs rdiff -r1.6 -r1.7 PEAK/src/peak/util/tests/__init__.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