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-BUNDLE - Create clone.bundle files for use with "repo"

Author

mricon@kernel.org

       License: GPLv3+

Description

       Android's  "repo"  tool  will  check for the presence of clone.bundle files before performing a fresh git
       clone. This is done in order to offload most of the git traffic to a CDN  and  reduce  the  load  on  git
       servers themselves.

       This  command  will  generate  clone.bundle  files in a hierarchy expected by repo. You can then sync the
       output directory to a CDN service.

Examples

          grok-bundle -c grokmirror.conf  -o  /var/www/bundles  -i  /pub/scm/linux/kernel/git/torvalds/linux.git
          /pub/scm/linux/kernel/git/stable/linux.git /pub/scm/linux/kernel/git/next/linux-next.git

Name

       GROK-BUNDLE - Create clone.bundle files for use with "repo"

Options

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

          -v, --verbose
                 Be verbose and tell us what you are doing (default: False)

          -cCONFIG,--configCONFIG
                 Location of the configuration file

          -oOUTDIR,--outdirOUTDIR
                 Location where to store bundle files

          -gGITARGS,--gitargsGITARGS
                 extra args to pass to git (default: -c core.compression=9)

          -rREVLISTARGS,--revlistargsREVLISTARGS
                 Rev-list args to use (default: --branches HEAD)

          -sMAXSIZE,--maxsizeMAXSIZE
                 Maximum size of git repositories to bundle (in GiB) (default: 2)

          -i,--includeINCLUDE
                 List repositories to bundle (accepts shell globbing) (default: *)

See Also

grok-pull(1)

       • grok-manifest(1)

       • grok-fsck(1)

       • git(1)

Support

Synopsis

          grok-bundle [options] -c grokmirror.conf -o path

See Also