[Subversion] / PEAK / TODO.txt  

Revision 617


Jump to revision:
Previous Next
Author: pje
Date: Thu Nov 7 00:12:14 2002 UTC (21 years, 4 months ago)

Log Message:

Reformatted peak.running.clusters docstring to structured text for better
HappyDoc output.  Defined the rule for 'peak.running.cluster._filename' in
peak.ini instead of in the code.

Renamed PropSet to PropertySet, and made it possible to go from a
PropertyName to a PropertySet by calling '.of()' (e.g.
'PropertyName("foo").of(anObj)'.  PropertySets can now reproduce in various
ways, e.g.:

     c = PropertyName('peak.running.cluster').of(None) # -> PropertySet

     c._host['two.baz.com']	# ('even','prime','weird')
     c._groups()		# ('odd','even','prime','weird','qux')

But none of this is documented yet and possibly subject to change.  :)
(Especially since we're probably going to change how the cluster namespace
works anyhow!)

Ideally, it should be easy to go from a property name to its value or to
a property set, and to go from a property set to a value in some namespace.
Of course, it's somewhat questionable whether we'll be doing this for that
many properties in the first place!  And this is all going to go "full
circle" once properties have a naming context that can be used to look
them up in.  I worry a bit about creeping TMTOWTDI-ism in all this.  :(

Changed paths:

Path Action Text Changes Prop Changes Diff to Previous
PEAK/TODO.txt modified X   (diff to previous)
PEAK/src/peak/config/config_components.py modified X   (diff to previous)
PEAK/src/peak/config/tests/__init__.py modified X   (diff to previous)
PEAK/src/peak/naming/names.py modified X   (diff to previous)
PEAK/src/peak/peak.ini modified X   (diff to previous)
PEAK/src/peak/running/api.py modified X   (diff to previous)
PEAK/src/peak/running/clusters.py modified X   (diff to previous)

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help