From 82863f48f6047d18cd49ed0ac10860499b5ab30a Mon Sep 17 00:00:00 2001 From: Lovell Fuller Date: Fri, 6 Mar 2020 21:12:59 +0000 Subject: [PATCH] Update issue templates to ask common follow-up questions --- .github/ISSUE_TEMPLATE/feature_request.md | 2 -- .github/ISSUE_TEMPLATE/installation.md | 6 +++--- .github/ISSUE_TEMPLATE/possible-bug.md | 8 ++++---- .github/ISSUE_TEMPLATE/question.md | 4 +--- 4 files changed, 8 insertions(+), 12 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index f771543e..69fc9b99 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -1,9 +1,7 @@ --- name: Feature request about: Suggest an idea -title: '' labels: enhancement -assignees: '' --- diff --git a/.github/ISSUE_TEMPLATE/installation.md b/.github/ISSUE_TEMPLATE/installation.md index c282c50c..182314e1 100644 --- a/.github/ISSUE_TEMPLATE/installation.md +++ b/.github/ISSUE_TEMPLATE/installation.md @@ -1,9 +1,7 @@ --- name: Installation about: Something went wrong **installing** sharp -title: '' labels: installation -assignees: '' --- @@ -11,10 +9,12 @@ Did you see the [documentation relating to installation](https://sharp.pixelplum Have you ensured the platform and version of Node.js used for `npm install` is the same as the platform and version of Node.js used at runtime? +Are you using the latest version? Is the version currently in use as reported by `npm ls sharp` the same as the latest version as reported by `npm view sharp dist-tags.latest`? + If you are installing as a `root` or `sudo` user, have you tried with the `npm install --unsafe-perm` flag? If you are using the `ignore-scripts` feature of `npm`, have you tried with the `npm install --ignore-scripts=false` flag? What is the complete output of running `npm install --verbose sharp`? Have you checked this output for useful error messages? -What is the output of running `npx envinfo --binaries --languages --system --utilities`? +What is the output of running `npx envinfo --binaries --system`? diff --git a/.github/ISSUE_TEMPLATE/possible-bug.md b/.github/ISSUE_TEMPLATE/possible-bug.md index 860f60fc..f6cb20b3 100644 --- a/.github/ISSUE_TEMPLATE/possible-bug.md +++ b/.github/ISSUE_TEMPLATE/possible-bug.md @@ -1,20 +1,20 @@ --- name: Possible bug about: Something unexpected occurred **using** sharp -title: '' labels: triage -assignees: '' --- -What is the output of running `npx envinfo --binaries --languages --system --utilities`? +Are you using the latest version? Is the version currently in use as reported by `npm ls sharp` the same as the latest version as reported by `npm view sharp dist-tags.latest`? What are the steps to reproduce? What is the expected behaviour? -Are you able to provide a standalone code sample, without other dependencies, that demonstrates this problem? +Are you able to provide a minimal, standalone code sample, without other dependencies, that demonstrates this problem? Are you able to provide a sample image that helps explain the problem? + +What is the output of running `npx envinfo --binaries --system`? diff --git a/.github/ISSUE_TEMPLATE/question.md b/.github/ISSUE_TEMPLATE/question.md index 54a1cdad..92e31e4f 100644 --- a/.github/ISSUE_TEMPLATE/question.md +++ b/.github/ISSUE_TEMPLATE/question.md @@ -1,9 +1,7 @@ --- name: Question about: For help understanding an existing feature -title: '' labels: question -assignees: '' --- @@ -13,6 +11,6 @@ What are you trying to achieve? Have you searched for similar questions? -Are you able to provide a standalone code sample that demonstrates this question? +Are you able to provide a minimal, standalone code sample that demonstrates this question? Are you able to provide a sample image that helps explain the question?