summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-10-23 15:14:20 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-10-23 15:14:20 -0400
commit02e6c1aa8c315b687412d13689b215c4f67a32de (patch)
tree0df581080b85e28a8fb4e172076f00ea59ec61f5
parent1bc7f989abe80f77c40dd84f485040b2fa5c5677 (diff)
update
-rw-r--r--doc/design/assistant/disaster_recovery.mdwn21
1 files changed, 19 insertions, 2 deletions
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.