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

Officially publish the extension on the Open VSX Registry #325

Open
kmk3 opened this issue Oct 3, 2021 · 3 comments
Open

Officially publish the extension on the Open VSX Registry #325

kmk3 opened this issue Oct 3, 2021 · 3 comments

Comments

@kmk3
Copy link

kmk3 commented Oct 3, 2021

Background

Currently, this extension is published both on the Open VSX Registry and on the
Visual Studio Marketplace:

However, only the latter is official.

From https://open-vsx.org/extension/EditorConfig/EditorConfig:

This version of the “EditorConfig for VS Code” extension was published by
open-vsx. That user account is not a verified publisher of the namespace
“EditorConfig” of this extension. See the documentation to learn how we
handle namespaces and what you can do to eliminate this warning.

Why

From https://github.com/eclipse/openvsx:

Open VSX is a vendor-neutral open-source alternative to the Visual Studio Marketplace.
It provides a server application that manages VS Code extensions in a database, a web
application similar to the VS Code Marketplace, and a command-line tool for
publishing extensions similar to vsce.

A public instance of Open VSX is running at open-vsx.org.

See also:
https://blogs.eclipse.org/post/brian-king/open-vsx-registry-under-new-management

This is used by projects like VSCodium, which aims to be a fully FLOSS
(rather than "open core") version of Visual Studio Code:

From VSCodium's README.md:

Why Does This Exist

This repository contains build files to generate free release binaries of
Microsoft's VS Code. When we speak of "free software", we're talking about
freedom, not price.

Microsoft's releases of Visual Studio Code are licensed under this not-FLOSS
license
and contain telemetry/tracking.

[...]

This repo exists so that you don't have to download+build from source. The
build scripts in this repo clone Microsoft's vscode repo, run the build
commands, and upload the resulting binaries to GitHub releases.
These binaries are licensed under the MIT license. Telemetry is disabled.

To sum it up, it would be nice to see this FLOSS extension support FLOSS
programs and services.

How

These are the steps for publishing:

Code-wise, it seems to be basically the same as is already being done
here:

npx vsce publish -p ${{ secrets.VSCE_TOKEN }}

vs

npx ovsx publish -p <token>

Alternatively, that page also mentions the following GitHub action, which
claims to be able to publish to both registries at once:


Kind of related to:

@fasttime
Copy link

fasttime commented Nov 6, 2021

The version published on the VS Marketplace is 0.16.4, which is almost one year old. The only maintainer since then has not published any updates.

@kmk3
Copy link
Author

kmk3 commented Nov 6, 2021

@fasttime commented on Nov 6:

The version published on the VS Marketplace is 0.16.4,
which is almost one year old. The only maintainer since then has not
published any updates.

Interesting. open-vsx.org has the latest version (0.16.6); I think it is
auto-updated by a bot.

@andymac4182
Copy link

Looks like personal token has expired.

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

3 participants