diff options
author | Joey Hess <joey@kitenet.net> | 2012-09-20 13:46:07 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-09-20 13:46:07 -0400 |
commit | 66d092dc7c5731b75bd69887ae5b6a0e37625b90 (patch) | |
tree | 6780e06e535d12f4e178a483cb2cad1af31a2c0d /doc/design | |
parent | 19e35f7f0d6f87f20dca3e30a74e5700bbb86d84 (diff) |
update
Diffstat (limited to 'doc/design')
-rw-r--r-- | doc/design/assistant/progressbars.mdwn | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/doc/design/assistant/progressbars.mdwn b/doc/design/assistant/progressbars.mdwn index ade9a8370..7a7cf31ad 100644 --- a/doc/design/assistant/progressbars.mdwn +++ b/doc/design/assistant/progressbars.mdwn @@ -16,13 +16,17 @@ This is one of those potentially hidden but time consuming problems. ## uploads -Options: +Each individual remote type needs to implement its own support for calling +the ProgressCallback as the upload progresses. -* Feed rsync output into a parser and parse out a progress value. Ugly, - failure prone, but potentially the least CPU-expensive option. -* Use librsync. Note: It's not wire-compatiable with the actual rsync - command. -* Set up a FIFO, have rsync read from or write to that, and the FIFO - feeder/reader then can update the transfer info. Generic enough to - work for most (all?) special remotes, but also the most expensive option, - involving another copy through memory of the whole file contents. +* git: Done, with one exception: `git-annex-shell sendkey` runs `rsync + --server --sender` and in that mode it does not report progress info. + So downloads initiated by other repos do not show progress in the repo + doing the uploading. +* rsync +* directory +* web: Not applicable; does not upload +* S3 +* bup +* hook: Would require the hook interface to somehow do this, which seems + too complicated. So skipping. |