Skip to content

Commit 58e99c9

Browse files
committed
[release] prepare v0.30.0 release
ed978a6 src/goDebugConfiguration: infer default mode property f5d1004 docs/debugging.md: add details for troubleshooting 5cb334d src/goToolsInformation: pin gofumports at v0.1.1 511945e test/integration: add missing await in goDebugConfiguration tests 27bcdca src/goInstallTools: pin dlv-dap version @2f136727 bf2ce37 src/goDebugConfiguration.ts: allow users to debug with older versions of dlv-dap 7919ded README.md: fix the broken link for debugging 8dd6020 docs/debugging: include logpoints, remove stop conditions, revise faqs 28a97ef package-lock.json: update json-schema to 0.4.0 7d023af package.json: update remote attach references to reflect dlv-dap support 6320e8b docs/debugging.md: update on newly available traditional remote debugging via DAP 4763647 stop debugger when delve remote connection ends 50b13f1 package.json: limit file search scope for extension activation 6448e9d goDebugConfiguration.test.ts: remove .only ed9b7bc src/goDebugConfiguration: update list of delveConfig properties 8a25201 src/goDebugFactory: let startAndConnectToServer return a socket 4983f1d docs: fix bold text error 08f9065 src/testUtils: add test codelenses for Fuzz* functions ae78458 tsconfig.json: bump target to ES2017 32a5776 src/goTools.ts: disable lint tool if 'staticcheck' is true cc34acf github/workflows: update lannonbr/vsce-action b2c00ac debug: allow debugAdapter=dlv-dap with remote attach mode a445ec3 src/goSurvey: use our latest survey URL 44e2d4d package.json: add config to hide system goroutines in debug 18e3fca package.json: allow 'rr' as a valid delve backend 681be58 tools/installtools: add a helper to install Go tools for testing 5f4e3ca test/integration/goTest: temporarily disable profile tests 8750bb3 tsconfig.json: set esModuleInterop 498123d package.json: add showRegisters to the delve config 48c6022 package.json: start v0.30.0-dev Updates #1930 Change-Id: Iafccb01812bdf029323d76d79971743f04e44a12
2 parents 1f1f292 + ed978a6 commit 58e99c9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+702
-349
lines changed

.github/workflows/release-nightly.yml

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -44,29 +44,7 @@ jobs:
4444

4545
- name: Install Go tools (Modules mode)
4646
run: |
47-
go version
48-
go get github.com/acroca/go-symbols
49-
go get github.com/davidrjenni/reftools/cmd/fillstruct
50-
go get github.com/haya14busa/goplay/cmd/goplay
51-
52-
# Install two versions of gocode (one as gocode-gomod)
53-
go get github.com/stamblerre/gocode
54-
mv "${HOME}/go/bin/gocode${{env.EXT}}" "${HOME}/go/bin/gocode-gomod${{env.EXT}}"
55-
go get github.com/mdempsky/gocode
56-
57-
go get github.com/sqs/goreturns
58-
go get github.com/uudashr/gopkgs/v2/cmd/gopkgs
59-
go get github.com/zmb3/gogetdoc
60-
go get honnef.co/go/tools/...
61-
go get golang.org/x/tools/cmd/gorename
62-
go get golang.org/x/tools/gopls
63-
go get github.com/cweill/gotests/...
64-
go get github.com/rogpeppe/godef
65-
go get github.com/ramya-rao-a/go-outline
66-
go get github.com/go-delve/delve/cmd/dlv@master
67-
cp "${HOME}/go/bin/dlv${{env.EXT}}" "${HOME}/go/bin/dlv-dap${{env.EXT}}"
68-
go get github.com/go-delve/delve/cmd/dlv
69-
working-directory: ${{ runner.temp }}
47+
go run ./tools/installtools/main.go
7048
env:
7149
GO111MODULE: on
7250
EXT: "${{ matrix.os == 'windows-latest' && '.exe' || ''}}"
@@ -84,7 +62,7 @@ jobs:
8462

8563
- name: Publish
8664
if: github.ref == 'refs/heads/master' && github.repository == 'golang/vscode-go'
87-
uses: lannonbr/vsce-action@704da577da0f27de5cdb4ae018374c2f08b5f523
65+
uses: lannonbr/vsce-action@0f3391ee0477b08fae949eb0a875e91e6d20b075
8866
with:
8967
args: "publish -p $VSCE_TOKEN"
9068
env:

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
npm run vscode:prepublish
7676
7777
- name: package
78-
uses: lannonbr/vsce-action@704da577da0f27de5cdb4ae018374c2f08b5f523
78+
uses: lannonbr/vsce-action@0f3391ee0477b08fae949eb0a875e91e6d20b075
7979
with:
8080
args: "package"
8181

@@ -102,10 +102,10 @@ jobs:
102102

103103
- name: publish
104104
if: env.EXT_ISPREVIEW != 1 && github.repository == 'golang/vscode-go'
105-
uses: lannonbr/vsce-action@704da577da0f27de5cdb4ae018374c2f08b5f523
105+
uses: lannonbr/vsce-action@0f3391ee0477b08fae949eb0a875e91e6d20b075
106106
with:
107107
args: "publish -p $VSCE_TOKEN"
108108
env:
109109
VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}
110110

111-
# TODO: check if the commit is in green state. (test-long.yml results)
111+
# TODO: check if the commit is in green state. (test-long.yml results)

.github/workflows/test-long-all.yml

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -43,27 +43,7 @@ jobs:
4343
- name: Install Go tools (Modules mode)
4444
run: |
4545
go version
46-
go get github.com/acroca/go-symbols
47-
go get github.com/davidrjenni/reftools/cmd/fillstruct
48-
go get github.com/haya14busa/goplay/cmd/goplay
49-
# Install two versions of gocode (one as gocode-gomod)
50-
go get github.com/stamblerre/gocode
51-
mv "${HOME}/go/bin/gocode${{env.EXT}}" "${HOME}/go/bin/gocode-gomod${{env.EXT}}"
52-
go get github.com/mdempsky/gocode
53-
go get github.com/sqs/goreturns
54-
go get github.com/uudashr/gopkgs/v2/cmd/gopkgs
55-
go get github.com/zmb3/gogetdoc
56-
go get honnef.co/go/tools/...
57-
go get golang.org/x/tools/cmd/gorename
58-
go get golang.org/x/tools/gopls
59-
go get github.com/cweill/gotests/...
60-
go get github.com/rogpeppe/godef
61-
go get github.com/ramya-rao-a/go-outline
62-
# Install two versions of dlv (one as dlv-dap)
63-
go get github.com/go-delve/delve/cmd/dlv@master
64-
mv "${HOME}/go/bin/dlv${{env.EXT}}" "${HOME}/go/bin/dlv-dap${{env.EXT}}"
65-
go get github.com/go-delve/delve/cmd/dlv@latest
66-
working-directory: ${{ runner.temp }}
46+
go run ./tools/installtools/main.go
6747
env:
6848
GO111MODULE: on
6949
EXT: "${{ matrix.os == 'windows-latest' && '.exe' || ''}}"

.github/workflows/test-long.yml

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -43,27 +43,7 @@ jobs:
4343
- name: Install Go tools (Modules mode)
4444
run: |
4545
go version
46-
go get github.com/acroca/go-symbols
47-
go get github.com/davidrjenni/reftools/cmd/fillstruct
48-
go get github.com/haya14busa/goplay/cmd/goplay
49-
# Install two versions of gocode (one as gocode-gomod)
50-
go get github.com/stamblerre/gocode
51-
mv "${HOME}/go/bin/gocode${{env.EXT}}" "${HOME}/go/bin/gocode-gomod${{env.EXT}}"
52-
go get github.com/mdempsky/gocode
53-
go get github.com/sqs/goreturns
54-
go get github.com/uudashr/gopkgs/v2/cmd/gopkgs
55-
go get github.com/zmb3/gogetdoc
56-
go get honnef.co/go/tools/...
57-
go get golang.org/x/tools/cmd/gorename
58-
go get golang.org/x/tools/gopls
59-
go get github.com/cweill/gotests/...
60-
go get github.com/rogpeppe/godef
61-
go get github.com/ramya-rao-a/go-outline
62-
# Install two versions of dlv (one as dlv-dap)
63-
go get github.com/go-delve/delve/cmd/dlv@master
64-
mv "${HOME}/go/bin/dlv${{env.EXT}}" "${HOME}/go/bin/dlv-dap${{env.EXT}}"
65-
go get github.com/go-delve/delve/cmd/dlv@latest
66-
working-directory: ${{ runner.temp }}
46+
go run ./tools/installtools/main.go
6747
env:
6848
GO111MODULE: on
6949
EXT: "${{ matrix.os == 'windows-latest' && '.exe' || ''}}"

.github/workflows/test-smoke.yml

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -40,27 +40,7 @@ jobs:
4040
- name: Install Go tools (Modules mode)
4141
run: |
4242
go version
43-
go get github.com/acroca/go-symbols
44-
go get github.com/davidrjenni/reftools/cmd/fillstruct
45-
go get github.com/haya14busa/goplay/cmd/goplay
46-
# Install two versions of gocode (one as gocode-gomod)
47-
go get github.com/stamblerre/gocode
48-
mv "${HOME}/go/bin/gocode${{env.EXT}}" "${HOME}/go/bin/gocode-gomod${{env.EXT}}"
49-
go get github.com/mdempsky/gocode
50-
go get github.com/sqs/goreturns
51-
go get github.com/uudashr/gopkgs/v2/cmd/gopkgs
52-
go get github.com/zmb3/gogetdoc
53-
go get honnef.co/go/tools/...
54-
go get golang.org/x/tools/cmd/gorename
55-
go get golang.org/x/tools/gopls
56-
go get github.com/cweill/gotests/...
57-
go get github.com/rogpeppe/godef
58-
go get github.com/ramya-rao-a/go-outline
59-
# Install two versions of dlv (one as dlv-dap)
60-
go get github.com/go-delve/delve/cmd/dlv@master
61-
mv "${HOME}/go/bin/dlv${{env.EXT}}" "${HOME}/go/bin/dlv-dap${{env.EXT}}"
62-
go get github.com/go-delve/delve/cmd/dlv@latest
63-
working-directory: ${{ runner.temp }}
43+
go run ./tools/installtools/main.go
6444
env:
6545
GO111MODULE: on
6646
EXT: "${{ matrix.os == 'windows-latest' && '.exe' || ''}}"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ conduct-related issue, please mail [email protected].
170170
[code editing]: https://github.com/golang/vscode-go/blob/master/docs/features.md#code-editing
171171
[diagnostics]: https://github.com/golang/vscode-go/blob/master/docs/features.md#diagnostics
172172
[testing]: https://github.com/golang/vscode-go/blob/master/docs/features.md##run-and-test-in-the-editor
173-
[debugging]: #debugging
173+
[debugging]: https://github.com/golang/vscode-go/blob/master/docs/debugging.md#features
174174
[full feature breakdown]: https://github.com/golang/vscode-go/blob/master/docs/features.md
175175
[workspace documentation]: https://github.com/golang/tools/blob/master/gopls/doc/workspace.md
176176
[`Go: Install/Update Tools` command]: https://github.com/golang/vscode-go/blob/master/docs/commands.md#go-installupdate-tools

build/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ ENV GO111MODULE on
66
ENV GOBIN /gobin
77

88
# Install other Go tools tests depend on
9-
RUN mkdir -p /scratch/build
10-
ADD build/all.bash /scratch/build/all.bash
11-
RUN /scratch/build/all.bash setup_env
9+
RUN mkdir -p /scratch/installtools
10+
ADD tools/installtools/main.go /scratch/installtools/main.go
11+
RUN go run /scratch/installtools/main.go
1212

1313
FROM node:latest
1414

build/all.bash

Lines changed: 1 addition & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ prepare_nightly() {
8181
.displayName="Go Nightly" |
8282
.publisher="golang" |
8383
.description="Rich Go language support for Visual Studio Code (Nightly)" |
84-
.contributes.configuration.properties."go.useLanguageServer".default=true
84+
.contributes.configuration.properties."go.delveConfig.hideSystemGoroutines".default=true
8585
') > /tmp/package.json && mv /tmp/package.json package.json
8686

8787
# Replace CHANGELOG.md with CHANGELOG.md + Release commit info.
@@ -92,36 +92,6 @@ prepare_nightly() {
9292
cp build/nightly/const.ts src/const.ts
9393
}
9494

95-
# setup dependencies required for tests.
96-
install_dependencies() {
97-
# TARGET is where `go get` will output the compiled binaries.
98-
local GOPATHS=`go env GOPATH`
99-
local TARGET="${GOBIN}"
100-
if [[ -z "${GOBIN}" ]]; then TARGET="${GOPATHS%%:*}/bin" ; fi
101-
102-
GO111MODULE=on go install golang.org/x/tools/gopls@latest
103-
GO111MODULE=on go install github.com/acroca/go-symbols@latest
104-
GO111MODULE=on go install github.com/cweill/gotests/gotests@latest
105-
GO111MODULE=on go install github.com/davidrjenni/reftools/cmd/fillstruct@latest
106-
GO111MODULE=on go install github.com/haya14busa/goplay/cmd/goplay@latest
107-
108-
# We install two versions of gocode, one for module mode (gocode-gomod)
109-
# and another for GOPATH mode (gocode).
110-
GO111MODULE=on go install github.com/stamblerre/gocode@latest && mv "${TARGET}/gocode" "${TARGET}/gocode-gomod"
111-
GO111MODULE=on go install github.com/mdempsky/gocode@latest
112-
113-
GO111MODULE=on go install github.com/ramya-rao-a/go-outline@latest
114-
GO111MODULE=on go install github.com/rogpeppe/godef@latest
115-
GO111MODULE=on go install github.com/sqs/goreturns@latest
116-
GO111MODULE=on go install github.com/uudashr/gopkgs/v2/cmd/gopkgs@latest
117-
GO111MODULE=on go install github.com/zmb3/gogetdoc@latest
118-
GO111MODULE=on go install honnef.co/go/tools/cmd/staticcheck@latest
119-
GO111MODULE=on go install golang.org/x/tools/cmd/gorename@latest
120-
121-
GO111MODULE=on go install github.com/go-delve/delve/cmd/dlv@master && cp "${TARGET}/dlv" "${TARGET}/dlv-dap"
122-
GO111MODULE=on go install github.com/go-delve/delve/cmd/dlv@latest
123-
}
124-
12595
main() {
12696
cd "$(root_dir)" # always run from the script root.
12797
case "$1" in
@@ -144,9 +114,6 @@ main() {
144114
"prepare_nightly")
145115
prepare_nightly
146116
;;
147-
"setup_env")
148-
install_dependencies
149-
;;
150117
*)
151118
usage
152119
exit 2

0 commit comments

Comments
 (0)