summaryrefslogtreecommitdiff
path: root/src/Utility/Process.hs
AgeCommit message (Collapse)Author
2017-05-15Removed dependency on MissingH, instead depends on split and hashable.Joey Hess
MissingH is a heavy dependency, which pulls in parsec and a bunch of stuff. So eliminating it makes propellor easier to install and less likely to fail to build. changesFileContent now uses hashable's hash. This may not be stable across upgrades, I'm not sure -- but it's surely ok here, as the hash is not stored. socketFile also uses hash. I *think* this is ok, even if it's not stable. If it's not stable, an upgrade might make propellor hash a hostname to a different number, but with 9 digets of number in use, the chances of a collision are small. In any case, I've opned a bug report asking for the stability to be documented, and I think it's intended to be stable, only the documentation is bad. NB: I have not checked that the arch linux and freebsd packages for the new deps, that Propellor.Bootstrap lists, are the right names or even exist. Since propellor depends on hashable, it could be changed to use unordered-containers, rather than containers, which would be faster and perhaps less deps too. This commit was sponsored by Alexander Thompson on Patreon.
2016-03-06refactorJoey Hess
2015-10-27use execProcessConcurrent everywhereJoey Hess
Found a reasonable clean way to make Utility.Process use execProcessConcurrent, while still allowing copying updates to it from git-annex.
2015-10-27merge from git-annexJoey Hess
2015-09-15avoid a change to readProcess that I regretted in the morningJoey Hess
Seems better to keep handle encoding issues out of that module.
2015-09-14Allow storing arbitrary ByteStrings in PrivData, extracted using ↵Joey Hess
privDataByteString.
2015-09-13merge from git-annexJoey Hess
2015-09-13Follow some hlint suggestions.Mario Lang
2015-05-30export createProcess with debug logging from Propellor.Property.CmdJoey Hess
2015-05-27merge changes from git-annexJoey Hess
2015-04-29propellor spinJoey Hess
2015-01-04Fix build with process 1.2.1.0.Joey Hess
2014-11-21email updateJoey Hess
2014-11-19propellor spinJoey Hess
2014-11-19merge from git-annexJoey Hess
2014-05-29merge from git-annexJoey Hess
2014-05-14moved source code to srcJoey Hess
This is to work around OSX's brain-damange regarding filename case insensitivity. Avoided moving config.hs, because it's a config file. Put in a symlink to make build work.