summaryrefslogtreecommitdiffstats
path: root/gitautodeploy/cli/config.py
diff options
context:
space:
mode:
authorOliver Poignant <oliver@poignant.se>2016-05-07 19:36:37 +0200
committerOliver Poignant <oliver@poignant.se>2016-05-07 19:36:37 +0200
commit703ff62ad8e386e7d9c0e545f60e46fff93ea8e5 (patch)
treecd5865d5cf6305f75f15a5187e267ca74abbc48f /gitautodeploy/cli/config.py
parente5caf489f037c21e2bc43fd7cdad020942e86589 (diff)
downloadGit-Auto-Deploy-703ff62ad8e386e7d9c0e545f60e46fff93ea8e5.zip
Git-Auto-Deploy-703ff62ad8e386e7d9c0e545f60e46fff93ea8e5.tar.gz
Git-Auto-Deploy-703ff62ad8e386e7d9c0e545f60e46fff93ea8e5.tar.bz2
Support for detailed HTTP responses. Improved error handling.
Diffstat (limited to 'gitautodeploy/cli/config.py')
-rw-r--r--gitautodeploy/cli/config.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/gitautodeploy/cli/config.py b/gitautodeploy/cli/config.py
index f0ac68a..73fb96f 100644
--- a/gitautodeploy/cli/config.py
+++ b/gitautodeploy/cli/config.py
@@ -15,6 +15,11 @@ def get_config_defaults():
config['port'] = 8001
config['intercept-stdout'] = True
+ # Include details with deploy command return codes in HTTP response. Causes
+ # to await any git pull or deploy command actions before it sends the
+ # response.
+ config['detailed-response'] = True
+
return config
def get_config_from_environment():