Skip to content
Snippets Groups Projects
Select Git revision
  • 2345ed42ffdb1ec6d1bca1380205dd3aa8345826
  • main default protected
  • nisse/update-trillian-v1.6.1
  • ln5/NEWS-v0.14.1
  • nisse/update-sigsum-go-v0.3.2
  • nisse/update-leaf-request-refactor
  • ci-gofmt-fail
  • multiple-secondaries
  • gregoire/test-doc
  • v0.15.2
  • v0.15.1
  • v0.15.0
  • v0.14.1
  • v0.14.0
  • v0.13.0
  • v0.12.0
  • v0.11.0
  • v0.10.0
  • v0.9.0
  • v0.8.0
  • v0.7.0
  • v0.6.2
  • v0.6.1
  • v0.6.0
  • v0.5.1
  • v0.5.0
  • v0.4.0
  • v0.3.5
  • v0.3.4
29 results

log-go

Niels Möller's avatar
Niels Möller authored
On the "go 1.22.0" directive in go.mod: trillian indirectly depends on
x/mod and x/tools, which both specify a dependency on "go@1.22.0".
Then using "go 1.22" breaks, because 1.22 is considered to old for the
1.22.0 dependencies. So both we and trillian have to include a third
".0" component, "go 1.22.0".

This is somewhat counter intuitive when all you're really interested
in is the language version; and different to the examples on
https://go.dev/ref/mod#go-mod-file-go, where none of the go directive
examples include a third component.

In later go versions (1.23 or 1.24?), the go tooling has been updated
to treat "go 1.x" more or less as an alias for "go 1.x.0". So at a
later update, we will likely be able to drop the ".0" and go back to
just two components, with "go 1.23" or "go 1.24".
2345ed42
History
Name Last commit Last update