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

Supporting syncing specific extension installed version #157079

Closed
WeslyG opened this issue Aug 4, 2022 · 7 comments
Closed

Supporting syncing specific extension installed version #157079

WeslyG opened this issue Aug 4, 2022 · 7 comments
Assignees
Labels
extensions Issues concerning extensions feature-request Request for new features or functionality on-testplan settings-sync
Milestone

Comments

@WeslyG
Copy link

WeslyG commented Aug 4, 2022

Some extensions change the distribution model over time (Database Client) or have a license for a while (quokka/wallaby) or may simply break on the current vscode version.
Because of this, we are installing a separate Extension version. However, coming in the morning I see that all my extensions are again the latest version.
I don't want to completely disable extensions using extensions.autoCheckUpdates because my other extensions work fine and I don't want to switch to manually updating all extensions.

Maybe it's worth setting up exceptions from auto-updating extensions? And even better, look at which extension differs from the latest version, and do not update it automatically at all.

@gjsjohnmurray
Copy link
Contributor

According to #73766, after you use the "Install Another Version..." option on an extension's gearwheel menu to install a version earlier than the latest release, it shouldn't autoupdate.

@WeslyG
Copy link
Author

WeslyG commented Aug 4, 2022

In my case, I wanted the Quokka extension version.js was 1.0.469 I installed it and then got a new one every day. Today I went into the vscode sync files, and saw extensions in the extensions.json 496 (not 469) version. I reinstalled the extension of the desired version, and tried to force sync settings, expecting to see that the extension version will change during synchronization. However, everything remained as before. The sync files contain the latest version of the extension for today. That's probably why I get it over and over again.

extensions.json

....
	{
		"identifier": {
			"id": "wallabyjs.quokka-vscode",
			"uuid": "aae0701b-111f-49c1-9000-ooooooooo"
		},
		"preRelease": false,
		"version": "1.0.496",
		"installed": true,
		"state": {
....

Unfortunately, I haven't found a way to change extensions.json, I tried to enable and disable synchronization of both a specific package and all extensions, but this did not create a new file, even with forced synchronization.

It seems the extension will update again soon...

@gjsjohnmurray
Copy link
Contributor

The new information that you're using settings sync might be relevant. Did you do the "Install Another Version" step on all of the syncing instances? Or only on one?

@WeslyG
Copy link
Author

WeslyG commented Aug 4, 2022

Only on one. I expected my new changes to be delivered to the rest of the computers. I can try to do it synchronously on all my devices if it will make a difference.

@gjsjohnmurray
Copy link
Contributor

Let's see what @sandy081 says.

@Interesting6
Copy link

Let's see what @sandy081 says.

I still don't understand how to solve it.

@sandy081 sandy081 added settings-sync feature-request Request for new features or functionality labels Dec 7, 2022
@sandy081 sandy081 added this to the Backlog milestone Dec 7, 2022
@sandy081 sandy081 changed the title Do not update extensions of the special version Supporting syncing specific extension installed version Dec 7, 2022
@sandy081 sandy081 modified the milestones: Backlog, January 2023 Dec 12, 2022
@sandy081 sandy081 added the extensions Issues concerning extensions label Dec 12, 2022
@sandy081
Copy link
Member

sandy081 commented Jan 15, 2023

Fixed by #171290

@github-actions github-actions bot locked and limited conversation to collaborators Mar 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
extensions Issues concerning extensions feature-request Request for new features or functionality on-testplan settings-sync
Projects
None yet
Development

No branches or pull requests

4 participants