Merge branch 'master' of ssh://git-annex.branchable.com
This commit is contained in:
commit
b6c1624d99
3 changed files with 74 additions and 0 deletions
34
doc/bugs/detox___34__destroys__34___annex.mdwn
Normal file
34
doc/bugs/detox___34__destroys__34___annex.mdwn
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
### Please describe the problem.
|
||||||
|
|
||||||
|
I accidentally (entirely my fault!) ran detox (batch file renamer to eliminate spaces etc.) on a git-annex dir.
|
||||||
|
Alas detox substitutes every "--" with "-", thus "destroying" the annex.
|
||||||
|
Of course the objects are still there, just renamed so that the symlinks become broken.
|
||||||
|
|
||||||
|
I solved it by copying the objects back from my backup (I have many rsynced backups) since I was too lazy to write a script to rename all the files...
|
||||||
|
|
||||||
|
A good solution would be to provide a general script (or there is one already?) to try to recover situations like this one, maybe using shatag to identify data objects.
|
||||||
|
|
||||||
|
### What steps will reproduce the problem?
|
||||||
|
|
||||||
|
Just run detox -vr (verbose, recursive) on an annex
|
||||||
|
|
||||||
|
### What version of git-annex are you using? On what operating system?
|
||||||
|
|
||||||
|
5.20150819+g
|
||||||
|
|
||||||
|
Linux
|
||||||
|
|
||||||
|
### 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
|
||||||
|
|
||||||
|
|
||||||
|
# End of transcript or log.
|
||||||
|
"""]]
|
||||||
|
|
||||||
|
### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)
|
||||||
|
|
||||||
|
|
||||||
|
I currently have about a dozen annexes, local and remote (nfs, git), no other big problem apart from lack of speed when syncing
|
33
doc/forum/Desktop_as_transfer_repository.mdwn
Normal file
33
doc/forum/Desktop_as_transfer_repository.mdwn
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
Hi,
|
||||||
|
|
||||||
|
I try to achieve this with my podcast repository:
|
||||||
|
|
||||||
|
I have three repositories all in indirect mode:
|
||||||
|
|
||||||
|
1. desktop
|
||||||
|
2. backup on usb disk at desktop
|
||||||
|
3. raspberrypi
|
||||||
|
|
||||||
|
I want to use the desktop as transfer repository.
|
||||||
|
|
||||||
|
If I add a new url on the raspberrypi I want to sync the content via the desktop repository to the backup repository which is no directly accessible from the raspberrypi.
|
||||||
|
|
||||||
|
If I add a new url on desktop the content should be moved to raspberrypi and backup.
|
||||||
|
|
||||||
|
So I don't want to have the content of the files on the desktop. All content should be in backup.
|
||||||
|
|
||||||
|
If content is not in raspberrypi I want to get it from backup via desktop.
|
||||||
|
|
||||||
|
What is the best workflow to achieve this?
|
||||||
|
|
||||||
|
Currently my problem is that if I do a "git annex sync --content" the content is also copied to desktop. Maybe because the desktop repo is origin?
|
||||||
|
|
||||||
|
- backup is in group backup
|
||||||
|
- desktop is in group transfer
|
||||||
|
- raspberrypi is in no special group
|
||||||
|
|
||||||
|
To do further experiments I need a way to see in what group a repo is, but "git annex show" has no information about this.
|
||||||
|
|
||||||
|
TIA
|
||||||
|
|
||||||
|
juh
|
|
@ -0,0 +1,7 @@
|
||||||
|
[[!comment format=mdwn
|
||||||
|
username="SchemaCzar"
|
||||||
|
subject="PLEASE!!! PLEASE BUILD IT!!!"
|
||||||
|
date="2015-11-13T16:10:44Z"
|
||||||
|
content="""
|
||||||
|
I am completely dying for this
|
||||||
|
"""]]
|
Loading…
Add table
Reference in a new issue