From 2b8f1d7340909ba30252f5eda3d8025806ae79c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 29 Apr 2021 10:45:10 +0200 Subject: [PATCH 1/2] =?UTF-8?q?Revert=20"=F0=9F=91=B7=20Roll=20back=20to?= =?UTF-8?q?=20issue=20template=20(temporarily)"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 1a251c94 --- .github/ISSUE_TEMPLATE/bug_report.md | 114 --------------------- .github/ISSUE_TEMPLATE/bug_report.yml | 133 +++++++++++++++++++++++++ .github/workflows/issue_automation.yml | 8 +- 3 files changed, 137 insertions(+), 118 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 07d8c6d37..000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,114 +0,0 @@ ---- -name: 🐛 Report a bug -about: Create a bug report to help improve OctoPrint ---- - - - -#### What were you doing? - - - -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - - - -#### What did you expect to happen? - -#### What happened instead? - -#### Did the same happen when running OctoPrint in safe mode? - - - -#### Version of OctoPrint - - - -#### Printer model & used firmware incl. version - - - -#### Browser and version of browser, operating system running browser - - - -#### System Info Bundle - - - -#### Link to contents of Javascript console in the browser - - - -#### Screenshot(s)/video(s) showing the problem: - - - -I have read the FAQ. diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 000000000..fa873c9c1 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,133 @@ +name: 🐛 Report a bug +description: Create a bug report to help improve OctoPrint +body: + - type: markdown + attributes: + value: > + **Thank you for wanting to report a bug in OctoPrint!** + + + If this is the first time you are doing this, please take a few moments to read + through the [Contribution Guidelines](https://github.com/OctoPrint/OctoPrint/blob/master/CONTRIBUTING.md). + Also check out [the FAQ](https://faq.octoprint.org) if your + problem is maybe already covered there. + + + You are about to report a bug in **OctoPrint**. Do not proceed if your issues + occurs with OctoPi, any third party OctoPrint plugins, unofficial or outdated + OctoPrint versions. If you are unsure of the difference between OctoPrint and + OctoPi, [read this FAQ entry](https://faq.octoprint.org/octoprint-vs-octopi). + + + Do also not seek support here ("I need help with ...", "I have a + question ...", "Can someone walk me through ..."), that belongs into the + [community forum at community.octoprint.org](https://community.octoprint.org) or on the [Discord server](https://discord.octoprint.org). + + + And finally, make sure any bug you want to report is still present with the **current** + OctoPrint version and that it does not vanish when you start OctoPrint + in [safe mode](https://docs.octoprint.org/en/master/features/safemode.html) either. + + + Thank you for your collaboration! + - type: textarea + attributes: + label: The problem + description: >- + Describe the issue you are experiencing here. Tell us what you were trying to do + step by step, and what happened that you did not expect. + + Provide a clear and concise description of what the problem is and include as many + details as possible. + placeholder: | + 1. ... + 2. ... + 3. ... + validations: + required: true + - type: dropdown + attributes: + label: Did the issue persist even in safe mode? + description: >- + Testing in safe mode is required to make sure the issue you are reporting is not + caused by a third party plugin. Please see [here](https://docs.octoprint.org/en/master/features/safemode.html) + on how to run OctoPrint in safe mode. + options: + - Yes, it did persist + - No, it did not persist (it's an issue with one of your installed plugins, don't report here) + - I cannot test this issue in safe mode (state why below) + validations: + required: true + - type: input + attributes: + label: If you could not test in safe mode, please state why + description: >- + Issues caused by a third party plugin are a major cause of bugs reported here, so we really need to + rule out that a plugin is at fault here. [Safe mode](https://docs.octoprint.org/en/master/features/safemode.html) is an easy way to do that. Only skip safe mode + if your particular problem *absolutely requires* third party plugins to be enabled. "It would take + too long" is **not** a reason to skip testing in safe mode, neither is "I do not know how to + enable it" as you can find info on that [here](https://docs.octoprint.org/en/master/features/safemode.html). + + If you really *cannot* test in safe mode, leave a short explanation as to why. + - type: markdown + attributes: + value: | + ## Environment + - type: input + attributes: + label: Version of OctoPrint + description: Can be found in the lower left corner of the web interface. + validations: + required: true + - type: input + attributes: + label: Operating system running OctoPrint + description: >- + OctoPi, Linux, Windows, MacOS, something else? With version please? OctoPi's + version can be found in `/etc/octopi_version` or in the lower left corner of the + web interface. + validations: + required: true + - type: input + attributes: + label: Printer model & used firmware incl. version + description: If applicable, always include if unsure + - type: input + attributes: + label: Browser and version of browser, operating system running browser + description: If applicable, always include if unsure + - type: markdown + attributes: + value: | + ## Logs and other files needed for analysis + - type: markdown + attributes: + value: >- + Please also be sure to upload the following files below: + + * `octoprint.log`: See [here](https://community.octoprint.org/t/where-can-i-find-octoprints-and-octopis-log-files/299) if you don't know where to find that. Just attach down below as-is. + * `serial.log` or the contents of your terminal tab, if applicable. Always + include if unsure. **Please note that you need to enable `serial.log` first**, + see [here](https://community.octoprint.org/t/where-can-i-find-octoprints-and-octopis-log-files/299) if you don't know how to do or where to find it. Just attach down below as-is. + * Your browser's JavaScript console, if you are reporting a problem with the + user interface. See [here](https://webmasters.stackexchange.com/questions/8525/how-to-open-the-javascript-console-in-different-browsers) on where to find that. + * If possible, screenshots or videos showing the problem, especially if you + are reporting a problem with the user interface! + * GCODE files with which to reproduce, if you are reporting an issue with + GCODE file analysis or printing behaviour. + + Please be aware that unless at least `octoprint.log` is included, your bug report + will not be processed. + - type: checkboxes + attributes: + label: Checklist of files to include below + options: + - label: octoprint.log + required: true + - label: serial.log or contents of your terminal tab (always include in cases of issues with printer communication) + - label: Contents of the JavaScript browser console (always include in cases of issues with the user interface) + - label: Screenshots and/or videos showing the problem (always include in case of issues with the user interface) + - label: GCODE file with which to reproduce (always include in case of issues with GCODE analysis or printing behaviour) + - type: textarea + attributes: + label: Additional information & file uploads diff --git a/.github/workflows/issue_automation.yml b/.github/workflows/issue_automation.yml index 0ba8b6f44..fb59a7d97 100644 --- a/.github/workflows/issue_automation.yml +++ b/.github/workflows/issue_automation.yml @@ -63,7 +63,7 @@ jobs: }) } - - uses: OctoPrint/actions/issue-validation@main - if: github.event_name == 'issues' && (github.event.action == 'opened' || github.event.action == 'edited') - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} + #- uses: OctoPrint/actions/issue-validation@main + # if: github.event_name == 'issues' && (github.event.action == 'opened' || github.event.action == 'edited') + # with: + # repo-token: ${{ secrets.GITHUB_TOKEN }} From 25abe0562d458c03d8b2217ab990d044aa7ca555 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 29 Apr 2021 12:32:33 +0200 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=91=B7=20Switch=20issue=20form=20to?= =?UTF-8?q?=20system=20info=20bundles?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/ISSUE_TEMPLATE/bug_report.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index fa873c9c1..7b78ced9a 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -105,10 +105,8 @@ body: value: >- Please also be sure to upload the following files below: - * `octoprint.log`: See [here](https://community.octoprint.org/t/where-can-i-find-octoprints-and-octopis-log-files/299) if you don't know where to find that. Just attach down below as-is. - * `serial.log` or the contents of your terminal tab, if applicable. Always - include if unsure. **Please note that you need to enable `serial.log` first**, - see [here](https://community.octoprint.org/t/where-can-i-find-octoprints-and-octopis-log-files/299) if you don't know how to do or where to find it. Just attach down below as-is. + * Systeminfo Bundle: See [here](https://community.octoprint.org/t/what-is-a-systeminfo-bundle-and-how-can-i-obtain-one/29887) if you don't know where to find that. Just attach down below as-is. Note that you'll need at least OctoPrint 1.6.0 for this to be available - we no longer accept bug reports created for older versions than this. + * If you are reporting an issue that involves communicating with you printer, **be sure to enable `serial.log` before reproducing and creating the Systeminfo Bundle**! * Your browser's JavaScript console, if you are reporting a problem with the user interface. See [here](https://webmasters.stackexchange.com/questions/8525/how-to-open-the-javascript-console-in-different-browsers) on where to find that. * If possible, screenshots or videos showing the problem, especially if you @@ -116,15 +114,14 @@ body: * GCODE files with which to reproduce, if you are reporting an issue with GCODE file analysis or printing behaviour. - Please be aware that unless at least `octoprint.log` is included, your bug report - will not be processed. + Please be aware that unless at least Systeminfo Bundle is included, your bug report + will not be processed and closed after a while. - type: checkboxes attributes: label: Checklist of files to include below options: - - label: octoprint.log + - label: Systeminfo Bundle (always include!) required: true - - label: serial.log or contents of your terminal tab (always include in cases of issues with printer communication) - label: Contents of the JavaScript browser console (always include in cases of issues with the user interface) - label: Screenshots and/or videos showing the problem (always include in case of issues with the user interface) - label: GCODE file with which to reproduce (always include in case of issues with GCODE analysis or printing behaviour)