fix(updates): allow development release upgrades - #328
Conversation
Obiente previewNC Native · Obiente updates this comment as the preview changes. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6e07ab9142
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1aafb0fc3c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Outcome
Versioned development desktop builds that explicitly enable direct package updates can check their selected remote release channel and hand a strictly newer verified package to the existing system-installer flow.
The
ncDirectDesktopPackageUpdatesopt-in remains mandatory for both development and release packages, so default and distribution-managed installations remain owned by their package manager. Unversioned development runs and unsupported desktop targets remain excluded.The existing remote manifest, channel, version, URL, platform, format, architecture, size, and SHA-256 validation remains unchanged.
Closes #327
Validation
./gradlew --no-daemon :ui:desktopTest --tests dev.obiente.nextcloudnative.app.DesktopAppUpdatesTest --tests dev.obiente.nextcloudnative.app.AppUpdateChannelsTest --tests dev.obiente.nextcloudnative.app.DesktopUpdateManifestTest./gradlew --no-daemon :ui:desktopTest :ui:createDistributablebash tools/check-repository.shLocal distributable validation was performed on Linux. Hosted CI provides the Windows build and packaging check.