pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/gopls



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Nov  9 14:25:31 UTC 2020

Modified Files:
        pkgsrc/devel/gopls: Makefile distinfo go-modules.mk

Log Message:
gopls: update to 0.5.2.

Features

No new features have been added in this release.

Experimental

We have added support for a new allExperiments setting. By enabling
this flag, you will enable all experimental features that we intend
to roll out slowly. You can still disable individual settings (full
list of settings). In-progress features, such as multi-module
workspaces (below), will remain disabled until they are ready for
users.

Improved CPU utilization: experimentalDiagnosticsDelay

experimentalDiagnosticsDelay controls the amount of time that gopls
waits after the most recent file modification before computing deep
diagnostics. Simple diagnostics (parsing and type-checking) are
always run immediately on recently modified packages.

Enable it by setting it to a duration string, for example "200ms".
With allExperiments, this is set to "200ms".

Improved memory usage for workspaces with multiple folders:
experimentalPackageCacheKey

experimentalPackageCacheKey controls whether to use a coarser cache
key for package type information. If you use the gopls daemon, this
may reduce your total memory usage.

Enable it by setting it to true. With allExperiments, this is set
to true.

Multi-module workspace support

The proposal described in golang/go#32394 is still in development
and off by default. See our progress by tracking the multi-module
workspace milestone and project.

Enable multi-module workspace support by adding the following to
your settings:

"gopls": { "experimentalWorkspaceModule": true, }

With this setting, you will be able to open a directory that contains
multiple modules. Most features will work across modules, but some,
such as goimports, will not work as expected.

Give this a try if you're interested in this new feature, but please
note that it is still very experimental.

Support for semantic tokens

This is a new, unreleased LSP feature that provides additional
syntax highlighting. In advance of this new LSP version, we have
added preliminary support for this feature. Enable it by setting:

"gopls": { "semanticTokens": true, }

It will not be enabled with allExperiments.

Fixes

A list of all issues fixed can be found in the gopls/v0.5.2 milestone.

For editor clients

All command names have been given gopls. prefixes, to avoid
conflicting with commands registered by other language servers.
This should not have affected any clients.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/gopls/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/gopls/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/gopls/go-modules.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/gopls/Makefile
diff -u pkgsrc/devel/gopls/Makefile:1.13 pkgsrc/devel/gopls/Makefile:1.14
--- pkgsrc/devel/gopls/Makefile:1.13    Sun Nov  8 21:59:25 2020
+++ pkgsrc/devel/gopls/Makefile Mon Nov  9 14:25:31 2020
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.13 2020/11/08 21:59:25 bsiegert Exp $
+# $NetBSD: Makefile,v 1.14 2020/11/09 14:25:31 wiz Exp $
 #
 # Release notes:
 # https://github.com/golang/tools/releases
 
-DISTNAME=      gopls-0.5.1
-PKGREVISION=   1
+DISTNAME=      gopls-0.5.2
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=golang/}
 GITHUB_PROJECT=        tools

Index: pkgsrc/devel/gopls/distinfo
diff -u pkgsrc/devel/gopls/distinfo:1.6 pkgsrc/devel/gopls/distinfo:1.7
--- pkgsrc/devel/gopls/distinfo:1.6     Wed Oct 14 16:23:33 2020
+++ pkgsrc/devel/gopls/distinfo Mon Nov  9 14:25:31 2020
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2020/10/14 16:23:33 wiz Exp $
+$NetBSD: distinfo,v 1.7 2020/11/09 14:25:31 wiz Exp $
 
 SHA1 (github.com__burnt_sushi_toml_@v_v0.3.1.mod) = 0937ac1d493b480c07bf48073bffe60c2ba902f1
 RMD160 (github.com__burnt_sushi_toml_@v_v0.3.1.mod) = 722a12078a5d845bfcf238c63a7b7d3a563b48be
@@ -252,10 +252,10 @@ SHA1 (gopkg.in_yaml.v2_@v_v2.2.4.zip) = 
 RMD160 (gopkg.in_yaml.v2_@v_v2.2.4.zip) = 7022398f8f84a9194506a17fbc7d812a36565027
 SHA512 (gopkg.in_yaml.v2_@v_v2.2.4.zip) = a8fa21d2f84f8c6f28250e9ec7d678ae160963eaa0a373f345fe67804925b2647239a6117ad6f253f458f34ec9f62bc21e8f2071fc9dfe76dbd2a7ded1e1a0e0
 Size (gopkg.in_yaml.v2_@v_v2.2.4.zip) = 80160 bytes
-SHA1 (gopls-0.5.1.tar.gz) = 03fbc27350e3c545b33d9b2c85c3ec0816135814
-RMD160 (gopls-0.5.1.tar.gz) = 66867c8683c33545dc9801d608c417832212a60d
-SHA512 (gopls-0.5.1.tar.gz) = d73c71fbac6a241447cbb5fca67068da7a1612e3d122675526e322fb6b165c9c643c4b183102293da13d780a6f7288a50a2724f3c300c3970f7c1ba8e149f75c
-Size (gopls-0.5.1.tar.gz) = 2585103 bytes
+SHA1 (gopls-0.5.2.tar.gz) = a28a9887c2a4faeb003fd6b702d596666adac73e
+RMD160 (gopls-0.5.2.tar.gz) = 272bd2098956fb09da2b9e57b79675051eb6cf6f
+SHA512 (gopls-0.5.2.tar.gz) = 998c6c27d28f48743ec6872fcd91fd13f7acc83ebcb2acc295bffc20edda4c613a5564e63168a5eabab3e6e044cbb955b9eb1af3bbb78cc3acccf9a57e8690b6
+Size (gopls-0.5.2.tar.gz) = 2612580 bytes
 SHA1 (honnef.co_go_tools_@v_v0.0.1-2020.1.5.mod) = 884230fa57f95c4a81621167b2e0e4fbfaa02aad
 RMD160 (honnef.co_go_tools_@v_v0.0.1-2020.1.5.mod) = 944c4428ae3ccd14ee1418d612a5a61e8586fc5b
 SHA512 (honnef.co_go_tools_@v_v0.0.1-2020.1.5.mod) = d814675e448688f6a506397bedb262fb2583c913ec1f8ca9ffc11206bdcd7e1f4ee3c561aee366eb2cdaede8c522a6f58f116236f3033bc7e91ec139bdd140f9

Index: pkgsrc/devel/gopls/go-modules.mk
diff -u pkgsrc/devel/gopls/go-modules.mk:1.3 pkgsrc/devel/gopls/go-modules.mk:1.4
--- pkgsrc/devel/gopls/go-modules.mk:1.3        Wed Oct 14 16:29:26 2020
+++ pkgsrc/devel/gopls/go-modules.mk    Mon Nov  9 14:25:31 2020
@@ -1,4 +1,5 @@
-# $NetBSD: go-modules.mk,v 1.3 2020/10/14 16:29:26 wiz Exp $
+# $NetBSD: go-modules.mk,v 1.4 2020/11/09 14:25:31 wiz Exp $
+
 GO_MODULE_FILES+=      github.com/!burnt!sushi/toml/@v/v0.3.1.mod
 GO_MODULE_FILES+=      github.com/!burnt!sushi/toml/@v/v0.3.1.zip
 GO_MODULE_FILES+=      github.com/davecgh/go-spew/@v/v1.1.0.mod



Home | Main Index | Thread Index | Old Index