aio-interface: extract Nextcloud latest-major upgrade logic to dedicated script and add UI trigger button#7988
Draft
aio-interface: extract Nextcloud latest-major upgrade logic to dedicated script and add UI trigger button#7988
Conversation
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/8cd11b09-5073-4e27-8e59-9afffaf96c1f Co-authored-by: szaimen <42591237+szaimen@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
szaimen
April 23, 2026 19:25
View session
…de method Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/88744552-9d64-4de2-9f64-5a98a5e3b200 Co-authored-by: szaimen <42591237+szaimen@users.noreply.github.com>
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/45d5228c-7834-404e-ba54-90b5c8c207c8 Co-authored-by: szaimen <42591237+szaimen@users.noreply.github.com>
szaimen
reviewed
Apr 23, 2026
Signed-off-by: Simon L. <szaimen@e.mail.de>
szaimen
reviewed
Apr 23, 2026
Signed-off-by: Simon L. <szaimen@e.mail.de>
szaimen
reviewed
Apr 23, 2026
Signed-off-by: Simon L. <szaimen@e.mail.de>
szaimen
reviewed
Apr 23, 2026
Signed-off-by: Simon L. <szaimen@e.mail.de>
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/7b977c85-9b74-4027-a536-152e49a01976 Co-authored-by: szaimen <42591237+szaimen@users.noreply.github.com>
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/d5ec921f-8629-4f6e-949a-e8f89f1eb85f Co-authored-by: szaimen <42591237+szaimen@users.noreply.github.com>
szaimen
reviewed
Apr 23, 2026
| exit 1 | ||
| fi | ||
| # shellcheck disable=SC2016 | ||
| installed_version="$(php -r 'require "/var/www/html/version.php"; echo implode(".", $OC_Version);')" |
Collaborator
There was a problem hiding this comment.
This needs to stay in the parent script
szaimen
reviewed
Apr 28, 2026
Comment on lines
+18
to
+20
| private function getLatestMajorVersion(): string { | ||
| return '33'; | ||
| } |
Collaborator
There was a problem hiding this comment.
can probably be a constant
39 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.