diff options
author | Joey Hess <joey@kitenet.net> | 2014-04-08 15:23:50 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-04-08 15:23:50 -0400 |
commit | 6328d368fc73de7c91cb6efa25769297df71897d (patch) | |
tree | e240f3d920c7f5bc3dd8f2f54d294497779a53a9 /Assistant/Types | |
parent | 9b09962ee86ec7531d7ca946e62ccf6a48a67399 (diff) |
assistant: Now detects immediately when other repositories push changes to
a ssh remote, and pulls.
XMPP is no longer needed in this configuration!
Requires the remote server have git-annex-shell with notifychanges support.
(untested)
This commit was sponsored by Geog Wechslberger.
Diffstat (limited to 'Assistant/Types')
-rw-r--r-- | Assistant/Types/RemoteControl.hs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Assistant/Types/RemoteControl.hs b/Assistant/Types/RemoteControl.hs new file mode 100644 index 000000000..523cd8b8d --- /dev/null +++ b/Assistant/Types/RemoteControl.hs @@ -0,0 +1,16 @@ +{- git-annex assistant RemoteDaemon control + - + - Copyright 2014 Joey Hess <joey@kitenet.net> + - + - Licensed under the GNU GPL version 3 or higher. + -} + +module Assistant.Types.RemoteControl where + +import qualified RemoteDaemon.Types as RemoteDaemon +import Control.Concurrent + +type RemoteControl = Chan RemoteDaemon.Consumed + +newRemoteControl :: IO RemoteControl +newRemoteControl = newChan |