E&S CVS Commit: PEAK - Property definition rules in an .ini file can now refer to 'rulePrefix' and

pje at eby-sarna.com pje at eby-sarna.com
Wed Jul 16 18:56:00 EDT 2003


Module Name:	PEAK
Committed By:	pje
Date:		Wed Jul 16 22:55:48 UTC 2003

Modified Files:
	PEAK: CHANGES.txt
	PEAK/src/peak/config: config_components.py

Log Message:
Property definition rules in an .ini file can now refer to 'rulePrefix' and
'ruleSuffix' variables.  'rulePrefix' is a '.'-terminated string,
representing the name the rule was defined with.  For example, if the
rule was defined for '"foo.bar.*"', then 'rulePrefix' will be '"foo.bar."'.
The 'ruleSuffix' will be the portion of the 'propertyName' that follows
'rulePrefix'.  So, if looking up property '"foo.bar.baz"', then the
'"foo.bar.*"' rule will execute with a 'ruleSuffix' of '"baz"'.  This
should make it easier to work with hierarchical property namespaces.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/CHANGES.txt.diff?r1=1.60&r2=1.61
http://cvs.eby-sarna.com/PEAK/src/peak/config/config_components.py.diff?r1=1.53&r2=1.54

To generate a diff of this commit:
cvs rdiff -r1.60 -r1.61 PEAK/CHANGES.txt
cvs rdiff -r1.53 -r1.54 PEAK/src/peak/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