Merge branch 'bs' into sqlite-bs

This commit is contained in:
Joey Hess 2019-12-18 14:51:03 -04:00
commit d5628a16b8
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
137 changed files with 827 additions and 516 deletions

View file

@ -0,0 +1,18 @@
When a file is not present on a ssh remote, a move of that file fails
like this:
move foo (from r...)
verification of content failed
failed
move bar (from r...)
Lost connection (fd:24: hGetChar: illegal operation (handle is closed))
failed
Both files were not present, so two different failures, and neither message
bears on the real reason why the move failed.
(Despite the connection having closed, it then was able to move a third file
that was still present.)
IIRC there was a clear message displayed before git-annex-shell p2pstdio
got implemented. --[[Joey]]

View file

@ -0,0 +1,56 @@
### Please describe the problem.
### What steps will reproduce the problem?
### What version of git-annex are you using? On what operating system?
### Please provide any additional information below.
[[!format sh """
lena:/tmp
$> git clone http://kumo.ovgu.de/~mih/myHP/bd2/4e4aa-7aea-11e6-9d5d-002590f97d84/
Cloning into '4e4aa-7aea-11e6-9d5d-002590f97d84'...
$> cd 4e4aa-7aea-11e6-9d5d-002590f97d84
$> git annex init
init (merging origin/git-annex into git-annex...)
(recording state in git...)
(scanning for unlocked files...)
Failed to get annex.uuid configuration of repository origin
Instead, got: "core.repositoryformatversion\n0\NULcore.filemode\ntrue\NULcore.bare\ntrue\NUL"
This is unexpected; please check the network transport!
(Auto enabling special remote datalad-archives...)
(Auto enabling special remote inm7-storage...)
Cannot run git-annex-remote-ria -- It is not installed in PATH (/usr/lib/git-annex.linux/bin:/usr/lib/git-core:/home/yoh/picts/mris/heudiconv-master/venvs/dev3/bin:/home/yoh/gocode/bin:/home/yoh/gocode/bin:/home/yoh/bin:/home/yoh/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/sbin:/usr/sbin:/usr/local/sbin:/usr/lib/git-annex.linux/extra)
ok
(recording state in git...)
"""]]
so two issues in above:
- not clear why it dumps git config if fetched instead of just announcing that remote has no git-annex and set to ignore
- empty lines between all the messages go to stdout:
[[!format sh """
$> git annex init 2>/dev/null
init (scanning for unlocked files...)
(Auto enabling special remote inm7-storage...)
ok
"""]]
PS ignore "ignores --json-error-messages" part of the subject -- was detected in 7.20190819+git2-g908476a9b-1~ndall+1 during `get` but upgrade to 7.20191114+git43-ge29663773-1~ndall+1 resolved it
[[!meta author=yoh]]
[[!tag projects/datalad]]