Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [che-dev] New plugin notation in Che 7 - incompatible changes

Hello again.
We've merged the PR with the described changes today, so Che nightly image should bring those changes today/tomorrow depending on your time zone.

On Fri, Apr 26, 2019 at 1:03 PM Oleksandr Garagatyi <ogaragat@xxxxxxxxxx> wrote:
Hello, all.

As part of the changing plugin naming convention (issue https://github.com/eclipse/che-plugin-registry/issues/55) we are about to do some changes in Che that are not backward compatible.
In particular, if some Che workspace or a devfile contain Che 7 plugin or editor entry it won't work after we merge PR with the changes.

It shouldn't affect current Che installations since components like plugin registry, plugin broker are updated in the Che configuration in source code.
But when you move to latest Che (with PR above merged) it will affect existing workspace. They either need to be recreated or plugin/editor entries need to be modified.

We decided to do these changes backward incompatible because it is quite hard and time consuming to do otherwise and since Che 7 is still in beta we decided to spend that time and code complexity for new features users could benefit from.

What to do to migrate:
1. To fix plugin/editor entry move from old notation 
<registryURL>/<plugin-id>:<plugin-version> (plugins are here https://github.com/eclipse/che-plugin-registry/tree/master/plugins)
to new one
<registryURL>/<plugin-publisher>/<plugin-name>/<plugin-version> (plugins are here https://github.com/eclipse/che-plugin-registry/tree/master/v2/plugins)
This is needed to be done in (if you have created those):
- Che 7 workspaces
- devfiles
- Che 7 factories
- Che 7 stacks
Note that everything that comes from Che bundle will be delivered up-to-date.
2. If you use plugins located outside of default plugin registry you'll need to update reference to them too.
3. To override RAM of a Che 7 plugin in a workspace config use (if you manually set it previously)
<plugin-publisher>/<plugin-name>
instead of 
<plugin-id>

PR that brings changes is here https://github.com/eclipse/che/pull/13204

We are very sorry for the inconvenience it can bring.
If you have any questions or want more information, do not hesitate to ping us in che-dev mailing list or file a Github issue https://github.com/eclipse/che/issues.

--

OLEKSANDR GARAGATYI

SENIOR SOFTWARE ENGINEER

Red Hat 



--

OLEKSANDR GARAGATYI

SENIOR SOFTWARE ENGINEER

Red Hat 


Back to the top