summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-09-08 12:18:58 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-09-08 12:18:58 -0400
commit5a0bc70f18b440dd9a3abaeb5e28e729804c0069 (patch)
tree6fe7fd20288e10cffe1e8e8632b4e52abb3ed61c /doc
parent6e8a03cf6fda53c3d93013cd216d8cee7917e0df (diff)
update
Diffstat (limited to 'doc')
-rw-r--r--doc/todo/interface_to_the___34__progress__34___of_annex_operations/comment_1_b71937cb772b3400839755bb11a1ffe4._comment10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/todo/interface_to_the___34__progress__34___of_annex_operations/comment_1_b71937cb772b3400839755bb11a1ffe4._comment b/doc/todo/interface_to_the___34__progress__34___of_annex_operations/comment_1_b71937cb772b3400839755bb11a1ffe4._comment
index df74f19cb..2a5785bfc 100644
--- a/doc/todo/interface_to_the___34__progress__34___of_annex_operations/comment_1_b71937cb772b3400839755bb11a1ffe4._comment
+++ b/doc/todo/interface_to_the___34__progress__34___of_annex_operations/comment_1_b71937cb772b3400839755bb11a1ffe4._comment
@@ -62,4 +62,14 @@ That's not a lot more verbose than the earlier version, and it ensures that
consumers of the progress objects have all possible information available
(including the name of the remote being downloaded from in the above
example).
+
+Less verbose version:
+
+ {"progress-id":"1","action":{"command":"get","key":"SHA256E-s5242880--82cb4363f596cb66e7bc6e4cbfd2bfe8a8b6ac7e6d02557cc0e3944ec8faafc3","file":"bar","note":"from d1..."}}
+ {"progress-id":"1","percent-progress":"25%","byte-progress":500}
+ {"progress-id":"1","percent-progress":"75%","byte-progress":1500}
+ {"command":"get","key":"SHA256E-s5242880--82cb4363f596cb66e7bc6e4cbfd2bfe8a8b6ac7e6d02557cc0e3944ec8faafc3","file":"bar","note":"from d1...","success":true}
+
+Makes the consumer's job a bit more complicated, and could also make the
+implementation in git-annex harder. Is it worth it?
"""]]