]> dgit.raspbian.org Git - git-annex.git/commitdiff
Added a comment
authorbasile.pinsard@f1a7fae9f3bd9d5282fca11f62ad53b45a8eb317 <basilepinsard@web>
Fri, 28 Feb 2020 20:20:09 +0000 (20:20 +0000)
committeradmin <admin@branchable.com>
Fri, 28 Feb 2020 20:20:09 +0000 (20:20 +0000)
doc/bugs/S3-remote_fail_to_get_data_on_some_clones__47__machines/comment_13_6b13804fc0e8e55691a86a5f9a2c8568._comment [new file with mode: 0644]

diff --git a/doc/bugs/S3-remote_fail_to_get_data_on_some_clones__47__machines/comment_13_6b13804fc0e8e55691a86a5f9a2c8568._comment b/doc/bugs/S3-remote_fail_to_get_data_on_some_clones__47__machines/comment_13_6b13804fc0e8e55691a86a5f9a2c8568._comment
new file mode 100644 (file)
index 0000000..4c8e282
--- /dev/null
@@ -0,0 +1,31 @@
+[[!comment format=mdwn
+ username="basile.pinsard@f1a7fae9f3bd9d5282fca11f62ad53b45a8eb317"
+ nickname="basile.pinsard"
+ avatar="http://cdn.libravatar.org/avatar/87e1f73acf277ad0337b90fc0253c62e"
+ subject="comment 13"
+ date="2020-02-28T20:20:09Z"
+ content="""
+> You need to use git config to set that, not git-annex config.
+
+Unless I am getting crazy, I am pretty sure I managed to make that command work before with git-annex (the --set option is not in the git config syntax), so I wrote it in my own doc a few months back. In the git-repo I ran it before, the .git/config file contains the option. 
+
+The command returns a nice message that made me think it worked: 
+
+```
+$ git-annex config --set annex.security.allowed-ip-addresses 10.10.10.20
+annex.security.allowed-ip-addresses 10.10.10.20 ok
+(recording state in git...)
+```
+
+- About the doc, I am not sure if I got the command from the man page. Maybe an example of how to set these variables with git config (`git config --add <name> <value>`) in the man page would avoid this kind of mistakes from dumb users like me ;). Maybe I thought that git-annex-config also change .git/config file.
+
+- The ConnectionRestricted for annex.security.allowed-ip-addresses do not show-up when trying to get data from a clone of the git where the remote was configured after correctly setting that option. That is why there was no traffic out except the DNS request.
+
+- Maybe git-annex config should not return a nice message when trying to set an unknown option. 
+
+I will open a separate bug for the exporttree shortly.
+
+Now it works!
+Thanks for your help!
+
+"""]]