Skip to content

Add stable and pre-release branch configuration for plugin versioning - #46

Merged
Ajimaru merged 1 commit into
devfrom
chore/release-channels
Dec 2, 2026
Merged

Ajimaru merged 1 commit into
devfrom
chore/release-channels

Conversation

@Ajimaru

@Ajimaru Ajimaru commented Dec 2, 2026 •

Copy link
Copy Markdown
Owner

Description

This pull request updates the plugin update information logic to better support pre-release and stable release channels in OctoPrint. The main improvement is the explicit separation of stable and pre-release branches, ensuring that pre-releases are only offered to users on the appropriate channel.

Update channel configuration changes:

  • Added a stable_branch key specifying the "Stable" channel, which points to the main branch for stable releases.
  • Added a prerelease_branches list with a "Pre-release" channel, which tracks both main and dev branches to provide pre-releases only to users on this channel.

Related Issues

Type of Change

  • Bugfix
  • Feature
  • Docs
  • Refactor
  • Security

Checklist

  • Description of change
  • Related issue(s)
  • Tests added / updated
  • Documentation updated

@Ajimaru Ajimaru added the chore Maintenance work with no user-facing change label Dec 2, 2026
@Ajimaru Ajimaru self-assigned this Dec 2, 2026
@coderabbitai

coderabbitai Bot commented Dec 2, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: a4144700-09a7-4123-8bfc-1d1f473ebd7c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@Ajimaru

Ajimaru commented Dec 2, 2026

Copy link
Copy Markdown
Owner Author

✅ Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
✅ Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@codacy-production

codacy-production Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

🟢 Coverage ∅ diff coverage · +0.00% coverage variation

Metric Results
Coverage variation ✅ +0.00% coverage variation (-1.00%)
Diff coverage ✅ ∅ diff coverage

View coverage diff in Codacy

Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (c7ab612) 1259 1037 82.37%
Head commit (1fa5fda) 1259 (+0) 1037 (+0) 82.37% (+0.00%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#46) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@codecov

codecov Bot commented Dec 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@Ajimaru
Ajimaru merged commit 812331f into dev Dec 2, 2026
26 checks passed
@Ajimaru
Ajimaru deleted the chore/release-channels branch December 2, 2026 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Maintenance work with no user-facing change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant