1GROK-BUNDLE(1) GROK-BUNDLE(1)
2
3
4
6 GROK-BUNDLE - Create clone.bundle files for use with "repo"
7
9 grok-bundle [options] -c grokmirror.conf -o path
10
12 Android's "repo" tool will check for the presence of clone.bundle files
13 before performing a fresh git clone. This is done in order to offload
14 most of the git traffic to a CDN and reduce the load on git servers
15 themselves.
16
17 This command will generate clone.bundle files in a hierarchy expected
18 by repo. You can then sync the output directory to a CDN service.
19
21 -h, --help
22 show this help message and exit
23
24 -v, --verbose
25 Be verbose and tell us what you are doing (default: False)
26
27 -c CONFIG, --config CONFIG
28 Location of the configuration file
29
30 -o OUTDIR, --outdir OUTDIR
31 Location where to store bundle files
32
33 -g GITARGS, --gitargs GITARGS
34 extra args to pass to git (default: -c core.compression=9)
35
36 -r REVLISTARGS, --revlistargs REVLISTARGS
37 Rev-list args to use (default: --branches HEAD)
38
39 -s MAXSIZE, --maxsize MAXSIZE
40 Maximum size of git repositories to bundle (in GiB) (default:
41 2)
42
43 -i,--include INCLUDE
44 List repositories to bundle (accepts shell globbing) (de‐
45 fault: *)
46
48 grok-bundle -c grokmirror.conf -o /var/www/bundles -i
49 /pub/scm/linux/kernel/git/torvalds/linux.git /pub/scm/linux/ker‐
50 nel/git/stable/linux.git /pub/scm/linux/ker‐
51 nel/git/next/linux-next.git
52
54 • grok-pull(1)
55
56 • grok-manifest(1)
57
58 • grok-fsck(1)
59
60 • git(1)
61
63 Email tools@linux.kernel.org.
64
66 mricon@kernel.org
67
68 License: GPLv3+
69
71 The Linux Foundation and contributors
72
73
74
75
762.0.0 2020-09-04 GROK-BUNDLE(1)