summaryrefslogtreecommitdiff
path: root/doc/todo/wishlist:_generic_annex.cost-command.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-09-13 15:09:37 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-09-13 15:09:37 -0400
commit1e622ebba238639c9f1c34521c1904b17e216f24 (patch)
tree1158001663b7d09641973109a544ef9bf7a248fc /doc/todo/wishlist:_generic_annex.cost-command.mdwn
parent37ff141ff86a4ffd974e17c8cebdf6df9c0e9fd6 (diff)
move wishlist items to todo
Diffstat (limited to 'doc/todo/wishlist:_generic_annex.cost-command.mdwn')
-rw-r--r--doc/todo/wishlist:_generic_annex.cost-command.mdwn17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/todo/wishlist:_generic_annex.cost-command.mdwn b/doc/todo/wishlist:_generic_annex.cost-command.mdwn
new file mode 100644
index 000000000..6adf1460e
--- /dev/null
+++ b/doc/todo/wishlist:_generic_annex.cost-command.mdwn
@@ -0,0 +1,17 @@
+### Current setup
+
+ATM git-annex has
+
+remote.<name>.annex-cost
+remote.<name>.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?
+