Publish no-server to Code Marketplace and OpenVSX#21516
Publish no-server to Code Marketplace and OpenVSX#21516lnicola merged 1 commit intorust-lang:masterfrom
Conversation
fix rust-lang#18578 I believe it won't break anything.
|
@rust-lang/rust-analyzer do we want this? |
|
I feel it might be quite confusing, and it's a hack for our lack of support of some architectures that we might (tm) add in the future. But once we publish it to the marketplace, it will stay there. Are there other popular extensions that publish multiple variants? |
|
Well, you're kinda our expert on these subjects @lnicola (and I also think it's hacky). So, close this? |
|
I want to say, a vsix without binary is beneficial to whose rust-analyzer is managed by apt, dnf, rustup, etc Official vscode registry is rather slow |
https://marketplace.visualstudio.com/items?itemName=myriad-dreamin.tinymist |
|
Maybe we should go back to downloading the server binary at run-time 🙃. |
Oh no, it was a relief to remove that code. |
I'm not sure what I'm looking at. They have Tinymist Typst and Tinymist Typst HTML on the Marketplace, but the latter seems to be a different extension. I couldn't find it in the source repo, but their release assets have:
So I guess they have a browser-only version, but it's not published to the Marketplace? Anyway, I see they've added the
We could misappropriate Anyway, I don't think we want to publish a second version to the Marketplace.
But HTTP clients are really nice these days! |
|
Anyway, I don't know if this PR works. Do target-specific extensions override universal ones? I think we've ran into a Marketplace bug related to this when they were originally introduced. |
No, they coexist.
Yes, I inspected the discussions. I believe they are fixed now. |
But you still get the one for your target if it's available, right? Maybe we should also upgrade the vsce / ovsx helpers before, but I'm a bit afraid these days.. |
Users can choose the universal target somewhere manually (sorry I forgot), after that, vscode will download the correct update target. |
I mean, if I just install Tinymist, will I get the x64 version or the universal one? I know I could check, but I don't have a sandboxed VS Code around and
|
Afraid of Supply Chain Attack? https://news.ycombinator.com/item?id=47513932 may help you |
the x64 version |
I think so. I only know "not overwriting" happens in my environment & tinymist's, but I'm not confident it works here |
|
I fired off a new nightly release in https://github.com/rust-lang/rust-analyzer/actions/runs/23790412943. |
|
@Master-Hash I wonder if it matters whether we publish the universal or platform specific VSIXes first... |
I'm not sure (as I fail to reproduce the following issues) I suggest testing in nightly first |



fix #18578
I believe it won't break anything.