From 79f245986b3ef2109118710edb572547e6ba8671 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Sun, 8 Aug 2021 01:17:31 +0200 Subject: [PATCH] Try github forms for bug reports --- .github/ISSUE_TEMPLATE/bug_report.md | 61 ---------- .github/ISSUE_TEMPLATE/bug_report.yaml | 151 +++++++++++++++++++++++++ 2 files changed, 151 insertions(+), 61 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yaml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 5419532b..00000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,61 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: '' -labels: bug -assignees: '' - ---- - -### Describe the bug -A clear and concise description of what the bug is. - -### To Reproduce -Steps to reproduce the behavior: -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - -### Expected behavior -A clear and concise description of what you expected to happen. - -### Screenshots -If applicable, add screenshots to help explain your problem. - -### System: - -- Nheko version: -- Profile used: -- Installation method: -- Operating System: -- Qt version: -- C++ compiler: -- Desktop Environment: - -### Logs - - - - -### Debugger backtrace - diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml new file mode 100644 index 00000000..70094f9e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -0,0 +1,151 @@ +name: Bug Report +description: Create a report to help us improve +#title: "[Bug]: " +labels: [bug] +assignees: +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! + Please try to fill out all fields to the best of your ability. + - type: textarea + id: description + attributes: + label: Describe the bug + description: A clear and concise description of what the bug is. + placeholder: Enter your description here. + validations: + required: true + - type: textarea + id: reproduction-steps + attributes: + label: To Reproduce + description: Steps to reproduce the behavior: + placeholder: | + 1. Go to '...' + 2. Click on '....' + 3. Scroll down to '....' + 4. See error + value: | + 1. Go to '...' + 2. Click on '....' + 3. Scroll down to '....' + 4. See error + validations: + required: true + - type: textarea + id: behaviour + attributes: + label: What happened? + description: A clear and concise description of what actually happened. + validations: + required: false + - type: textarea + id: expected-behaviour + attributes: + label: Expected behavior + description: A clear and concise description of what you expected to happen. + validations: + required: false + - type: textarea + id: screenshots + attributes: + label: Screenshots + description: If applicable, add screenshots to help explain your problem. + placeholder: Upload your screenshots here. You can paste them or click on "Attach files". + validations: + required: false + - type: input + id: version + attributes: + label: Version + description: Get the version from the settings menu (bottom left corner) + placeholder: 0.0.1-deafbeef + validations: + required: true + - type: dropdown + id: os + attributes: + label: Operating system + multiple: true + options: + - Linux + - macOS + - Windows + - BSD + - Haiku + - Other + - type: dropdown + id: os + attributes: + label: Installation method + multiple: true + options: + - Flathub + - Flatpak nightly repo or download + - AppImage + - Windows download + - macOS DMG file + - Some repository (AUR, homebrew, distribution repository, PPA, etc) + - Local build + - type: input + id: qt-version + attributes: + label: Qt version + description: What version of Qt does your system use? (If you compiled Nheko yourself.) + placeholder: 5.15.2. + validations: + required: false + - type: input + id: compiler + attributes: + label: C++ compiler + description: What compiler (and version) did you use (if you compiled Nheko yourself)? + placeholder: gcc-9000 + validations: + required: false + - type: input + id: de + attributes: + label: Desktop Environment + description: If you are on Linux, describe your desktop environment. + placeholder: KDE with i3 as the window manager + validations: + required: false + - type: checkboxes + id: profiles + attributes: + label: Did you use profiles? + description: Usually by passing the --profile command line parameter. If you don't know, answer 'no'. + options: + - label: Profiles used? + required: false + - type: textarea + id: logs + attributes: + label: Relevant log output + description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. + placeholder: | + The log file is located in + Linux: ~/.cache/nheko/ + macOS: ~/Library/Caches/nheko or /Library/Caches/nheko + Windows: C:/Users//AppData/Local/nheko/cache + render: shell + - type: textarea + id: backtrace + attributes: + label: Backtrace + description: If the program crashed send a backtrace. + placeholder: | + You can retrieve a backtrace by building nheko with -DCMAKE_BUILD_TYPE=Debug and running it through gdb or lldb. + + gdb ./build/nheko + + >> run + + ... Make the program crash + + >> bt + render: shell +