From d8566585bb94951231ca0523135dc2c40d915ee6 Mon Sep 17 00:00:00 2001 From: Heinz-Alexander Fuetterer Date: Wed, 21 Aug 2024 17:58:10 +0200 Subject: [PATCH] chore: set up issue forms --- .github/ISSUE_TEMPLATE/bug_report.md | 51 ------------------ .github/ISSUE_TEMPLATE/bug_report.yml | 64 +++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 27 ---------- 3 files changed, 64 insertions(+), 78 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 8a2c461..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,51 +0,0 @@ ---- -name: Bug report -about: Create a bug report to help us improve -labels: ['type: bug'] ---- - - - -## Description - - - -## Expected Behavior - - - -## Actual Behavior - - - -## Possible Fix - - - -## Steps to reproduce - - - -1. -2. -3. - -## Additional Context - - - -## Your Environment - - - -- Python version used (`python --version`): -- oaipmh-scythe version used (`python -m pip show oaipmh-scythe | grep "^Version:"`): -- Operating system and version: - - diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..7238974 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,64 @@ +name: Bug report +description: Create a bug report to help us improve +labels: ['type: bug'] + +body: +- type: markdown + attributes: + value: | + Thanks for taking the time to submit a bug report. Please provide a general summary of the issue in the Title above. +- type: textarea + attributes: + label: Description + description: Provide a more detailed introduction to the issue itself, and why you consider it to be a bug. + validations: + required: true +- type: textarea + attributes: + label: Expected Behavior + description: Tell us what should happen. + validations: + required: false +- type: textarea + attributes: + label: Actual Behavior + description: Tell us what happens instead. + validations: + required: false +- type: textarea + attributes: + label: Possible Fix + description: Not obligatory, but suggest a fix or reason for the bug. + validations: + required: false +- type: textarea + attributes: + label: Steps to reproduce + description: > + Provide a link to a live example, or an unambiguous set of steps to reproduce this bug. + Include code to reproduce, if relevant. + placeholder: | + 1. + 2. + 3. + validations: + required: false +- type: textarea + attributes: + label: Additional Context + description: How has this bug affected you? What were you trying to accomplish? + validations: + required: false +- type: textarea + attributes: + label: Your Environment + description: Please tell us about your environment. Provide the output of the following commands. + value: | + - Python version used (`python --version`): + - python-re3data version used (`python -m pip show oaipmh-scythe | grep "^Version:"`): + - Operating system and version: + validations: + required: false + +# This issue template is adapted from: +# "open-source-templates", https://github.com/TalAter/open-source-templates (MIT License). diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index e7b38a0..0000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project -labels: ['type: feature'] ---- - - - -## Detailed Description - - - -## Context - - - -## Possible Implementation - - - -