Aart van Baren
Aart van Baren
@ibuziuk I think it might be better to move the openshift directory to a separate repo. I'm happy to add a link to it in the wiki: https://github.com/eclipse/openvsx/wiki/Deploying-Open-VSX
@ibuziuk Yes, those configurations are directly related to running the Open VSX registry (Azure blob storage, Google cloud storage, Github authentication). While running Open VSX on OpenShift is one of...
@ibuziuk The proposed changes in `README.md` and `development.md` are ok, but I think it might be better to move the `openshift` directory to the Eclipse Che repo or a new...
Some context: https://github.com/eclipse/openvsx/issues/432 I've deployed a proof of concept to staging where resource files are extracted from the vsix package on the fly. The response to the initial request is...
> Where are these calls coming from and why is the info returned by our API insufficient? These calls are coming from VS Code based editors. The info returned by...
> Once an extension is installed, an editor presumably has all the files. Yes, I think the desktop editor uses local files. It looks like this functionality is used by...
File endpoints - `/api/{namespace}/{extension}/{version}/file/**` - `/api/{namespace}/{extension}/{targetPlatform}/{version}/file/**` The last part of the url can be a file type (`download`, `icon`, `license`) or a file path (e.g. `extension/package.json`). Here it is pretty...
`WebConfig` is to configure extra features on top, like [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) and interceptors for mirror mode. You can find the actual endpoints defined in: [VSCodeAPI](https://github.com/eclipse/openvsx/blob/master/server/src/main/java/org/eclipse/openvsx/adapter/VSCodeAPI.java) and [RegistryAPI](https://github.com/eclipse/openvsx/blob/master/server/src/main/java/org/eclipse/openvsx/RegistryAPI.java) The `/documents` endpoint serves...
Yes, sounds right. You can further narrow down `/vscode` requests to `/vscode/asset` and `/vscode/unpkg`.
`/vscode/item` redirects to the extension page in the webui: https://github.com/eclipse/openvsx/blob/20c549ebcd1f082638a4cd493413f9a527ab8f94/server/src/main/java/org/eclipse/openvsx/adapter/LocalVSCodeService.java#L354 `/vscode/gallery/publishers/**` returns a link to a vsix package. You could include it, but extension downloads are pretty non-negotiable. https://github.com/eclipse/openvsx/blob/20c549ebcd1f082638a4cd493413f9a527ab8f94/server/src/main/java/org/eclipse/openvsx/adapter/LocalVSCodeService.java#L380