che icon indicating copy to clipboard operation
che copied to clipboard

Create offline VS Code Marketplace (airgap support for vscode as default editor in Che/Dev Spaces)

Open benoitf opened this issue 4 years ago • 4 comments
trafficstars

(was: Check if che plug-in registry could provide the VS Code marketplace API)

Is your task related to a problem? Please describe

For offline/airgap mode, we will need a private registry to provide vsix files. OpenVSX requires a database + elasticsearch (and oAuth is only github)

So we should check if we can propose basic API on top of existing plug-in registry to provide these offline features if people don't need a '3-tier service' for that purpose.

Describe the solution you'd like

Layer providing queries/download of VSIX files

Describe alternatives you've considered

Allow to set by preferences of the user the registry to use (like Eclipse OpenVSX instance, in-house OpenVSX, etc.)

Additional context

  • [x] https://github.com/eclipse/che/issues/21598
  • [x] https://github.com/eclipse/che/issues/21611
  • [x] https://github.com/eclipse/che/issues/21600
  • [x] https://github.com/eclipse-che/che-plugin-registry/pull/1324
  • [x] https://github.com/eclipse/che/issues/21601
  • [x] https://github.com/che-incubator/che-code/pull/85
  • [ ] https://github.com/eclipse/openvsx/pull/499
  • [x] https://github.com/eclipse-che/che-operator/pull/1464
  • [x] https://github.com/eclipse/che/issues/21620
  • [x] https://github.com/eclipse/che/issues/21654
  • [x] https://github.com/eclipse/che/issues/21662

benoitf avatar Sep 28 '21 11:09 benoitf

Wouldn't it make more sense to improve the upstream open-vsx code base to make it more modular? It would allow other open-vsx clients to benefit, as well.

tsmaeder avatar Sep 29 '21 08:09 tsmaeder

yes the first path is to try to enhance OpenVSX (and there are already some PRs to support this light mode)

benoitf avatar Oct 12 '21 13:10 benoitf

Issues go stale after 180 days of inactivity. lifecycle/stale issues rot after an additional 7 days of inactivity and eventually close.

Mark the issue as fresh with /remove-lifecycle stale in a new comment.

If this issue is safe to close now please do so.

Moderators: Add lifecycle/frozen label to avoid stale mode.

che-bot avatar Apr 10 '22 00:04 che-bot

Upstream issues in openvsx that may block this creation of an offline VS Code Marketplace server instance (subject to expert review/opinion!), usable in downstream (RH OS Dev Spaces) include:

  • https://github.com/eclipse/openvsx/issues/229
  • https://github.com/eclipse/openvsx/issues/263
  • https://github.com/eclipse/openvsx/issues/314
  • https://github.com/eclipse/openvsx/issues/37
  • https://github.com/eclipse/openvsx/issues/341#issuecomment-943534198 (if we want to differentiate by license type to better filter out non-free and depends-on-non-free ("contrib") stuff)

nickboldt avatar Jun 29 '22 12:06 nickboldt

sync'd to Red Hat JIRA https://issues.redhat.com/browse/CRW-3378

devstudio-release avatar Sep 22 '22 23:09 devstudio-release