diff --git a/doc/bugs/git-lfs_special_insists_on_https.mdwn b/doc/bugs/git-lfs_special_insists_on_https.mdwn new file mode 100644 index 0000000000..62c62f438a --- /dev/null +++ b/doc/bugs/git-lfs_special_insists_on_https.mdwn @@ -0,0 +1,68 @@ +### Please describe the problem. + +Trying to copy annexed files to an lfs server via the configured http schemed url results in an error of this form: + +[[!format sh """ +$ git-annex copy -t lfsonly +copy mod_access_compat.so (HttpExceptionRequest Request { + host = "computer-ubul.local" + port = 5965 + secure = True + requestHeaders = [("Accept","application/vnd.git-lfs+json"),("Content-Type","application/vnd.git-lfs+json"),("User-Agent","git-annex/10.20241031-1~ndall+1")] + path = ".git/info/lfs/objects/batch" + queryString = "" + method = "POST" + proxy = Nothing + rawBody = False + redirectCount = 10 + responseTimeout = ResponseTimeoutDefault + requestVersion = HTTP/1.1 + proxySecureMode = ProxySecureWithConnect +} + (InternalException (HandshakeFailed (Error_Packet_Parsing "Failed reading: invalid header type: 72\nFrom:\theader\n\n")))) failed +copy mod_autoindex.so (HttpExceptionRequest Request { + host = "computer-ubul.local" + port = 5965 + secure = True + requestHeaders = [("Accept","application/vnd.git-lfs+json"),("Content-Type","application/vnd.git-lfs+json"),("User-Agent","git-annex/10.20241031-1~ndall+1")] + path = ".git/info/lfs/objects/batch" + queryString = "" + method = "POST" + proxy = Nothing + rawBody = False + redirectCount = 10 + responseTimeout = ResponseTimeoutDefault + requestVersion = HTTP/1.1 + proxySecureMode = ProxySecureWithConnect +} + (InternalException (HandshakeFailed (Error_Packet_Parsing "Failed reading: invalid header type: 72\nFrom:\theader\n\n")))) failed +copy: 2 failed +"""]] + +From what I can see, there is no way to work around this. Unlike, for example, the S3 special remotes, initremote doesn't take a protocol=http setting. + + +### What steps will reproduce the problem? + +[[!format sh """ +$ git-annex initremote lfsonly type=git-lfs encryption=none url=http://computer-ubul.local:5965/ +initremote lfsonly ok +(recording state in git...) +$ git config annex.security.allowed-ip-addresses 172.17.0.1 # required to overcome ConnectionRestricted error +$ git-annex copy -t lfsonly +... eror from above +"""]] + +### What version of git-annex are you using? On what operating system? + +git-annex/10.20241031-1~ndall+1 on Ubuntu 22.04 LTS: + +Linux computer-ubul 6.8.0-40-generic #40~22.04.3-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 30 17:30:19 UTC 2 x86_64 x86_64 x86_64 GNU/Linux + +### Please provide any additional information below. + +Nil + +### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders) + +Love git-annex. Long time supporter. diff --git a/doc/forum/Forcing_offline_behavior.mdwn b/doc/forum/Forcing_offline_behavior.mdwn new file mode 100644 index 0000000000..a11989e06e --- /dev/null +++ b/doc/forum/Forcing_offline_behavior.mdwn @@ -0,0 +1 @@ +It seems that things like `git annex wanted . present` cause network activity, maybe git-annex fetches remotes and tries to look up IDs and such. I didn't find a general flag to disables this. Something like `--offline` would be nice for scripts in networks that might hang indefinitely in certain situations. Does this exist? 🤔 diff --git a/doc/forum/b2_rclone_initremote_failed__58___empty_folders/comment_2_f65aeea70b85745de1fbecb6fcce66d1._comment b/doc/forum/b2_rclone_initremote_failed__58___empty_folders/comment_2_f65aeea70b85745de1fbecb6fcce66d1._comment new file mode 100644 index 0000000000..85b5e78c61 --- /dev/null +++ b/doc/forum/b2_rclone_initremote_failed__58___empty_folders/comment_2_f65aeea70b85745de1fbecb6fcce66d1._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="dmcardle" + avatar="http://cdn.libravatar.org/avatar/b79468a0d03ec3ec7acbae547c4fa994" + subject="comment 2" + date="2025-01-30T13:56:30Z" + content=""" +I just created rclone [issue #8349](https://github.com/rclone/rclone/issues/8349) to track this. +"""]] diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn index 869686883a..620aee61cd 100644 --- a/doc/git-annex.mdwn +++ b/doc/git-annex.mdwn @@ -341,25 +341,25 @@ content from the key-value store. Initializes a new cluster. - See [[git-annex-initcluster](1) for details. + See [[git-annex-initcluster]](1) for details. * `updatecluster` Update records of cluster nodes. - See [[git-annex-updatecluster](1) for details. + See [[git-annex-updatecluster]](1) for details. * `extendcluster` Adds an additional gateway to a cluster. - See [[git-annex-extendcluster](1) for details. + See [[git-annex-extendcluster]](1) for details. * `updateproxy` Update records with proxy configuration. - See [[git-annex-updateproxy](1) for details. + See [[git-annex-updateproxy]](1) for details. * `schedule repository [expression]`