diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..7f48efa --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,71 @@ +name: Bug report +description: Something is not working as expected +labels: ["bug"] +body: + - type: markdown + attributes: + 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. + + - type: textarea + id: what-happened + attributes: + label: What happened? + description: What went wrong, and what did you expect instead? + validations: + required: true + + - type: textarea + id: steps + attributes: + label: Steps to reproduce + placeholder: | + 1. Disconnect the printer … + 2. … + 3. See error + validations: + required: true + + - type: input + id: plugin-version + attributes: + label: Plugin version + description: See *Settings* → *Plugin Manager*. + validations: + required: true + + - type: input + id: octoprint-version + attributes: + label: OctoPrint version + validations: + required: true + + - type: dropdown + id: connection + attributes: + label: Printer connection + options: + - Serial / USB + - Moonraker connector + - Bambu connector + - Other connector + - Not sure + validations: + required: true + + - type: textarea + id: logs + attributes: + label: Log output + description: | + Relevant part of `octoprint.log` (logger `octoprint.plugins.autoconnectplus`), and the + browser console for UI problems. This is inserted as code, so no backticks needed. + render: shell + + - type: textarea + id: context + attributes: + label: Anything else? + description: Printer model, connector plugin and its version, 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 new file mode 100644 index 0000000..309400c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,31 @@ +name: Feature request +description: Suggest a new feature or an improvement +labels: ["enhancement"] +body: + - type: textarea + id: problem + attributes: + 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: 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: Alternatives you considered + description: Workarounds you already tried, or other ways this could be solved. + + - type: textarea + id: context + attributes: + label: Anything else? + description: Mockups, links to other plugins or hardware, related issues, … diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 7bb50dd..e0e10a0 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,7 +1,11 @@ +# 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 directory: "/" + target-branch: dev schedule: interval: monthly open-pull-requests-limit: 5 @@ -9,27 +13,27 @@ updates: github-actions: patterns: - "*" + update-types: + - minor + - major + ignore: + - dependency-name: "*" + update-types: + - version-update:semver-patch - package-ecosystem: pip directory: "/" + target-branch: dev schedule: 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 new file mode 100644 index 0000000..e38d429 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,20 @@ +## What and why + + + +## Type of change + +- [ ] Bug fix +- [ ] New feature +- [ ] Breaking change +- [ ] Documentation +- [ ] Maintenance (refactoring, CI, dependencies) + +## How was it tested? + + + +## Checklist + +- [ ] Works on OctoPrint 1.x and 2.x (serial and connector path) +- [ ] New UI strings translated (de)