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

Ignoring engines/vscode version #49

Open
DiefBell opened this issue Jul 5, 2021 · 3 comments
Open

Ignoring engines/vscode version #49

DiefBell opened this issue Jul 5, 2021 · 3 comments

Comments

@DiefBell
Copy link

DiefBell commented Jul 5, 2021

Private Extension Manager is showing extension versions that are incompatible with the version of VS Code it's running on. Is this a bug, or are we expected to check this ourselves when uploading extensions to our NPM registry?

This was observed on VS Code 1.56.2, finding GitLens 11.2.1 (wants vscode ^1.57.0). I think 1.57.0 is an insider version, so that may be a source of issues.

@joelspadin-garmin
Copy link
Owner

I never implemented any checks for this since I figured people would normally keep VS Code up to date, so it wasn't worth the extra time to add it. I will certainly accept a PR to add it though.

The current stable version of VS Code is 1.57. Also, are you uploading extensions like GitLens that are available on the marketplace to your private registry? That was never an intended use case, so I don't know what how well Private Extension Manager will handle an extension that is also being managed by the built-in extensions manager.

@DiefBell
Copy link
Author

DiefBell commented Jul 6, 2021

Our environment is airgapped so our VS Code version is rarely up-to-date. We have a script that can re-pack VSIX files and automatically push them to our npm registry. I'll look into making another PR for the checks.

@joelspadin-garmin
Copy link
Owner

Since with your use case you can't actually use the regular extensions marketplace, you might also want to look at using Open VSX and replacing the extensions marketplace with your own registry: https://github.com/eclipse/openvsx/wiki/Using-Open-VSX-in-VS-Code

This extension is mostly a kludge to augment the extensions marketplace with a small number of private extensions. I've only tested it with a couple dozen extensions in the registry, and I suspect it needs some significant rework and optimization to handle large registries well.

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

2 participants