From 5b2934a1053e0007c0a02da755549a6f89ac31b8 Mon Sep 17 00:00:00 2001 From: Manuel de Brito Fontes Date: Mon, 28 Sep 2026 23:37:42 -0300 Subject: [PATCH] go-tools e4f04c0: the gate is versions/gate Co-Authored-By: Claude Opus 5.5 (1M context) --- go.mod | 2 +- go.sum | 4 ++-- versions/gate_test.go | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index adc4620..b9336ca 100644 --- a/go.mod +++ b/go.mod @@ -10,7 +10,7 @@ tool ( github.com/spin-stack/go-tools/cmd/versions ) -require github.com/spin-stack/go-tools v0.0.0-20260928211501-882106443f96 +require github.com/spin-stack/go-tools v0.0.0-20260929023541-e4f04c0bb20a require ( go.yaml.in/yaml/v3 v3.0.5 // indirect diff --git a/go.sum b/go.sum index 443bf3d..987fe12 100644 --- a/go.sum +++ b/go.sum @@ -1,7 +1,7 @@ github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/spin-stack/go-tools v0.0.0-20260928211501-882106443f96 h1:/esonv7bEHaAwSYEv8tqSia9PQU69T1UkSFQAUij/V8= -github.com/spin-stack/go-tools v0.0.0-20260928211501-882106443f96/go.mod h1:pQNBiVAi7uoXVlw5UniOQkZ/KYT9dRBeQz2KCW4XtAg= +github.com/spin-stack/go-tools v0.0.0-20260929023541-e4f04c0bb20a h1:phgz9ZMgzDhoFgXEkJZN7zxIguZKpZslp6Wa3EjaPcQ= +github.com/spin-stack/go-tools v0.0.0-20260929023541-e4f04c0bb20a/go.mod h1:pQNBiVAi7uoXVlw5UniOQkZ/KYT9dRBeQz2KCW4XtAg= github.com/stretchr/testify v1.12.1 h1:EuwCh5fleGS7H32xRwO3wRGT7DxrDhLAT6FF8MpWDWE= github.com/stretchr/testify v1.12.1/go.mod h1:MDEgiDPPsNp5cuIrHPPCyornHKgEVbtFUmoNlxoYthg= go.yaml.in/yaml/v3 v3.0.5 h1:N6y/pJk8buWs9NY5ERU2HSMfm+IuD/OtfdAnq6kESPw= diff --git a/versions/gate_test.go b/versions/gate_test.go index 2388cfb..7c1fc63 100644 --- a/versions/gate_test.go +++ b/versions/gate_test.go @@ -10,6 +10,7 @@ import ( "testing" "github.com/spin-stack/go-tools/versions" + "github.com/spin-stack/go-tools/versions/gate" ) // root is the repository's: a test runs in its package's directory. @@ -18,7 +19,7 @@ const root = ".." // A version is written once: in versions.yaml. The gate is go-tools': no digest or commit // anywhere else, no Dockerfile pin with a default of its own, no entry nothing reads. func TestVersionsYAMLIsTheOnlyPin(t *testing.T) { - g := versions.Gate{Root: root, Elsewhere: []string{ + g := gate.Gate{Root: root, Elsewhere: []string{ // What Go writes of its own modules. "go.sum", // The qboot commit the patch was cut against and the licence it carries. A bump of qboot