git-annex/templates/configurators/fsck.hamlet
Joey Hess 8820091b4c 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.
2013-10-29 16:50:38 -04:00

31 lines
1 KiB
Text

<div .span9 .hero-unit>
<h2>
Consistency checks
<p>
Checking the contents of a repository periodically will ensure that #
your data is in good shape. Any problems that are detected will #
be automatically fixed.
<p>
Running the consistency check involves reading all the files in the #
repository, which can take a long time if it's large. Running just a #
little at a time will eventually check the whole repository.
$if (not (null scheduledchecks))
<p>
Currently scheduled checks:
$forall c <- scheduledchecks
^{showFsckForm False c}
<div style="margin-left: 5em">
^{showFsckStatus c}
<p>
$if null (recommendedchecks)
Add a check:
^{showFsckForm True (defaultFsck Nothing)}
$else
<i .icon-warning-sign></i> #
Some repositories are not yet checked. #
Please consider adding these checks:
$forall c <- recommendedchecks
^{showFsckForm True c}
<h3>
Configuration
^{showFsckPreferencesForm}