Scroll to navigation

GROK-BUNDLE(1) GROK-BUNDLE(1)

NAME

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

SYNOPSIS

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


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.

OPTIONS

show this help message and exit
Be verbose and tell us what you are doing (default: False)
Location of the configuration file
Location where to store bundle files
extra args to pass to git (default: -c core.compression=9)
Rev-list args to use (default: --branches HEAD)
Maximum size of git repositories to bundle (in GiB) (default: 2)
List repositories to bundle (accepts shell globbing) (default: *)



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


SEE ALSO


SUPPORT

Email tools@linux.kernel.org.

AUTHOR

mricon@kernel.org

License: GPLv3+

COPYRIGHT

The Linux Foundation and contributors

2020-09-04 2.0.0