From ebaca18093acd8d57b9a33b2955d4c45483283c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Balv=C3=ADn?= Date: Tue, 22 Sep 2026 01:31:37 +0200 Subject: [PATCH] docs: note how the module resolves and verify it in release-check Assisted-by: GLM 5.3 Flash --- README.md | 5 +++++ justfile | 2 ++ 2 files changed, 7 insertions(+) diff --git a/README.md b/README.md index 1e091b6..ffb9dc4 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,11 @@ go get sourcedock.dev/petrbalvin/interpres/v2 Requires Go 1.27.1 or newer. The module imports only the standard library. +The module is public and resolves through proxy.golang.org and sum.golang.org +like any other; no GOPROXY or GOPRIVATE setup is needed to fetch it. A machine +that sets `GOPRIVATE=sourcedock.dev` fetches directly from the forge instead, +which skips the proxy and the checksum database. + ## Quick start ```sh diff --git a/justfile b/justfile index 1506a29..0b22a82 100644 --- a/justfile +++ b/justfile @@ -134,6 +134,8 @@ release-check version: print qq{branch, tree, sync and changelog verified; running the gates\n}; system(qw{just gates}) == 0 or die qq{release-check: the gates failed\n}; print qq{release-check: ready to release $version\n}; + print qq{after tagging, verify the /v2 module resolves through the proxy:\n}; + print qq{ cd \$(mktemp -d) && go mod init t && GOPRIVATE= GOPROXY=https://proxy.golang.org go get sourcedock.dev/petrbalvin/interpres/v2\@$version\n}; # Compares the toml-test counts the documentation names with the live suite run; not standard, it exists because a corpus change used to be corrected by hand. docs-drift: