summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-04-23more ghc 8.4 build fixesJoey Hess
Tested build with ghc 8.4 now.
2018-04-23stack.yaml: Updated to lts-9.21.Joey Hess
Also tested with lts-11.6 / ghc 8.2.2 and it does build, however the stack in debian stable (and even unstable currently) does not support that version's data.
2018-04-23Added dependency on concurrent-output; removed embedded copy.Joey Hess
Removed deps on transformers, text, stm. Updated debian/control and Propellor.Bootstrap accordingly. Sorted the lists of deps to make it easier to keep them in sync. This commit was sponsored by Nick Daly on Patreon.
2018-04-23update note about singletons libraryJoey Hess
ghc version is ok to use it now. However, seems debian has not packaged it, so it won't be in stable for years, so I can't even think about using it for propellor. Proably ghc will get built-in singletons support before I can drop the current singletons code.
2018-04-23semigroup monoid change fallout; drop ghc 7 supportJoey Hess
Fix build with ghc 8.4, which broke due to the Semigroup Monoid change. See https://prime.haskell.org/wiki/Libraries/Proposals/SemigroupMonoid Dropped support for building propellor with ghc 7 (as in debian oldstable), to avoid needing to depend on the semigroups transitional package, but also because it's just too old to be worth supporting. If we indeed drop ghc 7 support entirely, some code to support "jessie" can be removed; concurrent-output can be de-embedded, and the Singletons code can be simplified. This commit was sponsored by Jack Hill on Patreon.
2018-04-22simplify constraints for new ghcJoey Hess
ghc started warning about the IsProp (Property i) constraint; removing it the code builds. This may break building with older ghc.
2018-04-22separate Hs-Source-Dirs for binariesJoey Hess
This is a trick I only just learned about, see https://stackoverflow.com/questions/6711151/how-to-avoid-recompiling-in-this-cabal-file#6711739 Significantly increased propellor build speed when your config.hs is in a fork of the propellor repository, by avoiding redundant builds of propellor library. Also avoids needing to list all the build deps 3 times. Also avoids cabal 2.x wanting every module to be listed 3 times. Note that the bulk of wrapper.hs had to move into the propellor library, since that code depended on stuff not exposed by the library. This commit was sponsored by Henrik Riomar on Patreon.
2018-04-18Merge branch 'joeyconfig'Joey Hess
2018-04-18Apt.stdSourcesList now adds stable-updates suiteSean Whitton
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
2018-04-12I tested the banana pi earlier, forgot to move it to the tested sectionJoey Hess
2018-04-11Merge branch 'joeyconfig'Joey Hess
2018-04-11move 1-wire to different gpio pinJoey Hess
2018-04-08propellor spinJoey Hess
2018-04-08propellor spinJoey Hess
2018-04-08propellor spinJoey Hess
2018-04-03fix comment indentJoey Hess
2018-04-03Merge branch 'joeyconfig'Joey Hess
2018-04-03updateJoey Hess
2018-03-20Move table and target to before the other rule argumentsRussell Sim
Some commands in IPTables are order dependent. In particular, I have seen this with the --to-dest and the --to-source arguments for DNAT and SNAT respectively. Below is an example rule which demonstrates the issue. $ iptables -A PREROUTING -p tcp -i eth0 --dport 4000 \ --to-dest 10.3.0.6:4000 -t nat -j DNAT iptables v1.6.0: unknown option "--to-dest" $ iptables -A PREROUTING -p tcp -i eth0 --dport 4000 \ -j DNAT --to-dest 10.3.0.6:4000 -t nat Signed-off-by: Russell Sim <russell.sim@gmail.com>
2018-03-19Merge branch 'joeyconfig'Joey Hess
2018-03-19updateJoey Hess
2018-03-18Merge branch 'joeyconfig'Joey Hess
2018-03-18updateJoey Hess
2018-03-14propellor spinJoey Hess
2018-03-01Apt.trustsKey: Use apt-key to add key rather than manually driving gpg, ↵Joey Hess
which seems to not work anymore. Thanks, Russell Sim.
2018-02-27Merge branch 'master' into joeyconfigJoey Hess
2018-02-26propellor spinJoey Hess
2018-02-24Openssl: fix typoFélix Sipma
2018-02-23add installed property to OpensslFélix Sipma
2018-02-23rename Dhparams to OpensslFélix Sipma
2018-02-23add Propellor.Property.DhparamsFélix Sipma
2018-02-22Avoid crashing if initial fetch from origin fails when spinning a host.Joey Hess
2018-02-19cleanup debugJoey Hess
2018-02-19output warning message atomicallyJoey Hess
Before part went to stderr and part to stdout, and the two parts could be reordered in some cases, particularly when concurrent output caused them to be buffered. This commit was sponsored by Trenton Cronholm on Patreon.
2018-02-19Warn again about new upstream version when ~/.propellor was cloned from the ↵Joey Hess
Debian git bundle using an older version of propellor that set up an upstream remote. This commit was sponsored by Jake Vosloo on Patreon.
2018-02-19comment typoJoey Hess
2018-02-18Merge branch 'joeyconfig'Joey Hess
2018-02-18updateJoey Hess
2018-02-17Systemd.machined should install systemd-container on Debian stretchSean Whitton
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
2018-02-11add missing periodJoey Hess
2018-02-11show example why atomicDirSync needs to be separate propertyJoey Hess
2018-02-11updateJoey Hess
2018-02-11add Propellor.Property.AtomicJoey Hess
Added Propellor.Property.Atomic, which can make a non-atomic property that operates on a directory into an atomic property. Also has a generic version that could be used for things other than directories that can be updated atomically. (Inspired by Vaibhav Sagar's talk on Functional Devops in a Dysfunctional World at LCA 2018.) This commit was sponsored by Fernando Jimenez on Patreon.
2018-02-11add Git.pulled propertyJoey Hess
This commit was sponsored by Nick Daly on Patreon.
2018-02-08propellor spinJoey Hess
2018-02-06updateJoey Hess
2018-02-05propellor spinJoey Hess
2018-02-05propellor spinJoey Hess
2018-02-04Merge branch 'master' into joeyconfigJoey Hess
2018-02-04updateJoey Hess