- Update to version 0.15.3:
* gopls: update go.mod for v0.15.3-pre.2
* gopls/internal/server: don't reset views if configuration did not change
* gopls: update go.mod for v0.15.3-pre.1
* gopls/internal/cache: add debug assertions to refine golang/go#66732
* gopls/internal/cache: analysis: repair start/end and refine bug report
* gopls/internal/cache: avoid panic when the primary diagnostic is broken
* internal/check: filter out too-new Go versions for type checking
* gopls/internal/cache: fix crash in snapshot.Analyze with patch versions
* gopls/internal/server: filter diagnostics to "best" views
* internal/imports: fix two "nil pointer in interface" bugs
* all: add replace directive to help stage the v0.15.3 release
* gopls: fix test failures due to quoting of names in go/types errors (forwarded request 1167899 from jfkw)
OBS-URL: https://build.opensuse.org/request/show/1167900
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gopls?expand=0&rev=12
- Update to version 0.15.3:
* gopls: update go.mod for v0.15.3-pre.2
* gopls/internal/server: don't reset views if configuration did not change
* gopls: update go.mod for v0.15.3-pre.1
* gopls/internal/cache: add debug assertions to refine golang/go#66732
* gopls/internal/cache: analysis: repair start/end and refine bug report
* gopls/internal/cache: avoid panic when the primary diagnostic is broken
* internal/check: filter out too-new Go versions for type checking
* gopls/internal/cache: fix crash in snapshot.Analyze with patch versions
* gopls/internal/server: filter diagnostics to "best" views
* internal/imports: fix two "nil pointer in interface" bugs
* all: add replace directive to help stage the v0.15.3 release
* gopls: fix test failures due to quoting of names in go/types errors
OBS-URL: https://build.opensuse.org/request/show/1167899
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gopls?expand=0&rev=27
- Update to version 0.15.0:
- Packaging improvements:
* Build PIE with pattern that may become recommended procedure:
%%ifnarch ppc64 GOFLAGS="-buildmode=pie" %%endif go build
A go toolchain buildmode default config would be preferable
but none exist at this time.
* Drop mod=vendor, go1.14+ will detect vendor dir and auto-enable (forwarded request 1151968 from jfkw)
OBS-URL: https://build.opensuse.org/request/show/1151969
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gopls?expand=0&rev=9
- Update to version 0.13.1:
* gopls: update go.mod for v0.13.1-pre.2
* gopls/internal/hooks: clean language version before passing to gofumpt
* gopls/internal/lsp/analysis: fix stubmethods with variadic parameters
* gopls: update go.mod for v0.13.1-pre.1
* gopls/internal/lsp/source: reinstate equalOrigin for references check
* gopls/internal/lsp/source: fix incorrect 'origin' logic for named types
* gopls/internal/lsp/source: fix renaming of type parameters
* gopls/internal/lsp/source: refresh embeddirective analyzer docs (forwarded request 1103614 from jfkw)
OBS-URL: https://build.opensuse.org/request/show/1103616
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gopls?expand=0&rev=3
- Update to version 0.13.1:
* gopls: update go.mod for v0.13.1-pre.2
* gopls/internal/hooks: clean language version before passing to gofumpt
* gopls/internal/lsp/analysis: fix stubmethods with variadic parameters
* gopls: update go.mod for v0.13.1-pre.1
* gopls/internal/lsp/source: reinstate equalOrigin for references check
* gopls/internal/lsp/source: fix incorrect 'origin' logic for named types
* gopls/internal/lsp/source: fix renaming of type parameters
* gopls/internal/lsp/source: refresh embeddirective analyzer docs
OBS-URL: https://build.opensuse.org/request/show/1103614
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gopls?expand=0&rev=9
- Update to version 0.12.3:
* gopls: update go.mod for v0.12.3
* gopls/internal/lsp/cache: fix nil panic in analysis toSourceDiagnostic
* gopls/internal/lsp/debug: update hard-coded version for v0.12.3
* gopls/internal/lsp/cache: add debugging assertion for golang/go#60904
* gopls/internal/lsp/cache: guard against "unsafe" by package path, not ID
* gopls/internal/lsp/cache: use types.Unsafe in analysisPackage
* gopls/internal/lsp/work: don't crash when hovering over broken mod dir
* gopls/internal/lsp/cache: reduce importing in analysis
* gopls/internal/regtest: fix goimports on windows when using vendoring
* gopls/internal/lsp/source/completion: ensuring completion completeness
* gopls/internal/regtest/codelens: set GOWORK=off for go mod vendor
* gopls/internal/lsp/cache: two minor simplifications
* gopls/internal/lsp/filecache: reduce lifespan of os.FileInfos
* gopls/internal/lsp: enable min/max builtin completion test
OBS-URL: https://build.opensuse.org/request/show/1094910
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gopls?expand=0&rev=4
Update to version 0.12.2. The initial version was intended to be 0.12.2, so revise the changelog to reflect.
There is an uncommon situation in the upstream repo where tags gopls/v0.12.1 and gopls/v0.12.2 point to the same commit without explanation. This is causing some confusion for tar_scm which tries to select the earlier gopls/v0.12.2. Fix the tarball to reflect latest tagged version, this corner case is unlikely to happen often.
OBS-URL: https://build.opensuse.org/request/show/1090974
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gopls?expand=0&rev=3
- Refactor tarball unpacked sources layout with gopls/ as subdir.
This allows us to include the LICENSE file at the upstream
monorepo repository root. The changes required for the subdir
layout are perhaps excessive for including just one metadata
file, but serves as a good exercise for packaging other utilities
under Go x/tools monorepo.
* Upstream uses monorepo x/tools/ with gopls/ and others in subdirs
* Upstream monorepo shared tools/LICENSE file in repository root dir
* Move param subdir gopls usage from tar_scm to go_modules
* tar_scm param include gopls and LICENSE
* tar_scm param drop extraneous param exclude .git
* Creates gopls-0.12.0.tar.gz unpacked layout gopls-0.12.0/gopls/go.mod
* New layout requires moving LICENSE and vendor/ to subdir in %prep
* New layout requires change to subdir in %build
* New layout requires use path to subdir in %check, %install, %files
OBS-URL: https://build.opensuse.org/request/show/1090970
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gopls?expand=0&rev=2