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

Publish AmazonWebServices.amazon-q-vscode to Open VSX #4943

Closed
corvuslee opened this issue May 7, 2024 · 6 comments
Closed

Publish AmazonWebServices.amazon-q-vscode to Open VSX #4943

corvuslee opened this issue May 7, 2024 · 6 comments
Labels
build feature-request New feature or enhancement. May require GitHub community feedback. pending-release tests-ci-cd

Comments

@corvuslee
Copy link

Dear extension author,
The publishing workflow used to work (#1355) but now it's breaking as you're releasing both AmazonWebServices.amazon-q-vscode and AmazonWebServices.aws-toolkit-vscode in the same repo. Please consider pushing to the Open VSX marketplace instead of asking them to pull from your vsix files.

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.

@corvuslee corvuslee added the feature-request New feature or enhancement. May require GitHub community feedback. label May 7, 2024
@justinmk3
Copy link
Contributor

justinmk3 commented May 7, 2024

Thanks for raising this.

The publishing workflow used to work (#1355) but now it's breaking as you're releasing both AmazonWebServices.amazon-q-vscode and AmazonWebServices.aws-toolkit-vscode in the same repo.

That's unfortunate. We publish each vsix artifact to different tags, e.g.:

does that help?

@corvuslee
Copy link
Author

corvuslee commented May 8, 2024

The current pull workflow apparently fetches vsix file from latest tag only. Instead of patching the pull workflow, I think the ultimate fix is to push to Open VSX from here. There are AWS services such as the code editor in SageMaker Studio using this extension on Open VSX.

@justinmk3
Copy link
Contributor

Oh, I misunderstood something: it looks like AWS Toolkit is still being pulled: https://open-vsx.org/extension/amazonwebservices/aws-toolkit-vscode/changes

So this doesn't necessarily "break" anything, but we do need to think about how to publish Amazon Q.

@corvuslee
Copy link
Author

Actually toolkit failed in the past few days/week until 3.2.0 was tagged as latest yesterday.

@justinmk3
Copy link
Contributor

justinmk3 commented May 17, 2024

Workaround

As a workaround, you can install the Amazon Q extension directly from our published downloads. The vsix file(s) provided there are identical to what we would publish to OpenVSX.

How to install

  1. Download Amazon Q (amazon-q-vscode*.vsix) or AWS Toolkit (aws-toolkit-vscode*.vsix) from https://github.com/aws/aws-toolkit-vscode/releases
  2. Run Extensions: Install from VSIX... from the VSCode command palette and choose the vsix file(s).

@justinmk3
Copy link
Contributor

Amazon Q and AWS Toolkit are now published to Open VSX: https://open-vsx.org/namespace/amazonwebservices

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build feature-request New feature or enhancement. May require GitHub community feedback. pending-release tests-ci-cd
Projects
None yet
Development

No branches or pull requests

2 participants