summaryrefslogtreecommitdiff
path: root/src/Propellor/Ssh.hs
AgeCommit message (Collapse)Author
2019-01-18Fix --spin crash when ~/.ssh/ directory did not already exist.Joey Hess
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-30fix warningJoey Hess
2016-03-25Avoid generating excessively long paths to the unix socket file used for ssh ↵Joey Hess
connection caching. Mostly. Can still generate a too long one if $HOME is longer than 60 bytes.
2015-10-10propellor spinJoey Hess
2015-06-01remove Params constructorJoey Hess
Before it gets into released API...
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.
2014-11-22propellor spinJoey Hess
2014-11-22propellor spinJoey Hess
2014-11-18factor out ssh moduleJoey Hess