From fcfe4f532f4a87cccd1e61423e1f43c0e8e83c6a Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 29 Oct 2013 16:48:06 -0400 Subject: webapp: remind user when using repositories that lack consistency checks When starting up the assistant, it'll remind about the current repository, if it doesn't have checks. And when a removable drive is plugged in, it will remind if a repository on it lacks checks. Since that might be annoying, the reminders can be turned off. This commit was sponsored by Nedialko Andreev. --- doc/design/assistant/disaster_recovery.mdwn | 9 +++++---- doc/git-annex.mdwn | 5 +++++ 2 files changed, 10 insertions(+), 4 deletions(-) (limited to 'doc') diff --git a/doc/design/assistant/disaster_recovery.mdwn b/doc/design/assistant/disaster_recovery.mdwn index 40e48650e..6fcf95519 100644 --- a/doc/design/assistant/disaster_recovery.mdwn +++ b/doc/design/assistant/disaster_recovery.mdwn @@ -14,8 +14,9 @@ check that nothing else is using it, fix the problem, and redo the commit. * What about local remotes, eg removable drives? git-annex does attempt to commit to the git-annex branch of those. It will use the automatic fix if any are dangling. It does not commit to the master branch; indeed - a removable drive typically has a bare repository. So I think nothing to - do here. + a removable drive typically has a bare repository. + However, it does a scan for broken locks anyway if there's a problem + syncing. **done** * What about git-annex-shell? If the ssh remote has the assistant running, it can take care of it, and if not, it's a server, and perhaps the user should be required to fix up if it crashes during a commit. This should @@ -95,10 +96,10 @@ 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? +every webapp startup, perhaps? **done** There should be a "No thanks" button that prevents it nudging again for a -repo. +repo. **done** ## git repository repair diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn index 8ff0b7962..d88957f9c 100644 --- a/doc/git-annex.mdwn +++ b/doc/git-annex.mdwn @@ -1118,6 +1118,11 @@ Here are all the supported configuration settings. to close it. On Mac OSX, when not using direct mode this defaults to 1 second, to work around a bad interaction with software there. +* `annex.fscknudge` + + When set to false, prevents the webapp from reminding you when using + repositories that lack consistency checks. + * `annex.autocommit` Set to false to prevent the git-annex assistant from automatically -- cgit v1.2.3