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

This commit is contained in:
Joey Hess 2015-03-05 12:09:38 -04:00
commit ba39f271c5
4 changed files with 2207 additions and 0 deletions

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,40 @@
I'm running [git-annex](http://ix.io/gJJ) from <https://aur.archlinux.org/packages/git-annex-bin> btw on Archlinux.
I fetched a copy of my [git-annex wedding test repo](https://github.com/kaihendry/krwedding) to a machine on ssh called 'bible'.
Now I'm trying to fetch via ssh from my local machine "X1C3".
I can't work out how to fetch from it from b1b15a9b-1aa1-4f94-8b9a-2186d71c0d1a .... what am I missing?
X1C3:~/annex/krwedding$ git-annex whereis krfeature.mp4
whereis krfeature.mp4 (3 copies)
00000000-0000-0000-0000-000000000001 -- web
10418340-834d-41c2-b38f-7ee84bf6a23a -- s3
b1b15a9b-1aa1-4f94-8b9a-2186d71c0d1a -- Jamie's bible
web: http://r2d2.webconverger.org/2013-12-22/krfeature.mp4
web: http://static.prazefarm.co.uk/krfeature.mp4
web: https://objects.dreamhost.com/wedding-video/krfeature.mp4
ok
X1C3:~/annex/krwedding$ git-annex get . --from "Jamie's bible"
git-annex: there is no available git remote named "Jamie's bible"
X1C3:~/annex/krwedding$ git-annex enableremote Jamie's bible
> ^C
X1C3:~/annex/krwedding$ git-annex enableremote "Jamie's bible"
git-annex: Unknown special remote name.
Known special remotes: s3
X1C3:~/annex/krwedding$ git-annex get . --from b1b15a9b-1aa1-4f94-8b9a-2186d71c0d1a
git-annex: there is no available git remote named "b1b15a9b-1aa1-4f94-8b9a-2186d71c0d1a"
Why doesn't the UUID work? :/
I even [tried renaming the remote to the UUID... didn't work](http://ix.io/gJI)
# Issue 1
Keep getting `git-annex-shell: user error (git ["config","--null","--list"] exited 126)` even though when I run `git config` my return error is 0: <http://ix.io/gJG>
# Issue 2
I can't work out the [git-annex remote type for ssh, in order to rename the remote](http://ix.io/gJH). I think the issue here is that my ssh remote name "Jamie's bible" doesn't match with the `git remote` name bible.

View file

@ -0,0 +1,29 @@
There are SSH keys in ~/.ssh to a remote server that I added as a git annex remote. On my Debian box, I am able to `git annex copy` and `git annex move` to and from the remote to a local repo at `~/archive` with no problems. I also have no problems with external USB drives formatted ext4.
I have an external usb drive formatted NTFS that I connect to a Debian box. I added the remote server like the others and when I try to copy or move to and from it, this error code shows up.
pull archive
Control socket connect(.git/annex/ssh/f7be67fcc0a6f016ba90edcdd8e02e1f): Connection refused
Failed to connect to new control master
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
failed
push archive
Control socket connect(.git/annex/ssh/f7be67fcc0a6f016ba90edcdd8e02e1f): Connection refused
Failed to connect to new control master
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Pushing to archive failed.
I think it is because of NTFS and the ssh key stored in `~/.ssh`, but I don't know what is going on.
Thanks!

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawksOCeakibYmGDt3wLLo4nkY0FkB72I2Uo"
nickname="Source"
subject="comment 2"
date="2015-03-05T01:27:52Z"
content="""
That's exactly what I was looking for, Thanks!
"""]]