Skip to content

Add configurable skip level for minor updates#5113

Merged
Gabriel Dufresne (GabrielDuf) merged 1 commit into
mainfrom
feature/skip-minor-update-level
Jul 16, 2026
Merged

Add configurable skip level for minor updates#5113
Gabriel Dufresne (GabrielDuf) merged 1 commit into
mainfrom
feature/skip-minor-update-level

Conversation

@GabrielDuf

Copy link
Copy Markdown
Contributor

This pull request introduces a more flexible way to skip minor updates for packages by allowing users to specify which version-number component (minor, patch, or remainder) counts as a "minor" update. This is reflected in both the UI and backend logic, so users can fine-tune update-skipping behavior. The changes also include updates to the interface, serialization, and tests to support this new feature.

Skip minor updates: configurable level

  • UI changes:

    • The install options dialog now lets users choose after which version-number component ("minor", "patch", or "remainder") updates should be ignored, using a new ComboBox and supporting labels (InstallOptionsControl.axaml, InstallOptionsViewModel.cs, lang_en.json).
  • Backend logic:

    • The InstallOptions class now tracks the skip-minor level and provides a default and validation.
    • The IPackage interface and implementations now accept a level parameter for determining if an update is minor, and the logic for this is refactored for clarity and flexibility.
  • Update evaluation:

    • The package loader now respects the configured skip-minor level when deciding whether to skip updates, and logs the skip level for clarity.
  • Tests:

    • A new test verifies that updates are skipped or not according to the configured skip-minor level, ensuring correct behavior.

@GabrielDuf
Gabriel Dufresne (GabrielDuf) merged commit ce4f25c into main Jul 16, 2026
6 checks passed
@GabrielDuf
Gabriel Dufresne (GabrielDuf) deleted the feature/skip-minor-update-level branch July 16, 2026 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

[IMPROVEMENT] More fine grained setting for skipping minor updates

2 participants