-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
[stable9] Move OC_Channel to system config #227
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
Conversation
|
Usage can be seen at nextcloud/updater#20, with that also daily builds etc. are not a problem anymore |
|
Code looks good, haven't tested yet |
|
Tested and works 👍 The version number needs to be increased to invoke the repair step, but this will be done during the release anyway ;) |
The Nextcloud and ownCloud updaters allow someone to configure a custom release channel, this can then be used to publish different versions. (e.g. one channel stays on 9.x while another one already gets 10.x) There is however one big problem with it: The value is effectively stored in the app config, which is stored in the database. So to be able to read the update channel a connection to the database is necessary. This is quite error prone and also causes some of the issues in the original ownCloud updater. This moves the channel registration to the config.php and also includes a repair step.
e7b41be to
9f7141d
Compare
|
Rebased to resolve a conflict in the config.sample.php |
|
LGTM |
|
Why is self approval working 😱 we have disabled it in LGTM 😕 |
We have no idea 😕 |
|
I have 😅 #238 @MorrisJobke |
The Nextcloud and ownCloud updaters allow someone to configure a custom release channel, this can then be used to publish different versions. (e.g. one channel stays on 9.x while another one already gets 10.x)
There is however one big problem with it: The value is effectively stored in the app config, which is stored in the database. So to be able to read the update channel a connection to the database is necessary. This is quite error prone and also causes some of the issues in the original ownCloud updater.
This moves the channel registration to the config.php and also includes a repair step.
@MorrisJobke Mind taking a look?