git-annex/Assistant/Threads
Joey Hess 4ac2fd0a22 ensure that git-annex branch is pushed after a successful transfer
I now have this topology working:

   assistant ---> {bare repo, special remote} <--- assistant

And, I think, also this one:

        +----------- bare repo --------+
        v                              v
  assistant ---> special remote <--- assistant

While before with assistant <---> assistant connections, both sides got
location info updated after a transfer, in this topology, the bare repo
*might* get its location info updated, but the other assistant has no way to
know that it did. And a special remote doesn't record location info,
so transfers to it won't propigate out location log changes at all.

So, for these to work, after a transfer succeeds, the git-annex branch
needs to be pushed. This is done by recording a synthetic commit has
occurred, which lets the pusher handle pushing out the change (which will
include actually committing any still journalled changes to the git-annex
branch).

Of course, this means rather a lot more syncing action than happened
before. At least the pusher bundles together very close together pushes,
somewhat. Currently it just waits 2 seconds between each push.
2012-10-28 16:05:34 -04:00
..
Committer.hs ensure that git-annex branch is pushed after a successful transfer 2012-10-28 16:05:34 -04:00
ConfigMonitor.hs ensure that git-annex branch is pushed after a successful transfer 2012-10-28 16:05:34 -04:00
DaemonStatus.hs display errors when any named thread crashes 2012-09-06 14:56:04 -04:00
Merger.hs add ConfigMonitor thread 2012-10-20 16:43:35 -04:00
MountWatcher.hs Merge branch 'master' into xmpp 2012-10-26 19:42:24 -04:00
NetWatcher.hs reconnect XMPP when NetWatcher notices a change 2012-10-27 00:42:14 -04:00
PairListener.hs avoid pairlistener crash 2012-10-10 16:48:06 -04:00
Pusher.hs ensure that git-annex branch is pushed after a successful transfer 2012-10-28 16:05:34 -04:00
PushNotifier.hs reconnect XMPP when NetWatcher notices a change 2012-10-27 00:42:14 -04:00
SanityChecker.hs use gitRepo 2012-10-12 01:17:45 -04:00
TransferPoller.hs use gitRepo 2012-10-12 01:17:45 -04:00
Transferrer.hs ensure that git-annex branch is pushed after a successful transfer 2012-10-28 16:05:34 -04:00
TransferScanner.hs check and drop after uploads 2012-10-18 16:05:43 -04:00
TransferWatcher.hs nasty race workaround 2012-10-19 16:59:18 -04:00
Watcher.hs check preferred content when a file is moved or created 2012-10-19 14:22:13 -04:00
WebApp.hs ensure that git-annex branch is pushed after a successful transfer 2012-10-28 16:05:34 -04:00