You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
code-server --install-extension ms-python.python@<version> always installs the latest version #2626
Sorry for the late reply @ddurham2 - thanks for the detailed issue! I've added this to our Triage bucket and hope we can investigate soon!
A possible workaround - you should be able to install a specific version of an extension using the VSIX file directly and the "Install from VSIX" in the Extension Menu.
@jsjoeio Thanks for the info. I do hope this gets fixed soon as my other work arounds are starting to fail.
As for installing the vsxi manually, is there a way to do that from the cli? (I'm in a Dockerfile here) I tried giving code-server --install-extension /path/to/file.vsxi but it saying it can't find the extension. The usage statement says I should be able to give it a vsxi file.
I'm wondering if installing via vsxi file path broke for the same reason that the '@Version' syntax broke (my original problem)?
Also, if I were to give it a vsxi file (like ms-python) which requires a dependency (like how ms-python also now depends on jupyter), should installing the vsxi from the cli automatically install dependencies?
As for installing the vsxi manually, is there a way to do that from the cli? (I'm in a Dockerfile here) I tried giving code-server --install-extension /path/to/file.vsxi but it saying it can't find the extension. The usage statement says I should be able to give it a vsxi file.
I'm wondering if installing via vsxi file path broke for the same reason that the '@Version' syntax broke (my original problem)?
@ddurham2 - This is what I'm doing to install via vsix file, hope it helps!
RUN curl -# -L -o /tmp/ms-python-release.vsix "https://github.com/microsoft/vscode-python/releases/download/2020.5.86806/ms-python-release.vsix" && \code-server --version && \ # Below line doesn't work due to a bug that always installs latest version... working around this with vsix file install#code-server --install-extension ms-python.python@2020.5.86806 && \code-server --install-extension /tmp/ms-python-release.vsix && \code-server --list-extensions --show-versions# Add pre-defined user settings for convenienceCOPY user_settings.yaml /home/coder/.local/share/code-server/User/settings.json
Reacted by Joe Previte, Fernando Martinez, pchuri and Yulong
I tried to workaround this with installing a manually downloaded version of this extension (or any other - this issue seems to affect all extensions) from this address:
but sadly, I get the newest version as well. This is kinda important for me to be able to download the right extensions version. Are there any updates on this issue?
Activity
jsjoeio commentedon Feb 2, 2021
Sorry for the late reply @ddurham2 - thanks for the detailed issue! I've added this to our Triage bucket and hope we can investigate soon!
A possible workaround - you should be able to install a specific version of an extension using the VSIX file directly and the "Install from VSIX" in the Extension Menu.
ddurham2 commentedon Mar 14, 2021
@jsjoeio Thanks for the info. I do hope this gets fixed soon as my other work arounds are starting to fail.
As for installing the vsxi manually, is there a way to do that from the cli? (I'm in a Dockerfile here) I tried giving code-server --install-extension /path/to/file.vsxi but it saying it can't find the extension. The usage statement says I should be able to give it a vsxi file.
I'm wondering if installing via vsxi file path broke for the same reason that the '@Version' syntax broke (my original problem)?
Also, if I were to give it a vsxi file (like ms-python) which requires a dependency (like how ms-python also now depends on jupyter), should installing the vsxi from the cli automatically install dependencies?
tseader commentedon Mar 15, 2021
@ddurham2 - This is what I'm doing to install via
vsixfile, hope it helps!mateuszkitlas commentedon May 25, 2021
I tried to workaround this with installing a manually downloaded version of this extension (or any other - this issue seems to affect all extensions) from this address:
but sadly, I get the newest version as well. This is kinda important for me to be able to download the right extensions version. Are there any updates on this issue?
jsjoeio commentedon May 25, 2021
@mateuszkitlas have you tried manually installing it from Open VSX? See docs.
stale commentedon Feb 7, 2022
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no activity occurs in the next 5 days.