1GROK-DUMB-PULL(1) GROK-DUMB-PULL(1)
2
3
4
6 GROK-DUMB-PULL - Update git repositories not managed by grokmirror
7
9 grok-dumb-pull [options] /path/to/repos
10
12 This is a satellite utility that updates repositories not exported via
13 grokmirror manifest. You will need to manually clone these repositories
14 using "git clone --mirror" and then define a cronjob to update them as
15 frequently as you require. Grok-dumb-pull will bluntly execute "git re‐
16 mote update" in each of them.
17
19 --version
20 show program's version number and exit
21
22 -h, --help
23 show this help message and exit
24
25 -v, --verbose
26 Be verbose and tell us what you are doing
27
28 -s, --svn
29 The remotes for these repositories are Subversion
30
31 -r REMOTES, --remote-names=REMOTES
32 Only fetch remotes matching this name (accepts globbing, can
33 be passed multiple times)
34
35 -u POSTHOOK, --post-update-hook=POSTHOOK
36 Run this hook after each repository is updated. Passes full
37 path to the repository as the sole argument.
38
39 -l LOGFILE, --logfile=LOGFILE
40 Put debug logs into this file
41
43 The following will update all bare git repositories found in
44 /path/to/repos hourly, and /path/to/special/repo.git daily, fetching
45 only the "github" remote:
46
47 MAILTO=root
48 # Update all repositories found in /path/to/repos hourly
49 0 * * * * mirror /usr/bin/grok-dumb-pull /path/to/repos
50 # Update /path/to/special/repo.git daily, fetching "github" remote
51 0 0 * * * mirror /usr/bin/grok-dumb-pull -r github /path/to/special/repo.git
52
53 Make sure the user "mirror" (or whichever user you specified) is able
54 to write to the repos specified.
55
57 • grok-pull(1)
58
59 • grok-manifest(1)
60
61 • grok-fsck(1)
62
63 • git(1)
64
66 Email tools@linux.kernel.org.
67
69 mricon@kernel.org
70
71 License: GPLv3+
72
74 The Linux Foundation and contributors
75
76
77
78
792.0.0 2020-08-14 GROK-DUMB-PULL(1)