From 417b33d9fe23f97fe3e532c71f011513e21856ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Fri, 22 Jan 2021 18:12:14 +0100 Subject: [PATCH 01/13] =?UTF-8?q?=F0=9F=91=B7=20Remove=20bundle=20linkifie?= =?UTF-8?q?r?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit That is still buggy when no links are contained. --- .github/workflows/linkify_bundles.yml | 47 --------------------------- 1 file changed, 47 deletions(-) delete mode 100644 .github/workflows/linkify_bundles.yml diff --git a/.github/workflows/linkify_bundles.yml b/.github/workflows/linkify_bundles.yml deleted file mode 100644 index 3c36edfb2..000000000 --- a/.github/workflows/linkify_bundles.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: "Linkify systeminfo bundles" -on: - issue_comment: - types: [created, edited] - -jobs: - linkifyBundles: - runs-on: ubuntu-latest - steps: - - uses: actions/github-script@v2 - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - script: | - let comment = context.payload.comment.body; - - const botMarker = ""; - const botWasHere = comment.indexOf(botMarker); - if (botWasHere !== -1) { - comment = comment.substring(0, botWasHere); - }; - - const bundleRegex = /\[(octoprint-systeminfo-\d{14}\.zip)\]\(([^)]+)\)/g; - - const bundles = []; - const seen = []; - const matches = comment.matchAll(bundleRegex); - for (const match of matches) { - if (!seen.includes(match[1])) { - bundles.push({filename: match[1], link: match[2], match: match[0]}); - seen.push(match[1]); - } - }; - - if (bundles) { - let text = comment + botMarker + "\n\n---\n\n\nBundles:\n\n"; - bundles.forEach((bundle) => { - text += " * [" + bundle.filename + "](https://bundleviewer.octoprint.org/?url=" + encodeURIComponent(bundle.link) + ")\n" - }); - text += "\n*edited by @github-actions to add bundle viewer links*\n"; - - github.issues.updateComment({ - owner: context.repo.owner, - repo: context.repo.repo, - comment_id: context.payload.comment.id, - body: text - }); - } From 6b516201ca2907e18803118b13522da29b53e780 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Fri, 22 Jan 2021 18:18:08 +0100 Subject: [PATCH 02/13] =?UTF-8?q?=F0=9F=91=B7=20Re-add=20bundle=20linkifie?= =?UTF-8?q?r?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Now it should hopefully detect "no bundles" correctly. --- .github/workflows/linkify_bundles.yml | 54 +++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 .github/workflows/linkify_bundles.yml diff --git a/.github/workflows/linkify_bundles.yml b/.github/workflows/linkify_bundles.yml new file mode 100644 index 000000000..9e0553891 --- /dev/null +++ b/.github/workflows/linkify_bundles.yml @@ -0,0 +1,54 @@ +name: "Linkify systeminfo bundles" +on: + issue_comment: + types: [created, edited] + +jobs: + linkifyBundles: + runs-on: ubuntu-latest + steps: + - uses: actions/github-script@v2 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + script: | + let comment = context.payload.comment.body; + + const botMarker = ""; + const botWasHere = comment.indexOf(botMarker); + if (botWasHere !== -1) { + comment = comment.substring(0, botWasHere); + }; + + const bundleRegex = /\[(octoprint-systeminfo-\d{14}\.zip)\]\(([^)]+)\)/g; + + const bundles = []; + const seen = []; + const matches = comment.matchAll(bundleRegex); + for (const match of matches) { + if (!seen.includes(match[1])) { + bundles.push({filename: match[1], link: match[2], match: match[0]}); + seen.push(match[1]); + } + }; + + if (bundles.length > 0) { + let text = comment + botMarker + "\n\n---\n\n\nBundles:\n\n"; + bundles.forEach((bundle) => { + text += " * [" + bundle.filename + "](https://bundleviewer.octoprint.org/?url=" + encodeURIComponent(bundle.link) + ")\n" + }); + text += "\n*edited by @github-actions to add bundle viewer links*\n"; + + github.issues.updateComment({ + owner: context.repo.owner, + repo: context.repo.repo, + comment_id: context.payload.comment.id, + body: text + }); + } else if (botWasHere !== -1) { + github.issues.updateComment({ + owner: context.repo.owner, + repo: context.repo.repo, + comment_id: context.payload.comment.id, + body: comment + }); + } From 127becc3df2221d1822914d9545683bf4f5c3bfb Mon Sep 17 00:00:00 2001 From: Danny Willems Date: Mon, 25 Jan 2021 00:33:43 +0100 Subject: [PATCH 03/13] Doc: additional information for building the docs --- docs/development/environment.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/development/environment.rst b/docs/development/environment.rst index 964169d9c..f53227f03 100644 --- a/docs/development/environment.rst +++ b/docs/development/environment.rst @@ -75,10 +75,11 @@ the *Python 3* environment and install the docs dependencies as well: * ``source venv3/bin/activate`` (Linux, macOS) or ``source venv3/Scripts/activate`` (Git Bash under Windows, see below) * ``pip install -e .[develop,plugins,docs]`` -You can then build the documentation: +Go to the directory `docs` and you can then build the documentation: * ``sphinx-build -b html . _build`` +The documentation will be available in the newly created ``_build`` directory. You can simply browse it locally by opening ``index.html`` .. _sec-development-environment-source-linux: Linux From b3bb9b20cd098545baf04012f5e1f6c725adc975 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 4 Feb 2021 17:47:01 +0100 Subject: [PATCH 04/13] =?UTF-8?q?=F0=9F=91=B7=20Fix=20release=20build=20tr?= =?UTF-8?q?igger?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 673ff985e..ee710bab7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,7 +3,7 @@ on: push: pull_request: release: - types: [published, prereleased] + types: [released, prereleased] workflow_dispatch: jobs: From 0ebf26d0a3b6a02026ae07658b6d37a9bf716ce1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 4 Feb 2021 17:49:50 +0100 Subject: [PATCH 05/13] =?UTF-8?q?=F0=9F=93=9D=20Fix=20SWU=20config=20docs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/bundledplugins/softwareupdate.rst | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/docs/bundledplugins/softwareupdate.rst b/docs/bundledplugins/softwareupdate.rst index f18a3807b..492dfbd4e 100644 --- a/docs/bundledplugins/softwareupdate.rst +++ b/docs/bundledplugins/softwareupdate.rst @@ -199,7 +199,7 @@ types are currently recognized: * ``prerelease_branches``: Prerelease channel definitions, optional. List of: * ``branch``: Branch associated with the channel, acts as ID * ``name``: Human readable name of the release channel - * ``committish``: List of values to check against ``target_comittish`` + * ``commitish``: List of values to check against ``target_commitish`` field in Github release data - release will only be included if the values match. Defaults to being unset, in which case the ``branch`` will be matched. @@ -207,13 +207,13 @@ types are currently recognized: * ``stable_branch``: Stable channel definition, optional. Structure: * ``branch``: Branch associated with the channel, acts as ID * ``name``: Human readable name of the release channel - * ``commitish``: List of values to check against ``target_comittish`` + * ``commitish``: List of values to check against ``target_commitish`` field in Github release data - release will only be included if the values match. Defaults to being unset, in which case the ``branch`` will be matched. .. versionadded:: 1.2.16 * ``prerelease_channel``: Release channel to limit updates to. If set only - those releases will be included if their ``target_comittish`` matches + those releases will be included if their ``target_commitish`` matches the ones associated with the release channel identified by this, either included in ``prerelease_channels`` or the ``stable_channel``. Only taken into account if ``prerelease`` is ``true``. @@ -445,17 +445,17 @@ but with "Stable" active: stable_branch: name: Stable branch: master - comittish: + commitish: - master prerelease_branches: - name: Maintenance RCs branch: rc/maintenance - comittish: + commitish: - rc/maintenance - master - name: Devel RCs branch: rc/devel - comittish: + commitish: - rc/devel - rc/maintenance - master @@ -463,6 +463,8 @@ but with "Stable" active: And now with "Maintenance RCs" active (note the ``prerelease`` and ``prerelease_channel`` settings): +.. code-block:: yaml + plugins: softwareupdate: checks: @@ -473,17 +475,17 @@ And now with "Maintenance RCs" active (note the ``prerelease`` and ``prerelease_ stable_branch: name: Stable branch: master - comittish: + commitish: - master prerelease_branches: - name: Maintenance RCs branch: rc/maintenance - comittish: + commitish: - rc/maintenance - master - name: Devel RCs branch: rc/devel - comittish: + commitish: - rc/devel - rc/maintenance - master From 38fff3aa8776d2fae68164eda0629cf1e3e5b1fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 4 Feb 2021 18:55:12 +0100 Subject: [PATCH 06/13] =?UTF-8?q?=F0=9F=9A=B8=20Improve=20bug=20reporting?= =?UTF-8?q?=20process?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/ISSUE_TEMPLATE/bug_report.md | 135 -------------------------- .github/ISSUE_TEMPLATE/bug_report.yml | 125 ++++++++++++++++++++++++ 2 files changed, 125 insertions(+), 135 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 0f76418a2..000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,135 +0,0 @@ ---- -name: Bug report -about: Create a 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 - - - -#### Operating System running OctoPrint - - - -#### Printer model & used firmware incl. version - - - -#### Browser and version of browser, operating system running browser - - - -#### Link to octoprint.log - - - -#### Link to contents of terminal tab or serial.log - - - -#### 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..5e9bf21bb --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,125 @@ +name: Bug report +about: Create a report to help improve OctoPrint +title: "" +issue_body: true +inputs: + - type: description + 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][cg]. Also check out [the FAQ][faq] 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][ovo]. + + 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][forum] or on the [Discord server][discord]. + + 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][safe] either. + + Thank you for your collaboration! + + [cg]: https://github.com/OctoPrint/OctoPrint/blob/master/CONTRIBUTING.md + [faq]: https://faq.octoprint.org + [ovo]: https://faq.octoprint.org/octoprint-vs-octopi + [forum]: https://community.octoprint.org + [discord]: https://discord.octoprint.org + [safe]: https://docs.octoprint.org/en/master/features/safemode.html + - type: textarea + attributes: + label: The problem + required: true + 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. ... + - 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][safe] on how to run OctoPrint in + safe mode. + + [safe]: https://docs.octoprint.org/en/master/features/safemode.html + choices: + - Yes + - No + - I cannot test in safe mode (state why below) + - type: description + attributes: + value: | + ## Environment + - type: input + attributes: + label: Version of OctoPrint + description: Can be found in the lower left corner of the web interface. + 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. + 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: description + attributes: + value: | + ## Logs and other files needed for analysis + - type: description + attributes: + value: >- + Please also be sure to upload the following files below: + + * `octoprint.log`: See [here][logs] if you don't know where to find that. + * `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][logs] if you don't know how to do or where to find it. + * Your browser's JavaScript console, if you are reporting a problem with the + user interface. See [here][logs] 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. + + [logs]: https://community.octoprint.org/t/where-can-i-find-octoprints-and-octopis-log-files/299 + - type: checkboxes + attributes: + label: Checklist of files to include below + choices: + - 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: description + attributes: + value: | + ## Additional information & file uploads From b7a8670ffd3d8b073dbdeff24303eff9b4f52722 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 4 Feb 2021 18:59:20 +0100 Subject: [PATCH 07/13] =?UTF-8?q?=F0=9F=9A=B8=20Fix=20some=20issues=20with?= =?UTF-8?q?=20the=20bug=20report=20template?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also disable issue validator --- .github/ISSUE_TEMPLATE/bug_report.yml | 30 +++++++++----------------- .github/workflows/issue_automation.yml | 8 +++---- 2 files changed, 14 insertions(+), 24 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 5e9bf21bb..5776d3927 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -9,30 +9,24 @@ inputs: **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][cg]. Also check out [the FAQ][faq] if your + 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][ovo]. + 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][forum] or on the [Discord server][discord]. + [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][safe] either. + in [safe mode](https://docs.octoprint.org/en/master/features/safemode.html) either. Thank you for your collaboration! - - [cg]: https://github.com/OctoPrint/OctoPrint/blob/master/CONTRIBUTING.md - [faq]: https://faq.octoprint.org - [ovo]: https://faq.octoprint.org/octoprint-vs-octopi - [forum]: https://community.octoprint.org - [discord]: https://discord.octoprint.org - [safe]: https://docs.octoprint.org/en/master/features/safemode.html - type: textarea attributes: label: The problem @@ -52,10 +46,8 @@ inputs: 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][safe] on how to run OctoPrint in - safe mode. - - [safe]: https://docs.octoprint.org/en/master/features/safemode.html + 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. choices: - Yes - No @@ -94,12 +86,12 @@ inputs: value: >- Please also be sure to upload the following files below: - * `octoprint.log`: See [here][logs] if you don't know where to find that. + * `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. * `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][logs] if you don't know how to do or where to find it. + 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. * Your browser's JavaScript console, if you are reporting a problem with the - user interface. See [here][logs] on where to find that. + 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 @@ -107,8 +99,6 @@ inputs: Please be aware that unless at least `octoprint.log` is included, your bug report will not be processed. - - [logs]: https://community.octoprint.org/t/where-can-i-find-octoprints-and-octopis-log-files/299 - type: checkboxes attributes: label: Checklist of files to include below 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 1840c3d19d786a2052c1097b1151d907beeff6ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 4 Feb 2021 19:01:46 +0100 Subject: [PATCH 08/13] =?UTF-8?q?=F0=9F=9A=B8=20Safe=20mode=20answer=20is?= =?UTF-8?q?=20mandatory?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/ISSUE_TEMPLATE/bug_report.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 5776d3927..c42ca2af6 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -52,6 +52,7 @@ inputs: - Yes - No - I cannot test in safe mode (state why below) + required: true - type: description attributes: value: | From d0bc1341dd252577c994bed9c84a228e807ea74b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 4 Feb 2021 19:03:58 +0100 Subject: [PATCH 09/13] =?UTF-8?q?=F0=9F=9A=B8=20Improve=20safe=20mode=20an?= =?UTF-8?q?swers?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/ISSUE_TEMPLATE/bug_report.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index c42ca2af6..bcf13c646 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -49,8 +49,8 @@ inputs: 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. choices: - - Yes - - No + - 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 in safe mode (state why below) required: true - type: description From 5d08b5d1d8c705b5f9f2600e02d7a702fbc58d84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 4 Feb 2021 19:05:57 +0100 Subject: [PATCH 10/13] =?UTF-8?q?=F0=9F=9A=B8=20Improve=20safe=20mode=20an?= =?UTF-8?q?swers=20even=20more?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/ISSUE_TEMPLATE/bug_report.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index bcf13c646..d8be5505b 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -51,7 +51,7 @@ inputs: choices: - 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 in safe mode (state why below) + - I cannot test this issue in safe mode (state why below) required: true - type: description attributes: From 70f50c7fa4728115398c1636a4ee295289c989d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 4 Feb 2021 19:06:57 +0100 Subject: [PATCH 11/13] =?UTF-8?q?=F0=9F=9A=B8=20More=20line=20breaks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/ISSUE_TEMPLATE/bug_report.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index d8be5505b..6e56ba502 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -5,27 +5,32 @@ issue_body: true inputs: - type: description attributes: - value: >- + 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: From 2e94a7148471b9ae33f6312fec9eb7d4b14d955e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 4 Feb 2021 19:15:12 +0100 Subject: [PATCH 12/13] =?UTF-8?q?=F0=9F=9A=B8=20Adjust=20contribution=20gu?= =?UTF-8?q?idelines?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CONTRIBUTING.md | 145 +++--------------------------------------------- 1 file changed, 7 insertions(+), 138 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 68c62a498..83d301d93 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -118,7 +118,7 @@ following section *completely* and also follow the instructions in the it is the same as your's, it actually behaves the same as your's. E.g. if someone gives steps to reproduce his bug that looks like your's, reproduce the bug like that if possible, and only add a "me too" if you actually can reproduce the same - issue. Also **provide all information** as [described below](#what-should-i-include-in-a-bug-report) + issue. Also **provide all information like logs, versions, different reproduction steps** and whatever was additionally requested over the course of the ticket even if you "only" add to an existing ticket. The more information available regarding a bug, the higher the chances of reproducing and solving it. But "me too" on an actually unrelated ticket @@ -126,7 +126,7 @@ following section *completely* and also follow the instructions in the there's now also a [red herring](https://en.wikipedia.org/wiki/Red_herring) interfering - so please be very diligent here! -If in doubt about any of the above - get in touch on the [community forum](https://community.octoprint.org) +If in doubt about any of the above - get in touch on the [community forums](https://community.octoprint.org) instead of opening a ticket here. If you are actually running into a bug, we'll figure it out together there. @@ -135,143 +135,11 @@ there. First of all make sure your use **a descriptive title**. "It doesn't work" and similar unspecific complaints are NOT descriptive titles. -**Always use the following template, even if only adding a "me too" to an -existing ticket**: +Always fill out the [reporting form](https://github.com/OctoPrint/OctoPrint/issues/new?assignees=&labels=&template=bug_report.yml&title=) **completely** and include as much +information as possible. -``` - - -#### What were you doing? - - - -1. ... -2. ... -3. ... - - - -#### What did you expect to happen? - -#### What happened instead? - -#### Did the same happen when running OctoPrint in safe mode? - - - -#### Version of OctoPrint - - - -#### Operating System running OctoPrint - - - -#### Printer model & used firmware incl. version - - - -#### Browser and version of browser, operating system running browser - - - -#### Link to octoprint.log - - - -#### Link to contents of terminal tab or serial.log - - - -#### Link to contents of Javascript console in the browser - - - -#### Screenshot(s)/video(s) showing the problem: - - - -I have read the FAQ. -``` - -Copy-paste this template **completely** (or use the version that gets pre-filled -into the "new issue" form). Do not skip any lines or the bot *will* complain! Provide -all requested information or your ticket will be closed. +Provide the same kind and amount of information also when you are just adding on to an +existing ticket! ### Where can I find which version and branch I'm on? @@ -427,6 +295,7 @@ See [the corresponding chapter in the documentation](https://docs.octoprint.org/ * 2020-08-10: Update versioning scheme and PR instructions * 2020-09-23: Move branch & versioning into development docs * 2020-10-07: Introduce `pre-commit` + * 2021-02-04: Issue forms! \o/ ## Footnotes * [1] - If you are wondering why, the problem is that anything that you add From 4bc2435412f1f7a99042454822a940164cd9c5d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 4 Feb 2021 19:18:17 +0100 Subject: [PATCH 13/13] =?UTF-8?q?=F0=9F=93=9D=20Remove=20mention=20of=20bu?= =?UTF-8?q?g=20reporting=20template?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CONTRIBUTING.md | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 83d301d93..ba81eaba8 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -31,7 +31,7 @@ nothing but ticket management. - **[Read the FAQ](https://faq.octoprint.org)** - If you want to report a **bug**, [read "How to file a bug report" below](#how-to-file-a-bug-report) - and *[use the provided template](#what-should-i-include-in-a-ticket)*. + and *[use the provided form](https://github.com/OctoPrint/OctoPrint/issues/new?template=bug_report.yml)*. You do not need to do anything else with your ticket. - If you want to post a **feature request** or a **documentation request**, add `[Request]` to your issue's title (e.g. `[Request] Awesome new feature`). A question on how to run/change/setup @@ -48,15 +48,6 @@ nothing but ticket management. No matter what kind of ticket you create, never mix two or more "ticket reasons" into one ticket: One ticket per bug, request, brainstorming thread please. -> 👉 **Note** -> -> A bot is in place that monitors new tickets, automatically -> categorizes them and checks new bug reports for usage of the provided template. -> That bot will only bother you if you open a ticket that appears to be a bug (no -> `[Request]` in the title) without the complete template, and it -> will do that only to ensure that all information needed to solve the issue is -> available for the maintainers to directly start tackling that problem. - ## How to file a bug report If you encounter an issue with OctoPrint, you are welcome to @@ -135,7 +126,7 @@ there. First of all make sure your use **a descriptive title**. "It doesn't work" and similar unspecific complaints are NOT descriptive titles. -Always fill out the [reporting form](https://github.com/OctoPrint/OctoPrint/issues/new?assignees=&labels=&template=bug_report.yml&title=) **completely** and include as much +Always fill out the [reporting form](https://github.com/OctoPrint/OctoPrint/issues/new?template=bug_report.yml) **completely** and include as much information as possible. Provide the same kind and amount of information also when you are just adding on to an