From 57dd9a7dd3b14b4545b65b97b6e9cc86b60222d3 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Wed, 8 Jun 2022 00:04:10 +0200 Subject: [PATCH] Convert issue template to form --- .github/ISSUE_TEMPLATE/bug.yml | 64 ++++++++++++++++++++++++++++++++++ ISSUE_TEMPLATE.md | 31 ---------------- 2 files changed, 64 insertions(+), 31 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/bug.yml delete mode 100644 ISSUE_TEMPLATE.md diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml new file mode 100644 index 0000000..74deaaf --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -0,0 +1,64 @@ +--- +name: New issue +description: Please answer these questions when reporting a new issue. +body: + - type: input + attributes: + label: What is your operating system (Windows, Linux, OSX, etc.)? + validations: + required: true + - type: input + attributes: + label: What is your web server (Apache, IIS, etc.)? + validations: + required: true + - type: input + attributes: + label: What version of AllTube are you using? + validations: + required: true + - type: dropdown + attributes: + label: How did you install AllTube? + options: + - Git + - Release package + - Docker + - Other (please specify) + validations: + required: true + - type: input + attributes: + label: What version of PHP are you using? + validations: + required: true + - type: input + attributes: + label: What version of Python are you using? + validations: + required: true + - type: input + attributes: + label: What version of youtube-dl are you using? + validations: + required: true + - type: textarea + attributes: + label: Do you get any PHP-related errors in your webserver's logs? + description: If so, paste them here. + render: plain text + - type: textarea + attributes: + label: What is the content of your "config/config.yml" file? + description: If you don't have this file, you can ignore this question. + render: yml + - type: input + attributes: + label: Please provide the URL of a video that causes the issue. + validations: + required: true + - type: textarea + attributes: + label: Describe your issue + validations: + required: true diff --git a/ISSUE_TEMPLATE.md b/ISSUE_TEMPLATE.md deleted file mode 100644 index d10ff9a..0000000 --- a/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,31 +0,0 @@ -# New issue - -## Your environment - -Please answer these questions when reporting a new issue: - -**What is your operating system (Windows, Linux, OSX, etc.)?** - -**What is your web server (Apache, IIS, etc.)?** - -**What version of AllTube are you using?** - -**How did you install AllTube (with Git or with a release package)?** - -**What version of PHP are you using?** - -**What version of Python are you using?** - -**What version of youtube-dl are you using?** - -**Do you get any PHP-related errors in your webserver's logs?** - -**What is the content of your `config/config.yml` file?** - -```yaml -# Insert content here. -``` - -**Please provide the URL of a video that causes the issue.** - -## Describe your issue