diff options
author | Ben Hutchings <ben.hutchings@codethink.co.uk> | 2020-05-14 00:21:01 +0100 |
---|---|---|
committer | Ben Hutchings <ben.hutchings@codethink.co.uk> | 2020-06-01 17:03:37 +0100 |
commit | 38697c01cc12c4e8cc57b3bb372c5cf5f34ce167 (patch) | |
tree | f7a3d3a0348f43630320785be9d3c1bbe0cdbaa5 /lorry-controller-webapp | |
parent | 75c990bc607b1059a4ea89b323a7b2658b9c313a (diff) | |
download | lorry-controller-38697c01cc12c4e8cc57b3bb372c5cf5f34ce167.tar.gz |
Introduce and use SshCommand class for running commands via ssh
Most of the ssh parameters are given by a URL, which should be
configurable. Additional options can be set by keyword arguments.
runcmd already has a function like this, but it doesn't take a URL and
runcmd.shell_quote doesn't handle empty strings correctly.
Use this in the Gerrit host connector. It could be used in the Gitano
host connector as well, but I want to avoid making further changes
there that I can't test.
Diffstat (limited to 'lorry-controller-webapp')
0 files changed, 0 insertions, 0 deletions