propellor/src
Joey Hess afee550e70 Property tree
Properties now form a tree, instead of the flat list used before.

This simplifies propigation of Info from the Properties used inside a
container to the outer host; the Property that docks the container on the
host can just have as child properties all the inner Properties, and their
Info can then be gathered recursively. (Although in practice it still needs
to be filtered, since not all Info should propigate out of a container.)

Note that there is no change to how Properties are actually satisfied.
Just because a Property lists some child properties, this does not mean
they always have their propertySatisfy actions run. It's still up to the
parent property to run those actions.

That's necessary so that a container's properties can be satisfied inside
it, not outside. It also allows property combinators to
add the combined Properties to their childProperties list, even if,
like onChange, they don't always run the child properties at all.

Testing: I tested that the exact same Info is calculated before and after
this change, for every Host in my config file.
2015-01-18 18:46:38 -04:00
..
Propellor Property tree 2015-01-18 18:46:38 -04:00
Utility typo; columns vs rows 2015-01-15 19:58:03 -04:00
Propellor.hs Fixed privdata introspection for User.hasPassword and User.hasSomePassword 2014-12-07 15:03:06 -04:00
config.hs moved source code to src 2014-05-14 19:41:05 -04:00
wrapper.hs keep warning of out of date after updating upstream/master, until it gets merged 2014-08-19 19:22:54 -04:00