Commit Graph

32 Commits

Author SHA256 Message Date
Ana Guerrero
643d20b30f Accepting request 1184922 from devel:languages:go
- Update to version 0.16.1:
  * gopls: update go.mod for v0.16.1-pre.1
  * gopls/internal/server: add counters to inform v0.17.0
  * gopls/internal/golang: strip @v1.2.3 suffix from pkgdoc URLs
  * internal/typeparams: fix crash in interface hover with empty type set
  * gopls/internal/golang/completion: fix package clause completion suffix (forwarded request 1184921 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1184922
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gopls?expand=0&rev=14
2024-07-03 18:30:40 +00:00
Jeff Kowalczyk
233bbf8d46 Accepting request 1184921 from home:jfkw:branches:devel:languages:go
- Update to version 0.16.1:
  * gopls: update go.mod for v0.16.1-pre.1
  * gopls/internal/server: add counters to inform v0.17.0
  * gopls/internal/golang: strip @v1.2.3 suffix from pkgdoc URLs
  * internal/typeparams: fix crash in interface hover with empty type set
  * gopls/internal/golang/completion: fix package clause completion suffix

OBS-URL: https://build.opensuse.org/request/show/1184921
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gopls?expand=0&rev=31
2024-07-02 18:36:38 +00:00
Ana Guerrero
7adb70ca51 Accepting request 1182022 from devel:languages:go
- Update to version 0.16.0: (forwarded request 1182021 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1182022
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gopls?expand=0&rev=13
2024-06-21 14:04:48 +00:00
Jeff Kowalczyk
597fb2df69 - Update to version 0.16.0:
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gopls?expand=0&rev=29
2024-06-20 21:40:45 +00:00
Ana Guerrero
83b543a56a Accepting request 1167900 from devel:languages:go
- 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
2024-04-16 18:04:25 +00:00
Jeff Kowalczyk
71cc0116d7 Accepting request 1167899 from home:jfkw:branches:devel:languages:go
- 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
2024-04-16 03:57:28 +00:00
Ana Guerrero
00497f6e04 Accepting request 1159983 from devel:languages:go
- Update to version 0.15.2:
  * gopls: update go.mod for v0.15.2-pre.2
  * gopls/internal/server: update telemetry prompt link
  * gopls/internal/golang: fix crash in package references
  * gopls/internal/server: fix crash in SignatureHelp
  * gopls: update go.mod for v0.15.2-pre.1
  * gopls/internal/cache: add assertions for telemetry crash
  * gopls/internal/server: set -mod=readonly when checking for upgrades
  * gopls/internal/cache: avoid go/types panic on version "go1.2.3"
  * gopls/internal/cache: fix spurious diagnostics in multi-root workspaces
  * gopls/internal/cache: prune broken edges to command-line-arguments pkgs (forwarded request 1159982 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1159983
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gopls?expand=0&rev=11
2024-03-21 16:00:50 +00:00
Jeff Kowalczyk
b5ff48864f Accepting request 1159982 from home:jfkw:branches:devel:languages:go
- Update to version 0.15.2:
  * gopls: update go.mod for v0.15.2-pre.2
  * gopls/internal/server: update telemetry prompt link
  * gopls/internal/golang: fix crash in package references
  * gopls/internal/server: fix crash in SignatureHelp
  * gopls: update go.mod for v0.15.2-pre.1
  * gopls/internal/cache: add assertions for telemetry crash
  * gopls/internal/server: set -mod=readonly when checking for upgrades
  * gopls/internal/cache: avoid go/types panic on version "go1.2.3"
  * gopls/internal/cache: fix spurious diagnostics in multi-root workspaces
  * gopls/internal/cache: prune broken edges to command-line-arguments pkgs

OBS-URL: https://build.opensuse.org/request/show/1159982
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gopls?expand=0&rev=25
2024-03-21 06:31:30 +00:00
Ana Guerrero
54b52cdb01 Accepting request 1153003 from devel:languages:go
- Update to version 0.15.1:
  * gopls: update go.mod for v0.15.1-pre.1
  * gopls/internal/test: add test for NPE in control flow highlighting
  * gopls: add non nil if check around function result highlight (forwarded request 1153002 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1153003
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gopls?expand=0&rev=10
2024-02-28 18:51:15 +00:00
Jeff Kowalczyk
51ce40385f Accepting request 1153002 from home:jfkw:branches:devel:languages:go
- Update to version 0.15.1:
  * gopls: update go.mod for v0.15.1-pre.1
  * gopls/internal/test: add test for NPE in control flow highlighting
  * gopls: add non nil if check around function result highlight

OBS-URL: https://build.opensuse.org/request/show/1153002
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gopls?expand=0&rev=23
2024-02-28 18:07:54 +00:00
Ana Guerrero
571ef4f26a Accepting request 1151969 from devel:languages:go
- 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
2024-02-27 21:47:55 +00:00
Jeff Kowalczyk
75ad1aa833 Accepting request 1151968 from home:jfkw:branches:devel:languages:go
- 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

OBS-URL: https://build.opensuse.org/request/show/1151968
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gopls?expand=0&rev=21
2024-02-26 22:01:40 +00:00
Ana Guerrero
164411d53e Accepting request 1127191 from devel:languages:go
- Update to version 0.14.2:
  * gopls: update go.mod for v0.14.2-pre.1
  * gopls: upgrade x/telemetry and account for new mode logic (forwarded request 1127178 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1127191
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gopls?expand=0&rev=8
2023-11-17 19:49:34 +00:00
Jeff Kowalczyk
8ff8f0c421 Accepting request 1127178 from home:jfkw:branches:devel:languages:go
- Update to version 0.14.2:
  * gopls: update go.mod for v0.14.2-pre.1
  * gopls: upgrade x/telemetry and account for new mode logic

OBS-URL: https://build.opensuse.org/request/show/1127178
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gopls?expand=0&rev=19
2023-11-16 20:54:22 +00:00
Ana Guerrero
b3bcffb861 Accepting request 1121256 from devel:languages:go
- Update to version 0.14.1:
  * gopls: update go.mod for v0.14.1-pre.1
  * gopls/internal/lsp: fix code action panic on params of external funcs
  * go/packages: don't fail if GOPACKAGESDRIVER leaves Compiler/GOARCH="" (forwarded request 1121254 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1121256
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gopls?expand=0&rev=7
2023-10-30 21:11:42 +00:00
Jeff Kowalczyk
d8cddf7f90 Accepting request 1121254 from home:jfkw:branches:devel:languages:go
- Update to version 0.14.1:
  * gopls: update go.mod for v0.14.1-pre.1
  * gopls/internal/lsp: fix code action panic on params of external funcs
  * go/packages: don't fail if GOPACKAGESDRIVER leaves Compiler/GOARCH=""

OBS-URL: https://build.opensuse.org/request/show/1121254
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gopls?expand=0&rev=17
2023-10-30 17:09:05 +00:00
Ana Guerrero
8650d532e0 Accepting request 1120335 from devel:languages:go
- Update to version 0.14.0: (forwarded request 1120334 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1120335
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gopls?expand=0&rev=6
2023-10-26 15:13:36 +00:00
Jeff Kowalczyk
c61ce30f96 Accepting request 1120334 from home:jfkw:branches:devel:languages:go
- Update to version 0.14.0:

OBS-URL: https://build.opensuse.org/request/show/1120334
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gopls?expand=0&rev=15
2023-10-25 15:31:57 +00:00
Ana Guerrero
2ee2aebe70 Accepting request 1110780 from devel:languages:go
- License correction based on legaldb review
  Add Apache-2.0 and MIT for vendor/gopkg.in/yaml.v3 (forwarded request 1110633 from lkocman)

OBS-URL: https://build.opensuse.org/request/show/1110780
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gopls?expand=0&rev=5
2023-09-13 18:45:15 +00:00
Jeff Kowalczyk
9d649d6be3 Accepting request 1110633 from home:lkocman:branches:devel:languages:go
- License correction based on legaldb review
  Add Apache-2.0 and MIT for vendor/gopkg.in/yaml.v3

OBS-URL: https://build.opensuse.org/request/show/1110633
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gopls?expand=0&rev=13
2023-09-13 04:48:58 +00:00
Ana Guerrero
1394671afe Accepting request 1104477 from devel:languages:go
- Update to version 0.13.2:
  * gopls: update go.mod for v0.13.2-pre.1
  * [gopls-release-branch.0.13] refactor/satisfy: (re)allow composite lits of pointer type (forwarded request 1104476 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1104477
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gopls?expand=0&rev=4
2023-08-18 17:28:38 +00:00
Jeff Kowalczyk
25ef0c421c Accepting request 1104476 from home:jfkw:branches:devel:languages:go
- Update to version 0.13.2:
  * gopls: update go.mod for v0.13.2-pre.1
  * [gopls-release-branch.0.13] refactor/satisfy: (re)allow composite lits of pointer type

OBS-URL: https://build.opensuse.org/request/show/1104476
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gopls?expand=0&rev=11
2023-08-17 20:36:31 +00:00
Dominique Leuenberger
841a68d655 Accepting request 1103616 from devel:languages:go
- 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
2023-08-13 17:17:49 +00:00
Jeff Kowalczyk
2c83b50aa4 Accepting request 1103614 from home:jfkw:branches:devel:languages:go
- 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
2023-08-12 17:00:59 +00:00
Yuchen Lin
1a693fbee1 Accepting request 1101561 from devel:languages:go
- Update to version 0.13.0: (forwarded request 1101555 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1101561
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gopls?expand=0&rev=2
2023-08-01 12:16:12 +00:00
Jeff Kowalczyk
ed61bab0de Accepting request 1101555 from home:jfkw:branches:devel:languages:go
- Update to version 0.13.0:

OBS-URL: https://build.opensuse.org/request/show/1101555
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gopls?expand=0&rev=7
2023-07-31 15:03:38 +00:00
Dominique Leuenberger
4408b2c383 Accepting request 1095451 from devel:languages:go
New package gopls (pronounced "Go please") version 0.12.4 is the official Go language server developed by the Go team. It provides IDE features to any LSP-compatible editor.

OBS-URL: https://build.opensuse.org/request/show/1095451
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gopls?expand=0&rev=1
2023-06-27 21:16:28 +00:00
Jeff Kowalczyk
51c2725c6a Accepting request 1095448 from home:jfkw:branches:devel:languages:go
- Update to version 0.12.4:
  * gopls/internal/lsp/cache: don't panic when import fails during analysis
  * gopls: update go.mod for v0.12.4
  * gopls/internal/lsp/cache: don't record edges to invalid packages

OBS-URL: https://build.opensuse.org/request/show/1095448
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gopls?expand=0&rev=5
2023-06-26 14:44:56 +00:00
Jeff Kowalczyk
8e13b83ab0 Accepting request 1094910 from home:jfkw:branches:devel:languages:go
- 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
2023-06-23 15:45:02 +00:00
Jeff Kowalczyk
ee8dfe9ac8 Accepting request 1090974 from home:jfkw:branches:devel:languages:go
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
2023-06-05 19:12:00 +00:00
Jeff Kowalczyk
cf9f404b0b Accepting request 1090970 from home:jfkw:branches:devel:languages:go
- 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
2023-06-05 17:51:32 +00:00
Jeff Kowalczyk
c70a37fc15 Accepting request 1090947 from home:jfkw:branches:devel:languages:go
New package gopls version 0.12.2 is the official Go language server developed by the Go team.

OBS-URL: https://build.opensuse.org/request/show/1090947
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gopls?expand=0&rev=1
2023-06-05 14:59:21 +00:00