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

This commit is contained in:
Joey Hess 2014-10-06 10:18:31 -04:00
commit d95855b676
14 changed files with 427 additions and 35 deletions

View file

@ -0,0 +1,13 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawnjX_O_VChwfDjcKlcRHbc2Aah8aYQlqts"
nickname="Ludovic"
subject="comment 3"
date="2014-10-05T11:01:39Z"
content="""
I have the same problem.
I checked again, removed the previous annex/ directory and created a new annex repository from the webapp. No annex/.git/index file is created.
I then add a remore ssh server. The synchronisation fails with the error in the log: \"/storage/emulated/legacy/annex/.git/index: copyFile: does not exist (No such file or directory).\"
Running \"git annex sync\" solved the problem.
"""]]

View file

@ -0,0 +1,7 @@
This is a newb question. I don't know whether this is a bug or the way git-annex is intended to function.
I have two annex repos connected to each other. My idea was to have the first repository add files, which would then be moved to the second repository for storage. After moving, repo1 would be empty again, empty and clean of any symlinks.
But after I 'git-annex move * --to repo2' broken symlinks remain in repo1. I don't want any broken/unused symlinks to remain in repo1 for object data it doesn't currently have (even if those files remain in the repository itself).
Is there a way I can clean/remove broken symlinks to object data when those objects aren't present, so the directory only contains symlinks when the repo currently has the object data for those files?

View file

@ -0,0 +1,13 @@
[[!comment format=mdwn
username="tdussa"
ip="217.84.78.25"
subject="tar -- not really"
date="2014-10-03T20:40:45Z"
content="""
Hi,
THX for your suggestion. Unfortunately, git bundle is able to carve out particular slices of a repo, which a simple tar obviously cannot do. This functionality is much desired.
Cheers,
Toby.
"""]]

View file

@ -0,0 +1,17 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawldUCypSR21BObbzC0Uf8NVd1vZnjYlXZc"
nickname="Adam"
subject="Ok, found it :-)"
date="2014-10-04T10:11:55Z"
content="""
I think I found reliable although a bit excessive way to get back to clean state:
1. stop all the running daemons
2. on android, remove folder git-annex.home
3. on linux, remove ~/.config/git-annex and ~/.ssh/git-annex
4. on both attempted repositories I removed .git folder
5. I removed everything I have stored on rsync.net
Then I re-did the steps on good wifi network an plugged in to power source on both devices :-)
It seems that important step is to wait for the annex to share the remote repo with the other device (took ~5 minutes)
"""]]