From e415501ce05943ffdbe0f644ee80c33abe5a4a38 Mon Sep 17 00:00:00 2001 From: alpharush <0xalpharush@protonmail.com> Date: Mon, 23 Jan 2023 14:53:33 -0600 Subject: [PATCH 1/4] add issue template for trouble with installation --- .../trouble_with_installation.yml | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/trouble_with_installation.yml diff --git a/.github/ISSUE_TEMPLATE/trouble_with_installation.yml b/.github/ISSUE_TEMPLATE/trouble_with_installation.yml new file mode 100644 index 000000000..5b3cae390 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/trouble_with_installation.yml @@ -0,0 +1,46 @@ +--- +body: + - + attributes: + value: | + Please check the issues tab to avoid duplicates. + Thanks for taking the time to fill out this bug report! + type: markdown + - + attributes: + label: "How did you install slither:" + id: what-happened + type: textarea + validations: + required: true + - type: dropdown + id: python + attributes: + label: Do you have python added to your $PATH? + multiple: true + options: + - Yes + - No + - Not sure + - type: dropdown + id: solc + attributes: + label: Do you have solc-select installed? + multiple: true + options: + - Yes + - No + - + attributes: + description: | + Please copy and paste any relevant log output. This + will be automatically formatted into code, so no need for backticks. + render: shell + label: "Output of running `slither-doctor .`:" + id: logs + type: textarea +description: "File a bug report" +labels: + - installation-help +name: "Trouble with Installing Slither" +title: "[Installation-Help]: " From 71f406465e687bfac2dd5c55257b0e2ee8d500f8 Mon Sep 17 00:00:00 2001 From: alpharush <0xalpharush@protonmail.com> Date: Mon, 23 Jan 2023 14:57:40 -0600 Subject: [PATCH 2/4] add more info --- .github/ISSUE_TEMPLATE/trouble_with_installation.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/trouble_with_installation.yml b/.github/ISSUE_TEMPLATE/trouble_with_installation.yml index 5b3cae390..e3c96a705 100644 --- a/.github/ISSUE_TEMPLATE/trouble_with_installation.yml +++ b/.github/ISSUE_TEMPLATE/trouble_with_installation.yml @@ -8,7 +8,15 @@ body: type: markdown - attributes: - label: "How did you install slither:" + label: "What operating system are you using?" + id: what-happened + type: textarea + validations: + required: true + - + attributes: + label: "How did you install slither?" + description: For example, using git or python's pip. id: what-happened type: textarea validations: @@ -39,7 +47,7 @@ body: label: "Output of running `slither-doctor .`:" id: logs type: textarea -description: "File a bug report" +description: "Get help troubleshooting slither installation" labels: - installation-help name: "Trouble with Installing Slither" From 28b5bcd189c95a43f9d8ad1ecff1466609908c0c Mon Sep 17 00:00:00 2001 From: alpharush <0xalpharush@protonmail.com> Date: Mon, 23 Jan 2023 15:02:09 -0600 Subject: [PATCH 3/4] quotes, unique ids --- .../trouble_with_installation.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/trouble_with_installation.yml b/.github/ISSUE_TEMPLATE/trouble_with_installation.yml index e3c96a705..a2b56336c 100644 --- a/.github/ISSUE_TEMPLATE/trouble_with_installation.yml +++ b/.github/ISSUE_TEMPLATE/trouble_with_installation.yml @@ -9,15 +9,16 @@ body: - attributes: label: "What operating system are you using?" - id: what-happened + id: os type: textarea validations: required: true - attributes: label: "How did you install slither?" - description: For example, using git or python's pip. - id: what-happened + description: | + For example, using git or python's pip. + id: install-method type: textarea validations: required: true @@ -27,17 +28,17 @@ body: label: Do you have python added to your $PATH? multiple: true options: - - Yes - - No - - Not sure + - "Yes" + - "No" + - "Not sure" - type: dropdown id: solc attributes: label: Do you have solc-select installed? multiple: true options: - - Yes - - No + - "Yes" + - "No" - attributes: description: | From 7466f89af6029cd276b1d4da98a85a8b0f894a59 Mon Sep 17 00:00:00 2001 From: alpharush <0xalpharush@protonmail.com> Date: Mon, 23 Jan 2023 15:16:09 -0600 Subject: [PATCH 4/4] move to discussions --- .../trouble_with_installation.yml | 0 .github/ISSUE_TEMPLATE/bug_report.yml | 2 ++ 2 files changed, 2 insertions(+) rename .github/{ISSUE_TEMPLATE => DISCUSSION_TEMPLATE}/trouble_with_installation.yml (100%) diff --git a/.github/ISSUE_TEMPLATE/trouble_with_installation.yml b/.github/DISCUSSION_TEMPLATE/trouble_with_installation.yml similarity index 100% rename from .github/ISSUE_TEMPLATE/trouble_with_installation.yml rename to .github/DISCUSSION_TEMPLATE/trouble_with_installation.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index e31d61512..df9dd7da2 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -4,6 +4,8 @@ body: attributes: value: | Please check the issues tab to avoid duplicates. + If you are having difficulty installing slither, + please head over to the "Discussions" page. Thanks for taking the time to fill out this bug report! type: markdown -