Skip to content

Inline Che Theia plugins and Che Editors definitions in devfile v2 #16994

@sunix

Description

@sunix

Is your enhancement related to a problem? Please describe.

At the moment, adding a cheplugin is requiring the user to have a plugin registry and point the meta.yaml to use to another external http available resource.

Describe the solution you'd like

It would be nice if we could inline the definition of a Che Theia plugin or of a Che editor in a v2 devfile (syntax details are in this other issue):

schemaVersion: 2.1.0  
metadata:  
  name: my-example  
attributes:  
  .che/che-theia-plugins.yaml: |  
    - id: redhat/java
  .vscode/extensions.json: |  
    {  
      "recommendations": [  
        "ms-vscode.vscode-github-pullrequest"  
      ]  
    }
  .che/che-editor.yaml: |  
      id: che-incubator/che-code/insiders
components:
(...)

Once we have that, we could even imagine composing new workspace by adding custom cheplugins from the dashboard: would just choose a container image and 1+ vsx extensions from openvsx marketplace

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/dashboardarea/devfile-specIssues related to Devfile v2engine/devworkspaceIssues related to Che configured to use the devworkspace controller as workspace engine.kind/enhancementA feature request - must adhere to the feature request template.lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.severity/P2Has a minor but important impact to the usage or development of the system.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions