From fa0a7a3c8151634d33d36c946205b20d6e46d0a5 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Wed, 30 Mar 2022 00:51:29 -0400 Subject: [PATCH] .github/ISSUE_TEMPLATE: add bug report and package request issue forms Co-authored-by: 0x5c --- .github/ISSUE_TEMPLATE/bug-report.yml | 73 ++++++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 5 ++ .github/ISSUE_TEMPLATE/pkg-request.yml | 59 +++++++++++++++++++++ .github/issue_template.md | 14 ----- 4 files changed, 137 insertions(+), 14 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/bug-report.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/pkg-request.yml delete mode 100644 .github/issue_template.md diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml new file mode 100644 index 00000000000..f1b15e39f79 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -0,0 +1,73 @@ +name: Bug Report +description: File a bug report +labels: ["bug", "needs-testing"] +body: + - type: markdown + attributes: + value: > + #### Don't request an update of a package, + [We have a script for that](https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt). + However, a quality pull request may help. + - id: verified + type: dropdown + attributes: + label: Is this a new report? + description: I verified that there isn't already an open issue for this bug + options: + - "Yes" + - "No" + validations: + required: true + - id: xuname + type: input + attributes: + label: System Info + description: Output of `xuname` (part of [`xtools`](https://man.voidlinux.org/xtools.1)) + placeholder: Void 5.x.y_z x86_64-musl ... + validations: + required: true + - id: packages + type: input + attributes: + label: Package(s) Affected + description: Affected package(s) including version (this can be found with `xbps-query -p pkgver foo`) + placeholder: foo-1.0.2_5, bar-5.6.7_1, baz-0.0.3_5, ... + validations: + required: true + - id: upstream + type: textarea + attributes: + label: Does a report exist for this bug with the project's home (upstream) and/or another distro? + description: If so, link it here (It's fine if there's none) + placeholder: | + For example: + https://bugs.kde.org/show_bug.cgi?id=432975 + https://bugs.gentoo.org/767478 + - id: expected + type: textarea + attributes: + label: Expected behaviour + description: A clear and concise description of what you expected to happen + placeholder: The package is supposed to do this thing. + validations: + required: true + - id: description + type: textarea + attributes: + label: Actual behaviour + description: A clear and concise description of what the bug is + placeholder: There was a crash when... + validations: + required: true + - id: steps + type: textarea + attributes: + label: Steps to reproduce + description: Clear steps to reproduce the bug + placeholder: | + 1. Do the thing + 2. Do the other thing + 3. ??? + 4. Crash :( + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000000..a5802375179 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: true +contact_links: + - name: Other kind of issue + url: https://github.com/void-linux/void-packages/issues/new + about: For RFCs, tracking issues, etc (freeform text) diff --git a/.github/ISSUE_TEMPLATE/pkg-request.yml b/.github/ISSUE_TEMPLATE/pkg-request.yml new file mode 100644 index 00000000000..1dbbe572d06 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/pkg-request.yml @@ -0,0 +1,59 @@ +name: Package Request +title: "Package request: " +description: Request the addition of a package +labels: ["request"] +body: + - type: markdown + attributes: + value: > + #### Don't request an update of a package, + [We have a script for that](https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt). + However, a quality pull request may help. + - id: name + type: input + attributes: + label: Package name + placeholder: foobar9k + validations: + required: true + - id: homepage + type: input + attributes: + label: Package homepage + placeholder: https://example.com/foobar9k + validations: + required: true + - id: description + type: textarea + attributes: + label: Description + description: What does the package do? + placeholder: > + Foobar9k is a music player that turns your music up to 11. + It provides features X, Y, and Z, which other music players in Void don't. + validations: + required: true + - id: quality + type: dropdown + attributes: + label: Does the requested package meet the quality requirements? + description: | + See [Manual.md](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality_requirements) for details + multiple: true + options: + - System + - Compiled + - Required + validations: + required: true + - id: released + type: dropdown + attributes: + label: Is the requested package released? + description: | + See [Manual.md](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality_requirements) for details + options: + - "Yes" + - "No" + validations: + required: true diff --git a/.github/issue_template.md b/.github/issue_template.md deleted file mode 100644 index b7f38da9fa5..00000000000 --- a/.github/issue_template.md +++ /dev/null @@ -1,14 +0,0 @@ - -### System - -* xuname: - *output of ``xuname`` (part of xtools)* -* package: - *affected package(s) including the version*: ``xbps-query -p pkgver `` - -### Expected behavior - -### Actual behavior - -### Steps to reproduce the behavior -