From 210b757720e5b804fdc5f167dab9cf74c7887aff Mon Sep 17 00:00:00 2001 From: Marcono1234 Date: Sat, 25 Sep 2021 01:05:14 +0200 Subject: [PATCH 1/2] Add GitHub issue templates --- .github/ISSUE_TEMPLATE/bug_report.md | 47 +++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 4 ++ .github/ISSUE_TEMPLATE/feature_request.md | 20 ++++++++++ README.md | 2 +- 4 files changed, 72 insertions(+), 1 deletion(-) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000000..0b1daf1cf4 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,47 @@ +--- +name: Bug report +about: Report a Gson bug. +title: '' +labels: bug +assignees: '' + +--- + +# Gson version + + + +# Java / Android version + + + +# Used tools + +- [ ] ProGuard +- ... + +# Description + + + +## Expected behavior + + + +## Actual behavior + + + +# Reproduction steps + + + +1. ... +2. ... + +# Exception stack trace + + +``` + +``` diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000000..b798788d02 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,4 @@ +contact_links: + - name: Usage question + url: https://stackoverflow.com/questions/tagged/gson + about: Ask usage questions on StackOverflow. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000000..87ed0f8ee3 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -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 + + + +# Feature description + + + +# Alternatives / workarounds + + diff --git a/README.md b/README.md index 17acc950aa..a1dd0492ae 100644 --- a/README.md +++ b/README.md @@ -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` From 6ce522006fadfcf73f18b21988660dd3064711be Mon Sep 17 00:00:00 2001 From: Marcono1234 Date: Wed, 29 Sep 2021 00:27:31 +0200 Subject: [PATCH 2/2] Adjust bug report issue template --- .github/ISSUE_TEMPLATE/bug_report.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 0b1daf1cf4..483fd2effe 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -16,9 +16,11 @@ assignees: '' # Used tools - -- [ ] ProGuard -- ... + +- [ ] Maven; version: +- [ ] Gradle; version: +- [ ] ProGuard (attach the configuration file please); version: +- [ ] ... # Description