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

Version pinning as suggested in Readme results in 404 error #372

Closed
joerx opened this issue Jun 11, 2020 · 9 comments
Closed

Version pinning as suggested in Readme results in 404 error #372

joerx opened this issue Jun 11, 2020 · 9 comments

Comments

@joerx
Copy link

joerx commented Jun 11, 2020

Not sure this is the right place, please correct me if I'm wrong. Trying to pin to an older version of the plugin as linked in the Readme leads to VS Code failing with a 404 error.

Steps to reproduce:

  • Try to pin to an older version of the extension
  • VSCode will try to list older versions

Expected behaviour:

  • Can select the desired version

Actual behaviour:

  • Error message is shown as attached

I reckon it has something to do with the repo having move and is likely more a VS Code problem. Still, it would be helpful to update the README tho. Maybe there's a way to manually install older versions, but I can't seem to find a packaged release.

@adamrushuk
Copy link

I've tested the latest version, but it's not ready for my use-case yet so I need to downgrade to the previous version. I believe the previous version was 1.4.0, but I can only see 1.3.12 under Releases: https://github.com/hashicorp/vscode-terraform/releases

How can we downgrade to the previous version?

@abelal83
Copy link

upgrading to latest version has caused extension to completely stop working, attempted to downgrade but getting 404

@colliwhopper
Copy link

getting 404 error too trying to downgrade...

@ipavlushin
Copy link

ipavlushin commented Jun 11, 2020

As temporary solution you can download vsix with previous version from https://marketplace.visualstudio.com/_apis/public/gallery/publishers/HashiCorp/vsextensions/terraform/1.4.0/vspackage and install it manually via code --install-extension HashiCorp.terraform-1.4.0.vsix

EDIT:
Pointed to secure source.

@jacobwgillespie
Copy link

There's a download extension link on the extension page sidebar (under Resources), and it appears you can adjust the version in the download URL, so:

https://marketplace.visualstudio.com/_apis/public/gallery/publishers/HashiCorp/vsextensions/terraform/1.4.0/vspackage

Should be safer than downloading extensions from third-party websites.

@adamrushuk
Copy link

adamrushuk commented Jun 11, 2020

VSCode still won't let you downgrade (404 error), but I've just tested the v1.4.0 release in this repo, and it worked fine: https://github.com/hashicorp/vscode-terraform/releases/tag/v1.4.0

@paultyng
Copy link
Contributor

We added some instructions and links to the previous VSIX's here: https://github.com/hashicorp/vscode-terraform/wiki/Install-a-Pre-transfer-Version

This was an unintended consequence of the VS Code Marketplace transfer process, that you couldn't use the standard downgrade / pinning options.

@paultyng
Copy link
Contributor

Hey all, just a heads up, this actually appears to be an upstream VS Code bug: microsoft/vscode#99699 (comment)

We will track the upstream issue in #385 and update there once we have more info.

@ghost
Copy link

ghost commented Jul 11, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the context necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Jul 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants