diff options
author | yarikoptic <yarikoptic@web> | 2017-03-24 21:10:44 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2017-03-24 21:10:44 +0000 |
commit | 237a42cba43a69066283ab056a2d815ccf8addda (patch) | |
tree | 2fa40c4f2265545907cc5e4a5293f75ce6ea439e /doc/bugs/__34__byte-progress__34___could_jump_down_upon_initiating_re-download_--_report_actual_one_first__63__.mdwn | |
parent | 485f3d48d1f399093b36ed87cc6de261047cef54 (diff) |
Diffstat (limited to 'doc/bugs/__34__byte-progress__34___could_jump_down_upon_initiating_re-download_--_report_actual_one_first__63__.mdwn')
-rw-r--r-- | doc/bugs/__34__byte-progress__34___could_jump_down_upon_initiating_re-download_--_report_actual_one_first__63__.mdwn | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/doc/bugs/__34__byte-progress__34___could_jump_down_upon_initiating_re-download_--_report_actual_one_first__63__.mdwn b/doc/bugs/__34__byte-progress__34___could_jump_down_upon_initiating_re-download_--_report_actual_one_first__63__.mdwn new file mode 100644 index 000000000..6b0cb62a8 --- /dev/null +++ b/doc/bugs/__34__byte-progress__34___could_jump_down_upon_initiating_re-download_--_report_actual_one_first__63__.mdwn @@ -0,0 +1,28 @@ +### Please describe the problem. + +someone kinda could consider it a 'feature' but it complicates use of the output since then progressbar should jump down and some progressbar libraries +do not "support" that + +### What steps will reproduce the problem? + +initiate download, interrupt it, try to redownload it... I guess in some cases redownload doesn't start at the point where it was previously interrupted but somewhat before, or restarts altogether. But annex first reports in --json-progress the size of previously downloaded portion and then goes down. see below + +so, my life would be easier, if annex did not report "unconfirmed initial progress" at all I guess + +### What version of git-annex are you using? On what operating system? + +6.20170307+gitg24ade8a25-1~ndall+1 + +### Please provide any additional information below. + +[[!format sh """ +$> ls -l .git/annex/tmp; k=$(/bin/ls .git/annex/tmp | head -n 1); [ -z "$k" ] || git annex get --json --json-progress --key $k +total 3796 +-rw------- 1 yoh yoh 3887104 Mar 24 17:06 MD5E-s4108657--e055fc250b37b313c0904f3687bbed1c +{"byte-progress":3887104,"action":{"command":"get","note":"from origin...","key":"MD5E-s4108657--e055fc250b37b313c0904f3687bbed1c","file":null},"total-size":4108657,"percent-progress":"94.61%"} +{"byte-progress":2068480,"action":{"command":"get","note":"from origin...","key":"MD5E-s4108657--e055fc250b37b313c0904f3687bbed1c","file":null},"total-size":4108657,"percent-progress":"50.34%"} +{"command":"get","note":"checksum...","success":true,"key":"MD5E-s4108657--e055fc250b37b313c0904f3687bbed1c","file":null} + +"""]] + + |