added git-annex remotedaemon

So far, handling connecting to git-annex-shell notifychanges, and
pulling immediately when a change is pushed to a remote.

A little bit buggy (crashes after the first pull), but it already works!

This commit was sponsored by Mark Sheppard.
This commit is contained in:
Joey Hess 2014-04-06 19:06:03 -04:00
parent 6ca01f40cf
commit 43909723b3
11 changed files with 376 additions and 116 deletions

View file

@ -27,7 +27,7 @@ data RepoLocation
| LocalUnknown FilePath
| Url URI
| Unknown
deriving (Show, Eq)
deriving (Show, Eq, Ord)
data Repo = Repo
{ location :: RepoLocation
@ -41,7 +41,7 @@ data Repo = Repo
, gitEnv :: Maybe [(String, String)]
-- global options to pass to git when running git commands
, gitGlobalOpts :: [CommandParam]
} deriving (Show, Eq)
} deriving (Show, Eq, Ord)
type RemoteName = String