Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[che-dev] About versions of Che 7 plugins and editors

An initial discussion about Che 7 plugins versions was started onĀ https://github.com/eclipse/che/issues/12168. It's an important topic and I would like to bring it here to reach more people.

The questions are quite simple:

1. when defining the plugins of a workspace, should a user specify a particular version? no version at all? a specific range of versions (e.g. using ~ and ^ npm annotations)

- name: exec-plugin type: chePlugin id: che-machine-exec-plugin:0.0.1

2. and what about when, in a plugin definition, the maintainer of the plugin need to specify the editors compatible with the plugin (e.g. theia)? Should he specify the compatible versions of the editor as well? What about a range of versions?

editors: - id: org.eclipse.che.editor.theia:1.0.0

I think that for case 1. we should support:

- no version (defaults to latest version of plugin, that's what most of the people that try Che for the first time want)

- specific version (that's for people that look for reproducible workspaces, one of Che promises)

For 2. we should support:

- no version (the plugin is compatible with whatever version of Theia Che is using)

- a range of versions (using ~ and ^ the npm way)

Mario


Back to the top