E&S CVS Commit: PEAK - Refactoring to support "canonical formatting" of URLs. This required

pje at eby-sarna.com pje at eby-sarna.com
Wed May 7 19:24:01 EDT 2003


Module Name:	PEAK
Committed By:	pje
Date:		Wed May  7 23:23:07 UTC 2003

Modified Files:
	PEAK: CHANGES.txt
	PEAK/src/peak: peak.ini
	PEAK/src/peak/model: features.py
	PEAK/src/peak/naming: URL.py
	PEAK/src/peak/naming/factories: smtp.py uuid.py
	PEAK/src/peak/naming/tests: __init__.py
	PEAK/src/peak/running: logs.py
	PEAK/src/peak/storage: DDE.py LDAP.py SQL.py

Log Message:
Refactoring to support "canonical formatting" of URLs.  This required
creating a sizeable parsing/formatting framework.  :(  On the brigher side,
the framework is highly powerful and expressive.  Potentially it could be
pulled out as a 'peak.model' parsing framework, to be reused for other
parse/format applications on model elements that have a single canonical
string syntax.  It would probably need to be reviewed for Unicode
compatibility, however.

Anyway, now printing a parsed URL object should give you back a canonical
form of that URL; equivalent URLs (apart from case-sensitivity issues)
should produce identical canonical forms.  Passing keyword arguments to
a URL constructor should also allow you to selectively override the URL
body content, making it easy to produce new versions of a URL with an
altered field.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/CHANGES.txt.diff?r1=1.25&r2=1.26
http://cvs.eby-sarna.com/PEAK/src/peak/peak.ini.diff?r1=1.40&r2=1.41
http://cvs.eby-sarna.com/PEAK/src/peak/model/features.py.diff?r1=1.9&r2=1.10
http://cvs.eby-sarna.com/PEAK/src/peak/naming/URL.py.diff?r1=1.2&r2=1.3
http://cvs.eby-sarna.com/PEAK/src/peak/naming/factories/smtp.py.diff?r1=1.17&r2=1.18
http://cvs.eby-sarna.com/PEAK/src/peak/naming/factories/uuid.py.diff?r1=1.12&r2=1.13
http://cvs.eby-sarna.com/PEAK/src/peak/naming/tests/__init__.py.diff?r1=1.12&r2=1.13
http://cvs.eby-sarna.com/PEAK/src/peak/running/logs.py.diff?r1=1.15&r2=1.16
http://cvs.eby-sarna.com/PEAK/src/peak/storage/DDE.py.diff?r1=1.6&r2=1.7
http://cvs.eby-sarna.com/PEAK/src/peak/storage/LDAP.py.diff?r1=1.19&r2=1.20
http://cvs.eby-sarna.com/PEAK/src/peak/storage/SQL.py.diff?r1=1.35&r2=1.36

To generate a diff of this commit:
cvs rdiff -r1.25 -r1.26 PEAK/CHANGES.txt
cvs rdiff -r1.40 -r1.41 PEAK/src/peak/peak.ini
cvs rdiff -r1.9 -r1.10 PEAK/src/peak/model/features.py
cvs rdiff -r1.2 -r1.3 PEAK/src/peak/naming/URL.py
cvs rdiff -r1.17 -r1.18 PEAK/src/peak/naming/factories/smtp.py
cvs rdiff -r1.12 -r1.13 PEAK/src/peak/naming/factories/uuid.py
cvs rdiff -r1.12 -r1.13 PEAK/src/peak/naming/tests/__init__.py
cvs rdiff -r1.15 -r1.16 PEAK/src/peak/running/logs.py
cvs rdiff -r1.6 -r1.7 PEAK/src/peak/storage/DDE.py
cvs rdiff -r1.19 -r1.20 PEAK/src/peak/storage/LDAP.py
cvs rdiff -r1.35 -r1.36 PEAK/src/peak/storage/SQL.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