grok-bundle1
Create clone.bundle files for use with "repo"
Usage
grok-bundle [options]
-c
grokmirror.conf
-o
path
Overview
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
-
-h, --help -
show this help message and exit
-
-v, --verbose -
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) |
-
-i,--include INCLUDE -
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
Support
Email [email protected].