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

This commit is contained in:
Joey Hess 2013-01-17 21:20:12 -04:00
commit 912de36ecc
5 changed files with 82 additions and 0 deletions

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="http://joeyh.name/"
ip="4.154.7.238"
subject="comment 3"
date="2013-01-17T20:59:03Z"
content="""
I'd say that the best option now is to use [[direct_mode]] for repositories with files that you want to let programs modify directly.
"""]]

View file

@ -0,0 +1,35 @@
Not sure what caused this, but I have a file that exists on two remotes, but I can only get it from one of them. If I try to get it from the other, it fails immediately (without even connecting):
pilot:~/vid/tv/Show$ git annex whereis Show\ -\ S03E08.mp4
whereis Show - S03E08.mp4 (2 copies)
09c0b436-f8de-11e0-842f-b7644539d57f -- psychosis
82814942-f8e0-11e0-b053-e70a61e98e19 -- bucket
ok
pilot:~/vid/tv/Show$ git annex fsck Show\ -\ S03E08.mp4
fsck Show - S03E08.mp4 ok
pilot:~/vid/tv/Show$ git annex get --from bucket Show\ -\ S03E08.mp4
get Show - S03E08.mp4 failed
git-annex: get: 1 failed
pilot:~/vid/tv/Show$ git annex get --debug --from bucket Show\ -\ S03E08.mp4
[2013-01-17 19:05:13 EST] read: git ["--git-dir=/home/jim/vid/.git","--work-tree=/home/jim/vid","show-ref","git-annex"]
[2013-01-17 19:05:13 EST] read: git ["--git-dir=/home/jim/vid/.git","--work-tree=/home/jim/vid","show-ref","--hash","refs/heads/git-annex"]
[2013-01-17 19:05:13 EST] read: git ["--git-dir=/home/jim/vid/.git","--work-tree=/home/jim/vid","log","refs/heads/git-annex..e41c3b1ee9127129f2c9fc3fa5d4771afcb5ffd7","--oneline","-n1"]
[2013-01-17 19:05:13 EST] read: git ["--git-dir=/home/jim/vid/.git","--work-tree=/home/jim/vid","log","refs/heads/git-annex..a7ae08bccede282f46c2073f6c3e52685a593482","--oneline","-n1"]
[2013-01-17 19:05:13 EST] read: git ["--git-dir=/home/jim/vid/.git","--work-tree=/home/jim/vid","log","refs/heads/git-annex..ae0f84e906423f4da465e3d3df9d46545684d3f5","--oneline","-n1"]
[2013-01-17 19:05:13 EST] chat: git ["--git-dir=/home/jim/vid/.git","--work-tree=/home/jim/vid","cat-file","--batch"]
[2013-01-17 19:05:13 EST] read: git ["--git-dir=/home/jim/vid/.git","--work-tree=/home/jim/vid","ls-files","--cached","-z","--","Show - S03E08.mp4"]
get Show - S03E08.mp4 failed
git-annex: get: 1 failed
Same `git annex version` on both `pilot` and `bucket`, and I ran `git annex sync` on both.
git-annex version: 3.20130114
local repository version: 3
default repository version: 3
supported repository versions: 3
upgrade supported from repository versions: 0 1 2
How should I debug this?

View file

@ -0,0 +1,21 @@
[[!comment format=mdwn
username="http://joeyh.name/"
ip="4.154.7.238"
subject="comment 1"
date="2013-01-17T18:30:06Z"
content="""
AFAICS, the German message is the equivilant of `git status` when a file has been deleted:
<pre>
# On branch master
# Changes not staged for commit:
# (use \"git add/rm <file>...\" to update what will be committed)
# (use \"git checkout -- <file>...\" to discard changes in working directory)
#
# deleted: bigfile
#
no changes added to commit (use \"git add\" and/or \"git commit -a\")
</pre>
There's no indication here of when the file was deleted, or what deleted it. I need a way to reproduce this to be able to help. At this point it's not clear if the file is deleted by the old assistant that you ctrl-c'd, or if it was deleted while the assistant was not running, or if it somehow gets deleted when the new assistant is started up.
"""]]

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="http://joeyh.name/"
ip="4.154.7.238"
subject="comment 4"
date="2013-01-17T18:22:26Z"
content="""
The best way to remove a special remote is to first `git annex move --from $remote` to get all the content out of it, then `git annex dead $remote` and finally you can `git remote rm $remote`
"""]]

View file

@ -0,0 +1,10 @@
[[!comment format=mdwn
username="http://joeyh.name/"
ip="4.154.7.238"
subject="comment 6"
date="2013-01-17T18:23:27Z"
content="""
It seems it must advertise it supports the LOCK and UNLOCK http actions, but fails when they're used.
The DAV library I am using always locks if it seems the server supports it. So this will need changes to that library. I've filed a bug requesting the changes. <http://bugs.debian.org/698379>
"""]]