golang: +go1.17 -go1.15
Go1.17 is incremental improvement over Go1.16 with better and faster compiler, runtime, module-mode improvements and faster generated code: https://blog.golang.org/go1.17 https://golang.org/doc/go1.17 Drop support for Go1.15, as that release reached EOL and nothing currently uses it in SlapOS. Don't drop support for Go1.12 yet, as that long-ago-EOL and no longer supported Go release is still being used by software/gitlab. Remain default at Go1.16 yet. Switch helloworld to Go1.17 and test this patch on that software-release.
-
Owner
Don't drop support for Go1.12 yet, as that long-ago-EOL and no longer supported Go release is still being used by software/gitlab.
/cc @alain.takoudjou, @jerome, @lpgeneau
-
Maintainer
@kirr This patch added the
[gowork]
section with explicit declaration of used go version to thehelloworld
SR. Was this done in order to support latest go version for helloworld (because it still took one more month until the default go version was set to go 1.17)? Or was this done in order to illustrate how to explicitly set the go version within a SlapOS SR?I'm asking to understand if it's better to remove the explicit definition of the go version here or if it's better to update the definition to
golang1.18
. -
Owner
@levin.zimmermann, if I remember correctly it was for the former: use more recent Go version in helloworld while the default was still at go1.16. I would say if software-release has a reason to use particular Go version - it should pin it inside it. But otherwise probably it should just use the default.
-
Maintainer
Thanks @kirr for clarifying!
-
mentioned in commit levin.zimmermann/slapos@f2306a59
-
Owner
You are welcome, @levin.zimmermann.
-
mentioned in merge request !1330 (closed)
-
mentioned in commit 09f93642