git-annex/Assistant/Types
Joey Hess c23ea9e311 assistant: Get back in sync with XMPP remotes after network reconnection, and on startup.
Make manualPull send push requests over XMPP.

When reconnecting with remotes, those that are XMPP remotes cannot
immediately be pulled from and scanned, so instead maintain a set of
(probably) desynced remotes, and put XMPP remotes on it. (This set could be
used in other ways later, if we can detect we're out of sync with other
types of remotes.)

The merger handles detecting when a XMPP push is received from a desynced
remote, and triggers a scan then, if they have in fact diverged.

This has one known bug: A single XMPP remote can have multiple clients
behind it. When this happens, only the UUID of one client is recorded
as the UUID of the XMPP remote. Pushes from the other XMPP clients will not
trigger a scan. If the client whose UUID is expected responds to the push
request, it'll work, but when that client is offline, we're SOL.
2013-03-06 15:09:31 -04:00
..
BranchChange.hs split BranchChange and lifted 2012-10-29 19:20:54 -04:00
Buddies.hs finished XMPP pairing! 2012-11-05 17:43:17 -04:00
Changes.hs split Changes and lifted 2012-10-29 19:30:23 -04:00
Commits.hs split Commits and lifted 2012-10-29 19:35:18 -04:00
DaemonStatus.hs assistant: Get back in sync with XMPP remotes after network reconnection, and on startup. 2013-03-06 15:09:31 -04:00
NamedThread.hs webapp: Now allows restarting any threads that crash. 2013-01-26 17:09:33 +11:00
NetMessager.hs allow both one push and one receive-pack to run at the same time 2012-11-11 15:42:03 -04:00
Pushes.hs refactor XMPP client 2012-11-03 14:16:17 -04:00
ScanRemotes.hs split ScanRemotes and lifted 2012-10-29 19:14:30 -04:00
ThreadedMonad.hs moved ThreadedMonad to Types 2012-10-29 19:07:10 -04:00
ThreadName.hs webapp: Now allows restarting any threads that crash. 2013-01-26 17:09:33 +11:00
TransferQueue.hs split remaining assistant types 2012-10-30 14:34:48 -04:00
TransferSlots.hs pushed Assistant monad down into DaemonStatus code 2012-10-30 15:39:15 -04:00