Joey Hess
1b7a00372b
propellor spin
2015-02-01 13:14:45 -04:00
Joey Hess
0ee04ecc43
GADT properties seem to work (untested)
...
* Property has been converted to a GADT, and will be Property NoInfo
or Property HasInfo.
This was done to make sure that ensureProperty is only used on
properties that do not have Info.
Transition guide:
- Change all "Property" to "Property NoInfo" or "Property WithInfo"
(The compiler can tell you if you got it wrong!)
- To construct a RevertableProperty, it is useful to use the new
(<!>) operator
- Constructing a list of properties can be problimatic, since
Property NoInto and Property WithInfo are different types and cannot
appear in the same list. To deal with this, "props" has been added,
and can built up a list of properties of different types,
using the same (&) and (!) operators that are used to build
up a host's properties.
2015-01-24 22:38:51 -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
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
5585778e54
propellor spin
2015-01-08 23:02:06 -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
660b5d7f93
propellor spin
2015-01-08 21:41:55 -04:00
Joey Hess
dd022c917b
propellor spin
2015-01-08 21:17:06 -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
c7aac0b35e
remove screen workaround
...
Turns out elephant's oldusenet shellbox docker instance somehow had a
non-setguid screen binary. Dunno how; reinstall fixed it.
2014-12-23 15:45:35 -04:00
Joey Hess
35ccb0fac6
fix screen dir mode
2014-12-23 15:29:23 -04:00
Joey Hess
a48f5916e1
propellor spin
2014-12-23 14:22:50 -04:00
Joey Hess
b8be8c244e
propellor spin
2014-12-22 17:16:52 -04:00
Joey Hess
26a4c164e4
gitriddance
2014-12-22 15:05:05 -04:00
Joey Hess
111e08e156
typo
2014-11-18 23:54:49 -04:00
Joey Hess
8d91b5de6b
Convert GpgKeyId to newtype
2014-11-15 17:02:30 -04:00
Joey Hess
d65337d3e7
add Obnam backupEncrypted
...
This after I typoed an obnam setup and accidentially had a repo that was
backing up non-encrypted.
2014-11-15 13:42:04 -04:00
Joey Hess
0f1fcc24f8
propellor spin
2014-10-16 17:02:16 -04:00
Joey Hess
6a674c79d7
fix some accidental uses of spaces, rather than tabs, for indentation
2014-10-08 13:14:21 -04:00
Joey Hess
21117d5e21
propellor spin
2014-10-06 19:44:19 -04:00
Joey Hess
e5dd1f6414
propellor spin
2014-09-24 14:03:23 -04:00
Joey Hess
960dd0d1f8
propellor spin
2014-09-24 11:29:08 -04:00
Joey Hess
c96ba00822
propellor spin
2014-09-24 11:27:45 -04:00
Joey Hess
d1292a5786
propellor spin
2014-09-24 11:22:55 -04:00
Joey Hess
3fe6e0f8bd
propellor spin
2014-09-24 11:21:12 -04:00
Joey Hess
ffe36b68b4
propellor spin
2014-09-24 11:18:12 -04:00
Joey Hess
acd4638493
propellor spin
2014-09-10 23:01:19 -04:00
Joey Hess
d8367de73a
propellor spin
2014-09-10 22:56:42 -04:00
Joey Hess
599168ddcb
propellor spin
2014-09-08 15:20:53 -04:00
Joey Hess
f2bdab547e
propellor spin
2014-09-08 15:18:42 -04:00
Joey Hess
0126c41a53
propellor spin
2014-09-08 12:46:54 -04:00
Joey Hess
b21feb9e8d
propellor spin
2014-09-08 10:56:08 -04:00
Joey Hess
3cb9a60f89
propellor spin
2014-08-21 15:52:49 -04:00
Joey Hess
08a3c52017
propellor spin
2014-07-23 12:48:46 -04:00
Joey Hess
7d3c09df5f
propellor spin
2014-07-23 11:52:46 -04:00
Joey Hess
78bbd860c6
propellor spin
2014-07-23 10:54:21 -04:00
Joey Hess
321a0bdef6
propellor spin
2014-07-23 10:52:26 -04:00
Joey Hess
660f77c28f
propellor spin
2014-07-22 16:40:11 -04:00
Joey Hess
e01fc46ba3
propellor spin
2014-07-22 16:21:54 -04:00
Joey Hess
400422a7e6
propellor spin
2014-07-22 15:27:44 -04:00
Joey Hess
98a3114763
propellor spin
2014-07-22 15:25:07 -04:00
Joey Hess
7028c2c9cc
propellor spin
2014-07-18 16:45:40 -04:00
Joey Hess
51edffe173
propellor spin
2014-07-18 16:43:11 -04:00
Joey Hess
93730d530a
propellor spin
2014-07-18 16:40:09 -04:00
Joey Hess
d5abbeb116
propellor spin
2014-07-18 15:59:17 -04:00
Joey Hess
fd7d6907b8
propellor spin
2014-07-18 15:58:05 -04:00
Joey Hess
0d188bf5f6
propellor spin
2014-07-18 14:33:30 -04:00
Joey Hess
00b7323d4e
propellor spin
2014-07-18 12:22:50 -04:00
Joey Hess
8aabde7a3a
propellor spin
2014-07-18 02:51:47 -04:00
Joey Hess
9a31b95e7d
propellor spin
2014-07-18 02:35:32 -04:00
Joey Hess
f93b2f5e52
propellor spin
2014-07-18 02:27:15 -04:00
Joey Hess
6957f28945
propellor spin
2014-07-18 02:08:13 -04:00
Joey Hess
2812719e54
propellor spin
2014-07-18 01:03:05 -04:00
Joey Hess
fddcf13973
propellor spin
2014-07-18 00:36:21 -04:00
Joey Hess
863cdf470b
propellor spin
2014-07-17 23:51:11 -04:00
Joey Hess
a6a82a23a9
propellor spin
2014-07-17 23:42:10 -04:00
Joey Hess
c27afcea4e
propellor spin
2014-07-17 23:36:04 -04:00
Joey Hess
55a638ad4c
Fix bug in File.containsLines that caused lines that were already in the file to sometimes be appended to the end.
2014-07-17 23:33:10 -04:00
Joey Hess
c65e9adc7f
propellor spin
2014-07-17 23:27:42 -04:00
Joey Hess
91d148215a
propellor spin
2014-07-17 22:27:57 -04:00
Joey Hess
f4ce2124ac
propellor spin
2014-07-17 22:23:49 -04:00
Joey Hess
3e41d350f4
propellor spin
2014-07-17 22:20:16 -04:00
Joey Hess
cb7009e994
propellor spin
2014-07-17 21:47:15 -04:00
Joey Hess
e242c68de7
propellor spin
2014-07-17 21:35:43 -04:00
Joey Hess
e31210248d
propellor spin
2014-07-17 21:16:03 -04:00
Joey Hess
b0fd7f0006
propellor spin
2014-07-17 16:16:13 -04:00
Joey Hess
c8feea04e1
propellor spin
2014-07-17 15:54:32 -04:00
Joey Hess
330c00efa4
propellor spin
2014-07-17 15:53:12 -04:00
Joey Hess
a788c957d2
propellor spin
2014-07-17 15:36:11 -04:00
Joey Hess
79f1a6c67b
propellor spin
2014-07-17 15:33:02 -04:00
Joey Hess
eb39b45d61
desc
2014-07-06 17:43:48 -04:00
Joey Hess
36ce624750
trivial
2014-07-06 17:42:25 -04:00
Joey Hess
e6ce744078
move privdata Property to toplevel so its Info propigates
...
Ugh, that's a nasty gotcha but I cannot see a way to fix it generally right
now.
2014-07-06 17:16:04 -04:00
Joey Hess
58f79c12aa
propellor spin
2014-07-06 15:56:56 -04:00
Joey Hess
4bb659682e
meh
2014-07-05 17:56:44 -04:00
Joey Hess
206cfeb5d4
propellor spin
2014-07-05 16:24:22 -04:00
Joey Hess
aca6e6dc29
propellor spin
2014-07-05 15:55:21 -04:00
Joey Hess
a0aac39244
propellor spin
2014-06-06 22:49:55 -04:00
Joey Hess
c3add08491
propellor spin
2014-06-06 22:47:42 -04:00
Joey Hess
6fc6d54f8a
propellor spin
2014-06-06 22:46:31 -04:00
Joey Hess
e32408f4e8
propellor spin
2014-06-01 13:07:31 -04:00
Joey Hess
c7b7471778
propellor spin
2014-05-31 14:28:12 -04:00
Joey Hess
8e57f0bbfb
propellor spin
2014-05-31 14:19:46 -04:00
Joey Hess
5a895c21b5
propellor spin
2014-05-31 14:15:16 -04:00
Joey Hess
fe685d2660
propellor spin
2014-05-26 18:59:13 -04:00
Joey Hess
e71bed6640
propellor spin
2014-05-26 11:55:30 -04:00
Joey Hess
7115d1ec16
moved source code to src
...
This is to work around OSX's brain-damange regarding filename case
insensitivity.
Avoided moving config.hs, because it's a config file. Put in a symlink to
make build work.
2014-05-14 19:41:05 -04:00