Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
108 changes: 35 additions & 73 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -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, …
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: true
35 changes: 20 additions & 15 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -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, …
22 changes: 12 additions & 10 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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: "/"
Expand All @@ -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:
Expand Down
26 changes: 14 additions & 12 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
# Description
## What and why

## Related Issues
<!-- What changes and why. Link the issue if there is one: Closes #123 -->

## 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?

<!-- OctoPrint version, your setup (printer, connection, OS), and what you checked. -->

## 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)
Loading