Commit Graph

2210 Commits

Author SHA1 Message Date
Joey Hess 0a2a553d31 add back a warning aboit info propigation to ensureProperty 2015-01-19 16:14:01 -04:00
Joey Hess c8153ff0bd fix haddock 2015-01-19 15:55:02 -04:00
Joey Hess e28b1ab92b clean up exports 2015-01-19 15:20:12 -04:00
Joey Hess a738a20d79 export 2015-01-19 15:15:22 -04:00
Joey Hess e583c40c65 more reorg 2015-01-19 15:11:10 -04:00
Joey Hess 603e6d3406 split out types to improve haddock for Propellor.Types 2015-01-19 15:09:03 -04:00
Joey Hess 04d4d0d6c4 Fix info propigation from fallback combinator's second Property. 2015-01-19 14:43:25 -04:00
Joey Hess 4da4c4a70f use git.joeyh.name in preference to git.kitenet.net 2015-01-19 14:29:09 -04:00
Joey Hess a2a97cbeb2 avoid haddock warnings 2015-01-19 14:26:18 -04:00
Joey Hess 1ae21965aa rename HostLike to PropAccum
This is more general; it doesn't need to contain a Host.
It would, for example, be possible to make Property itself be an instance
of PropAccum.
2015-01-19 14:15:49 -04:00
Joey Hess db93c41f90
propellor spin 2015-01-18 19:48:49 -04:00
Joey Hess b0c3e54488
propellor spin 2015-01-18 19:45:50 -04:00
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
Joey Hess fcd8a3171b
propellor spin 2015-01-15 21:00:54 -04:00
Joey Hess dd392eaab2 ascii art update 2015-01-15 20:35:40 -04:00
Joey Hess c7609c824b Add descriptions of how to set missing fields to --list-fields output. (Minor API changes) 2015-01-15 20:15:01 -04:00
Joey Hess ee7135dbfd typo; columns vs rows
No behavior change
2015-01-15 19:58:03 -04:00
Joey Hess 95d1cc62ea avoid unncessary padding on last column in table 2015-01-15 19:56:18 -04:00
Joey Hess 56539e79e0
propellor spin 2015-01-15 18:19:44 -04:00
Joey Hess e4b7b95c72
propellor spin 2015-01-15 18:09:53 -04:00
Joey Hess 35cd06e4e6 prep release 2015-01-15 14:03:36 -04:00
Joey Hess cfca7ca558
propellor spin 2015-01-09 21:36:29 -04:00
Joey Hess 3fdd7a28e8
propellor spin 2015-01-09 21:33:50 -04:00
Joey Hess bf2097bf75
propellor spin 2015-01-09 21:33:34 -04:00
Joey Hess ad493dcc78
propellor spin 2015-01-09 21:27:25 -04:00
Joey Hess 042b3bee01
propellor spin 2015-01-09 21:21:06 -04:00
Joey Hess 2e2f8b4fdd
propellor spin 2015-01-08 23:08:16 -04:00
Joey Hess 5fc0aee40b
propellor spin 2015-01-08 23:05:55 -04:00
Joey Hess 4d0a732a30 make both lines pastable together 2015-01-08 23:03:57 -04:00
Joey Hess 5585778e54
propellor spin 2015-01-08 23:02:06 -04:00
Joey Hess a8ed898d72 changelog 2015-01-08 22:52:48 -04:00
Joey Hess 0c66be1aae
propellor spin 2015-01-08 22:51:09 -04:00
Joey Hess c4a1e61d26
propellor spin 2015-01-08 22:45:45 -04:00
Joey Hess bf39f50b16
propellor spin 2015-01-08 22:44:55 -04:00
Joey Hess 8e6e40abc4
propellor spin 2015-01-08 22:44:36 -04:00
Joey Hess ad8e318c34
propellor spin 2015-01-08 22:01:12 -04:00
Joey Hess 584cac48a6
propellor spin 2015-01-08 21:43:11 -04:00
Joey Hess 660b5d7f93
propellor spin 2015-01-08 21:41:55 -04:00
Joey Hess cde0dd97e0
propellor spin 2015-01-08 21:18:40 -04:00
Joey Hess dd022c917b
propellor spin 2015-01-08 21:17:06 -04:00
Joey Hess 2e6a8d4924
propellor spin 2015-01-08 15:54:14 -04:00
Joey Hess 12f6fe0b88
propellor spin 2015-01-08 15:38:23 -04:00
Joey Hess 21eeab35eb
propellor spin 2015-01-08 15:30:11 -04:00
Joey Hess 16a5f561f5 Merge Utiity modules from git-annex.
Except for a few that are using the other exception handling library,
that propellor has not switched to yet.
2015-01-06 19:07:40 -04:00
Joey Hess f4a57ca27d refactor dns settings! 2015-01-06 01:20:56 -04:00
Joey Hess ff7f70d280 add update-server-info, so the repo has all current branches published over http 2015-01-06 01:00:48 -04:00
Joey Hess d3ed4f10c1
propellor spin 2015-01-06 00:48:23 -04:00
Joey Hess 9fa4b3d83b
propellor spin 2015-01-06 00:46:24 -04:00
Joey Hess 0eaa339d54
propellor spin 2015-01-06 00:43:49 -04:00
Joey Hess 2fd61fa4b5
propellor spin 2015-01-06 00:37:13 -04:00