| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2016-03-28 | type safe targets for properties | Joey Hess | |
| * Property types have been improved to indicate what systems they target. This prevents using eg, Property FreeBSD on a Debian system. Transition guide for this sweeping API change: - Change "host name & foo & bar" to "host name $ props & foo & bar" - Similarly, `propertyList` and `combineProperties` need `props` to be used to combine together properties; they no longer accept lists of properties. (If you have such a list, use `toProps`.) - And similarly, Chroot, Docker, and Systemd container need `props` to be used to combine together the properies used inside them. - The `os` property is removed. Instead use `osDebian`, `osBuntish`, or `osFreeBSD`. These tell the type checker the target OS of a host. - Change "Property NoInfo" to "Property UnixLike" - Change "Property HasInfo" to "Property (HasInfo + UnixLike)" - Change "RevertableProperty NoInfo" to "RevertableProperty UnixLike UnixLike" - Change "RevertableProperty HasInfo" to "RevertableProperty (HasInfo + UnixLike) UnixLike" - GHC needs {-# LANGUAGE TypeOperators #-} to use these fancy types. This is enabled by default for all modules in propellor.cabal. But if you are using propellor as a library, you may need to enable it manually. - If you know a property only works on a particular OS, like Debian or FreeBSD, use that instead of "UnixLike". For example: "Property Debian" - It's also possible make a property support a set of OS's, for example: "Property (Debian + FreeBSD)" - Removed `infoProperty` and `simpleProperty` constructors, instead use `property` to construct a Property. - Due to the polymorphic type returned by `property`, additional type signatures tend to be needed when using it. For example, this will fail to type check, because the type checker cannot guess what type you intend the intermediate property "go" to have: foo :: Property UnixLike foo = go `requires` bar where go = property "foo" (return NoChange) To fix, specify the type of go: go :: Property UnixLike - `ensureProperty` now needs to be passed a witness to the type of the property it's used in. change this: foo = property desc $ ... ensureProperty bar to this: foo = property' desc $ \w -> ... ensureProperty w bar - General purpose properties like cmdProperty have type "Property UnixLike". When using that to run a command only available on Debian, you can tighten the type to only the OS that your more specific property works on. For example: upgraded :: Property Debian upgraded = tightenTargets (cmdProperty "apt-get" ["upgrade"]) - Several utility functions have been renamed: getInfo to fromInfo propertyInfo to getInfo propertyDesc to getDesc propertyChildren to getChildren * The new `pickOS` property combinator can be used to combine different properties, supporting different OS's, into one Property that chooses which to use based on the Host's OS. * Re-enabled -O0 in propellor.cabal to reign in ghc's memory use handling these complex new types. * Added dependency on concurrent-output; removed embedded copy. | |||
| 2016-03-25 | changelog | Joey Hess | |
| 2016-03-25 | Merge remote-tracking branch 'felix/uwsgi-ini' | Joey Hess | |
| 2016-03-25 | comment | Joey Hess | |
| 2016-03-25 | Avoid generating excessively long paths to the unix socket file used for ssh ↵ | Joey Hess | |
| connection caching. Mostly. Can still generate a too long one if $HOME is longer than 60 bytes. | |||
| 2016-03-25 | (no commit message) | picca | |
| 2016-03-24 | add news item for propellor 2.17.0 | Joey Hess | |
| 2016-03-24 | fix hook name | Joey Hess | |
| 2016-03-24 | clean up after merge | Joey Hess | |
| 2016-03-24 | setting up joeyconfig after merge | Joey Hess | |
| 2016-03-24 | no longer falsing rules | Joey Hess | |
| 2016-03-24 | prep release | Joey Hess | |
| 2016-03-24 | Uwsgi: add ".ini" extension to app config files | Félix Sipma | |
| files without extensions were ignored by uwsgi | |||
| 2016-03-20 | tyought | Joey Hess | |
| 2016-03-20 | make more clear that propellor targets debian stable's ghc | Joey Hess | |
| 2016-03-20 | Merge branch 'master' of ssh://propellor.branchable.com | Joey Hess | |
| 2016-03-20 | Merge branch 'joeyconfig' | Joey Hess | |
| 2016-03-20 | tag | Joey Hess | |
| 2016-03-20 | Added a comment | arnaud@30aba4d9f1742050874551d3ddc55ca8694809f8 | |
| 2016-03-19 | Added a comment | arnaud@30aba4d9f1742050874551d3ddc55ca8694809f8 | |
| 2016-03-19 | comment | Joey Hess | |
| 2016-03-19 | Merge branch 'master' of ssh://propellor.branchable.com | Joey Hess | |
| 2016-03-19 | comment | Joey Hess | |
| 2016-03-19 | Added a comment: Spinning hosts in parallel | arnaud@30aba4d9f1742050874551d3ddc55ca8694809f8 | |
| 2016-03-19 | From GH PR #13 | evan@0e4cded17eab71af967a38b123fbc211cf215421 | |
| 2016-03-19 | Merge branch 'joeyconfig' | Joey Hess | |
| 2016-03-18 | propellor spin | Joey Hess | |
| 2016-03-18 | Tor.named: Fix bug that sometimes caused the property to fail the first ↵ | Joey Hess | |
| time, though retrying succeeded. May have only been a problem on debian stable, the /var/lib/tor/keys/ was not created by installing the package. | |||
| 2016-03-18 | propellor spin | Joey Hess | |
| 2016-03-18 | propellor spin | Joey Hess | |
| 2016-03-18 | propellor spin | Joey Hess | |
| 2016-03-18 | propellor spin | Joey Hess | |
| 2016-03-18 | propellor spin | Joey Hess | |
| 2016-03-18 | propellor spin | Joey Hess | |
| 2016-03-17 | correct | Joey Hess | |
| 2016-03-17 | Merge branch 'master' of ssh://propellor.branchable.com | Joey Hess | |
| 2016-03-17 | comment | Joey Hess | |
| 2016-03-17 | Added a comment: Buntish Releases | evan@0e4cded17eab71af967a38b123fbc211cf215421 | |
| 2016-03-15 | link | Joey Hess | |
| 2016-03-11 | Merge branch 'master' of ssh://propellor.branchable.com | Joey Hess | |
| 2016-03-11 | fix clone command | Joey Hess | |
| 2016-03-11 | Added a comment: In Fact Amazonka is Fairly Epic | evan@0e4cded17eab71af967a38b123fbc211cf215421 | |
| 2016-03-10 | (no commit message) | evan@0e4cded17eab71af967a38b123fbc211cf215421 | |
| 2016-03-10 | Added a comment: Amazonka | evan@0e4cded17eab71af967a38b123fbc211cf215421 | |
| 2016-03-09 | Merge branch 'joeyconfig' | Joey Hess | |
| 2016-03-09 | comment | Joey Hess | |
| 2016-03-09 | Speed up propellor's build of itself, by asking cabal to only build the ↵ | Joey Hess | |
| propellor-config binary and not all the libraries. This is a super speedup! | |||
| 2016-03-09 | reorder | Joey Hess | |
| 2016-03-09 | avoid error message when dpkg-parsechangelog is not installed | Joey Hess | |
| 2016-03-08 | test | Joey Hess | |
