Joey Hess
f7d8982672
Fix use of several config settings
...
annex.ssh-options, annex.rsync-options, annex.bup-split-options.
And adjust types to avoid the bugs that broke several config settings
recently. Now "annex." prefixing is enforced at the type level.
2012-05-05 20:16:56 -04:00
Joey Hess
ed79596b75
noop
2012-04-21 23:32:33 -04:00
Joey Hess
bee420bd2d
in which I discover void
...
void :: Functor f => f a -> f () -- ah, of course that's useful :)
2012-04-21 23:06:19 -04:00
Joey Hess
b98b69e8c6
honor core.sharedRepository when making all the other files in the annex
...
Lock files, directories, etc.
2012-04-21 19:36:03 -04:00
Joey Hess
f1398b5583
use new getConfig
2012-03-22 17:32:47 -04:00
Joey Hess
60ab3d84e1
added ifM and nuked 11 lines of code
...
no behavior changes
2012-03-14 17:43:34 -04:00
Joey Hess
d08ee1a9d2
syscall optimisation
2012-03-06 13:56:20 -04:00
Joey Hess
12b89a3eb8
configure: Check if ssh connection caching is supported by the installed version of ssh and default annex.sshcaching accordingly.
2012-02-25 19:15:29 -04:00
Joey Hess
a1e52f0ce5
hlint
2012-02-16 00:44:51 -04:00
Joey Hess
d55f3c0716
Fix teardown of stale cached ssh connections.
2012-02-09 21:49:46 -04:00
Joey Hess
146c36ca54
IO exception rework
...
ghc 7.4 comaplains about use of System.IO.Error to catch exceptions.
Ok, use Control.Exception, with variants specialized to only catch IO
exceptions.
2012-02-03 16:47:24 -04:00
Joey Hess
ba6088b249
rename readMaybe to readish
...
a stricter (but also partial) readMaybe is getting added to base
2012-01-23 17:00:10 -04:00
Joey Hess
eb9001044f
order user provided params after connection caching params
...
So the user can override them.
2012-01-20 17:32:32 -04:00
Joey Hess
6ef82665de
add annex.sshcaching config setting
2012-01-20 17:15:46 -04:00
Joey Hess
47250a153a
ssh connection caching
...
Ssh connection caching is now enabled automatically by git-annex. Only one
ssh connection is made to each host per git-annex run, which can speed some
things up a lot, as well as avoiding repeated password prompts. Concurrent
git-annex processes also share ssh connections. Cached ssh connections are
shut down when git-annex exits.
Note: The rsync special remote does not yet participate in the ssh
connection caching.
2012-01-20 17:14:56 -04:00
Joey Hess
16e7178f20
reorg
2012-01-10 15:29:10 -04:00
Joey Hess
ee3b5b2a42
use Common in a few more modules
2011-12-20 14:37:53 -04:00
Joey Hess
02f1bd2bf4
split more stuff out of Git.hs
2011-12-14 15:43:13 -04:00
Joey Hess
d64132a43a
hslint
2011-12-09 01:57:13 -04:00
Joey Hess
63a292324d
add a UUID type
...
Should have done this a long time ago.
2011-11-07 15:59:16 -04:00
Joey Hess
91366c896d
clean Annex stuff out of Utility/
2011-10-16 00:04:26 -04:00