-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
on installation save channel to config.php if not stable #34136
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
another alternative would be to make the updater also read the channel from version.php, I believe this information is already read anyway ?
(did not approve because I do not understand it…) |
as said in my opening ^:
|
0fc5d7d
to
355a483
Compare
The updater defaults to the "stable" channel, if none is set otherwise: https://github.com/nextcloud/updater/blob/master/lib/Updater.php#L123-L125 Now when you install the beta, and a new beta release is available, Nextcloud will notify you about it, but the updater would tell you that there is not update available for beta are only available on beta channel. |
I don't know how to make psalm shut up. |
|
/rebase |
- the default channel to the NC server is what is provided in /version.php unless it is overridden in config.php - the default channel to the NC Updater however is 'stable' - this resultant in inconsistent results and confusing admin experience - therefore "stable" is considered default and other channels are being written to config.php now upon installation Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
355a483
to
403923d
Compare
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
8819dfc
to
2ef9826
Compare
/backport to stable25 |
/backport to stable24 |
/backport to stable23 |
This seems to be more straight forward than to maintaining the same strategy of determining a default on the Updater (and forgetting about it).
Fixes nextcloud/updater#436