Add GitHub issue templates (#1977)

* Add GitHub issue templates

* Adjust bug report issue template
This commit is contained in:
Marcono1234 2021-09-29 01:35:55 +02:00 committed by GitHub
parent b0f3237bb8
commit 7cfdf44893
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 74 additions and 1 deletions

49
.github/ISSUE_TEMPLATE/bug_report.md vendored Normal file
View File

@ -0,0 +1,49 @@
---
name: Bug report
about: Report a Gson bug.
title: ''
labels: bug
assignees: ''
---
# Gson version
<!-- Gson version you are using, for example '2.8.8' -->
# Java / Android version
<!-- Version of the Java or Android platform on which the bug occurred -->
# Used tools
<!-- List relevant build tools and plugins with version number here which might affect Gson -->
- [ ] Maven; version:
- [ ] Gradle; version:
- [ ] ProGuard (attach the configuration file please); version:
- [ ] ...
# Description
<!-- Describe the bug you experienced -->
## Expected behavior
<!-- What behavior did you expect? -->
## Actual behavior
<!-- What happened instead? -->
# Reproduction steps
<!-- Provide exact reproduction steps for reproducing the bug -->
<!-- Provide a short code snippet or link to a demo project -->
1. ...
2. ...
# Exception stack trace
<!-- In case an exception occurred, paste the COMPLETE exception stack trace in the code block below or attach it as file -->
```
```

4
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View File

@ -0,0 +1,4 @@
contact_links:
- name: Usage question
url: https://stackoverflow.com/questions/tagged/gson
about: Ask usage questions on StackOverflow.

View File

@ -0,0 +1,20 @@
---
name: Feature request
about: Request a feature. ⚠️ Gson is in maintenance mode; large feature requests might be rejected.
title: ''
labels: feature-request
assignees: ''
---
# Problem solved by the feature
<!-- Describe which problem the requested feature solves -->
# Feature description
<!-- Describe the feature -->
# Alternatives / workarounds
<!-- Describe alternatives or workarounds in case you are aware of any -->

View File

@ -40,7 +40,7 @@ Maven:
* [Change log](https://github.com/google/gson/blob/master/CHANGELOG.md): Changes in the recent versions
* [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
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.
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.
### Related Content Created by Third Parties
* [Gson Tutorial](https://www.studytrails.com/java/json/java-google-json-introduction/) by `StudyTrails`