che
che copied to clipboard
Create offline VS Code Marketplace (airgap support for vscode as default editor in Che/Dev Spaces)
(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
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.
yes the first path is to try to enhance OpenVSX (and there are already some PRs to support this light mode)
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.
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)
sync'd to Red Hat JIRA https://issues.redhat.com/browse/CRW-3378