summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/views/admin/projects/show.html.haml4
-rw-r--r--doc/README.md1
-rw-r--r--doc/administration/repository_checks.md7
3 files changed, 7 insertions, 5 deletions
diff --git a/app/views/admin/projects/show.html.haml b/app/views/admin/projects/show.html.haml
index 1e44172f066..73986d21bcf 100644
--- a/app/views/admin/projects/show.html.haml
+++ b/app/views/admin/projects/show.html.haml
@@ -10,7 +10,7 @@
.col-md-12
.panel
.panel-heading.alert.alert-danger
- Last repository check
+ Last repository check
= "(#{time_ago_in_words(@project.last_repository_check_at)} ago)"
failed. See
= link_to 'repocheck.log', admin_logs_path
@@ -126,6 +126,8 @@
- else
passed.
+ = link_to icon('question-circle'), help_page_path('administration', 'repository_checks')
+
.form-group
= f.submit 'Trigger repository check', class: 'btn btn-primary'
diff --git a/doc/README.md b/doc/README.md
index d2660930653..e6ac4794827 100644
--- a/doc/README.md
+++ b/doc/README.md
@@ -31,6 +31,7 @@
- [Environment Variables](administration/environment_variables.md) to configure GitLab.
- [Operations](operations/README.md) Keeping GitLab up and running
- [Raketasks](raketasks/README.md) Backups, maintenance, automatic webhook setup and the importing of projects.
+- [Repository checks](administration/repository_checks.md) Periodic Git repository checks
- [Security](security/README.md) Learn what you can do to further secure your GitLab instance.
- [System hooks](system_hooks/system_hooks.md) Notifications when users, projects and keys are changed.
- [Update](update/README.md) Update guides to upgrade your installation.
diff --git a/doc/administration/repository_checks.md b/doc/administration/repository_checks.md
index 16f4627a596..61bf8ce6161 100644
--- a/doc/administration/repository_checks.md
+++ b/doc/administration/repository_checks.md
@@ -1,10 +1,9 @@
# Repository checks
-_**Note:** This feature was [introduced][ce-3232] in GitLab 8.7_
+>**Note:**
+This feature was [introduced][ce-3232] in GitLab 8.7.
----
-
-Git has a built-in mechanism, \[git fsck\]\[git-fsck\], to verify the
+Git has a built-in mechanism, [git fsck][git-fsck], to verify the
integrity of all data commited to a repository. GitLab administrators
can trigger such a check for a project via the project page under the
admin panel. The checks run asynchronously so it may take a few minutes