Repository navigation
Add \OC\App\Manager to handle enabling/disabling apps - #12031
Conversation
|
Do we also need If I understand well this PR is only the public layer for it ? |
"Yes, but not in this PR" for both, for |
|
🚀 Test PASSed. 🚀 |
There was a problem hiding this comment.
Should we still call it IAppsManager ?
I'm worried that we'll have a thousand IManager classes all over the place but with different namespaces... easy to be confused or trigger unwanted frustration.
There was a problem hiding this comment.
Was wondering the same while making it originally, will rename
|
Can you raise an issue or WIP PR for the second part ? (replacing OC_App and the duplicate code) I just want to make sure it doesn't get forgotten. 😄 |
There was a problem hiding this comment.
This duplicates the logic from OC_App::getEnabledApps(), expecting this to disappear in your follow up PR.
There was a problem hiding this comment.
Yes OC_App::getEnabledApps() will reuse the logic from here
|
Code looks good, just a bit worried about all the different cases we had to cover, like:
Kudos for the thorough unit tests. |
3359e85 to
43eb375
Compare
|
The inspection completed: 23 new issues, 28 updated code elements |
|
🚀 Test PASSed. 🚀 |
|
Please raise a ticket for the next task, then this is good to go. Someone else to review ? @th3fallen @LukasReschke |
|
I will review this later. Currently busy with another task. |
|
looks good to me 👍 |
|
Raised #12230 to keep track of the overall progress, counting
As a 👍, merging |
Add \OC\App\Manager to handle enabling/disabling apps
|
Thanks for the ticket, nice overview! |
Add a proper public interface for enabling/disabling apps.
I would like to expend this in the future and refactor all off
OC_Appin a proper public interface later.cc @DeepDiver1975 @PVince81