Unable to install Theia Plugins
See original GitHub issueDescription
It looks after merging the PR installing of Theia Plugins become impossible. All Theia plugins configured in workspace config are handled as VS Code extensions and downloaded in /plugins
directory with wrong extension.
Screenshot below displays logs of plugin broker while installing the plugins
A plugin eclipse-che/tree-view-sample-plugin/0.0.1
is a Theia plugin temporary stored on github in https://raw.githubusercontent.com/vitaliy-guliy/che-theia-plugin-registry/master/plugins/eclipse-che/tree-view-sample-plugin/0.0.1/meta.yaml
I opened terminal for theia-ide
container and listed /plugins
directory
Blocks https://github.com/eclipse/che/issues/12905
Reproduction Steps
-
Install che-omnisharp-plugin plugin got from plugin registry by adding
redhat-developer/che-omnisharp-plugin/0.0.1
to workspace configuration -
install custom tree-view-sample-plugin plugin built from che-theia-samples by adding
https://raw.githubusercontent.com/vitaliy-guliy/che-theia-plugin-registry/master/plugins/eclipse-che/tree-view-sample-plugin/0.0.1
to workspace configuratoin
OS and version:
Diagnostics:
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (9 by maintainers)
Top GitHub Comments
@makandre Yes, the “magically” part is the versioning for the plugin broker.
On Che, you are likely using plugin broker
v0.17
, which automatically takes bugfix releases – I just releasedv0.17.2
including David’s fix (which was merged a bit ago but I forgot to make a release out of it).The reason the filename in the filesystem is strange is mostly to avoid name collisions – it shouldn’t interfere with functionality. The reasoning behind it is that a single plugin could define multiple extensions, so the naming scheme is required. The reason you’re seeing
<my_theia_plugin>
twice is because for theia plugins we try to append the original filename (to keep the extension).… now magically it started to work 😃 I guess some backend processes finally kicked in?
I do still see
Downloading VS Code extension for plugin 'my-theia-plugin
tho.On the fs, the filename looks like
<my-theia-plugin>.<version>.<random-chars>.<my_theia_plugin>.theia