| .\" Man page generated from reStructuredText. |
| . |
| .TH GROK-FSCK 1 "2020-08-14" "2.0.0" "" |
| .SH NAME |
| GROK-FSCK \- Optimize mirrored repositories and check for corruption |
| . |
| .nr rst2man-indent-level 0 |
| . |
| .de1 rstReportMargin |
| \\$1 \\n[an-margin] |
| level \\n[rst2man-indent-level] |
| level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] |
| - |
| \\n[rst2man-indent0] |
| \\n[rst2man-indent1] |
| \\n[rst2man-indent2] |
| .. |
| .de1 INDENT |
| .\" .rstReportMargin pre: |
| . RS \\$1 |
| . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] |
| . nr rst2man-indent-level +1 |
| .\" .rstReportMargin post: |
| .. |
| .de UNINDENT |
| . RE |
| .\" indent \\n[an-margin] |
| .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] |
| .nr rst2man-indent-level -1 |
| .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] |
| .in \\n[rst2man-indent\\n[rst2man-indent-level]]u |
| .. |
| .SH SYNOPSIS |
| .INDENT 0.0 |
| .INDENT 3.5 |
| grok\-fsck \-c /path/to/grokmirror.conf |
| .UNINDENT |
| .UNINDENT |
| .SH DESCRIPTION |
| .sp |
| Git repositories should be routinely repacked and checked for |
| corruption. This utility will perform the necessary optimizations and |
| report any problems to the email defined via fsck.report_to (\(aqroot\(aq by |
| default). It should run weekly from cron or from the systemd timer (see |
| contrib). |
| .sp |
| Please examine the example grokmirror.conf file for various things you |
| can tweak. |
| .SH OPTIONS |
| .INDENT 0.0 |
| .INDENT 3.5 |
| .INDENT 0.0 |
| .TP |
| .B \-\-version |
| show program\(aqs version number and exit |
| .TP |
| .B \-h\fP,\fB \-\-help |
| show this help message and exit |
| .TP |
| .B \-v\fP,\fB \-\-verbose |
| Be verbose and tell us what you are doing |
| .TP |
| .B \-f\fP,\fB \-\-force |
| Force immediate run on all repositories. |
| .TP |
| .BI \-c \ CONFIG\fP,\fB \ \-\-config\fB= CONFIG |
| Location of fsck.conf |
| .TP |
| .B \-\-repack\-only |
| Only find and repack repositories that need |
| optimizing (nightly run mode) |
| .TP |
| .B \-\-connectivity |
| (Assumes \-\-force): Run git fsck on all repos, |
| but only check connectivity |
| .TP |
| .B \-\-repack\-all\-quick |
| (Assumes \-\-force): Do a quick repack of all repos |
| .TP |
| .B \-\-repack\-all\-full |
| (Assumes \-\-force): Do a full repack of all repos |
| .UNINDENT |
| .UNINDENT |
| .UNINDENT |
| .SH SEE ALSO |
| .INDENT 0.0 |
| .IP \(bu 2 |
| grok\-manifest(1) |
| .IP \(bu 2 |
| grok\-pull(1) |
| .IP \(bu 2 |
| git(1) |
| .UNINDENT |
| .SH SUPPORT |
| .sp |
| Email \fI\%tools@linux.kernel.org\fP\&. |
| .SH AUTHOR |
| mricon@kernel.org |
| |
| License: GPLv3+ |
| .SH COPYRIGHT |
| The Linux Foundation and contributors |
| .\" Generated by docutils manpage writer. |
| . |