Skip to content

vscode/extensions/update_installed_exts.sh: log on download failure instead of early exit#445468

Open
schuelermine wants to merge 5 commits intoNixOS:masterfrom
schuelermine:VSCode+extensions+update+script%3A+log+on+download+failure+instead+of+exit
Open

vscode/extensions/update_installed_exts.sh: log on download failure instead of early exit#445468
schuelermine wants to merge 5 commits intoNixOS:masterfrom
schuelermine:VSCode+extensions+update+script%3A+log+on+download+failure+instead+of+exit

Conversation

@schuelermine
Copy link
Contributor

@schuelermine schuelermine commented Sep 23, 2025

This makes the script not fail if you have local extensions that aren’t on the marketplace.

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 6.topic: vscode A free and versatile code editor that supports almost every major programming language. labels Sep 23, 2025
@schuelermine schuelermine force-pushed the VSCode+extensions+update+script%3A+log+on+download+failure+instead+of+exit branch from c0e8c00 to 03b52fe Compare September 23, 2025 09:27
@schuelermine schuelermine marked this pull request as draft September 23, 2025 09:28
@qzylinra
Copy link
Contributor

There are many problems with this script: #329271

@schuelermine schuelermine marked this pull request as ready for review September 23, 2025 09:36
@schuelermine
Copy link
Contributor Author

@qzylinra There may very well be other problems. This merge request fixes one specific problem that prevents the script from working for my use cases. I don’t think the possibility of fixing more things is an argument against this change.

@schuelermine
Copy link
Contributor Author

btw this is a cherry pick from my attempt to update the script more thoroughly #389795

@nixpkgs-ci nixpkgs-ci bot added the 9.needs: reviewer This PR currently has no reviewers requested and needs attention. label Sep 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: vscode A free and versatile code editor that supports almost every major programming language. 9.needs: reviewer This PR currently has no reviewers requested and needs attention. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants