From 9d53fc574dde25e3b0033ae5abd05ce1a6a8c4fb Mon Sep 17 00:00:00 2001 From: Jay Date: Tue, 14 Apr 2026 09:42:36 +0200 Subject: [PATCH] Add issue templates Add structured forms for bug reports and feature requests, plus a config file that disables blank issues and redirects security reports to private advisories and upstream driver bugs to the vendor. Ensures incoming issues arrive with the distro, kernel, driver version, and logs needed to triage them. Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/ISSUE_TEMPLATE/bug_report.yml | 82 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 8 +++ .github/ISSUE_TEMPLATE/feature_request.yml | 46 ++++++++++++ 3 files changed, 136 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..f4f4725 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,82 @@ +name: Bug report +description: Report a problem with the installer, the systemd service, or the driver packaging +title: "[Bug]: " +labels: ["bug"] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to file a bug report! Please fill out the + fields below so we can reproduce and fix the issue quickly. + + Before submitting, please search existing issues to avoid duplicates. + - type: textarea + id: what-happened + attributes: + label: What happened? + description: A clear and concise description of the bug. + placeholder: After rebooting, the yt6801 module is not loaded and the service exits with... + validations: + required: true + - type: textarea + id: expected + attributes: + label: Expected behavior + description: What did you expect to happen instead? + validations: + required: true + - type: textarea + id: reproduction + attributes: + label: Steps to reproduce + description: Provide a minimal, numbered set of steps. + placeholder: | + 1. Run `sudo bash setup.sh` + 2. Reboot + 3. Run `lsmod | grep yt6801` + validations: + required: true + - type: input + id: distro + attributes: + label: Distribution and version + placeholder: Ubuntu 24.04 LTS + validations: + required: true + - type: input + id: kernel + attributes: + label: Kernel version + description: Output of `uname -r` + placeholder: 6.8.0-40-generic + validations: + required: true + - type: input + id: driver-version + attributes: + label: Driver package version + description: The `.deb` filename under `deb/` that was installed + placeholder: tuxedo-yt6801_1.0.28-1_all.deb + validations: + required: true + - type: textarea + id: logs + attributes: + label: Relevant logs + description: | + Please include the relevant output from: + - `/opt/yt6801-auto-installer/install_yt6801.log` + - `journalctl -u yt6801-reinstall.service` + - `dmesg | grep -i yt6801` + render: shell + validations: + required: false + - type: checkboxes + id: checks + attributes: + label: Checks + options: + - label: I have searched existing issues for duplicates. + required: true + - label: I have read the README and Troubleshooting section. + required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..d8de809 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: false +contact_links: + - name: Security vulnerability + url: https://github.com/finallyjay/yt6801-auto-installer/security/advisories/new + about: Please report security issues privately via GitHub advisories — do not open a public issue. + - name: Upstream YT6801 driver issues + url: https://www.tuxedocomputers.com/ + about: Bugs in the upstream Motorcomm/Tuxedo driver should be reported to the vendor. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000..e06c293 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,46 @@ +name: Feature request +description: Suggest an enhancement or new capability +title: "[Feature]: " +labels: ["enhancement"] +body: + - type: markdown + attributes: + value: | + Thanks for suggesting an improvement! Please describe the use case + first so we can discuss the right approach before any implementation. + - type: textarea + id: problem + attributes: + label: What problem are you trying to solve? + description: Describe the situation where the current behavior falls short. + placeholder: On Debian 12 the installer fails because... + validations: + required: true + - type: textarea + id: proposal + attributes: + label: Proposed solution + description: Describe what you would like to see happen. + validations: + required: true + - type: textarea + id: alternatives + attributes: + label: Alternatives considered + description: Any other approaches you considered and why you prefer the proposed one. + validations: + required: false + - type: textarea + id: context + attributes: + label: Additional context + description: Links, screenshots, related issues, or anything else that helps. + validations: + required: false + - type: checkboxes + id: checks + attributes: + label: Checks + options: + - label: I have searched existing issues for similar requests. + required: true