-
Notifications
You must be signed in to change notification settings - Fork 2.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
Remove apps that will go to market from shipped.json #27985
Conversation
Makes it possible to uninstall them.
Tested and WFM 👍 |
Thanks. Don't merge yet, there could be consequences due to the weird OCS code that rely on this flag. Needs to be evaluated |
So grepping all of these apps to show what OCS routes they might register:
|
My only concern at the moment is if apps are enhancing the notification or activity apis - looking for usages... |
AFAIK none of our apps are expecting more than a single response block. Does it make a difference is shipped is there or not ? Does it influence the order or name of the response block ? |
core/shipped.json
Outdated
"files_videoplayer", | ||
"firewall", | ||
"firstrunwizard", | ||
"gallery", | ||
"market", |
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.
Kill market as well
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.
this will allow uninstallling the market app, (P)roceed, (A)bort ?
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.
If somebody wants to....
Enhancing ? How ? |
and why |
well by latching onto the same route and altering / changing the response in some weird way
no idea |
removed "market". @tomneedham is checking whether it's really possible to extend/overwrite the endpoints in 10.0. Because from what I remember we removed this possibility a long time ago when unifying the APIs. (something about integrating with app framework I think) |
Just checked with 10.0.1 => You can still 'extend' existing routes by registering for the same route and returning data - the responses are then 'merged'. This is done using |
@tomneedham thanks. This kind of weird overriding of routes isn't officially supported. I thought we properly removed this already. Might need more work for this. This means at this point we will remove the apps anyway from shipped.json. The likeliness of someone overwriting routes like this is anyway minimal. Waiting for CI then merge |
@davitol did you test the checkboxes I posted above ? If yes, please tick |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description
Makes it possible to uninstall them.
Related Issue
#27983
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist:
I don't have full understanding of the extent of the "shipped" flag. Grepping for
isShipped
seems to show a lot of locations, even some related to API responses.@tomneedham @DeepDiver1975 @davitol