From 9b9b4d42bcf89a4c1860380547518ce761514831 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 5 Sep 2016 12:40:22 -0400 Subject: comment --- doc/forum/.mdwn | 5 ----- doc/forum/untitled.mdwn | 5 +++++ .../comment_1_0176d1d50bd62b113ff690346ba4161b._comment | 15 +++++++++++++++ doc/git-annex-get.mdwn | 3 ++- 4 files changed, 22 insertions(+), 6 deletions(-) delete mode 100644 doc/forum/.mdwn create mode 100644 doc/forum/untitled.mdwn create mode 100644 doc/forum/untitled/comment_1_0176d1d50bd62b113ff690346ba4161b._comment diff --git a/doc/forum/.mdwn b/doc/forum/.mdwn deleted file mode 100644 index ce75143cf..000000000 --- a/doc/forum/.mdwn +++ /dev/null @@ -1,5 +0,0 @@ -Hi, - -How git-annex-get chooses remote when it's called without the '--from' option? Is it anyhow controllable to prefer specific remotes/set priorities? - -What about downloading multiple files? Does it download from multiple remotes at the same time to optimize for bandwidth? diff --git a/doc/forum/untitled.mdwn b/doc/forum/untitled.mdwn new file mode 100644 index 000000000..ce75143cf --- /dev/null +++ b/doc/forum/untitled.mdwn @@ -0,0 +1,5 @@ +Hi, + +How git-annex-get chooses remote when it's called without the '--from' option? Is it anyhow controllable to prefer specific remotes/set priorities? + +What about downloading multiple files? Does it download from multiple remotes at the same time to optimize for bandwidth? diff --git a/doc/forum/untitled/comment_1_0176d1d50bd62b113ff690346ba4161b._comment b/doc/forum/untitled/comment_1_0176d1d50bd62b113ff690346ba4161b._comment new file mode 100644 index 000000000..5e030b962 --- /dev/null +++ b/doc/forum/untitled/comment_1_0176d1d50bd62b113ff690346ba4161b._comment @@ -0,0 +1,15 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 1""" + date="2016-09-05T16:34:35Z" + content=""" +Remotes have configurable costs, see `remote..annex-cost` +documentation in [[git-annex]]. + +`git annex get` and some other commands can be used with `-J3` to +download multiple files at once. However, it only downloads +each file from the cheapest remote that has a copy. + +It would perhaps be an interesting improvement to make it round-robin +amoung remotes if there are multiple ones that have the same cost. +"""]] diff --git a/doc/git-annex-get.mdwn b/doc/git-annex-get.mdwn index 32d2f7fbd..73975a9bb 100644 --- a/doc/git-annex-get.mdwn +++ b/doc/git-annex-get.mdwn @@ -23,7 +23,8 @@ or transferring them from some kind of key-value store. * `--from=remote` Normally git-annex will choose which remotes to get the content - from. Use this option to specify which remote to use. + from, preferring less expensive remotes. Use this option to specify + which remote to use. Any files that are not available on the remote will be silently skipped. -- cgit v1.2.3