Merge branch 'master' of ssh://git-annex.branchable.com

This commit is contained in:
Joey Hess 2013-07-11 19:27:35 -04:00
commit a082ab03b6
3 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,9 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U"
nickname="Richard"
subject="comment 2"
date="2013-07-11T20:18:44Z"
content="""
I wanted to use it as a way to prepare the files before running `git annex add`. I like to have everything exactly how I want it before I add anything to git, or git-annex. Does git-annex do anything in the git-annex branch prior to running the pre-commit hook? I.e. is there any penalty, however slight, in running `git annex add` several times while moving stuff around?
"""]]

View file

@ -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?

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="trilobite"
ip="71.17.134.14"
subject="comment 2"
date="2013-07-11T23:23:41Z"
content="""
I did this with local synch in home lan. Filenames do travel both directions. Just not contents. They are identifed as symlinks rather than files.
"""]]