From d6d663509160f9fe1041cba9f5634753d791556d Mon Sep 17 00:00:00 2001 From: "http://yarikoptic.myopenid.com/" Date: Thu, 11 Jul 2013 20:17:48 +0000 Subject: [PATCH] --- .../wishlist:_generic_annex.cost-command.mdwn | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 doc/bugs/wishlist:_generic_annex.cost-command.mdwn diff --git a/doc/bugs/wishlist:_generic_annex.cost-command.mdwn b/doc/bugs/wishlist:_generic_annex.cost-command.mdwn new file mode 100644 index 0000000000..6adf1460e8 --- /dev/null +++ b/doc/bugs/wishlist:_generic_annex.cost-command.mdwn @@ -0,0 +1,17 @@ +### Current setup + +ATM git-annex has + +remote..annex-cost +remote..annex-cost-command # command is not provided cmdline options by annex + +to set the cost for a given remote. That requires setting up one of those variables per each host, and possibly hardcoding options for the annex-cost-command providing e.g. the remote name. + +### Suggestion + +wouldn't it be more general and thus more flexible to have a repository-wide + +annex.cost-command + +which could take options %remote, %file and assessed accordingly per each file upon '--get' request to allow maximal flexibility: e.g. some files might better be fetched from remotes supporting transfer compression, some from the web, etc. Also it might be worth providing %remote_kind ("special" vs "git") to disambiguate %remote's? +