From cad769b1c407a97fb25022f583711b2f82dcd66d Mon Sep 17 00:00:00 2001 From: "alex@5dec96d07f0e61bed8256e9d54a61aa1e2083a70" Date: Tue, 16 Jul 2019 19:49:08 +0000 Subject: [PATCH 1/4] Added a comment --- ...omment_1_27421c7259ca3e26be586d9400f17a09._comment | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 doc/forum/Unlocked_files_confusion/comment_1_27421c7259ca3e26be586d9400f17a09._comment diff --git a/doc/forum/Unlocked_files_confusion/comment_1_27421c7259ca3e26be586d9400f17a09._comment b/doc/forum/Unlocked_files_confusion/comment_1_27421c7259ca3e26be586d9400f17a09._comment new file mode 100644 index 0000000000..a9b43a9528 --- /dev/null +++ b/doc/forum/Unlocked_files_confusion/comment_1_27421c7259ca3e26be586d9400f17a09._comment @@ -0,0 +1,11 @@ +[[!comment format=mdwn + username="alex@5dec96d07f0e61bed8256e9d54a61aa1e2083a70" + nickname="alex" + avatar="http://cdn.libravatar.org/avatar/28d2177f7678c6cc0b677c34927eba06" + subject="comment 1" + date="2019-07-16T19:49:08Z" + content=""" +I've realized my confusion but wanted to leave this up in case it can help anyone. I'm sorry I really should have read the unlocked files page closer. + +I do have a related question though: is there any way to have ```annex.addunlocked``` applied to only a specific file? +"""]] From c8eb5889640a092152a1bf3c91bb93cc7535ae52 Mon Sep 17 00:00:00 2001 From: "alex@5dec96d07f0e61bed8256e9d54a61aa1e2083a70" Date: Tue, 16 Jul 2019 19:50:07 +0000 Subject: [PATCH 2/4] removed --- ...omment_1_27421c7259ca3e26be586d9400f17a09._comment | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 doc/forum/Unlocked_files_confusion/comment_1_27421c7259ca3e26be586d9400f17a09._comment diff --git a/doc/forum/Unlocked_files_confusion/comment_1_27421c7259ca3e26be586d9400f17a09._comment b/doc/forum/Unlocked_files_confusion/comment_1_27421c7259ca3e26be586d9400f17a09._comment deleted file mode 100644 index a9b43a9528..0000000000 --- a/doc/forum/Unlocked_files_confusion/comment_1_27421c7259ca3e26be586d9400f17a09._comment +++ /dev/null @@ -1,11 +0,0 @@ -[[!comment format=mdwn - username="alex@5dec96d07f0e61bed8256e9d54a61aa1e2083a70" - nickname="alex" - avatar="http://cdn.libravatar.org/avatar/28d2177f7678c6cc0b677c34927eba06" - subject="comment 1" - date="2019-07-16T19:49:08Z" - content=""" -I've realized my confusion but wanted to leave this up in case it can help anyone. I'm sorry I really should have read the unlocked files page closer. - -I do have a related question though: is there any way to have ```annex.addunlocked``` applied to only a specific file? -"""]] From b32bb1ceec2a609cd226cd7dc366cc4550bc84e6 Mon Sep 17 00:00:00 2001 From: "alex@5dec96d07f0e61bed8256e9d54a61aa1e2083a70" Date: Tue, 16 Jul 2019 19:58:22 +0000 Subject: [PATCH 3/4] --- doc/forum/Unlocked_files_confusion.mdwn | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/forum/Unlocked_files_confusion.mdwn b/doc/forum/Unlocked_files_confusion.mdwn index 224aefd6a8..6dfca5e097 100644 --- a/doc/forum/Unlocked_files_confusion.mdwn +++ b/doc/forum/Unlocked_files_confusion.mdwn @@ -1,9 +1,13 @@ +**EDIT:** Is there a way to apply ```annex.addunlocked``` permanently to a single file? It would be great if it could be added to the ```annex.largefiles``` options. This way a repository could have locked large files, unlocked large files, and regular files added directly to git. + +Leaving my confusion below for reference (Sorry should have read the unlocked files page more before I posted). + +--- + I'm having trouble getting unlocked files in version 7 repositories to work and I think I'm pretty confused (what I mean is that it's not git annex's fault). I have my Calibre library in a git-annex repo. I want ```metadata.db```, Calibre's sqlite database to stay unlocked but I don't get the expected results. Also I put ```metadata.db annex.largefiles=nothing``` in my ```.gitattributes``` file, could this be causing an issue? - - Version information: From 32d526164298579ae551753c260da4267385c745 Mon Sep 17 00:00:00 2001 From: eigood Date: Tue, 16 Jul 2019 23:45:18 +0000 Subject: [PATCH 4/4] Added a comment: Add support for bup daemon? --- ...7_360caa8972c2daa94044cc95188306e9._comment | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 doc/special_remotes/bup/comment_17_360caa8972c2daa94044cc95188306e9._comment diff --git a/doc/special_remotes/bup/comment_17_360caa8972c2daa94044cc95188306e9._comment b/doc/special_remotes/bup/comment_17_360caa8972c2daa94044cc95188306e9._comment new file mode 100644 index 0000000000..83027ed2e9 --- /dev/null +++ b/doc/special_remotes/bup/comment_17_360caa8972c2daa94044cc95188306e9._comment @@ -0,0 +1,18 @@ +[[!comment format=sh + username="eigood" + avatar="http://cdn.libravatar.org/avatar/fa5ae017e5432f6cfbf82109a94afaea" + subject="Add support for bup daemon?" + date="2019-07-16T23:45:18Z" + content=""" +== +git annex --debug initremote originbup type=bup autoenable=true encryption=none buprepo=bup://localhost:1982/srv/app/fs/global-storage/XXXX/bup +... +[2019-07-16 23:24:01.852275553] process done ExitSuccess +(storing uuid...) [2019-07-16 23:24:01.852581845] call: ssh [\"bup\",\"-S\",\".git/annex/ssh/bup\",\"-o\",\"ControlMaster=auto\",\"-o\",\"ControlPersist=yes\",\"-n\",\"-T\",\"cd '//localhost:1982/srv/app/fs/global-storage/XXXX/bup' && git config annex.uuid 11ddfb21-f6ca-4281-a0a1-aef9b17437e0\"] +... +== + +Annex is attempting to ssh to a machine called \"bup\", then doing a cd to a very wrong path. To get this far, I had to do a few fixed to client.py in bup, as that code has decayed since 2017. I haven't yet looked at the annex source, to see why it needs to do that cd, but I would prefer *not* have ssh access for this. + +This scenario I have locally is git-annex+bup+duplicity running inside a reduced, isolated, docker-container, where everything is trusted, and I can throw all pieces away. +"""]]