From 41c6d1a4cff913754de3dcb51fba038889af245d Mon Sep 17 00:00:00 2001 From: Stan Date: Sun, 3 Jul 2016 05:47:33 +0000 Subject: [PATCH 1/6] --- doc/bugs/v6_appears_to_not_thin.mdwn | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/doc/bugs/v6_appears_to_not_thin.mdwn b/doc/bugs/v6_appears_to_not_thin.mdwn index 7d9deb5ef0..2cadcedc40 100644 --- a/doc/bugs/v6_appears_to_not_thin.mdwn +++ b/doc/bugs/v6_appears_to_not_thin.mdwn @@ -41,7 +41,20 @@ Debian 8.5 repo config file: -[core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true [annex] uuid = c5c203ec-9353-4213-8af5-6fcb8de36ca2 version = 6 thin = true [filter "annex"] smudge = git-annex smudge %f clean = git-annex smudge --clean %f +[core] +repositoryformatversion = 0 +filemode = true +bare = false +logallrefupdates = true + +[annex] +uuid = c5c203ec-9353-4213-8af5-6fcb8de36ca2 +version = 6 +thin = true + +[filter "annex"] +smudge = git-annex smudge %f +clean = git-annex smudge --clean %f From 50661a6c664cf16843f04674d8477c6c46523c95 Mon Sep 17 00:00:00 2001 From: "liori@cfce7a5e6e71574f82591d8cfe689cf3ac8516a4" Date: Sun, 3 Jul 2016 19:43:46 +0000 Subject: [PATCH 2/6] --- ..._annex_copy__96____44___estimate_how_much_data_to_copy.mdwn | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 doc/forum/__96__git_annex_copy__96____44___estimate_how_much_data_to_copy.mdwn diff --git a/doc/forum/__96__git_annex_copy__96____44___estimate_how_much_data_to_copy.mdwn b/doc/forum/__96__git_annex_copy__96____44___estimate_how_much_data_to_copy.mdwn new file mode 100644 index 0000000000..dcc3377edf --- /dev/null +++ b/doc/forum/__96__git_annex_copy__96____44___estimate_how_much_data_to_copy.mdwn @@ -0,0 +1,3 @@ +Hi, + +Is there any way to estimate how much data will be transferred and/or written down on the target repository of a `git annex copy` command? Something that would take into account that some data is already there, etc. From 8656ee332b6f8f7090e295310b41b7c3f115ec5c Mon Sep 17 00:00:00 2001 From: "asasdfu@6d994a3a5de417bed14940c21349d59f56e8922e" Date: Mon, 4 Jul 2016 15:41:15 +0000 Subject: [PATCH 3/6] --- ...itremote_doesn__39__t_work_in_scripts.mdwn | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 doc/bugs/initremote_doesn__39__t_work_in_scripts.mdwn diff --git a/doc/bugs/initremote_doesn__39__t_work_in_scripts.mdwn b/doc/bugs/initremote_doesn__39__t_work_in_scripts.mdwn new file mode 100644 index 0000000000..b36af095fe --- /dev/null +++ b/doc/bugs/initremote_doesn__39__t_work_in_scripts.mdwn @@ -0,0 +1,23 @@ +### Please describe the problem. + + +### What steps will reproduce the problem? + +Run "git-annex initremote" from an environment (cron, CI, etc.) where /dev/tty doesn't exist. + +### What version of git-annex are you using? On what operating system? + +git-annex version: 6.20160613-g35dbe35 on debian jessie + +### Please provide any additional information below. + +Error: +gpg: cannot open tty `/dev/tty': No such device or address + +failed + +Rumour on the internets is that the "--no-tty" parameter to GPG may fix the problem. + +### 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) + +Yes! It's great! From c2bd8546777d455d493f992fb1fc9d62f83a3def Mon Sep 17 00:00:00 2001 From: "asasdfu@6d994a3a5de417bed14940c21349d59f56e8922e" Date: Mon, 4 Jul 2016 15:50:13 +0000 Subject: [PATCH 4/6] --- doc/bugs/initremote_doesn__39__t_work_in_scripts.mdwn | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/bugs/initremote_doesn__39__t_work_in_scripts.mdwn b/doc/bugs/initremote_doesn__39__t_work_in_scripts.mdwn index b36af095fe..75361a6c15 100644 --- a/doc/bugs/initremote_doesn__39__t_work_in_scripts.mdwn +++ b/doc/bugs/initremote_doesn__39__t_work_in_scripts.mdwn @@ -11,6 +11,8 @@ git-annex version: 6.20160613-g35dbe35 on debian jessie ### Please provide any additional information below. +Example of the error @ https://gitlab.com/DanielDent/git-annex-remote-rclone/builds/2166644 + Error: gpg: cannot open tty `/dev/tty': No such device or address From d81765cb73ad6bf18f5f6378112350ef570b34ce Mon Sep 17 00:00:00 2001 From: "asasdfu@6d994a3a5de417bed14940c21349d59f56e8922e" Date: Mon, 4 Jul 2016 15:57:38 +0000 Subject: [PATCH 5/6] --- ...in_your_PATH_and_is_executable.__34__.mdwn | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 doc/bugs/race_condition_with___39____39__git-annex__58___Cannot_run_git-annex-remote-__33__dne__33___--_Make_sure_it__39__s_in_your_PATH_and_is_executable.__34__.mdwn diff --git a/doc/bugs/race_condition_with___39____39__git-annex__58___Cannot_run_git-annex-remote-__33__dne__33___--_Make_sure_it__39__s_in_your_PATH_and_is_executable.__34__.mdwn b/doc/bugs/race_condition_with___39____39__git-annex__58___Cannot_run_git-annex-remote-__33__dne__33___--_Make_sure_it__39__s_in_your_PATH_and_is_executable.__34__.mdwn new file mode 100644 index 0000000000..156f75b36c --- /dev/null +++ b/doc/bugs/race_condition_with___39____39__git-annex__58___Cannot_run_git-annex-remote-__33__dne__33___--_Make_sure_it__39__s_in_your_PATH_and_is_executable.__34__.mdwn @@ -0,0 +1,19 @@ +### Please describe the problem. + +When git-annex has not recently used a remote, there appears to be a race condition where sometimes it will fail with "git-annex: Cannot run git-annex-remote-!dne! -- Make sure it's in your PATH and is executable." + +### What steps will reproduce the problem? + +This test script will trigger it: https://gitlab.com/DanielDent/git-annex-remote-rclone/blob/demo-race-condition/.gitlab-ci.yml +Output: https://gitlab.com/DanielDent/git-annex-remote-rclone/builds/2167279 + +This test script works: https://gitlab.com/DanielDent/git-annex-remote-rclone/blob/demo-race-condition-2/.gitlab-ci.yml + +But the reason it works is because it's using "git-annex testremote GA-rclone-CI --fast || git-annex testremote GA-rclone-CI --fast" - it fails the first time, and then works the second time. +Output: https://gitlab.com/DanielDent/git-annex-remote-rclone/builds/2167316 + +This test script doesn't trigger it: https://gitlab.com/DanielDent/git-annex-remote-rclone/blob/master/.gitlab-ci.yml +Output: https://gitlab.com/DanielDent/git-annex-remote-rclone/builds/2166902 + +The 'git-annex copy test --to GA-rclone-CI' line prior to the 'testremote' invocation seems to warm caches and avoids having the bug trigger. + From 19fbc10360a33550c22ad6b28f3162314513f5ff Mon Sep 17 00:00:00 2001 From: "krazyjosh5@ab1e3964e59d02a093b27f93562012e47aa2b4c9" Date: Tue, 5 Jul 2016 09:07:54 +0000 Subject: [PATCH 6/6] --- doc/forum/git-annex_SSH_server_+_cloud_remote.mdwn | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 doc/forum/git-annex_SSH_server_+_cloud_remote.mdwn diff --git a/doc/forum/git-annex_SSH_server_+_cloud_remote.mdwn b/doc/forum/git-annex_SSH_server_+_cloud_remote.mdwn new file mode 100644 index 0000000000..3c0cb4aa75 --- /dev/null +++ b/doc/forum/git-annex_SSH_server_+_cloud_remote.mdwn @@ -0,0 +1,13 @@ +I'd like to accomplish something like this: + +* shared git-annex remote hosted by SSL server +* file contents stored in S3 +* everything encrypted + +The use case here is to achieve the availability of an SSL server (that is, multiple clients will sync to one, main server, eliminating a dependency on each other) and a single source of truth for the repository (i.e. eliminating P2P repo synchronization), and having the bulk of the disk space consumption living on S3 hosting. + +Is this possible? If so, any suggestions on how to do it? I understand how to do everything, except configure the SSL server to store annexed files on S3 hosting. + +Also, any thoughts on how much space the SSL server's git repo (without annexed files) could possibly grow to, with average use? Is it reasonable to say that it would never get bigger than 'tens of megabytes'? + +Thank you!