Skip to content

Commit 352bbb6

Browse files
fix(docs): correct go-module tag note in v1.2 version pins
Address review feedback from IvanHunters on data/versions/v1.2.yaml: earlier git tags api/apps/v1alpha1/v1.1.6 and v1.1.7 exist but do not resolve as Go module versions (proxy.golang.org returns 404), whereas v1.2.0 resolves. So v1.2.0 is the earliest `go get`-resolvable version; the action is unchanged and only the rationale comment is corrected. Signed-off-by: Myasnikov Daniil <[email protected]>
1 parent 07482d3 commit 352bbb6

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

‎data/versions/v1.2.yaml‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,12 @@
99
# cozystack-api/go-types.md.
1010
#
1111
# Note: the Go API submodule (github.com/cozystack/cozystack/api/apps/v1alpha1)
12-
# was first tagged at api/apps/v1alpha1/v1.2.0, so v1.2 is the earliest release
13-
# whose go-types page can pin to its own tag. The v1.0/v1.1 go-types pages keep
14-
# a v1.2.0 literal because no earlier module tag exists for `go get` to resolve.
12+
# has earlier git tags (api/apps/v1alpha1/v1.1.6, v1.1.7), but those do not
13+
# resolve as Go module versions — proxy.golang.org returns 404 for them, while
14+
# v1.2.0 resolves. So v1.2.0 is the earliest version `go get` can fetch, making
15+
# v1.2 the first release whose go-types page can pin to its own tag. The
16+
# v1.0/v1.1 go-types pages keep a v1.2.0 literal for the same reason: no earlier
17+
# resolvable module version exists.
1518

1619
# Cozystack release the docs are pinned to.
1720
cozystack_tag: "v1.2.0" # v-prefixed, as used in `go get …@<tag>`

0 commit comments

Comments
 (0)