-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdefault.cfg
188 lines (143 loc) · 6.01 KB
/
default.cfg
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
[DEFAULT]
# Timeout seconds in HTTP GET to upstream
timeout = 120
retry = 3
user-agent = urlgrabber/3.10 yum/3.4.3
[server]
address = 127.0.0.1:5000
cache-folder = /Users/mordo/fa/repocache
SERVER_NAME = 192.168.1.2:5000
# TODO: cache-404 = false
# TODO: logging, debug, reload, process
# Pypi upstreams with order of priority
[pypi.upstream.aliyun]
url = http://mirrors.aliyun.com/pypi/simple
timeout = 200
[pypi.upstream.simple]
url = https://pypi.org/simple
[pypi.upstream.local]
# Without url mean: local repository
# Place package in /tmp/repocache/pypi/local
# Maven repository, map of repository-id to origin repository url
# URL to access "default": http://127.0.0.1:5000/mvn/org/jdom/jdom/1.1/jdom-1.1.pom
[mvn.upstream.default]
url = http://maven.aliyun.com/nexus/content/groups/public
## basic auth support:
# user = xxx
# password = xxx
[mvn.upstream.apache]
url = https://repo.maven.apache.org/maven2
[mvn.upstream.mapr-releases]
url = https://repository.mapr.com/maven
[mvn.upstream.dremio-free]
url = https://maven.dremio.com/free
http = http://127.0.0.1:1087
https = socks5://127.0.0.1:1086
timeout = 1000
retry = 10
[mvn.upstream.dremio-public]
url = https://maven.dremio.com/public
http = http://127.0.0.1:1087
https = socks5://127.0.0.1:1086
timeout = 1000
retry = 10
[mvn.upstream.conjars.org]
url = http://conjars.org/repo
[mvn.upstream.confluent]
url = http://packages.confluent.io/maven
[mvn.upstream.jitpack]
url = https://jitpack.io
[mvn.upstream.redshift]
url = https://s3.amazonaws.com/redshift-maven-repository/release
[mvn.upstream.google]
url = https://maven.google.com
http = http://127.0.0.1:1087
https = socks5://127.0.0.1:1086
timeout = 1000
retry = 10
[mvn.upstream.local]
# Without url mean: local repository
# Place pom/jar files in /tmp/repocache/mvn/local
[npm.upstream.default]
url = https://registry.npmjs.org
[npm.upstream.huaweicloud]
url = https://mirrors.huaweicloud.com/repository/npm
# http://mirror.centos.org/centos/7/os/x86_64/Packages/
[yum.upstream.aliyun]
url = http://mirrors.aliyun.com/centos
# http://mirrors.aliyun.com/centos/6/readme | http://127.0.0.1:5000/centos/aliyun/----
# https://mirrors.aliyun.com/repo/Centos-6.repo | http://127.0.0.1:5000/centos/aliyun/Centos-7.repo
# https://mirrors.aliyun.com/repo/Centos-7.repo
#
# http://mirrors.aliyun.com/centos/6/os/x86_64/repodata/repomd.xml
# http://mirrors.huaweicloud.com/centos/7/atomic/x86_64/Packages/
# http://mirrors.huaweicloud.com/centos/7/os/x86_64/repodata/repomd.xml
# http://mirrors.huaweicloud.com/centos/7/atomic/x86_64/Packages/anaconda-21.48.22.121-3.rhelah.0.el7.centos.x86_64.rpm
[yum.upstream.huawei]
url = http://mirrors.huaweicloud.com/centos
[yum.upstream.docker-ce]
url = https://download.docker.com/linux/centos
timeout = 300
[yum.upstream.openstack-train]
url = http://ftp.itu.edu.tr/Mirror/CentOS/7/cloud/x86_64/openstack-train
timeout = 600
# 404
# http://ftp.itu.edu.tr/Mirror/CentOS/7/cloud/x86_64/openstack-train/centos/openstack-train/repodata/repomd.xml
# http://ftp.itu.edu.tr/Mirror/CentOS/7/cloud/x86_64/openstack-train/repodata/repomd.xml
# http://mirrors.huaweicloud.com/centos/7/os/x86_64/repodata/repomd.xml
# http://mirrors.huaweicloud.com/centos/6/os/x86_64/repodata/repomd.xml
# /centos/huawei/6/os/x86_64/repodata/repomd.xml
[yum.upstream.epel]
url = https://repo.huaweicloud.com/epel/7/x86_64
# https://mirrors.tuna.tsinghua.edu.cn/epel/7/x86_64/Packages/q/qwt-6.1.1-1.el7.x86_64.rpm
[yum.upstream.sclo]
url = http://mirrors.huaweicloud.com/centos/7.9.2009/sclo/x86_64/rh
# https://www.softwarecollections.org/en/scls/rhscl/rh-python36/
# http://mirrorlist.centos.org/?arch=x86_64&release=7&repo=sclo-rh
[yum.upstream.moosefs]
url = http://ppa.moosefs.com/moosefs-3
[yum.upstream.netdata]
url = https://packagecloud.io/netdata/netdata
# https://packagecloud.io/netdata/netdata/el/7/x86_64/repodata/repomd.xml
# /centos/netdata/el/7/x86_64/repodata/repomd.xml
# https://packagecloud.io/netdata/netdata/packages/fedora/33/netdata-1.29.3-1.fc33.x86_64.rpm
[rust.upstream.default]
url = https://static.rust-lang.org
[debian.upstream.huawei]
url = https://repo.huaweicloud.com
User-Agent = Debian APT-HTTP/1.3 (1.8.2.2)
# https://repo.huaweicloud.com/debian/
# https://repo.huaweicloud.com/debian-security/
# https://repo.huaweicloud.com/debian-cd/
# Debian的仓库地址为:https://repo.huaweicloud.com/debian/
# Debian-Security的镜像地址为:https://repo.huaweicloud.com/debian-security/
# Debian的镜像地址为:https://repo.huaweicloud.com/debian-cd/
# Ubuntu的仓库地址为:https://repo.huaweicloud.com/ubuntu/
# Ubuntu-CD的镜像地址为:https://repo.huaweicloud.com/ubuntu-cdimage/
# Ubuntu-Cloud的镜像地址为:https://repo.huaweicloud.com/ubuntu-cloud-images/
# Ubuntu-Ports的仓库地址为:https://repo.huaweicloud.com/ubuntu-ports/
# Ubuntu-Releases的镜像地址为:https://repo.huaweicloud.com/ubuntu-releases/
# https://repo.huaweicloud.com/debian/pool/main/f/file/libmagic1_5.35-4+deb10u2_amd64.deb
# http://127.0.0.1:5000/debian/huawei/debian/pool/main/f/file/libmagic1_5.35-4+deb10u2_amd64.deb
# /debian/dists/buster/InRelease
# /debian/huaweicloud/dists/buster/InRelease
#
# INFO:werkzeug:192.168.1.3 - - [26/Mar/2021 23:00:17] "GET /debian/dists/buster/InRelease HTTP/1.1" 404 -
# INFO:werkzeug:192.168.1.3 - - [26/Mar/2021 23:00:17] "GET /debian/debian-security/dists/buster/updates/InRelease HTTP/1.1" 404 -
# INFO:werkzeug:192.168.1.3 - - [26/Mar/2021 23:00:17] "GET /debian/dists/buster-updates/InRelease HTTP/1.1" 404 -
# INFO:werkzeug:192.168.1.3 - - [26/Mar/2021 23:00:17] "GET /debian/dists/buster/Release HTTP/1.1" 404 -
# INFO:werkzeug:192.168.1.3 - - [26/Mar/2021 23:00:17] "GET /debian/debian-security/dists/buster/updates/Release HTTP/1.1" 404 -
# INFO:werkzeug:192.168.1.3 - - [26/Mar/2021 23:00:17] "GET /debian/dists/buster-updates/Release HTTP/1.1" 404 -
# Aptitude {
# Logging {
# Levels "trace";
# };
# };
# Debug {
# RunScripts "true";
# Acquire {
# http "true";
# https "true";
# ftp "true";
# }
# };