Skip to content

Commit bfe2e3d

Browse files
delvhlunny6543zeripath
authored
Reorder issue templates and automatically add labels (#18875)
* Reorder bug-report.yaml * Add bug label on bug-report.yaml * Add feature label on feature-request.yaml * Reorder ui.bug-report.yaml * Apply suggestions Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: zeripath <art27@cantab.net>
1 parent b05b401 commit bfe2e3d

File tree

3 files changed

+60
-57
lines changed

3 files changed

+60
-57
lines changed

.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:
Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: Web Interface Bug Report
22
description: Something doesn't look quite as it should? Report it here!
3+
labels: ["kind/bug", "kind/ui"]
34
body:
45
- type: markdown
56
attributes:
@@ -18,23 +19,25 @@ body:
1819
6. In particular it's really important to provide pertinent logs. If you are certain that this is a javascript
1920
error, show us the javascript console. If the error appears to relate to Gitea the server you must also give us
2021
DEBUG level logs. (See https://docs.gitea.io/en-us/logging-configuration/#debugging-problems)
21-
- type: input
22-
id: gitea-ver
22+
- type: textarea
23+
id: description
2324
attributes:
24-
label: Gitea Version
25-
description: Gitea version (or commit reference) your instance is running
25+
label: Description
26+
description: |
27+
Please provide a description of your issue here, with a URL if you were able to reproduce the issue (see below)
28+
If using a proxy or a CDN (e.g. CloudFlare) in front of gitea, please disable the proxy/CDN fully and connect to gitea directly to confirm the issue still persists without those services.
29+
- type: textarea
30+
id: screenshots
31+
attributes:
32+
label: Screenshots
33+
description: Please provide at least 1 screenshot showing the issue.
2634
validations:
2735
required: true
2836
- type: input
29-
id: os-ver
30-
attributes:
31-
label: Operating System
32-
description: The operating system you are using to access Gitea
33-
- type: input
34-
id: browser-ver
37+
id: gitea-ver
3538
attributes:
36-
label: Browser Version
37-
description: The browser and version that you are using to access Gitea
39+
label: Gitea Version
40+
description: Gitea version (or commit reference) your instance is running
3841
validations:
3942
required: true
4043
- type: dropdown
@@ -49,17 +52,15 @@ body:
4952
- "No"
5053
validations:
5154
required: true
52-
- type: textarea
53-
id: description
55+
- type: input
56+
id: os-ver
5457
attributes:
55-
label: Description
56-
description: |
57-
Please provide a description of your issue here, with a URL if you were able to reproduce the issue (see above)
58-
If using a proxy or a CDN (e.g. CloudFlare) in front of gitea, please disable the proxy/CDN fully and connect to gitea directly to confirm the issue still persists without those services.
59-
- type: textarea
60-
id: screenshots
58+
label: Operating System
59+
description: The operating system you are using to access Gitea
60+
- type: input
61+
id: browser-ver
6162
attributes:
62-
label: Screenshots
63-
description: Please provide at least 1 screenshot showing the issue.
63+
label: Browser Version
64+
description: The browser and version that you are using to access Gitea
6465
validations:
6566
required: true

0 commit comments

Comments
 (0)