Skip to content

Commit d99b308

Browse files
authored
Merge branch 'main' into lunny/vars_expand
2 parents 6b8b5a7 + 420851c commit d99b308

File tree

716 files changed

+29749
-8231
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

716 files changed

+29749
-8231
lines changed

.drone.yml

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ steps:
4545
commands:
4646
- make lint-backend
4747
environment:
48-
GOPROXY: https://goproxy.cn # proxy.golang.org is blocked in China, this proxy is not
48+
GOPROXY: https://goproxy.io # proxy.golang.org is blocked in China, this proxy is not
4949
GOSUMDB: sum.golang.org
5050
TAGS: bindata sqlite sqlite_unlock_notify
5151
depends_on: [deps-backend]
@@ -58,7 +58,7 @@ steps:
5858
commands:
5959
- make golangci-lint-windows vet
6060
environment:
61-
GOPROXY: https://goproxy.cn # proxy.golang.org is blocked in China, this proxy is not
61+
GOPROXY: https://goproxy.io # proxy.golang.org is blocked in China, this proxy is not
6262
GOSUMDB: sum.golang.org
6363
TAGS: bindata sqlite sqlite_unlock_notify
6464
GOOS: windows
@@ -73,7 +73,7 @@ steps:
7373
commands:
7474
- make lint-backend
7575
environment:
76-
GOPROXY: https://goproxy.cn # proxy.golang.org is blocked in China, this proxy is not
76+
GOPROXY: https://goproxy.io # proxy.golang.org is blocked in China, this proxy is not
7777
GOSUMDB: sum.golang.org
7878
TAGS: bindata gogit sqlite sqlite_unlock_notify
7979
depends_on: [deps-backend]
@@ -113,7 +113,7 @@ steps:
113113
pull: always
114114
environment:
115115
GO111MODULE: on
116-
GOPROXY: https://goproxy.cn
116+
GOPROXY: https://goproxy.io
117117
commands:
118118
- go build -o gitea_no_gcc # test if build succeeds without the sqlite tag
119119
depends_on: [deps-backend, checks-backend]
@@ -125,7 +125,7 @@ steps:
125125
image: golang:1.18
126126
environment:
127127
GO111MODULE: on
128-
GOPROXY: https://goproxy.cn
128+
GOPROXY: https://goproxy.io
129129
GOOS: linux
130130
GOARCH: arm64
131131
TAGS: bindata gogit
@@ -141,7 +141,7 @@ steps:
141141
image: golang:1.18
142142
environment:
143143
GO111MODULE: on
144-
GOPROXY: https://goproxy.cn
144+
GOPROXY: https://goproxy.io
145145
GOOS: windows
146146
GOARCH: amd64
147147
TAGS: bindata gogit
@@ -156,7 +156,7 @@ steps:
156156
image: golang:1.18
157157
environment:
158158
GO111MODULE: on
159-
GOPROXY: https://goproxy.cn
159+
GOPROXY: https://goproxy.io
160160
GOOS: linux
161161
GOARCH: 386
162162
commands:
@@ -269,7 +269,7 @@ steps:
269269
- ./build/test-env-check.sh
270270
- make backend
271271
environment:
272-
GOPROXY: https://goproxy.cn # proxy.golang.org is blocked in China, this proxy is not
272+
GOPROXY: https://goproxy.io # proxy.golang.org is blocked in China, this proxy is not
273273
GOSUMDB: sum.golang.org
274274
TAGS: bindata sqlite sqlite_unlock_notify
275275
depends_on: [deps-backend, prepare-test-env]
@@ -283,7 +283,7 @@ steps:
283283
commands:
284284
- make unit-test-coverage test-check
285285
environment:
286-
GOPROXY: https://goproxy.cn
286+
GOPROXY: https://goproxy.io
287287
TAGS: bindata sqlite sqlite_unlock_notify
288288
RACE_ENABLED: true
289289
GITHUB_READ_TOKEN:
@@ -299,7 +299,7 @@ steps:
299299
commands:
300300
- make unit-test-coverage test-check
301301
environment:
302-
GOPROXY: https://goproxy.cn
302+
GOPROXY: https://goproxy.io
303303
TAGS: bindata gogit sqlite sqlite_unlock_notify
304304
RACE_ENABLED: true
305305
GITHUB_READ_TOKEN:
@@ -315,7 +315,7 @@ steps:
315315
commands:
316316
- make test-mysql-migration integration-test-coverage
317317
environment:
318-
GOPROXY: https://goproxy.cn
318+
GOPROXY: https://goproxy.io
319319
TAGS: bindata
320320
RACE_ENABLED: true
321321
TEST_LDAP: 1
@@ -332,7 +332,7 @@ steps:
332332
commands:
333333
- timeout -s ABRT 40m make test-mysql8-migration test-mysql8
334334
environment:
335-
GOPROXY: https://goproxy.cn
335+
GOPROXY: https://goproxy.io
336336
TAGS: bindata
337337
RACE_ENABLED: true
338338
TEST_LDAP: 1
@@ -348,7 +348,7 @@ steps:
348348
commands:
349349
- make test-mssql-migration test-mssql
350350
environment:
351-
GOPROXY: https://goproxy.cn
351+
GOPROXY: https://goproxy.io
352352
TAGS: bindata
353353
RACE_ENABLED: true
354354
TEST_LDAP: 1
@@ -363,7 +363,7 @@ steps:
363363
commands:
364364
- make coverage
365365
environment:
366-
GOPROXY: https://goproxy.cn
366+
GOPROXY: https://goproxy.io
367367
TAGS: bindata
368368
depends_on: [unit-test, test-mysql]
369369
when:
@@ -455,7 +455,7 @@ steps:
455455
- ./build/test-env-check.sh
456456
- make backend
457457
environment:
458-
GOPROXY: https://goproxy.cn # proxy.golang.org is blocked in China, this proxy is not
458+
GOPROXY: https://goproxy.io # proxy.golang.org is blocked in China, this proxy is not
459459
GOSUMDB: sum.golang.org
460460
TAGS: bindata gogit sqlite sqlite_unlock_notify
461461
depends_on: [deps-backend, prepare-test-env]
@@ -469,7 +469,7 @@ steps:
469469
commands:
470470
- timeout -s ABRT 40m make test-sqlite-migration test-sqlite
471471
environment:
472-
GOPROXY: https://goproxy.cn
472+
GOPROXY: https://goproxy.io
473473
TAGS: bindata gogit sqlite sqlite_unlock_notify
474474
RACE_ENABLED: true
475475
TEST_TAGS: gogit sqlite sqlite_unlock_notify
@@ -485,7 +485,7 @@ steps:
485485
commands:
486486
- timeout -s ABRT 40m make test-pgsql-migration test-pgsql
487487
environment:
488-
GOPROXY: https://goproxy.cn
488+
GOPROXY: https://goproxy.io
489489
TAGS: bindata gogit
490490
RACE_ENABLED: true
491491
TEST_TAGS: gogit
@@ -653,7 +653,7 @@ steps:
653653
- export PATH=$PATH:$GOPATH/bin
654654
- make release
655655
environment:
656-
GOPROXY: https://goproxy.cn # proxy.golang.org is blocked in China, this proxy is not
656+
GOPROXY: https://goproxy.io # proxy.golang.org is blocked in China, this proxy is not
657657
TAGS: bindata sqlite sqlite_unlock_notify
658658
volumes:
659659
- name: deps
@@ -771,7 +771,7 @@ steps:
771771
- export PATH=$PATH:$GOPATH/bin
772772
- make release
773773
environment:
774-
GOPROXY: https://goproxy.cn # proxy.golang.org is blocked in China, this proxy is not
774+
GOPROXY: https://goproxy.io # proxy.golang.org is blocked in China, this proxy is not
775775
TAGS: bindata sqlite sqlite_unlock_notify
776776
depends_on: [fetch-tags]
777777
volumes:
@@ -901,7 +901,7 @@ steps:
901901
auto_tag_suffix: linux-amd64
902902
repo: gitea/gitea
903903
build_args:
904-
- GOPROXY=https://goproxy.cn
904+
- GOPROXY=https://goproxy.io
905905
password:
906906
from_secret: docker_password
907907
username:
@@ -919,7 +919,7 @@ steps:
919919
auto_tag_suffix: linux-amd64-rootless
920920
repo: gitea/gitea
921921
build_args:
922-
- GOPROXY=https://goproxy.cn
922+
- GOPROXY=https://goproxy.io
923923
password:
924924
from_secret: docker_password
925925
username:
@@ -964,7 +964,7 @@ steps:
964964
tags: dev-linux-amd64
965965
repo: gitea/gitea
966966
build_args:
967-
- GOPROXY=https://goproxy.cn
967+
- GOPROXY=https://goproxy.io
968968
password:
969969
from_secret: docker_password
970970
username:
@@ -982,7 +982,7 @@ steps:
982982
tags: dev-linux-amd64-rootless
983983
repo: gitea/gitea
984984
build_args:
985-
- GOPROXY=https://goproxy.cn
985+
- GOPROXY=https://goproxy.io
986986
password:
987987
from_secret: docker_password
988988
username:
@@ -1026,7 +1026,7 @@ steps:
10261026
tags: ${DRONE_BRANCH##release/v}-dev-linux-amd64
10271027
repo: gitea/gitea
10281028
build_args:
1029-
- GOPROXY=https://goproxy.cn
1029+
- GOPROXY=https://goproxy.io
10301030
password:
10311031
from_secret: docker_password
10321032
username:
@@ -1044,7 +1044,7 @@ steps:
10441044
tags: ${DRONE_BRANCH##release/v}-dev-linux-amd64-rootless
10451045
repo: gitea/gitea
10461046
build_args:
1047-
- GOPROXY=https://goproxy.cn
1047+
- GOPROXY=https://goproxy.io
10481048
password:
10491049
from_secret: docker_password
10501050
username:
@@ -1079,7 +1079,7 @@ steps:
10791079
repo: gitea/gitea
10801080
tags: linux-arm64
10811081
build_args:
1082-
- GOPROXY=https://goproxy.cn
1082+
- GOPROXY=https://goproxy.io
10831083
environment:
10841084
PLUGIN_MIRROR:
10851085
from_secret: plugin_mirror
@@ -1122,7 +1122,7 @@ steps:
11221122
auto_tag_suffix: linux-arm64
11231123
repo: gitea/gitea
11241124
build_args:
1125-
- GOPROXY=https://goproxy.cn
1125+
- GOPROXY=https://goproxy.io
11261126
password:
11271127
from_secret: docker_password
11281128
username:
@@ -1140,7 +1140,7 @@ steps:
11401140
auto_tag_suffix: linux-arm64-rootless
11411141
repo: gitea/gitea
11421142
build_args:
1143-
- GOPROXY=https://goproxy.cn
1143+
- GOPROXY=https://goproxy.io
11441144
password:
11451145
from_secret: docker_password
11461146
username:
@@ -1185,7 +1185,7 @@ steps:
11851185
tags: dev-linux-arm64
11861186
repo: gitea/gitea
11871187
build_args:
1188-
- GOPROXY=https://goproxy.cn
1188+
- GOPROXY=https://goproxy.io
11891189
password:
11901190
from_secret: docker_password
11911191
username:
@@ -1203,7 +1203,7 @@ steps:
12031203
tags: dev-linux-arm64-rootless
12041204
repo: gitea/gitea
12051205
build_args:
1206-
- GOPROXY=https://goproxy.cn
1206+
- GOPROXY=https://goproxy.io
12071207
password:
12081208
from_secret: docker_password
12091209
username:
@@ -1247,7 +1247,7 @@ steps:
12471247
tags: ${DRONE_BRANCH##release/v}-dev-linux-arm64
12481248
repo: gitea/gitea
12491249
build_args:
1250-
- GOPROXY=https://goproxy.cn
1250+
- GOPROXY=https://goproxy.io
12511251
password:
12521252
from_secret: docker_password
12531253
username:
@@ -1265,7 +1265,7 @@ steps:
12651265
tags: ${DRONE_BRANCH##release/v}-dev-linux-arm64-rootless
12661266
repo: gitea/gitea
12671267
build_args:
1268-
- GOPROXY=https://goproxy.cn
1268+
- GOPROXY=https://goproxy.io
12691269
password:
12701270
from_secret: docker_password
12711271
username:

.github/ISSUE_TEMPLATE/bug-report.yaml

Lines changed: 36 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: Bug Report
22
description: Found something you weren't expecting? Report it here!
3+
labels: kind/bug
34
body:
45
- type: markdown
56
attributes:
@@ -19,13 +20,48 @@ body:
1920
6. In particular it's really important to provide pertinent logs. You must give us DEBUG level logs.
2021
Please read https://docs.gitea.io/en-us/logging-configuration/#debugging-problems
2122
In addition, if your problem relates to git commands set `RUN_MODE=dev` at the top of app.ini
23+
- type: textarea
24+
id: description
25+
attributes:
26+
label: Description
27+
description: |
28+
Please provide a description of your issue here, with a URL if you were able to reproduce the issue (see below)
29+
If you are using a proxy or a CDN (e.g. Cloudflare) in front of Gitea, please disable the proxy/CDN fully and access Gitea directly to confirm the issue still persists without those services.
2230
- type: input
2331
id: gitea-ver
2432
attributes:
2533
label: Gitea Version
2634
description: Gitea version (or commit reference) of your instance
2735
validations:
2836
required: true
37+
- type: dropdown
38+
id: can-reproduce
39+
attributes:
40+
label: Can you reproduce the bug on the Gitea demo site?
41+
description: |
42+
If so, please provide a URL in the Description field
43+
URL of Gitea demo: https://try.gitea.io
44+
options:
45+
- "Yes"
46+
- "No"
47+
validations:
48+
required: true
49+
- type: markdown
50+
attributes:
51+
value: |
52+
It's really important to provide pertinent logs
53+
Please read https://docs.gitea.io/en-us/logging-configuration/#debugging-problems
54+
In addition, if your problem relates to git commands set `RUN_MODE=dev` at the top of app.ini
55+
- type: input
56+
id: logs
57+
attributes:
58+
label: Log Gist
59+
description: Please provide a gist URL of your logs, with any sensitive information (e.g. API keys) removed/hidden
60+
- type: textarea
61+
id: screenshots
62+
attributes:
63+
label: Screenshots
64+
description: If this issue involves the Web Interface, please provide one or more screenshots
2965
- type: input
3066
id: git-ver
3167
attributes:
@@ -56,38 +92,3 @@ body:
5692
- MySQL
5793
- MSSQL
5894
- SQLite
59-
- type: dropdown
60-
id: can-reproduce
61-
attributes:
62-
label: Can you reproduce the bug on the Gitea demo site?
63-
description: |
64-
If so, please provide a URL in the Description field
65-
URL of Gitea demo: https://try.gitea.io
66-
options:
67-
- "Yes"
68-
- "No"
69-
validations:
70-
required: true
71-
- type: markdown
72-
attributes:
73-
value: |
74-
It's really important to provide pertinent logs
75-
Please read https://docs.gitea.io/en-us/logging-configuration/#debugging-problems
76-
In addition, if your problem relates to git commands set `RUN_MODE=dev` at the top of app.ini
77-
- type: input
78-
id: logs
79-
attributes:
80-
label: Log Gist
81-
description: Please provide a gist URL of your logs, with any sensitive information (e.g. API keys) removed/hidden
82-
- type: textarea
83-
id: description
84-
attributes:
85-
label: Description
86-
description: |
87-
Please provide a description of your issue here, with a URL if you were able to reproduce the issue (see above)
88-
If you are using a proxy or a CDN (e.g. Cloudflare) in front of Gitea, please disable the proxy/CDN fully and access Gitea directly to confirm the issue still persists without those services.
89-
- type: textarea
90-
id: screenshots
91-
attributes:
92-
label: Screenshots
93-
description: If this issue involves the Web Interface, please provide one or more screenshots

.github/ISSUE_TEMPLATE/feature-request.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: Feature Request
22
description: Got an idea for a feature that Gitea doesn't have currently? Submit your idea here!
3+
labels: ["kind/feature", "kind/proposal"]
34
body:
45
- type: markdown
56
attributes:

0 commit comments

Comments
 (0)