From ddd245b3d79338aaf59b67c1c8f54b29bcaca268 Mon Sep 17 00:00:00 2001 From: Zach Hoffman Date: Thu, 20 Oct 2022 08:37:18 -0600 Subject: [PATCH 1/2] Retract versions v1.1.0 through v1.1.5 from Go modules --- go.mod | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/go.mod b/go.mod index 3e96020d2d..5e77ab1a89 100644 --- a/go.mod +++ b/go.mod @@ -99,3 +99,18 @@ require ( gopkg.in/jcmturner/gokrb5.v7 v7.5.0 // indirect gopkg.in/jcmturner/rpc.v1 v1.1.0 // indirect ) + +// Although the Apache Traffic Control considers v7.0.1 stable, Go modules consider it unstable because its major version +// is greater than 1, and without these retractions, a commit like 817a702a9de6 will have a computed vesion of +// v1.1.4-0.20201118150121-817a702a9de6 +// With these retractions, the same commit will have a computed version of +// v0.0.0-20201118150121-817a702a9de6 +// See https://pkg.go.dev/cmd/go@go1.15.15#hdr-Module_compatibility_and_semantic_versioning for details. +retract ( + v1.1.5 + v1.1.4 + v1.1.3 + v1.1.2 + v1.1.1 + v1.1.0 +) From 7d108a7ad79c6a3a950263ec9fbae697a77b5610 Mon Sep 17 00:00:00 2001 From: Zach Hoffman Date: Tue, 15 Nov 2022 15:54:35 -0700 Subject: [PATCH 2/2] Rename v1.1.5 tag to v1.1.5-retractions --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 5e77ab1a89..9ccca7872e 100644 --- a/go.mod +++ b/go.mod @@ -107,7 +107,7 @@ require ( // v0.0.0-20201118150121-817a702a9de6 // See https://pkg.go.dev/cmd/go@go1.15.15#hdr-Module_compatibility_and_semantic_versioning for details. retract ( - v1.1.5 + v1.1.5-retractions v1.1.4 v1.1.3 v1.1.2