Merge branch 'master' of ssh://git-annex.branchable.com
This commit is contained in:
commit
f0ab439c95
4 changed files with 81 additions and 4 deletions
68
doc/bugs/git-lfs_special_insists_on_https.mdwn
Normal file
68
doc/bugs/git-lfs_special_insists_on_https.mdwn
Normal file
|
@ -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.
|
1
doc/forum/Forcing_offline_behavior.mdwn
Normal file
1
doc/forum/Forcing_offline_behavior.mdwn
Normal file
|
@ -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? 🤔
|
|
@ -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.
|
||||
"""]]
|
|
@ -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]`
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue