git-annex/Assistant/Types
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
..
Alert.hs webapp: Better display of added files. 2013-07-10 15:37:40 -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 fix bda237f14a 2013-04-24 17:50:11 -04:00
Commits.hs remove last use of TSet 2013-04-24 17:16:04 -04:00
DaemonStatus.hs cleanup 2013-10-18 11:24:41 -04:00
NamedThread.hs assistant: Detect stale git lock files at startup time, and remove them. 2013-10-05 17:04:21 -04:00
NetMessager.hs fix minor memory leak caused by recent CanPush change 2013-05-22 15:47:06 -04:00
Pushes.hs refactor XMPP client 2012-11-03 14:16:17 -04:00
RemoteProblem.hs automatically launch git repository repair 2013-10-27 16:42:13 -04:00
ScanRemotes.hs split cost out into its own module 2013-03-13 16:30:34 -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 moved AssociatedFile definition 2013-07-04 02:36:02 -04:00
TransferrerPool.hs maintain pools of running transferkeys processes (untested) 2013-03-19 18:46:29 -04:00
TransferSlots.hs pushed Assistant monad down into DaemonStatus code 2012-10-30 15:39:15 -04:00
UrlRenderer.hs clean up urlrenderer handling when the webapp is not built 2013-04-03 17:48:54 -04:00