From d9ee8092de63670fac6424124738ffb91854ce8f Mon Sep 17 00:00:00 2001 From: Ajimaru Date: Wed, 2 Dec 2026 23:05:22 +0100 Subject: [PATCH] Sync Dependabot config and issue/PR templates from dev GitHub reads dependabot.yml, the issue forms and the PR template only from the default branch, so the versions merged into dev did not take effect yet. The files are identical to dev, which keeps the next dev -> main merge conflict-free. Co-Authored-By: Claude Opus 5.5 --- .github/ISSUE_TEMPLATE/bug_report.yml | 108 +++++++-------------- .github/ISSUE_TEMPLATE/config.yml | 1 + .github/ISSUE_TEMPLATE/feature_request.yml | 35 ++++--- .github/dependabot.yml | 22 +++-- .github/pull_request_template.md | 26 ++--- 5 files changed, 82 insertions(+), 110 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/config.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 1b0fce5..49de745 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -1,96 +1,58 @@ -name: "🐛 Report a bug" -description: "Create a bug report to help improve OctoPrint-LogMonitor" +name: Bug report +description: Something is not working as expected +labels: ["bug"] body: - type: markdown attributes: - value: >- - **Thank you for wanting to report a bug in OctoPrint-LogMonitor!** - - * First, be sure you are running the [latest version of the OctoPrint-LogMonitor plugin](https://github.com/Ajimaru/OctoPrint-LogMonitor/releases). - * You will also need to [enable debugging on the plugin](https://docs.octoprint.org/en/main/configuration/logging_yaml.html). - * This may be done through the *Settings* > *OctoPrint* > *Logging* > *Logging Levels* section. - * Select the "octoprint.plugins.logmonitor" name, and make sure Level is "DEBUG". - * Save, then restart OctoPrint, which allows the developers to see debug information from the moment the plugin is loaded. - * Finally, when submitting a bug report, you **must** [include a Systeminfo Bundle](https://community.octoprint.org/t/what-is-a-systeminfo-bundle-and-how-can-i-obtain-one/29887), generated after the point the bug occurs. This allows the developers to examine the debug logs produced from your plugin installation. + value: | + Thanks for taking the time to report a bug. Please fill in the fields below — + version numbers and logs are what make a bug reproducible. - Thank you for your help! - type: textarea + id: what-happened 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. ... + label: What happened? + description: What went wrong, and what did you expect instead? validations: required: true - - type: markdown - attributes: - value: | - ## Environment - - type: input + + - type: textarea + id: steps attributes: - label: "Version of OctoPrint-LogMonitor" - description: 'Can be found in *Settings* > *Plugin Manager*, next to "OctoPrint-LogMonitor".' + label: Steps to reproduce + placeholder: | + 1. Open the Log Monitor tab … + 2. … + 3. See error validations: required: true + - type: input + id: plugin-version attributes: - label: "Version of OctoPrint" - description: "Can be found in the lower left corner of the web interface." + label: Plugin version + description: See *Settings* → *Plugin Manager*. validations: required: true + - type: input + id: octoprint-version 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. + label: OctoPrint version 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: - * 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 - 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 Systeminfo Bundle is included, your bug report - will not be processed and closed after a while. - - type: checkboxes + - type: textarea + id: logs attributes: - label: "Checklist of files to include below" - options: - - label: "Systeminfo Bundle (always include!)" - required: true - - 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)" + label: Log output + description: | + Relevant part of `octoprint.log` (logger `octoprint.plugins.logmonitor`), and the + browser console for UI problems. This is inserted as code, so no backticks needed. + render: shell + - type: textarea + id: context attributes: - label: "Additional information & file uploads" + label: Anything else? + description: Operating system, browser, the log file involved, screenshots, … diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..0086358 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: true diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index b284836..309400c 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -1,26 +1,31 @@ -name: "✨ Request a feature" -description: "Request a new feature to implement in OctoPrint-LogMonitor" -title: "[Request]" +name: Feature request +description: Suggest a new feature or an improvement +labels: ["enhancement"] body: - - type: markdown - attributes: - value: > - **Thank you for wanting to request a feature in OctoPrint-LogMonitor!** - type: textarea + id: problem attributes: - label: "Is your feature request related to a problem? Please describe." - description: 'A clear and concise description of what the problem is. Eg, "I''m always frustrated when [...]".' + label: What problem would this solve? + description: What are you trying to do that is hard or impossible today? + validations: + required: true + - type: textarea + id: solution attributes: - label: "Describe the solution you'd like" - description: "A clear and concise description of what you want to happen." + label: How should it work? + description: Your idea of the feature, from a user's point of view. validations: required: true + - type: textarea + id: alternatives attributes: - label: "Describe alternatives you've considered" - description: "A clear and concise description of any alternative solutions or features you've considered." + label: Alternatives you considered + description: Workarounds you already tried, or other ways this could be solved. + - type: textarea + id: context attributes: - label: "Additional context" - description: "Add any other context or screenshots about the feature request here." + label: Anything else? + description: Mockups, links to other plugins or hardware, related issues, … diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 0c89c95..e0e10a0 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,3 +1,6 @@ +# Dependency updates, shared by all plugin repos: once a month, one grouped pull +# request per ecosystem with minor and major updates. Patch releases are skipped; +# security fixes still arrive through Dependabot security updates. version: 2 updates: - package-ecosystem: github-actions @@ -10,6 +13,13 @@ updates: github-actions: patterns: - "*" + update-types: + - minor + - major + ignore: + - dependency-name: "*" + update-types: + - version-update:semver-patch - package-ecosystem: pip directory: "/" @@ -18,20 +28,12 @@ updates: interval: monthly open-pull-requests-limit: 5 groups: - dev-dependencies: - dependency-type: development - patterns: - - "*" - # Major bumps are deliberately not listed here: they stay individual - # PRs, since those are the ones that actually break things. - production-dependencies: - dependency-type: production + pip: patterns: - "*" update-types: - minor - # Patch bumps are ignored to keep PR volume low; security fixes still - # arrive through Dependabot security alerts, which ignore this filter. + - major ignore: - dependency-name: "*" update-types: diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 21b03f8..0d10804 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,18 +1,20 @@ -# Description +## What and why -## Related Issues + -## Type of Change +## Type of change -- [ ] Bugfix -- [ ] Feature -- [ ] Docs -- [ ] Refactor -- [ ] Security +- [ ] Bug fix +- [ ] New feature +- [ ] Breaking change +- [ ] Documentation +- [ ] Maintenance (refactoring, CI, dependencies) + +## How was it tested? + + ## Checklist -- [ ] Description of change -- [ ] Related issue(s) -- [ ] Tests added / updated -- [ ] Documentation updated +- [ ] New file access goes through the security module (path check, size limit, masking) +- [ ] New UI strings translated (de)