add git fsck to cronner, and UI for repository repair (not yet wired up)
This commit is contained in:
parent
44bb9a808f
commit
d345e5b52f
12 changed files with 163 additions and 18 deletions
25
templates/control/repairrepository.hamlet
Normal file
25
templates/control/repairrepository.hamlet
Normal file
|
@ -0,0 +1,25 @@
|
|||
<div .span9 .hero-unit>
|
||||
<p>
|
||||
A periodic #
|
||||
<a href="@{ConfigFsckR}">
|
||||
consistency check #
|
||||
found corrupt data in the git repository #{repodesc}.
|
||||
<p>
|
||||
While this is not good, this problem can be automatically repaired,
|
||||
often without data loss.
|
||||
<p>
|
||||
When possible, the corrupt data will be recovered from other #
|
||||
repositories. You should make sure any other repositories #
|
||||
are available before continuing. Ie, plug in any removable drive #
|
||||
that contains a repository, or make sure your network connection #
|
||||
to other repositories is active.
|
||||
<p>
|
||||
<a .btn .btn-primary href="@{RepairRepositoryRunR u}" onclick="$('#workingmodal').modal('show');">
|
||||
Start Repair Process
|
||||
<div .modal .fade #workingmodal>
|
||||
<div .modal-header>
|
||||
<h3>
|
||||
Repairing #{repodesc} ...
|
||||
<div .modal-body>
|
||||
<p>
|
||||
This may take some time.
|
3
templates/control/repairrepository/run.hamlet
Normal file
3
templates/control/repairrepository/run.hamlet
Normal file
|
@ -0,0 +1,3 @@
|
|||
<div .span9 .hero-unit>
|
||||
<p>
|
||||
TODO
|
Loading…
Add table
Add a link
Reference in a new issue