From 8185dc332fdbf6c7f368ad6d6d6a123fd7603e38 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 | 64 ++++++++++++++++++++++ .github/issue_template.md | 14 ----- 4 files changed, 142 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 000000000000..91a62e57f168 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -0,0 +1,73 @@ +name: Bug Report +description: File a bug report +labels: ["bug", "unconfirmed"] +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: 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 + - 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 diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000000..a58023751793 --- /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 000000000000..af86e3a32132 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/pkg-request.yml @@ -0,0 +1,64 @@ +name: 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://foobar9k.org + 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: | + **System:** The software should be installed system-wide, not per-user + **Compiled:** The software needs to be compiled before being used, even if it is software that is not needed by the whole system + **Required:** Another package either within the repository or pending inclusion requires the package + + See [Manual.md](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality_requirements) for more details + multiple: true + options: + - System + - Compiled + - Required + validations: + required: true + - id: released + type: dropdown + attributes: + label: Is the requested package released? + description: | + The software is available in a version announced by authors as ready-to-use by the general public + + See [Manual.md](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality_requirements) for more details + options: + - "Yes" + - "No" + validations: + required: true diff --git a/.github/issue_template.md b/.github/issue_template.md deleted file mode 100644 index 25a0538174cc..000000000000 --- 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 -