git-annex/Assistant
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 webapp: Better display of added files. 2013-07-10 15:37:40 -04:00
Install linux standalone auto-install icons 2013-07-09 20:50:41 -04:00
Pairing webapp can now set up gcrypt repos on ssh servers 2013-10-01 13:43:35 -04:00
Threads automatically launch git repository repair 2013-10-27 16:42:13 -04:00
Types automatically launch git repository repair 2013-10-27 16:42:13 -04:00
WebApp assistant: Support repairing git remotes that are locally accessible 2013-10-27 15:38:59 -04:00
XMPP When an XMPP server has SRV records, try them, but don't then fall back to the regular host if they all fail. 2013-07-20 21:18:55 -04:00
Alert.hs automatically launch git repository repair 2013-10-27 16:42:13 -04:00
BranchChange.hs split BranchChange and lifted 2012-10-29 19:20:54 -04:00
Changes.hs use DList for the transfer queue 2013-04-25 01:33:44 -04:00
Commits.hs remove last use of TSet 2013-04-24 17:16:04 -04:00
Common.hs refactor alert button creation code 2013-04-04 01:48:26 -04:00
DaemonStatus.hs half way complete cronner thread to run scheduled activities 2013-10-08 11:48:28 -04:00
DeleteRemote.hs add config page for fsck, and alert with button when a fsck is running 2013-10-10 18:05:53 -04:00
Drop.hs moved AssociatedFile definition 2013-07-04 02:36:02 -04:00
Gpg.hs webapp: Support storing encrypted git repositories on rsync.net. 2013-09-26 16:43:00 -04:00
Install.hs linux standalone auto-install icons 2013-07-09 20:50:41 -04:00
MakeRemote.hs enabling ssh gcrypt now works 2013-10-01 16:08:01 -04:00
Monad.hs automatically launch git repository repair 2013-10-27 16:42:13 -04:00
NamedThread.hs add config page for fsck, and alert with button when a fsck is running 2013-10-10 18:05:53 -04:00
NetMessager.hs clarify notifyNetMessagerRestart 2013-08-24 13:49:04 -04:00
Pairing.hs Makefile now builds using cabal, taking advantage of cabal's automatic detection of appropriate build flags. 2013-02-27 02:39:22 -04:00
Pushes.hs whitespace fixes 2012-12-13 00:45:27 -04:00
RemoteProblem.hs automatically launch git repository repair 2013-10-27 16:42:13 -04:00
Repair.hs automatically launch git repository repair 2013-10-27 16:42:13 -04:00
ScanRemotes.hs where indentation 2012-10-31 02:34:03 -04:00
Ssh.hs enabling ssh gcrypt now works 2013-10-01 16:08:01 -04:00
Sync.hs automatically launch git repository repair 2013-10-27 16:42:13 -04:00
TransferQueue.hs use DList for the transfer queue 2013-04-25 01:33:44 -04:00
TransferrerPool.hs moved AssociatedFile definition 2013-07-04 02:36:02 -04:00
TransferSlots.hs moved code out of webapp 2013-10-26 16:58:16 -04:00
WebApp.hs clean up build warnings with yesod 1.2, while still building with 1.1 2013-06-27 01:15:28 -04:00
XMPP.hs add status tag to all presence messages 2013-07-25 14:58:30 -04:00