Skip to content
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

Initial Plugin registry #9868

Closed
slemeur opened this issue May 30, 2018 · 8 comments
Closed

Initial Plugin registry #9868

slemeur opened this issue May 30, 2018 · 8 comments

Comments

@slemeur
Copy link
Contributor

slemeur commented May 30, 2018

Description

In order to allow the work of other teams on the plugin model, we should be setting up an initial plugin registry which could be use to host the different plugins and serve them when a workspace is getting initialiazed.

At this moment, what's required would only be the ability to:

  • host plugins (the .cfa which should probably better be named .che)
  • an api to retrieve the list of plugins with their ID and URL
  • should also allow plain Theia extensions
@skabashnyuk
Copy link
Contributor

skabashnyuk commented May 30, 2018

How these plugins are connected with Phase 1 of Workspace.Next implementation #9406? How they are related to Services, Features.

Are this is all about standalone Theia and has no relation to Che or containers?
There are already methods to get plugins. https://github.com/skabashnyuk/kubsrv/blob/master/README.md#how-to-use
What parts are we missing?

@benoitf
Copy link
Contributor

benoitf commented May 31, 2018

hello, quick question @skabashnyuk

"parameters": [
            {
              "name": "THEIA_PLUGINS",
              "value": "eclipse-che-ssh-extension.tar.gz"
            }
          ]
"parameters": [
            {
              "name": "THEIA_PLUGINS",
              "value": "che-theia-github.tar.gz"
            }

how do we download these .tar.gz file ?

@benoitf
Copy link
Contributor

benoitf commented May 31, 2018

also, how do I upload pure theia plugins ? (no che feature archive) as marketplace should be able to handle both

@skabashnyuk
Copy link
Contributor

@benoitf that is a good question. I'll try to find some options for the next Ws.Next meeting.
Is there anything else that you want to clarify?

@slemeur
Copy link
Contributor Author

slemeur commented May 31, 2018

@skabashnyuk : If you can manage to provide the URL to download the plugins that would allow other team to move forward.

@benoitf
Copy link
Contributor

benoitf commented May 31, 2018

@skabashnyuk
I can describe the usecases if it may help

  1. : Deploy "on the fly" a Che plugin from the registry from a running che instance.
    note: this che plugin has no workspace configuration (like a LSP to declare, etc) so there is no requirement to "stop/update workspace-config/start" a workspace
    details:

    • allow to list plugins from the IDE itself (or UD) and be able to install/uninstall plugins.
      --> Theia IDE can interact with registry, list and install plugins that are not impacting workspace configuration
      It requires to get URLs of each .theia plugin (or external links) embedded in the original che feature archive
  2. Boot a workspace with a specified set of che plugins
    In the workspace configuration, THEIA_PLUGINS env var is provided, with the URLs to grab the .theia files.
    --> Theia, on startup, will analyze THEIA_PLUGINS, download the specified .theia files or external links/ids (if not already in a local cache for example) and install them when booting the IDE

  3. Deploy a .theia file plugin from a running instance of Theia.
    allow to filter the type of plugins to only see theiaplugins

@skabashnyuk
Copy link
Contributor

@benoitf here #9895 (comment) I've tried to adjust my vision to your thoughts.

@skabashnyuk
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants