blob: d7f662d702168e458dc5d3116467c192a9b847b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
[core]
# Where are we going to put the mirror on our disk?
toplevel = /var/lib/git
# Where do we store our own manifest? Usually in the toplevel.
manifest = ${toplevel}/manifest.js.gz
# Where do we put the logs?
log = /var/log/mirror/kernelorg.log
# Log level can be "info" or "debug"
loglevel = debug
# To prevent multiple grok-pull instances from running at the same
# time, we first obtain an exclusive lock.
lock = /var/lock/mirror/kernelorg.lock
# Object storage for forks (saves disk space)
objstore = /var/lib/_objstore
[remote]
# The source mirror
site = https://git.kernel.org
# Manifest location on the remote site
manifest = ${site}/manifest.js.gz
[pull]
# Default owner for repositories
default_owner = Grokmirror User
# Generate a project list for external tools (like cgit)
projectslist = ${core:toplevel}/pub/scm/projects.list
# Trim this prefix from paths in projectslist
projectslist_trimtop = /pub/scm/
# Use shell-globbing to list the repositories you would like to mirror.
# If you want to mirror everything, just say "*". Separate multiple entries
# with newline.
#
# mirror just the main kernel sources:
include = /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
# Exclude patterns (none for now)
exclude =
# Remove repositories not in remote manifest
# purge =
# Protect against accidental mass purge (5% threshold)
# purgeprotect =
# Number of parallel threads for fetching
pull_threads = 10
# Retry failed fetches up to 3 times
retries = 3
# Timeout for git operations (seconds)
timeout = 100
|