summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJoey Hess2017-07-13 12:31:20 -0400
committerJoey Hess2017-07-13 12:31:20 -0400
commitadffd9c76dec8de90407da98fb2c8e25c1d4e815 (patch)
tree151a36bf2448793a995283655873ed093681843d /doc
parent4a965c7b06b741b5de105e86d08228dfc9768ecc (diff)
parente952199fbe22af6e6c29a8c7d60c03cde685f63e (diff)
Merge branch 'joeyconfig'
Diffstat (limited to 'doc')
-rw-r--r--doc/README.mdwn2
-rw-r--r--doc/todo/spin_failure_HEAD.mdwn3
-rw-r--r--doc/todo/use_stack_for_remote_building_propellor.mdwn13
3 files changed, 17 insertions, 1 deletions
diff --git a/doc/README.mdwn b/doc/README.mdwn
index ea622b3a..a4a38c5f 100644
--- a/doc/README.mdwn
+++ b/doc/README.mdwn
@@ -41,6 +41,8 @@ see [configuration for the Haskell newbie](https://propellor.branchable.com/hask
1. Get propellor installed on your development machine (ie, laptop).
`cabal install propellor`
or
+ `stack install propellor`
+ or
`apt-get install propellor`
2. Run `propellor --init` ; this will set up a `~/.propellor/` git
repository for you.
diff --git a/doc/todo/spin_failure_HEAD.mdwn b/doc/todo/spin_failure_HEAD.mdwn
index f838e469..ceea1528 100644
--- a/doc/todo/spin_failure_HEAD.mdwn
+++ b/doc/todo/spin_failure_HEAD.mdwn
@@ -124,4 +124,5 @@ Sending privdata (73139 bytes) to kite.kitenet.net ... done
l2 <- hGetLine bob
print l2
-> > [[fixed|done]] --[[Joey]]
+> > > I thought I'd fixed this by disabling buffering of stdin, but
+> > > it seems not.
diff --git a/doc/todo/use_stack_for_remote_building_propellor.mdwn b/doc/todo/use_stack_for_remote_building_propellor.mdwn
index 265596df..8c8751e7 100644
--- a/doc/todo/use_stack_for_remote_building_propellor.mdwn
+++ b/doc/todo/use_stack_for_remote_building_propellor.mdwn
@@ -1,3 +1,16 @@
Among other features [stack](https://github.com/commercialhaskell/stack/) provides a clean and deep dependency management system that even takes care of installing toolchain (ghc, alex, happy, cabal...) in a segregated environment. Building remote propellor with stack would remove the limitation that code should be compilable with stock ghc from package manager. I have done some preliminary work on this feature in my [github clone](https://github.com/abailly/propellor) for propellor, currently from 2.17.2 branch (I wanted to reuse existing properties). The code is mostly in [Bootstrap](https://github.com/abailly/propellor/blob/master/src/Propellor/Bootstrap.hs) and is currently limited to linux systems. Adapting to FreeBsd should be straightforward as this is supported by slack and there are native builds available.
If there is interest in such a feature I would be happy to move it to HEAD and provide a patch.
+
+> I've implemented a bootstrapWith property, which can be added to a Host
+> to make it use stack:
+>
+> & bootstrapWith (Robustly Stack)
+>
+> So, for a propellor install that uses stack entirely, use
+> `stack install propellor` to install it to your laptop,
+> use `propellor --init` to set up `~/.propellor/config,hs`,
+> and in the config file, add the above property to all your
+> Hosts (perhaps using `map` ..).
+>
+> I feel that's enough to call this [[done]]. --[[Joey]]