aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/examples/cgitize.toml
blob: 80341a480758c480a15150998783aa426ab44f5d (plain) (blame)
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# All settings are optional.

# /var/tmp/cgitize by default.
output_dir = "/tmp/cgitize"

# URL to clone from the output directory. {repo} is replaced by the
# repository's directory path.
clone_url = "https://yourhost.com/git/{repo}"

# Clones via SSH by default.
clone_via_ssh = false

# Unless this is specified, cgit is going to derive the owner from the
# repository's directory ownership.
owner = "Your Name"

[github]
# If some of the repositories hosted on GitHub are private (or if you hit the
# request rate limit), use "access tokens". Also can be provided using the
# CGITIZE_GITHUB_ACCESS_TOKEN environment variable.
#access_token = "XXX"

[github.users.me]
name = "egor-tensin"
# To avoid directory name clashes with other repositories, you can specify a
# subdirectory to put that user's repositories to.
dir = "github-dir"
# Repositories to skip:
#skip = ["repo1", "repo2"]

# Some random repositories hosted on GitHub:
[github.repositories.lens]
id = "ekmett/lens"
[github.repositories.pytomlpp]
id = "bobfang1992/pytomlpp"
# You can put repositories in a subdirectory:
dir = "python"

[bitbucket]
# If some of the repositories hosted on Bitbucket are private (or if you hit
# the request rate limit), use "app passwords". Also can be provided using the
# CGITIZE_BITBUCKET_APP_PASSWORD environment variable.
#app_password = "XXX"
# Contrary to GitHub, Bitbucket doesn't associate app passwords with a
# username, so you also need that (CGITIZE_BITBUCKET_USERNAME is the
# environment variable).
#username = "your-username"

[bitbucket.users.me]
name = "egor-tensin"
# To avoid directory name clashes with other repositories, you can specify a
# subdirectory to put that user's repositories to.
dir = "bitbucket-dir"
# Repositories to skip:
#skip = ["repo1", "repo2"]

# Some random repositories hosted on Bitbucket:
[bitbucket.repositories.cef]
id = "chromiumembedded/cef"
# You can put repositories in a subdirectory:
dir = "chromiumembedded"
[bitbucket.repositories.upc-runtime]
id = "berkeleylab/upc-runtime"

[gitlab]
# If some of the repositories hosted on Gitlab are private (or if you hit the
# request rate limit), use "access tokens". Also can be provided using the
# CGITIZE_GITLAB_ACCESS_TOKEN environment variable.
#access_token = "XXX"

[gitlab.users.me]
name = "egor-tensin"
# To avoid directory name clashes with other repositories, you can specify a
# subdirectory to put that user's repositories to.
dir = "gitlab-dir"
# Repositories to skip:
#skip = ["repo1", "repo2"]

# Some random repositories hosted on Gitlab:
[gitlab.repositories.inkscape]
id = "inkscape/inkscape"
[gitlab.repositories.gitter]
id = "gitter/webapp"
# You can put repositories in a subdirectory:
dir = "gitter"

[repositories]

# Some random repositories hosted on the web:
[repositories.wintun]
name = "wintun"
clone_url = "https://git.zx2c4.com/wintun"
owner = "Jason A. Donenfeld"
desc = "Layer 3 TUN Driver for Windows"
# You can put repositories in a subdirectory:
dir = "wireguard"