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

CI/CD automate publishing to Open-VSX.org #299

Open
elgalu opened this issue May 25, 2022 · 2 comments
Open

CI/CD automate publishing to Open-VSX.org #299

elgalu opened this issue May 25, 2022 · 2 comments

Comments

@elgalu
Copy link

elgalu commented May 25, 2022

Open-VSX publishing is out of date

Thanks for your work here on this extension, highly appreciated<3

@bilogic
Copy link

bilogic commented Dec 17, 2023

https://open-vsx.org/extension/foxundermoon/shell-format

Yea, can help? Thanks!

@trinitronx
Copy link

👍 +1 to this!

Looks like a helpful user @Majunko has published the extension to OpenVSX in the meantime.

In the long term, it's probably best for @foxundermoon to claim ownership on OpenVSX as the official maintainer of this extension.

For now, those of us affected by the split between OpenVSX / VisualStudio Marketplace repos for OSS builds of VSCode can use the published extension link mentioned above by @bilogic.

Background Info

OpenVSX / VSCodium vs. VSCode Extension Marketplace Split

In the past few years, many OSS Linux packagers of VSCode, VSCodium, (a.k.a. Code OSS) have moved to using OpenVSX extension Registry and had to disable Microsoft's Extensions Marketplace by default due to Microsoft's licensing restrictions (whether they be perceived or actual 🤷).

So, in order for most Linux developers using stock OSS-packaged versions of VSCode to find extensions such as this one, it's important to also publish to OpenVSX.

It's pretty simple to implement dual publishing via a GitHub Actions workflow described here. It probably wouldn't take very long to accomplish and in addition would allow for easy deployment through GitHub Actions CI/CD.

Below is some more info from OpenVSX's extension publishing letter template:

OpenVSX Info / Request Template

Dear extension author, Please publish this extension to the Open VSX marketplace.

Context

Unfortunately, as Microsoft prohibits usages of the Microsoft marketplace by any other products or redistribution of .vsix files from it, in order to use VS Code extensions in non-Microsoft products, we kindly ask that you take ownership of the VS Code extension namespace in Open VSX and publish this extension on Open VSX.

What is Open VSX? Why does it exist?

Open VSX is a vendor neutral alternative to the MS marketplace used by most other derivatives of VS Code like VSCodium, Gitpod, OpenVSCode, Theia-based IDEs, and so on.

You can read on about Open VSX at the Eclipse Foundation's Open VSX FAQ.

How can you publish to Open VSX?

The docs to publish an extension can be found here. This process is straightforward and shouldn't take too long. Essentially, you need an authentication token and to execute the ovsx publish command to publish your extension. There's also a doc explaining the whole process with an example GitHub Action workflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants