Skip to content

Commit a308c69

Browse files
committed
Switch the bug template to a form
Also force people to use one of the templates Documentation: https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-issue-forms PiperOrigin-RevId: 437210882 (cherry picked from commit e11d105)
1 parent 9f3868d commit a308c69

File tree

3 files changed

+109
-44
lines changed

3 files changed

+109
-44
lines changed

.github/ISSUE_TEMPLATE/bug.md

Lines changed: 0 additions & 44 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
name: Bug Report
2+
description: Report a bug in the ExoPlayer library
3+
labels: ["bug", "needs triage"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
We can only process bug reports that are actionable. Unclear bug reports or reports with insufficient information may not get attention.
9+
10+
Before filing a bug:
11+
-------------------------
12+
13+
- Search existing issues, including issues that are closed: https://github.com/google/ExoPlayer/issues?q=is%3Aissue
14+
- Consult our developer website: https://exoplayer.dev/
15+
- Check the supported formats: https://exoplayer.dev/supported-formats.html
16+
- type: dropdown
17+
attributes:
18+
label: ExoPlayer Version
19+
description: What version of ExoPlayer are you using?
20+
options:
21+
- 2.17.1
22+
- 2.17.0
23+
- 2.16.1
24+
- 2.16.0
25+
- 2.15.1
26+
- 2.15.0
27+
- 2.14.2
28+
- 2.14.1
29+
- 2.14.0
30+
- 2.13.3
31+
- Older (unsupported)
32+
validations:
33+
required: true
34+
- type: textarea
35+
attributes:
36+
label: Devices that reproduce the issue
37+
placeholder: |
38+
Example:
39+
* Pixel 4 running Android 12
40+
* Samsung S21 running Android 11
41+
validations:
42+
required: true
43+
- type: textarea
44+
attributes:
45+
label: Devices that do not reproduce the issue
46+
placeholder: |
47+
Example:
48+
* Pixel 3 running Android Pie
49+
- type: dropdown
50+
attributes:
51+
label: Reproducible in the demo app?
52+
description: Please try and reproduce the issue in the [ExoPlayer demo app](https://exoplayer.dev/demo-application.html).
53+
options:
54+
- "Yes"
55+
- "No"
56+
- Not tested
57+
validations:
58+
required: true
59+
- type: textarea
60+
attributes:
61+
label: Reproduction steps
62+
description: Clear and complete steps we can use to reproduce the problem
63+
placeholder: |
64+
Example:
65+
1. Play the attached media in the demo app
66+
2. Seek forward 10s
67+
validations:
68+
required: true
69+
- type: textarea
70+
attributes:
71+
label: Expected result
72+
placeholder: |
73+
Example:
74+
The media plays successfully
75+
validations:
76+
required: true
77+
- type: textarea
78+
attributes:
79+
label: Actual result
80+
placeholder: |
81+
Example:
82+
Playback crashes with the following stack trace:
83+
...
84+
validations:
85+
required: true
86+
- type: textarea
87+
attributes:
88+
label: Media
89+
description: |
90+
Media we can use to reproduce the problem. Either:
91+
* Attach a file here
92+
* Include a media URL
93+
* Refer to a piece of media from the demo app (e.g. `Misc > Dizzy (MP4)`)
94+
* If you don't want to post media publicly please email the info to [email protected] with subject 'Issue #\<issuenumber\>' after filing this issue, and note that you will do this here.
95+
* If you are certain the issue does not depend on the media being played, enter "Not applicable" here.
96+
97+
For DRM-protected media please also include the scheme and license server URL.
98+
validations:
99+
required: true
100+
- type: checkboxes
101+
attributes:
102+
label: Bug Report
103+
description: |
104+
After filing this issue please run `adb bugreport` shortly after reproducing the problem (ideally in the [demo app](https://exoplayer.dev/demo-application.html)) to capture a zip file, and email this to [email protected] with subject 'Issue #\<issuenumber\>'.
105+
106+
**Note:** Logcat output is **not** the same as a full bug report, and is often missing information that's useful for diagnosing issues. Please ensure you're sending a full bug report zip file.
107+
options:
108+
- label: You will email the zip file produced by `adb bugreport` to [email protected] after filing this issue.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: false

0 commit comments

Comments
 (0)