Skip to content

Commit 7cfdf44

Browse files
authored
Add GitHub issue templates (#1977)
* Add GitHub issue templates * Adjust bug report issue template
1 parent b0f3237 commit 7cfdf44

File tree

4 files changed

+74
-1
lines changed

4 files changed

+74
-1
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
---
2+
name: Bug report
3+
about: Report a Gson bug.
4+
title: ''
5+
labels: bug
6+
assignees: ''
7+
8+
---
9+
10+
# Gson version
11+
<!-- Gson version you are using, for example '2.8.8' -->
12+
13+
14+
# Java / Android version
15+
<!-- Version of the Java or Android platform on which the bug occurred -->
16+
17+
18+
# Used tools
19+
<!-- List relevant build tools and plugins with version number here which might affect Gson -->
20+
- [ ] Maven; version:
21+
- [ ] Gradle; version:
22+
- [ ] ProGuard (attach the configuration file please); version:
23+
- [ ] ...
24+
25+
# Description
26+
<!-- Describe the bug you experienced -->
27+
28+
29+
## Expected behavior
30+
<!-- What behavior did you expect? -->
31+
32+
33+
## Actual behavior
34+
<!-- What happened instead? -->
35+
36+
37+
# Reproduction steps
38+
<!-- Provide exact reproduction steps for reproducing the bug -->
39+
<!-- Provide a short code snippet or link to a demo project -->
40+
41+
1. ...
42+
2. ...
43+
44+
# Exception stack trace
45+
<!-- In case an exception occurred, paste the COMPLETE exception stack trace in the code block below or attach it as file -->
46+
47+
```
48+
49+
```

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
contact_links:
2+
- name: Usage question
3+
url: https://stackoverflow.com/questions/tagged/gson
4+
about: Ask usage questions on StackOverflow.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Request a feature. ⚠️ Gson is in maintenance mode; large feature requests might be rejected.
4+
title: ''
5+
labels: feature-request
6+
assignees: ''
7+
8+
---
9+
10+
# Problem solved by the feature
11+
<!-- Describe which problem the requested feature solves -->
12+
13+
14+
# Feature description
15+
<!-- Describe the feature -->
16+
17+
18+
# Alternatives / workarounds
19+
<!-- Describe alternatives or workarounds in case you are aware of any -->
20+

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Maven:
4040
* [Change log](https://github.com/google/gson/blob/master/CHANGELOG.md): Changes in the recent versions
4141
* [Design document](https://github.com/google/gson/blob/master/GsonDesignDocument.md): This document discusses issues we faced while designing Gson. It also includes a comparison of Gson with other Java libraries that can be used for Json conversion
4242

43-
Please use the 'gson' tag on StackOverflow or the [google-gson Google group](https://groups.google.com/group/google-gson) to discuss Gson or to post questions.
43+
Please use the ['gson' tag on StackOverflow](https://stackoverflow.com/questions/tagged/gson) or the [google-gson Google group](https://groups.google.com/group/google-gson) to discuss Gson or to post questions.
4444

4545
### Related Content Created by Third Parties
4646
* [Gson Tutorial](https://www.studytrails.com/java/json/java-google-json-introduction/) by `StudyTrails`

0 commit comments

Comments
 (0)