From 8add914841775f239acd838b1d8d52b251d0e1b2 Mon Sep 17 00:00:00 2001 From: Luke Karrys Date: Fri, 10 May 2024 10:55:37 -0700 Subject: [PATCH] chore: create single bug report issue template (#7505) This removes the v9 bug report template and changes the v10 template to specifically mention that it is for bugs for the latest release line. Previously we would bump these issue templates whenever we did a major release. I think it makes more sense to have only a single bug template most of the time and to add templates for old versions when we are offering bug fix support for them. Currently we don't offer bug fixes for the v9 release line. It also removes the `Release 10.x` label which I find to mostly add noise. I think it would be better to have no default release line label, and and instead manually add this label when we identify a bug that only affects a specific release line that we intend to fix. Or if we are supporting multiple versions then we can add the label to the bug template for old versions. --- .../ISSUE_TEMPLATE/{bug_10.yml => bug.yml} | 6 +- .github/ISSUE_TEMPLATE/bug_9.yml | 63 ------------------- 2 files changed, 3 insertions(+), 66 deletions(-) rename .github/ISSUE_TEMPLATE/{bug_10.yml => bug.yml} (94%) delete mode 100644 .github/ISSUE_TEMPLATE/bug_9.yml diff --git a/.github/ISSUE_TEMPLATE/bug_10.yml b/.github/ISSUE_TEMPLATE/bug.yml similarity index 94% rename from .github/ISSUE_TEMPLATE/bug_10.yml rename to .github/ISSUE_TEMPLATE/bug.yml index 4285f82431d0f..f285bcce4c81e 100644 --- a/.github/ISSUE_TEMPLATE/bug_10.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -1,7 +1,7 @@ -name: 🐞 Bug v10 -description: File a bug/issue against v10.x +name: 🐞 Bug +description: File a bug/issue against the latest version of npm title: "[BUG] " -labels: [Bug, Needs Triage, Release 10.x] +labels: [Bug, Needs Triage] body: - type: checkboxes attributes: diff --git a/.github/ISSUE_TEMPLATE/bug_9.yml b/.github/ISSUE_TEMPLATE/bug_9.yml deleted file mode 100644 index c29c0e3ba89de..0000000000000 --- a/.github/ISSUE_TEMPLATE/bug_9.yml +++ /dev/null @@ -1,63 +0,0 @@ -name: 🐞 Bug v9 -description: File a bug/issue against v9.x -title: "[BUG] <title>" -labels: [Bug, Needs Triage, Release 9.x] -body: -- type: checkboxes - attributes: - label: Is there an existing issue for this? - description: Please [search here](https://github.com/npm/cli/issues) to see if an issue already exists for your problem. - options: - - label: I have searched the existing issues - required: true -- type: checkboxes - attributes: - label: This issue exists in the latest npm version - description: Please make sure you have installed the latest npm and verified it is still an issue. - options: - - label: I am using the latest npm - required: true -- type: textarea - attributes: - label: Current Behavior - description: A clear & concise description of what you're experiencing. - validations: - required: false -- type: textarea - attributes: - label: Expected Behavior - description: A clear & concise description of what you expected to happen. - validations: - required: false -- type: textarea - attributes: - label: Steps To Reproduce - description: Steps to reproduce the behavior. - value: | - 1. In this environment... - 2. With this config... - 3. Run '...' - 4. See error... - validations: - required: false -- type: textarea - attributes: - label: Environment - description: | - examples: - - **`npm -v`**: **npm**: 7.6.3 - - **`node -v`**: **Node.js**: 13.14.0 - - **OS Name**: Ubuntu 20.04 - - **System Model Name**: Macbook Pro - - **`npm config ls`**: `; "user" config from ...` - value: | - - npm: - - Node.js: - - OS Name: - - System Model Name: - - npm config: - ```ini - ; copy and paste output from `npm config ls` here - ``` - validations: - required: false