summaryrefslogtreecommitdiff
path: root/src/Propellor/Bootstrap.hs
AgeCommit message (Collapse)Author
2015-12-30Bootstrap apt-get installs run with deconf noninteractive frontend.Joey Hess
Debconf was prompting because installing git needed a new libc, which prompts for service restarts..
2015-11-17Removed the (unused) dependency on quickcheck.Joey Hess
2015-10-29generalize what can be outputJoey Hess
This adds a dependency on Text, but I don't mind propellor depending on it and am somewhat surprised it doesn't already. Using Text also lets this use encodeUtf8 instead of the nasty hack it was using to go from String -> ByteString.
2015-10-28fix bad MVar use, use STMJoey Hess
I had 2 MVars both involved in the same lock, and it seemed intractable to avoid deadlocks with them. STM makes it easy. At this point, the concurrent process stuff seems to work pretty well, but I'm not 100% sure it's not got some bugs.
2015-10-10propellor spinJoey Hess
2015-09-30force copy when destination existsJoey Hess
2015-09-25propellor spinJoey Hess
2015-09-25Guard against power loss etc when building propellor, by updating the ↵Joey Hess
executable atomically.
2015-08-12Make sure that make is installed when bootstrapping propellor.Joey Hess
2015-05-27Export CommandParam, boolSystem, safeSystem and shellEscape from ↵Joey Hess
Propellor.Property.Cmd, so they are available for use in constricting your own Properties when using propellor as a library. Several imports of Utility.SafeCommand now redundant.
2015-04-29avoid checking build deps if cabal configures okJoey Hess
2015-04-29Ensure build deps are installed before building propellor in --spin and cron ↵Joey Hess
job, even if propellor was already built before, to deal with upgrades that add new dependencies.
2015-04-29propellor spinJoey Hess
2015-04-02/dev/null any error from propellor --checkJoey Hess
This includes "unknown option" from old versions of propellor..
2015-04-02Make propellor resistent to changes to shared libraries, such as libffiJoey Hess
* Make propellor resistent to changes to shared libraries, such as libffi, which might render the propellor binary unable to run. This is dealt with by checking the binary both when running propellor on a remote host, and by Cron.runPropellor. If the binary doesn't work, it will be rebuilt. * Note that since a new switch had to be added to allow testing the binary, upgrading to this version will cause a rebuild from scratch of propellor.
2015-02-28better deps installationJoey Hess
Less special cases, and will work more broadly.
2015-02-28support installing build deps using pure cabal, rather than debian packagesJoey Hess
for non-debian systems
2015-02-28avoid using the makefile when bootstrapping with --spinJoey Hess
2015-02-28Propellor now builds itself without needing the Makefile.Joey Hess