summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar yarikoptic <yarikoptic@web>2017-11-14 19:14:30 +0000
committerGravatar admin <admin@branchable.com>2017-11-14 19:14:30 +0000
commit8a93dd1989ecbb7360ce2eb960083476b6b5849f (patch)
tree805ca60abece3f0dd48cb0c01b253815e0576d6d
parent92f36a1d31418e747eeaaaad03aeb85cec939d21 (diff)
initial whining about 2 ssh prompts
-rw-r--r--doc/bugs/annex_copy_might_not_report_percent-progress_when_it_has_actual_key_file.mdwn23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/bugs/annex_copy_might_not_report_percent-progress_when_it_has_actual_key_file.mdwn b/doc/bugs/annex_copy_might_not_report_percent-progress_when_it_has_actual_key_file.mdwn
new file mode 100644
index 000000000..c1cc87816
--- /dev/null
+++ b/doc/bugs/annex_copy_might_not_report_percent-progress_when_it_has_actual_key_file.mdwn
@@ -0,0 +1,23 @@
+### Please describe the problem.
+
+git-annex does not report percent-progress in the json-progress output if size is not listed in the key. But the file is available so git annex could easily report the %s. We will need to workaround in datalad atm where we assumed that percents are always reported
+
+[[!format sh """
+$> git annex copy --to=localhost --json --json-progress Why_is_git_annex_awesome__This_is_why_.webm
+{"byte-progress":32768,"action":{"command":"copy","note":"to localhost...","key":"URL--quvi:https://www.youtube.com/watch,63v,614qCZFW_uGU0","file":"Why_is_git_annex_awesome__This_is_why_.webm"}}
+{"command":"copy","note":"to localhost...","success":true,"key":"URL--quvi:https://www.youtube.com/watch,63v,614qCZFW_uGU0","file":"Why_is_git_annex_awesome__This_is_why_.webm"}
+
+$> du -scmL Why_is_git_annex_awesome__This_is_why_.webm
+6 Why_is_git_annex_awesome__This_is_why_.webm
+6 total
+
+$> git annex version
+git-annex version: 6.20171018+gitgbb20b1ed3-1~ndall+1
+...
+
+$> ls -l Why_is_git_annex_awesome__This_is_why_.webm
+lrwxrwxrwx 1 yoh yoh 150 Nov 3 09:02 Why_is_git_annex_awesome__This_is_why_.webm -> ../../.git/annex/objects/8f/XP/URL--quvi&chttps&c%%www.youtube.com%watch,63v,614qCZFW_uGU0/URL--quvi&chttps&c%%www.youtube.com%watch,63v,614qCZFW_uGU0
+
+"""]]
+
+