Merge branch 'master' of ssh://git-annex.branchable.com

This commit is contained in:
Joey Hess 2014-09-10 15:15:26 -04:00
commit 286021cebc
26 changed files with 1748 additions and 1 deletions

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawk9nck8WX8-ADF3Fdh5vFo4Qrw1I_bJcR8"
nickname="Jon Ander"
subject="comment 14"
date="2014-09-08T07:27:46Z"
content="""
Still experiencing this bug in Debian testing (5.20140717) and Debian sid (5.20140831)
"""]]

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="CandyAngel"
ip="81.111.193.130"
subject="comment 10"
date="2014-09-08T08:08:50Z"
content="""
Removing .git/annex/index is safe, it is a step in getting git-annex to [forget a commit entirely](http://git-annex.branchable.com/forum/How_to_get_git-annex_to_forget_a_commit__63__).
"""]]

View file

@ -0,0 +1,22 @@
[[!comment format=mdwn
username="zardoz"
ip="78.48.163.229"
subject="comment 9"
date="2014-09-07T14:04:51Z"
content="""
Any ideas? I noticed one alternative way (cf. the reset workaround
above) to make «git annex add» work again is by deleting
.git/annex/index*. Is this safe?
In both repos, I had not even staged annex additions before the index
was corrupted; the corruption must somehow have been left-over from
earlier actions, altough all previous additions succeeded at the time,
before both repositories mysteriously stopped working (in the context
of backend-migration).
I still have the original snapshots around if youd like to debug
this. As noted, «git fsck» succeeds, and all the block-level checksums
check out, so the problem cant be on the block device or file-system
level.
"""]]

View file

@ -0,0 +1,26 @@
### Please describe the problem.
When attempting to 'git annex get' a file that does not exist in the git repository, git-annex correctly reports "not found". But it still returns exit code 0, incorrectly indicating success. This is problematic for scripting.
### What steps will reproduce the problem?
See transcript
### What version of git-annex are you using? On what operating system?
git-annex 5.20140517.4 as supplied by 'git-annex' aptitude package on Ubuntu 12.04.4 LTS (32-bit)
### Please provide any additional information below.
[[!format sh """
henry@commsbox:~/work/tmp$ git init test
Initialized empty Git repository in /home/henry/work/tmp/test/.git/
henry@commsbox:~/work/tmp$ cd test
henry@commsbox:~/work/tmp/test$ git annex init
init ok
(Recording state in git...)
henry@commsbox:~/work/tmp/test$ git annex get nonexistent.file
git-annex: nonexistent.file not found
henry@commsbox:~/work/tmp/test$ echo $?
0
"""]]

View file

@ -0,0 +1,45 @@
### Please describe the problem.
See the logs. git-annex-shell tries to use not existing runshell
### What steps will reproduce the problem?
I am on Debian testing and have, some month ago, tried the tarball distribution.
I have returned to deb packages later and deleted the tarball installation.
Seems that there some traces left.
I have tried to find the runshell configuration, but failed to do so.
I have destroyed the repo completely, has not helped.
### What version of git-annex are you using? On what operating system?
ii git-annex 5.20140831 amd64
### Please provide any additional information below.
[[!format sh """
# If you can, paste a complete transcript of the problem occurring here.
# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log
[2014-09-07 17:15:04 CEST] main: starting assistant version 5.20140831
[2014-09-07 17:15:04 CEST] Cronner: Consistency check in progress
/home/<user>/.ssh/git-annex-shell: 4: exec: /home/<user>/git-annex.linux.5.20131213/runshell: not found
/home/<user>/.ssh/git-annex-shell: 4: exec: /home/<user>/git-annex.linux.5.20131213/runshell: not found
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
/home/<user>/.ssh/git-annex-shell: 4: exec: /home/<user>/git-annex.linux.5.20131213/runshell: not found
/home/<user>/.ssh/git-annex-shell: 4: exec: /home/<user>/git-annex.linux.5.20131213/runshell: not found
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
/home/<user>/.ssh/git-annex-shell: 4: exec: /home/<user>/git-annex.linux.5.20131213/runshell: not found
(scanning...) [2014-09-07 17:16:47 CEST] Watcher: Performing startup scan
/home/<user>/.ssh/git-annex-shell: 4: exec: /home/<user>/git-annex.linux.5.20131213/runshell: not found
/home/<user>/.ssh/git-annex-shell: 4: exec: /home/<user>/git-annex.linux.5.2013121/
/home/<user>/.ssh/git-annex-shell: 4: exec: /home/<user>/git-annex.linux.5.20131213/runshell: not found
/home/<user>/.ssh/git-annex-shell: 4: exec: /home/<user>/git-annex.linux.5.20131213/runshell: not found
# End of transcript or log.
"""]]

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="https://andrew.aylett.co.uk/"
nickname="andrew"
subject="comment 4"
date="2014-09-07T18:41:28Z"
content="""
I, too, have seen this issue -- took me a while to recover from it. I do (now, at least) have a pre-commit hook that calls git annex pre-commit; I didn't set that up myself.
"""]]

View file

@ -0,0 +1,38 @@
### Please describe the problem.
error message:
copy somefile.jpg (checking myserver...) (to myserver...)
git-annex: runInteractiveProcess: pipe: Too many open files
rsync failed -- run git annex again to resume file transfer
failed
### What steps will reproduce the problem?
1. Start a `git annex copy` with lots of files in the queue.
2. Start a second `git annex copy` on the same set of files.
The intention is to minimize the amount of silent time on the wire due to administrative work between actual file transfers. These two processes will trip over each other and see that transfer X is already going, and skip to the next file Y, so in the end they upload about half of the files each.
3. Expect all files to be uploaded. Actually observe the above error message for at least one of the processes.
### What version of git-annex are you using? On what operating system?
git-annex version: 5.20140420-ga25b8bb
build flags: Assistant Webapp Webapp-secure Pairing Testsuite S3 WebDAV FsEvents XMPP DNS Feeds Quvi TDFA CryptoHash
key/value backends: SHA256E SHA1E SHA512E SHA224E SHA384E SKEIN256E SKEIN512E SHA256 SHA1 SHA512 SHA224 SHA384 SKEIN256 SKEIN512 WORM URL
remote types: git gcrypt S3 bup directory rsync web webdav tahoe glacier hook external
Darwin mymacbook 13.3.0 Darwin Kernel Version 13.3.0: Tue Jun 3 21:27:35 PDT 2014; root:xnu-2422.110.17~1/RELEASE_X86_64 x86_64
### Please provide any additional information below.
[[!format sh """
lsof -p <my annex process>
... some .app/** files, tty etc ...
... some unnamed pipes ...
.../.git/annex/ssh/myserver.lock
.../.git/annex/transfer/upload/b4d67c4f-8cca-423c-9363-f3063b7fe3e4/lck.SHA256E-s10448418--4f61fab4... ~200 different files.
"""]]

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="http://id.clacke.se/"
nickname="Claes"
subject="5.20140830"
date="2014-09-07T19:24:49Z"
content="""
Will verify if this is still valid for 5.20140830.
"""]]

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="http://id.clacke.se/"
nickname="Claes"
subject="yep"
date="2014-09-07T19:42:04Z"
content="""
Still valid for `git-annex version: 5.20140830-g3c96b79`
"""]]