-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Extensions are outdated and not retrieved from Microsoft #30
Comments
I found c384dfb According to the commit message and the code setting |
@schrej keep in mind |
We can't use Microsofts official extension registry as they don't open it to the public. We'd love to open the world of extensions to all users, so we've created a system of observing and building from open-sourced GitHub repos for extensions. It isn't perfect yet, but we're working on it. Which extensions in-particular have you found to be out of date? cc: @foresthoffman |
@kylecarbs Eclipse Che's extension registry might interest you. They've been working on it and we can adapt it for Coder/VSCode OSS |
@sr229 I believe Che's extensions are written in Java, so that would require a large refactoring of the way extensions are currently handled. I think the approach we're currently taking works nicely, and allows for a very open community where the builds are pulled directly from GitHub, GitLab, etc. |
@kylecarbs Che 7 is VSCode-compatible (moved to Theia, which is VSCode-compatible), which can be adapted for Coder as well with substantial modifications. |
Can't we still download the extensions from the official registry? Or do we need to make modifications to them? |
we could but we need to learn the underlying API for it. @nhooyr |
@nhooyr They don't have a public API for us to pull from, so any web scraping would be very jank and unreliable. The added benefit of building from open source is: we can prevent versions that are failing to build from getting into the marketplace. |
I doubt their API is changing very often. I don't think it will be jank or unreliable. Right now our approach is causing outdated extensions and a divergence which is a bigger problem. |
Their TOS disallows it. |
I found a workaround for this;
|
And what if you are running it on ubuntu/debian server? |
I used X server on Windows like MobaXterm + |
It can work as a temporary solution, but it's certainly needed a more definitive way to implement extensions |
@ymmt2005 my extensions show up as disabled if I do this on ubuntu server All good or was me setting the extensions folder incorrectly |
@andreimc which extensions are showing up as disabled? |
Another (easier than settung up X server) workaround is to just install extensions locally and then copying them over to the server using SCP (or whatever) |
What immediatly comes to my mind is to make an extension that loads the marketplace into a vscode tab, and make a simple bookmarklet or browser extension that appends a button onto the extensions page / card. All it would need to do is grab the Or you could do the same thing but only append and make the extension downloadable if it links to a public repo, then you can just grab it that way. |
Closing as there isn't really a solution to this. Our marketplace seems to be improving though 🤗 |
code-server
version: 1.31.0-20 (or 1.0.0 according to it's own output)All extensions are extremely outdated. I noticed it's querying some google storage (https://storage.googleapis.com/coder-production-extensions) instead of the VS Code Marketplace.
Why not use the official one?
The text was updated successfully, but these errors were encountered: