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
"--force --install-extension" doesn't update to latest version #4372
in integrated terminal in docker container run code-insiders --force --install-extension [email protected] to install previous version of Docker extension
now try to install latest by omitting the version and using "--force": code-insiders --force --install-extension ms-azuretools.vscode-docker
Observe:
1.9.1 version is not installed:
I think my confusion originates from the mixed messages about "--install-extension --force":
In the test plan item I read "--force ... installs an extension on remote if is a workspace extension, or local if it is a UI extension."
But this message says: "Extension 'ms-azuretools.vscode-docker' v1.9.1 is already installed. Use '--force' option to update to latest version or provide '@' to install a specific version, for example: 'ms-azuretools.vscode".
Wouldn't it be clearer to have different "--forceSomething" instead of overloading a single magic "--force"? Or even better introduce new options like "--installRemote" or "--installUI".
changed the title [-]"--force" doesn't update to latest version[/-][+]"--force --install-extension" doesn't update to latest version[/+]on Jan 26, 2021
Martin Aeschlimann (@aeschli) It means all extension CLI management features shall be made multi server (local and remote) aware. Looking at other issues, I felt it would be simple and consistent if remote CLI only manages remote server extensions just like local CLI handles only local extensions. It means:
list-extensions - lists extensions only from remote
install-extension - installs extension only on remote
uninstall-extension - uninstalls extension only on remote
It might be too smart to understand if remote cli manages extensions on both sides. I also think constraining remote cli only to remote will also be consistent when user does above operations opening bash (say from WSL or SSH machine) using server cli.
Activity
[-]"--force" doesn't update to latest version[/-][+]"--force --install-extension" doesn't update to latest version[/+]aeschli commentedon Jan 27, 2021
Was that your setup?
ms-azuretools.vscode-docker' v1.9.1installed locallycode-insiders --force --install-extension [email protected]. Installs v1.9.0 remotlycode-insiders --force --install-extension ms-azuretools.vscode-dockerfinds it locally and doesn't want to update.Sandeep Somavarapu (@sandy081) Do you want to take over? I'm happy to help, but need your guidance.
weinand commentedon Jan 27, 2021
Martin Aeschlimann (@aeschli) yes, that was my setup
sandy081 commentedon Jan 27, 2021
Martin Aeschlimann (@aeschli) It means all extension CLI management features shall be made multi server (local and remote) aware. Looking at other issues, I felt it would be simple and consistent if remote CLI only manages remote server extensions just like local CLI handles only local extensions. It means:
list-extensions- lists extensions only from remoteinstall-extension- installs extension only on remoteuninstall-extension- uninstalls extension only on remoteIt might be too smart to understand if remote cli manages extensions on both sides. I also think constraining remote cli only to remote will also be consistent when user does above operations opening bash (say from WSL or SSH machine) using server cli.
TylerLeonhardt commentedon Jan 29, 2021
Worked in Remote - SSH: