From 02e6c1aa8c315b687412d13689b215c4f67a32de Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 23 Oct 2013 15:14:20 -0400 Subject: update --- doc/design/assistant/disaster_recovery.mdwn | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'doc/design/assistant/disaster_recovery.mdwn') diff --git a/doc/design/assistant/disaster_recovery.mdwn b/doc/design/assistant/disaster_recovery.mdwn index abf2f9814..4acead36f 100644 --- a/doc/design/assistant/disaster_recovery.mdwn +++ b/doc/design/assistant/disaster_recovery.mdwn @@ -61,8 +61,7 @@ Add git fsck to scheduled self fsck **done** TODO: Add git fsck of local remotes to scheduled remote fscks. -TODO: Display an alert to nudge user to schedule a fsck, if none is -scheduled. Without being annoying about it. +TODO: git fsck on ssh remotes? Probably not worth the complexity.. TODO: If committing to the repository fails, after resolving any dangling lock files (see above), it should git fsck. @@ -75,6 +74,24 @@ git-annex branch is accurate. **done** TODO: along with displaying alert when there is a problem detected by consistency check, send an email alert. (Using system MTA?) +## nudge user to schedule fscks + +Make the webapp encourage users to schedule fscks of their +local repositories. The goal here was that it should not be obnoxious about +repeatedly pestering the user to set that up, but should still encourage +anyone who cares to set it up. + +Maybe: Display a message only once per week, and only after the repository +has existed for at least one full day. But, this will require storing +quite a lot of state. + +Or: Display a message whenever a removable drive is detected to have been +connected. I like this, but what about nudging the main repo? Could do it +every webapp startup, perhaps? + +There should be a "No thanks" button that prevents it nudging again for a +repo. + ## git repository repair There are several ways git repositories can get damanged. -- cgit v1.2.3