logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

GROK-FSCK - Optimize mirrored repositories and check for corruption

Author

mricon@kernel.org

       License: GPLv3+

Description

       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  ('root'  by
       default). It should run weekly from cron or from the systemd timer (see contrib).

       Please examine the example grokmirror.conf file for various things you can tweak.

Name

       GROK-FSCK - Optimize mirrored repositories and check for corruption

Options

--version
                 show program's version number and exit

          -h, --help
                 show this help message and exit

          -v, --verbose
                 Be verbose and tell us what you are doing

          -f, --force
                 Force immediate run on all repositories.

          -cCONFIG,--config=CONFIG
                 Location of fsck.conf

          --repack-only
                 Only find and repack repositories that need optimizing (nightly run mode)

          --connectivity
                 (Assumes --force): Run git fsck on all repos, but only check connectivity

          --repack-all-quick
                 (Assumes --force): Do a quick repack of all repos

          --repack-all-full
                 (Assumes --force): Do a full repack of all repos

See Also

grok-manifest(1)

       • grok-pull(1)

       • git(1)

Support

Synopsis

          grok-fsck -c /path/to/grokmirror.conf

See Also