From 10e6b0ffdef1db6739ea78476591febae45a6857 Mon Sep 17 00:00:00 2001 From: atrent Date: Fri, 13 Nov 2015 07:37:20 +0000 Subject: [PATCH 1/5] --- .../detox___34__destroys__34___annex.mdwn | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 doc/bugs/detox___34__destroys__34___annex.mdwn diff --git a/doc/bugs/detox___34__destroys__34___annex.mdwn b/doc/bugs/detox___34__destroys__34___annex.mdwn new file mode 100644 index 0000000000..5fe9810eab --- /dev/null +++ b/doc/bugs/detox___34__destroys__34___annex.mdwn @@ -0,0 +1,32 @@ +### Please describe the problem. + +I accidentally (my fault!) run detox (batch file renamer to eliminate spaces etc.) on a git-annex dir, alas detox substitutes every "--" with "-", thus "destroying" my annex. Of course the objects are still there, just renamed so that the symlinks are now all 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 lac of speed when syncing From d3198f23f4469116d6078ecef0b20b3c255112d5 Mon Sep 17 00:00:00 2001 From: atrent Date: Fri, 13 Nov 2015 07:38:01 +0000 Subject: [PATCH 2/5] --- doc/bugs/detox___34__destroys__34___annex.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/bugs/detox___34__destroys__34___annex.mdwn b/doc/bugs/detox___34__destroys__34___annex.mdwn index 5fe9810eab..c5b9294576 100644 --- a/doc/bugs/detox___34__destroys__34___annex.mdwn +++ b/doc/bugs/detox___34__destroys__34___annex.mdwn @@ -1,6 +1,6 @@ ### Please describe the problem. -I accidentally (my fault!) run detox (batch file renamer to eliminate spaces etc.) on a git-annex dir, alas detox substitutes every "--" with "-", thus "destroying" my annex. Of course the objects are still there, just renamed so that the symlinks are now all broken. +I accidentally (my fault!) ran detox (batch file renamer to eliminate spaces etc.) on a git-annex dir, alas detox substitutes every "--" with "-", thus "destroying" my annex. Of course the objects are still there, just renamed so that the symlinks are now all 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... From 3da6eff71534a9170146cb0e7cbbb21d86180316 Mon Sep 17 00:00:00 2001 From: atrent Date: Fri, 13 Nov 2015 07:39:42 +0000 Subject: [PATCH 3/5] --- doc/bugs/detox___34__destroys__34___annex.mdwn | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/bugs/detox___34__destroys__34___annex.mdwn b/doc/bugs/detox___34__destroys__34___annex.mdwn index c5b9294576..89f5ce4a3f 100644 --- a/doc/bugs/detox___34__destroys__34___annex.mdwn +++ b/doc/bugs/detox___34__destroys__34___annex.mdwn @@ -1,6 +1,8 @@ ### Please describe the problem. -I accidentally (my fault!) ran detox (batch file renamer to eliminate spaces etc.) on a git-annex dir, alas detox substitutes every "--" with "-", thus "destroying" my annex. Of course the objects are still there, just renamed so that the symlinks are now all broken. +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... @@ -29,4 +31,4 @@ Linux ### 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 lac of speed when syncing +I currently have about a dozen annexes, local and remote (nfs, git), no other big problem apart from lack of speed when syncing From 5b83af93edbd337ed3a908e8eb91aaf86cb4ea53 Mon Sep 17 00:00:00 2001 From: juh Date: Fri, 13 Nov 2015 13:41:03 +0000 Subject: [PATCH 4/5] Workflow question --- doc/forum/Desktop_as_transfer_repository.mdwn | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 doc/forum/Desktop_as_transfer_repository.mdwn diff --git a/doc/forum/Desktop_as_transfer_repository.mdwn b/doc/forum/Desktop_as_transfer_repository.mdwn new file mode 100644 index 0000000000..bd6813e366 --- /dev/null +++ b/doc/forum/Desktop_as_transfer_repository.mdwn @@ -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 From 3d05506230ba4bbb8c87f057366928df0f060aca Mon Sep 17 00:00:00 2001 From: SchemaCzar Date: Fri, 13 Nov 2015 16:10:44 +0000 Subject: [PATCH 5/5] Added a comment: PLEASE!!! PLEASE BUILD IT!!! --- .../comment_1_4aa37c3fbe3c260d71f2ed16fd4f20bc._comment | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 doc/forum/OSX_Finder_extension/comment_1_4aa37c3fbe3c260d71f2ed16fd4f20bc._comment diff --git a/doc/forum/OSX_Finder_extension/comment_1_4aa37c3fbe3c260d71f2ed16fd4f20bc._comment b/doc/forum/OSX_Finder_extension/comment_1_4aa37c3fbe3c260d71f2ed16fd4f20bc._comment new file mode 100644 index 0000000000..4b018ce116 --- /dev/null +++ b/doc/forum/OSX_Finder_extension/comment_1_4aa37c3fbe3c260d71f2ed16fd4f20bc._comment @@ -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 +"""]]