53 Commits

Author SHA256 Message Date
39e11b44f9 Accepting request 1323425 from devel:languages:go
- Update to version 0.21.0:
  * gopls: update go.mod for v0.21.0-pre.2
  * gopls/doc/release/v0.21.0.md: update relnotes for RC2
  * gopls/internal/golang: add util function NarrowestDeclaringPackage
  * gopls/internal/golang: add skeleton for move type codeaction
  * gopls/internal/golang: fix panic in definition
  * gopls/internal/cache: fix %q verb use with wrong type
  * gopls/internal/protocol/generate: move injections to tables.go
  * gopls/internal/protocol: add form field in type CodeAction
  * gopls/internal/metadata: document when Module can be nil
  * gopls/internal/cache: make unimported completions deterministic
  * gopls/completion: avoid nil dereference
  * gopls/internal/template: fix printf mistake in test
  * gopls/doc/release/v0.21.0.md: tweaks
  * gopls/internal/test/integration: add codeAction/resolve in fake editor
  * gopls/internal/test/integration: deduplicate CodeActionByKind util func
  * gopls/internal/util/fingerprint: : remove self-referential alias in TestMatches
  * gopls/internal/golang: remove self-referential alias in TestUnify
  * gopls/internal/mcp: add counter for go_rename_symbol mcp tool
  * gopls/internal/debug: add /package debug view
  * gopls: update go.mod for v0.21.0-pre.1
  * all: update codereview.cfg for gopls-release-branch.0.21
  * gopls/doc/release/v0.21.0.md: prepare
  * gopls/internal/settings: add renameMovesSubpackages setting
  * gopls/internal/golang: allow package move into empty directories
  * gopls/internal/golang: package move: handle mixed build configs
  * go/analysis/passes/inline: add lazy-fix mode for gopls
  * gopls/doc: document Rename feature
  * gopls/internal/golang: implement package move
  * gopls/internal/test/marker: avoid BasicLit in fill_struct.txt (forwarded request 1323424 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1323425
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gopls?expand=0&rev=24
2025-12-18 17:33:19 +00:00
e1642fa66e - Update to version 0.21.0:
* gopls: update go.mod for v0.21.0-pre.2
  * gopls/doc/release/v0.21.0.md: update relnotes for RC2
  * gopls/internal/golang: add util function NarrowestDeclaringPackage
  * gopls/internal/golang: add skeleton for move type codeaction
  * gopls/internal/golang: fix panic in definition
  * gopls/internal/cache: fix %q verb use with wrong type
  * gopls/internal/protocol/generate: move injections to tables.go
  * gopls/internal/protocol: add form field in type CodeAction
  * gopls/internal/metadata: document when Module can be nil
  * gopls/internal/cache: make unimported completions deterministic
  * gopls/completion: avoid nil dereference
  * gopls/internal/template: fix printf mistake in test
  * gopls/doc/release/v0.21.0.md: tweaks
  * gopls/internal/test/integration: add codeAction/resolve in fake editor
  * gopls/internal/test/integration: deduplicate CodeActionByKind util func
  * gopls/internal/util/fingerprint: : remove self-referential alias in TestMatches
  * gopls/internal/golang: remove self-referential alias in TestUnify
  * gopls/internal/mcp: add counter for go_rename_symbol mcp tool
  * gopls/internal/debug: add /package debug view
  * gopls: update go.mod for v0.21.0-pre.1
  * all: update codereview.cfg for gopls-release-branch.0.21
  * gopls/doc/release/v0.21.0.md: prepare
  * gopls/internal/settings: add renameMovesSubpackages setting
  * gopls/internal/golang: allow package move into empty directories
  * gopls/internal/golang: package move: handle mixed build configs
  * go/analysis/passes/inline: add lazy-fix mode for gopls
  * gopls/doc: document Rename feature
  * gopls/internal/golang: implement package move
  * gopls/internal/test/marker: avoid BasicLit in fill_struct.txt

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gopls?expand=0&rev=52
2025-12-17 23:20:14 +00:00
32cc53f319 Accepting request 1296212 from devel:languages:go
- Update to version 0.20.0:
  * gopls: update go.mod for v0.20.0-pre.2
  * gopls/doc/release/v0.20.0.md: final tweaks
  * gopls: update go.mod for v0.20.0-pre.1
  * all: update codereview.cfg for gopls-release-branch.0.20
  * gopls/internal/filewatcher: fix for windows deadlock
  * gopls/internal/cmd: disable mcp tests when fsnotify not supported
  * gopls/internal/mcp: avoid pointless diagnostics in the edit workflow
  * gopls/internal/mcp: document MCP for v0.20.0; some CLI improvements
  * gopls/internal/mcp: a couple more small improvements to instructions
  * gopls/internal/mcp: more tuning of tools and prompts
  * gopls/internal/mcp: include module paths in workspace summaries
  * gopls/internal/cmd: wait for startup log in TestMCPCommandHTTP
  * gopls/internal/cmd: avoid the use of channels in the sessions API
  * gopls/internal/filewatcher: skip test for unsupported OS
  * gopls/doc: document Zed editor
  * gopls/internal/util/tokeninternal: move from internal/tokeninternal
  * gopls/internal/filewatcher: refactor filewatcher to pass in handler func
  * gopls/internal/cache/metadata: use pointers for Graph indexes
  * gopls/internal/filewatcher: skip file removal event when removing dir
  * gopls/internal/util/memoize: move from internal/memoize
  * gopls/internal/util/fakenet: move from internal/fakenet
  * gopls/internal/mcp: add -logfile and -rpc.trace to the headless server
  * gopls/internal/mcp: tune tools for editing
  * gopls/doc: more doc tweaks
  * gopls/internal/server: omit CompletionItem.documentation when empty
  * gopls/internal/settings: use gopls import source
  * gopls: update to x/sync@master
  * gopls/internal/test/marker: temporarily revert marker test shutdown
  * gopls/internal/cmd: fix flaky mcp http test (forwarded request 1296211 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1296212
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gopls?expand=0&rev=23
2025-07-30 09:44:04 +00:00
f30e1f1df8 - Update to version 0.20.0:
* gopls: update go.mod for v0.20.0-pre.2
  * gopls/doc/release/v0.20.0.md: final tweaks
  * gopls: update go.mod for v0.20.0-pre.1
  * all: update codereview.cfg for gopls-release-branch.0.20
  * gopls/internal/filewatcher: fix for windows deadlock
  * gopls/internal/cmd: disable mcp tests when fsnotify not supported
  * gopls/internal/mcp: avoid pointless diagnostics in the edit workflow
  * gopls/internal/mcp: document MCP for v0.20.0; some CLI improvements
  * gopls/internal/mcp: a couple more small improvements to instructions
  * gopls/internal/mcp: more tuning of tools and prompts
  * gopls/internal/mcp: include module paths in workspace summaries
  * gopls/internal/cmd: wait for startup log in TestMCPCommandHTTP
  * gopls/internal/cmd: avoid the use of channels in the sessions API
  * gopls/internal/filewatcher: skip test for unsupported OS
  * gopls/doc: document Zed editor
  * gopls/internal/util/tokeninternal: move from internal/tokeninternal
  * gopls/internal/filewatcher: refactor filewatcher to pass in handler func
  * gopls/internal/cache/metadata: use pointers for Graph indexes
  * gopls/internal/filewatcher: skip file removal event when removing dir
  * gopls/internal/util/memoize: move from internal/memoize
  * gopls/internal/util/fakenet: move from internal/fakenet
  * gopls/internal/mcp: add -logfile and -rpc.trace to the headless server
  * gopls/internal/mcp: tune tools for editing
  * gopls/doc: more doc tweaks
  * gopls/internal/server: omit CompletionItem.documentation when empty
  * gopls/internal/settings: use gopls import source
  * gopls: update to x/sync@master
  * gopls/internal/test/marker: temporarily revert marker test shutdown
  * gopls/internal/cmd: fix flaky mcp http test

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gopls?expand=0&rev=50
2025-07-28 20:01:27 +00:00
ff5c6618f3 Accepting request 1287005 from devel:languages:go
- Update to version 0.19.1:
  * gopls: update go.mod for v0.19.1-pre.1
  * gopls/internal/settings: revert to old goimports index (forwarded request 1287004 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1287005
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gopls?expand=0&rev=22
2025-06-20 14:49:58 +00:00
4cf165b576 - Update to version 0.19.1:
* gopls: update go.mod for v0.19.1-pre.1
  * gopls/internal/settings: revert to old goimports index

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gopls?expand=0&rev=48
2025-06-19 17:05:58 +00:00
672b85d3ff Accepting request 1286238 from devel:languages:go
- Update to version 0.19.0:
- Packaging improvements:
  * Update to BuildRequires: golang(API) >= 1.24 matching go.mod (forwarded request 1286237 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1286238
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gopls?expand=0&rev=21
2025-06-17 16:22:40 +00:00
34ff6cbae3 - Update to version 0.19.0:
- Packaging improvements:
  * Update to BuildRequires: golang(API) >= 1.24 matching go.mod

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gopls?expand=0&rev=46
2025-06-17 04:48:01 +00:00
ca3cd0cf25 Accepting request 1275936 from devel:languages:go
- Packaging improvements:
  * Update to BuildRequires: golang(API) >= 1.23 matching go.mod
  * Add Requires: golang(API) >= 1.23 matching go.mod. This tool
    requires a go toolchain for its functionality. Using
    Recommends: or Suggests: instead may also make sense here. (forwarded request 1275921 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1275936
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gopls?expand=0&rev=20
2025-05-09 16:49:14 +00:00
415054abc9 - Packaging improvements:
* Update to BuildRequires: golang(API) >= 1.23 matching go.mod
  * Add Requires: golang(API) >= 1.23 matching go.mod. This tool
    requires a go toolchain for its functionality. Using
    Recommends: or Suggests: instead may also make sense here.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gopls?expand=0&rev=44
2025-05-09 02:03:10 +00:00
3df911df41 Accepting request 1248243 from devel:languages:go
- Update to version 0.18.1:
  * gopls: update go.mod for v0.18.1-pre.2
  * gopls/internal/settings: fix misleading error messages
  * gopls/internal/golang: add missing json tags for hoverResult
  * gopls: update go.mod for v0.18.1-pre.1
  * gopls: temporarily reinstate the "Structured" hover kind
  * gopls/internal/analysis/modernize: fix minmax bug
  * gopls/internal/analysis/modernize: fix bug in minmax (forwarded request 1248237 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1248243
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gopls?expand=0&rev=19
2025-02-25 15:58:11 +00:00
6cdb72a3f7 - Update to version 0.18.1:
* gopls: update go.mod for v0.18.1-pre.2
  * gopls/internal/settings: fix misleading error messages
  * gopls/internal/golang: add missing json tags for hoverResult
  * gopls: update go.mod for v0.18.1-pre.1
  * gopls: temporarily reinstate the "Structured" hover kind
  * gopls/internal/analysis/modernize: fix minmax bug
  * gopls/internal/analysis/modernize: fix bug in minmax

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gopls?expand=0&rev=42
2025-02-24 20:18:01 +00:00
293e04cadb Accepting request 1247518 from devel:languages:go
- Update to version 0.18.0:
  * gopls: update go.mod for v0.18.0-pre.6
  * gopls/internal/analysis/modernize: fix rangeint bug
  * gopls/internal/analysis/modernize: disable unsound maps.Clone fix
  * gopls: update go.mod for v0.18.0-pre.5
  * gopls: tweak release notes
  * gopls: update go.mod for v0.18.0-pre.4
  * gopls: fix a few bugs related to the new modcache imports source
  * gopls/internal/analysis/modernize: sortslice: fix crash
  * gopls: update go.mod for v0.18.0-pre.3
  * gopls/internal/analysis/modernize: improve rangeint transformation
  * gopls/internal/golang: avoid PackageSymbols errors with missing packages
  * gopls/internal/analysis/gofix: rename local
  * gopls/internal/analysis/gofix: check package visibility
  * gopls: update go.mod for v0.18.0-pre.2
  * gopls/internal/telemetry/cmd/stacks: remove leading \b match
  * gopls: record telemetry counters for settings that are used
  * gopls/internal/golang: folding range: remove FoldingRangeInfo
  * gopls/internal/golang: add comment about SymbolKind
  * gopls/internal/analysis/modernize: appendclipped: unclip
  * gopls/internal/analysis/modernize: strings.Split -> SplitSeq
  * gopls: update go.mod for v0.18.0-pre.1
  * gopls/internal/analysis/modernize: slices.Delete: import slices
  * gopls/internal/analysis/modernize: remove SortStable
  * gopls: update go.mod for v0.18.0-pre.1
  * all: update codereview.cfg for gopls-release-branch.0.18
  * gopls/internal/cache: downgrade bug reports for inconsistent metadata
  * gopls/internal/test/integration: reduce flakes in TestTelemetryPrompt
  * gopls/internal/analysis/modernize: mapsloop: fix two bugs
  * gopls/internal/analysis/modernize/cmd/modernize: create (forwarded request 1247517 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1247518
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gopls?expand=0&rev=18
2025-02-21 20:36:47 +00:00
ab7a877762 - Update to version 0.18.0:
* gopls: update go.mod for v0.18.0-pre.6
  * gopls/internal/analysis/modernize: fix rangeint bug
  * gopls/internal/analysis/modernize: disable unsound maps.Clone fix
  * gopls: update go.mod for v0.18.0-pre.5
  * gopls: tweak release notes
  * gopls: update go.mod for v0.18.0-pre.4
  * gopls: fix a few bugs related to the new modcache imports source
  * gopls/internal/analysis/modernize: sortslice: fix crash
  * gopls: update go.mod for v0.18.0-pre.3
  * gopls/internal/analysis/modernize: improve rangeint transformation
  * gopls/internal/golang: avoid PackageSymbols errors with missing packages
  * gopls/internal/analysis/gofix: rename local
  * gopls/internal/analysis/gofix: check package visibility
  * gopls: update go.mod for v0.18.0-pre.2
  * gopls/internal/telemetry/cmd/stacks: remove leading \b match
  * gopls: record telemetry counters for settings that are used
  * gopls/internal/golang: folding range: remove FoldingRangeInfo
  * gopls/internal/golang: add comment about SymbolKind
  * gopls/internal/analysis/modernize: appendclipped: unclip
  * gopls/internal/analysis/modernize: strings.Split -> SplitSeq
  * gopls: update go.mod for v0.18.0-pre.1
  * gopls/internal/analysis/modernize: slices.Delete: import slices
  * gopls/internal/analysis/modernize: remove SortStable
  * gopls: update go.mod for v0.18.0-pre.1
  * all: update codereview.cfg for gopls-release-branch.0.18
  * gopls/internal/cache: downgrade bug reports for inconsistent metadata
  * gopls/internal/test/integration: reduce flakes in TestTelemetryPrompt
  * gopls/internal/analysis/modernize: mapsloop: fix two bugs
  * gopls/internal/analysis/modernize/cmd/modernize: create

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gopls?expand=0&rev=40
2025-02-21 05:53:50 +00:00
52138808b9 Accepting request 1241677 from devel:languages:go
- Update to version 0.17.1:
  * gopls: update go.mod for v0.17.1-pre.1
  * gopls/internal/cache/testfuncs: fix crash with *error argument
  * gopls/internal/golang/completion: fix crash in instance conversion

OBS-URL: https://build.opensuse.org/request/show/1241677
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gopls?expand=0&rev=17
2025-02-03 20:42:14 +00:00
66f39ee065 Minor changelog formatting
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gopls?expand=0&rev=38
2025-01-31 16:32:04 +00:00
0466386b93 - Update to version 0.17.1:
* gopls: update go.mod for v0.17.1-pre.1
  * [gopls-release-branch.0.17] gopls/internal/cache/testfuncs: fix crash with *error argument
  * [gopls-release-branch.0.17] gopls/internal/golang/completion: fix crash in instance conversion

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gopls?expand=0&rev=37
2025-01-31 16:28:20 +00:00
12a7c80d61 Accepting request 1230665 from devel:languages:go
- Update to version 0.17.0:
  * gopls: update go.mod for v0.17.0-pre.5
  * internal/typesinternal: rollback of Zero{Value,Expr} for gopls
  * gopls: update go.mod for v0.17.0-pre.4
  * gopls/internal/golang: support extract variable at top level
  * gopls/internal/golang: ignore effects for change signature refactoring
  * gopls/internal/golang: add "Extract constant" counterpart
  * gopls/internal/golang/stubmethods: refine crash into bug report
  * gopls/internal/golang: don't offer to move variadic parameters
  * gopls/internal/test/marker: add reproducers for moveparam bug bash bugs
  * gopls/internal/analysis/yield: add comment about dataflow
  * gopls/internal/golang: avoid crash in lookupDocLinkSymbol
  * gopls/internal/golang/completion: fix crash with extra results
  * gopls/internal/settings: enable 'waitgroup' analyzer
  * gopls/internal/golang: Disable test generation for generic functions
  * gopls/internal/analysis/yield: peephole-optimize phi(false, x)
  * gopls/internal/golang: fix folding range for function calls
  * gopls/internal/golang/completion: add alias support for literals
  * gopls/internal/undeclaredname: add missing colon when appropriate
  * gopls/internal/golang: simplify package name collection in add test
  * gopls: update go.mod for v0.17.0-pre.3
  * gopls/internal/golang: refactor.extract.variable: allow all exprs
  * gopls/internal/cache/methodsets: refine crash for missing object path
  * gopls/internal/golang: refine crash golang/go#70553
  * gopls/internal/golang: change signature via renaming 'func'
  * gopls/internal/golang: support parameter movement refactorings
  * gopls/doc/features: enable and document source.addTest code action
  * gopls/internal/golang: improve test package name selection for new file
  * gopls/internal/golang: don't lose ... when split/joining variadics
  * gopls/internal/crash: don't crash in xrefs on out of bound nodes (forwarded request 1230664 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1230665
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gopls?expand=0&rev=16
2024-12-13 21:37:49 +00:00
b5c9185765 Accepting request 1230664 from home:jfkw:branches:devel:languages:go
- Update to version 0.17.0:
  * gopls: update go.mod for v0.17.0-pre.5
  * internal/typesinternal: rollback of Zero{Value,Expr} for gopls
  * gopls: update go.mod for v0.17.0-pre.4
  * gopls/internal/golang: support extract variable at top level
  * gopls/internal/golang: ignore effects for change signature refactoring
  * gopls/internal/golang: add "Extract constant" counterpart
  * gopls/internal/golang/stubmethods: refine crash into bug report
  * gopls/internal/golang: don't offer to move variadic parameters
  * gopls/internal/test/marker: add reproducers for moveparam bug bash bugs
  * gopls/internal/analysis/yield: add comment about dataflow
  * gopls/internal/golang: avoid crash in lookupDocLinkSymbol
  * gopls/internal/golang/completion: fix crash with extra results
  * gopls/internal/settings: enable 'waitgroup' analyzer
  * gopls/internal/golang: Disable test generation for generic functions
  * gopls/internal/analysis/yield: peephole-optimize phi(false, x)
  * gopls/internal/golang: fix folding range for function calls
  * gopls/internal/golang/completion: add alias support for literals
  * gopls/internal/undeclaredname: add missing colon when appropriate
  * gopls/internal/golang: simplify package name collection in add test
  * gopls: update go.mod for v0.17.0-pre.3
  * gopls/internal/golang: refactor.extract.variable: allow all exprs
  * gopls/internal/cache/methodsets: refine crash for missing object path
  * gopls/internal/golang: refine crash golang/go#70553
  * gopls/internal/golang: change signature via renaming 'func'
  * gopls/internal/golang: support parameter movement refactorings
  * gopls/doc/features: enable and document source.addTest code action
  * gopls/internal/golang: improve test package name selection for new file
  * gopls/internal/golang: don't lose ... when split/joining variadics
  * gopls/internal/crash: don't crash in xrefs on out of bound nodes

OBS-URL: https://build.opensuse.org/request/show/1230664
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gopls?expand=0&rev=35
2024-12-12 23:30:50 +00:00
7e662a83e8 Accepting request 1199067 from devel:languages:go
- Update to version 0.16.2:
  * gopls: update go.mod for v0.16.2-pre.2
  * gopls: update x/telemetry dependency
  * gopls: increment the telemetryprompt acceptance counter for each session
  * gopls: add x/tools replace directive
  * gopls: update go.mod for v0.16.2-pre.1
  * gopls: update x/telemetry dependency (forwarded request 1199066 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1199067
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gopls?expand=0&rev=15
2024-09-06 15:18:36 +00:00
12e8e9a148 - Update to version 0.16.2:
* gopls: update go.mod for v0.16.2-pre.2
  * gopls: update x/telemetry dependency
  * gopls: increment the telemetryprompt acceptance counter for each session
  * gopls: add x/tools replace directive
  * gopls: update go.mod for v0.16.2-pre.1
  * gopls: update x/telemetry dependency

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gopls?expand=0&rev=33
2024-09-05 19:40:13 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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