aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/get_--json_fails_whenever_plain_get_works___40__with_https_urls__41__
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-07-31 14:46:20 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-07-31 14:46:20 -0400
commitb809fc60d653eda095794fe0d8907d5c9d107939 (patch)
tree235af1737aebd9041f8d6636a1f1dc83d5d8aea1 /doc/bugs/get_--json_fails_whenever_plain_get_works___40__with_https_urls__41__
parentf829c5d047590e5036989c20888485ef6f7f8622 (diff)
response
Diffstat (limited to 'doc/bugs/get_--json_fails_whenever_plain_get_works___40__with_https_urls__41__')
-rw-r--r--doc/bugs/get_--json_fails_whenever_plain_get_works___40__with_https_urls__41__/comment_1_a9aee679a5069dc8ee8960e975bf020b._comment27
1 files changed, 27 insertions, 0 deletions
diff --git a/doc/bugs/get_--json_fails_whenever_plain_get_works___40__with_https_urls__41__/comment_1_a9aee679a5069dc8ee8960e975bf020b._comment b/doc/bugs/get_--json_fails_whenever_plain_get_works___40__with_https_urls__41__/comment_1_a9aee679a5069dc8ee8960e975bf020b._comment
new file mode 100644
index 000000000..22f1ad8c1
--- /dev/null
+++ b/doc/bugs/get_--json_fails_whenever_plain_get_works___40__with_https_urls__41__/comment_1_a9aee679a5069dc8ee8960e975bf020b._comment
@@ -0,0 +1,27 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 1"""
+ date="2017-07-31T18:46:00Z"
+ content="""
+Using --json will have the same effect as --quiet in that commands have
+to be made to not output to stdout in that mode. In the case of
+downloading an url, git-annex usually uses wget, however when curl is
+available in path, it uses it in quiet mode, because curl displays error
+messages to stdout, whereas wget never displays error messages at all
+when run in quiet mode.
+
+So, by using --json, you're changing the command that git-annex uses to
+download files from wget to curl.
+
+But, the git-annex standalone build bundles both wget and curl, so
+I'd expect that any certificates problem would affect both equally.
+But I suppose wget may be better able to deal with the certs on this
+system than curl, for whatever reason.
+
+Bundling certs with git-annex seems wrong on multiple counts; it's
+moving a large security boundary inside git-annex; it's lots of work;
+there may be local policies on allowed certs that this would disallow.
+
+Suggestion: Remove curl from the standalone build you're using, so
+it will use the system-wide curl.
+"""]]