sianglim / vscode-slim

Slim language support for Visual Studio Code
6 stars 13 forks source link

Open VSX #8

Open noraj opened 3 years ago

noraj commented 3 years ago

Hi can you push your extension to https://open-vsx.org/ in addition to VSCode Market Place so people using the FLOSS version could install it too?

I wrote an article on the subject.

akosyakov commented 3 years ago

@sianglim We are running Web version of Code in Gitpod: www.gitpod.io.

This version is not allowed to use MS VS Code extensions Marketplace, since it is not MS product. So we connect to Open VSX instead: https://open-vsx.org/ It is a vendor neutral alternative.

Our users want to install this extension but fail since it is not published to Open VSX: https://community.gitpod.io/t/cannot-activate-the-rails-extension-error/3562

Please publish it as well there 🙏 Docs are here: https://github.com/eclipse/openvsx/wiki/Publishing-Extensions Technically it should be straightforward. You are basically have to get a token and call ovsx publish with it, for instance how RedHat is publishing the java extension: https://github.com/redhat-developer/vscode-java/blob/ff51dbffc30dd23190335c929e9f34ccdf511554/Jenkinsfile#L73-L82

sianglim commented 3 years ago

Hi Anton,

will have a look when I have a moment.

Cheers, Siang

matschaffer commented 3 years ago

Thanks so much @sianglim !

sianglim commented 3 years ago

Hi @akosyakov and @matschaffer, hopefully I've done it right. It's published now on the Open VSX registry at https://open-vsx.org/extension/sianglim-slim/slim

Also, apologies to @noraj for missing your comment.

noraj commented 3 years ago

Also, apologies to @noraj for missing your comment.

No worry.

image

https://github.com/eclipse/openvsx/wiki/Namespace-Access

matschaffer commented 3 years ago

Thanks @sianglim !

I'm still seeing the error when I launch gitpod from https://github.com/Safecast/safecastapi/pull/810

Welcome_—_safecastapi_—_Gitpod_Code

But maybe @akosyakov should confirm if that's the right way to check. Not sure if the gitpod prebuild might do any sort of caching of the available extensions or what.

akosyakov commented 3 years ago

It is published like sianglim-slim.slim not like sianglim.slim 😬

noraj commented 3 years ago

It is published like sianglim-slim.slim not like sianglim.slim grimacing

The best would be to publish it under the same namespace to avoid those dependency issues.

sianglim commented 3 years ago

Sorry. I think the sianglim namespace was taken. Is there a way to get contributor access to that namespace to publish the extension there?

akosyakov commented 3 years ago

@sianglim I think you should follow https://github.com/eclipse/openvsx/wiki/Namespace-Access#how-to-claim-a-namespace and create an issue here https://github.com/EclipseFdn/open-vsx.org/issues/new?assignees=&labels=namespace&template=claim-namespace-ownership.md&title=Claiming+namespace+%5Bname%5D

matschaffer commented 3 years ago

Looks like it got granted! https://github.com/EclipseFdn/open-vsx.org/issues/516

@sianglim can you republish?

sianglim commented 3 years ago

Hi @matschaffer, I just did so hopefully you're able to use it properly now. 😄

taylorthurlow commented 3 years ago

Can confirm things are working as expected now! I think it's safe for this to be closed.

matschaffer commented 3 years ago

Confirmed here too! This is great @sianglim, thanks so much!

Extension__Rails_—_safecastapi_—_Gitpod_Code