editorconfig / editorconfig-vscode

EditorConfig extension for Visual Studio Code
http://editorconfig.org/
MIT License
1.24k stars 118 forks source link

Officially publish the extension on the Open VSX Registry #325

Open kmk3 opened 3 years ago

kmk3 commented 3 years ago

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 commented 2 years ago

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 commented 2 years ago

@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 commented 2 years ago

Looks like personal token has expired.