Chore: Cleanup OC\Updater and OC\Installer classes#53895
Merged
provokateurin merged 20 commits intomasterfrom Aug 19, 2025
Merged
Chore: Cleanup OC\Updater and OC\Installer classes#53895provokateurin merged 20 commits intomasterfrom
provokateurin merged 20 commits intomasterfrom
Conversation
Contributor
Author
|
The split between As
|
46a8e3a to
e77c927
Compare
fe79854 to
2ca8a18
Compare
1215976 to
1ea23cb
Compare
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
It’s not even allowed by our xsd schema. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
It has been unsupported since Nextcloud 22. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Make code closer to the one of installApp, to be able to compare them and later merge them (in the shadows). Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
30721ad to
d77a28b
Compare
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Also added a few missing deprecations Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Dash is not allowed in appid, underscore is. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Was a bit more complicated than expected because of a dependency loop, the L10N factory uses the app manager, thus the AppManager cannot depend on I10N directly or indirectly in its constructor. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Not ideal to have coupled tests like that but it’s the easiest path forward to make sure the tests still covers the same usecase and avoid code duplication. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
d77a28b to
8ccf87f
Compare
appinfo/install.php is not part of the official documentation for application development but some apps are still using such a file. Log a message to deprecate this behavior, to be able to remove support for this later. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Member
provokateurin
left a comment
There was a problem hiding this comment.
LGTM, really nice cleanup! 😍
provokateurin
approved these changes
Aug 19, 2025
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.
Summary
TODO
Replace emit with events or another systemNot in this PRChecklist