-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Che should have a mechanism to inform user on removed/deleted plugins #15327
Comments
This looks complicated for an issue that should happen seldom. It should not be a common case because in the devfile registry we always reference So an alternative approach would be:
|
|
What do we think about removing old plugins so we don't have to fetch 100s of old SHAs ? Running the write_image_digests.sh script for che plugin registry today processes 84 containers. If we remove anything older than 7.3.3, that drops to 67. Or maybe we want to use LATEST_ONLY arg in Dockerfile to only generate digests for the latest images? |
I'm 👍 on removing old versions, though I don't know that it's my decision. For only getting digests for the newest images, I'm not sure; it kind of defeats the point of using digests for everything. OTOH it would be a quicker build, so there's that. Already, latest_only should do what you mean though; if |
Yeah after submitting this I found the keep_only_latest.sh so I could use that in CRW if we want downstream. I'm just looking at not carrying along year-old unsupported garbage in upstream. |
A cull of old plugins in the plugin registry is definitely warranted. 👍 |
Issues go stale after Mark the issue as fresh with If this issue is safe to close now please do so. Moderators: Add |
Not really a problem any more since we are only keeping the latest plugin anyway. |
Is your enhancement related to a problem? Please describe.
Currently, the Che plugin registry hosts every plugin and version published since its inception. However, in the future, we may want to be able to remove plugins from later releases without obtusely breaking old workspaces (e.g. eclipse-che/che-plugin-registry#264).
Describe the solution you'd like
The plugin registry and Che server should be able to surface when a previously existing plugin has been removed from the registry. E.g. the plugin registry could, instead of responding 404 as though the plugin never existed, report info to the user with a possible path to fixing the problem. For old versions (e.g. the
rc
versions of che-theia), a message could be returned suggesting a move to a new version in their devfile. For completely deprecated plugins such asnode-debug
, it could at least explain why support was dropped.Describe alternatives you've considered
With the current approach, removal of any plugin from the registry means the potential for non-startable workspaces when updating Che.
The text was updated successfully, but these errors were encountered: