git-annex/Assistant/Threads
Joey Hess a7821c0581 automatically launch git repository repair
Added a RemoteChecker thread, that waits for problems to be reported with
remotes, and checks if their git repository is in need of repair.

Currently, only failures to sync with the remote cause a problem to be
reported. This seems enough, but we'll see.

Plugging in a removable drive with a repository on it that is corrupted
does automatically repair the repository, as long as the corruption causes
git push or git pull to fail. Some types of corruption do not, eg
missing/corrupt objects for blobs that git push doesn't need to look at.

So, this is not really a replacement for scheduled git repository fscking.
But it does make the assistant more robust.

This commit is sponsored by Fernando Jimenez.
2013-10-27 16:42:13 -04:00
..
Committer.hs hlint 2013-10-02 22:59:07 -04:00
ConfigMonitor.hs update for LsTree type change 2013-10-17 14:51:39 -04:00
Cronner.hs automatically launch git repository repair 2013-10-27 16:42:13 -04:00
DaemonStatus.hs webapp: Fix a race that sometimes caused alerts or other notifications to be missed if they occurred while a page was loading. 2013-03-27 14:56:20 -04:00
Glacier.hs hlint 2013-10-02 22:59:07 -04:00
Merger.hs hlint 2013-10-02 22:59:07 -04:00
MountWatcher.hs hlint 2013-10-02 22:59:07 -04:00
NetWatcher.hs clarify notifyNetMessagerRestart 2013-08-24 13:49:04 -04:00
PairListener.hs add config page for fsck, and alert with button when a fsck is running 2013-10-10 18:05:53 -04:00
Pusher.hs automatically launch git repository repair 2013-10-27 16:42:13 -04:00
RemoteChecker.hs automatically launch git repository repair 2013-10-27 16:42:13 -04:00
SanityChecker.hs assistant: When autostarted, wait 5 seconds before running the startup scan, to avoid contending with the user's desktop login process. 2013-10-26 12:42:58 -04:00
TransferPoller.hs remove debug 2013-04-11 16:36:45 -04:00
Transferrer.hs assistant: Support repairing git remotes that are locally accessible 2013-10-27 15:38:59 -04:00
TransferScanner.hs hlint 2013-10-02 22:59:07 -04:00
TransferWatcher.hs moved code out of webapp 2013-10-26 16:58:16 -04:00
Watcher.hs moved code out of webapp 2013-10-26 16:58:16 -04:00
WebApp.hs add git fsck to cronner, and UI for repository repair (not yet wired up) 2013-10-22 16:02:52 -04:00
XMPPClient.hs add config page for fsck, and alert with button when a fsck is running 2013-10-10 18:05:53 -04:00
XMPPPusher.hs add two long-running XMPP push threads, no more inversion of control 2013-05-22 15:13:31 -04:00