| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2016-03-18 | wip | Joey Hess | |
| 2016-03-18 | wip | Joey Hess | |
| Converted to singletons. Type level functions not updated yet. | |||
| 2016-03-17 | wip | Joey Hess | |
| 2016-03-17 | comments | Joey Hess | |
| 2016-03-17 | add OuterTarget | Joey Hess | |
| Separate data type to guarantee that ensureProperty is passed the actual outer target, and not some other Targeting value from eg, unixLike. | |||
| 2016-03-17 | let's not try to get outertarget from monad | Joey Hess | |
| To get outertarget from the Propellor monad, the monad would have to be parameteriszed with an outertarget type, since there's no single type. For example: newtype Propellor target p = Propellor { runWithHost :: RWST target () () IO p } deriving (Monad, Applicative, Functor) But then mkProperty becomes a problem, since the Propellor action passed to it needs to already be of UnixLike type: mkProperty :: Propellor UnixLike () -> Property UnixLike mkProperty a = Property unixLike a Could maybe live with that, but then `target` type check fails: Expected type: Propellor (Targeting combinedtarget) () Actual type: Propellor (Targeting oldtarget) () Problem being that it's reusing the `a` which is a Propellor target () target newtarget (Property oldtarget a) = Property (intersectTarget oldtarget newtarget) a And, the new Property has a different target, so it can't use the old `a`. So, I'd need a way to cast one Propellor target () to a different target. Maybe: target newtarget (Property oldtarget (Propellor a)) = let combinedtarget = intersectTarget oldtarget newtarget in Property combinedtarget (Propellor (unsafeCoerce a)) But is that safe?? Even if it is, I can't see how to make ensureProperty get the outertarget type. It returns Propellor (Targeting outertarget) (), which can read the target from the RWST monad, but how to use that where the type of the function is defined? Rather than all that complication, it doesn't seem too bad to require outertarget be passed to ensureProperty. | |||
| 2016-03-16 | wip | Joey Hess | |
| 2016-03-16 | wip | Joey Hess | |
| 2016-03-11 | fix ensureProperty superset checking | Joey Hess | |
| 2016-03-09 | note bug | Joey Hess | |
| 2016-03-09 | improve | Joey Hess | |
| 2016-03-09 | rename to Target | Joey Hess | |
| 2016-03-09 | added protype of ensureProperty that prevents running properties in the wrong OS | Joey Hess | |
| 2016-03-08 | backported to ghc 7.6.3 | Joey Hess | |
| Works on debian stable! | |||
| 2016-03-08 | simplify | Joey Hess | |
| 2016-03-08 | make it a type error to intersect two OS lists if the result is empty | Joey Hess | |
| 2016-03-08 | fixed it! | Joey Hess | |
| 2016-03-08 | simplfy | Joey Hess | |
| 2016-03-08 | document status | Joey Hess | |
| 2016-03-08 | initial type-level OS list | Joey Hess | |
| 2016-03-08 | Merge branch 'joeyconfig' | Joey Hess | |
| 2016-03-08 | idea! | Joey Hess | |
| 2016-03-08 | Merge branch 'joeyconfig' | Joey Hess | |
| 2016-03-08 | cleanup | Joey Hess | |
| 2016-03-08 | Merge branch 'joeyconfig' | Joey Hess | |
| 2016-03-08 | more thoughts | Joey Hess | |
| 2016-03-08 | Merge branch 'joeyconfig' | Joey Hess | |
| 2016-03-08 | thought | Joey Hess | |
| 2016-03-08 | comment | Joey Hess | |
| 2016-03-08 | Merge branch 'joeyconfig' | Joey Hess | |
| 2016-03-08 | comment | Joey Hess | |
| 2016-03-08 | Merge branch 'joeyconfig' | Joey Hess | |
| 2016-03-08 | fix reversion in bootstrap spin of system with no declared OS | Joey Hess | |
| The freebsd changes caused a bootstrap of a system with no declared OS to not work, where before it was assumed to be some debian-like system where apt can be used. Brought back this assumption. | |||
| 2016-03-07 | Merge branch 'joeyconfig' | Joey Hess | |
| 2016-03-07 | link | Joey Hess | |
| 2016-03-07 | comment | Joey Hess | |
| 2016-03-07 | Merge branch 'master' of ssh://propellor.branchable.com | Joey Hess | |
| 2016-03-07 | Merge branch 'joeyconfig' | Joey Hess | |
| 2016-03-07 | idea | Joey Hess | |
| 2016-03-08 | Added a comment: Container Service | evan@0e4cded17eab71af967a38b123fbc211cf215421 | |
| 2016-03-08 | Added a comment: AWS Instances | evan@0e4cded17eab71af967a38b123fbc211cf215421 | |
| 2016-03-08 | Added a comment | mithrandi@311efa1b2b5c4999c2edae7da06fb825899e8a82 | |
| 2016-03-07 | Merge branch 'joeyconfig' | Joey Hess | |
| 2016-03-07 | reorder and improve comments | Joey Hess | |
| 2016-03-07 | clean up after merge | Joey Hess | |
| 2016-03-07 | typo | Joey Hess | |
| 2016-03-07 | setting up joeyconfig after merge | Joey Hess | |
| 2016-03-07 | link to config-freebsd.hs | Joey Hess | |
| 2016-03-07 | Merge branch 'master' of ssh://propellor.branchable.com | Joey Hess | |
| 2016-03-07 | clean up after merge | Joey Hess | |
