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

Replace vscode-extensions.ms-vscode.Go with vscode-extensions.golang.Go #90615

Merged
merged 3 commits into from Nov 20, 2020

Conversation

priegger
Copy link
Contributor

@priegger priegger commented Jun 16, 2020

Motivation for this change

From the README.md on https://github.com/golang/vscode-go:

"This is the new home for the VS Code Go extension. We just migrated from Microsoft/vscode-go. Learn more about our move on the Go blog."

Things done

I removed the old extension and replaced it with an alias to the new one. Unfortunately this leads to a lot of reformatting and noise (I used nixpkgs-fmt to fix the indentation).

  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

Philipp Riegger added 3 commits November 20, 2020 14:00
According to the README.md:

"This is the new home for the VS Code Go extension. We just migrated
from Microsoft/vscode-go. Learn more about our move on the Go blog."

See also: https://blog.golang.org/vscode-go.
@jonringer
Copy link
Contributor

is this up-to-date?

Copy link
Contributor

@jonringer jonringer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, eventually I would like to have something like vimPlugins, but that will probably be for a future date

https://github.com/NixOS/nixpkgs/pull/90615
1 package built:
vscode-extensions.golang.Go

$ nix-shell /home/jon/.cache/nixpkgs-review/pr-90615/shell.nix

[nix-shell:~/.cache/nixpkgs-review/pr-90615]$ nix-build ./nixpkgs/ -A vscode-extensions.ms-vscode.Go
/nix/store/swc2zgk86cl60bd81xyqcgbqlr9qj371-vscode-extension-golang-Go-0.18.1

@jonringer jonringer merged commit 5931f86 into NixOS:master Nov 20, 2020
@priegger
Copy link
Contributor Author

The merging of the aliases is wrong and causes #104783. Sorry about that. I can have a look in ~2 hours, I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants