From a00962871c5ca5591a6e2fd667d68769d099d948 Mon Sep 17 00:00:00 2001 From: jochen Date: Fri, 23 Oct 2026 17:04:08 +0200 Subject: [PATCH] Give checks/trunk a full module path, so go mod verify in the checks that use it treats it as the local module it is (R4g group check) --- checks/config/go.mod | 4 ++-- checks/config/realtree_test.go | 2 +- checks/owned/go.mod | 4 ++-- checks/owned/realtree_test.go | 2 +- checks/paths/go.mod | 4 ++-- checks/paths/realtree_test.go | 2 +- checks/predefined/go.mod | 4 ++-- checks/predefined/realtree_test.go | 2 +- checks/secrets/go.mod | 4 ++-- checks/secrets/realtree_test.go | 2 +- checks/templates/go.mod | 4 ++-- checks/templates/realtree_test.go | 2 +- checks/trunk/go.mod | 2 +- 13 files changed, 19 insertions(+), 19 deletions(-) diff --git a/checks/config/go.mod b/checks/config/go.mod index aa55e757..10bdf579 100644 --- a/checks/config/go.mod +++ b/checks/config/go.mod @@ -2,6 +2,6 @@ module git.novox.be/novox/mesh-catalog/checks/config go 1.22 -require checks/trunk v0.0.0 +require git.novox.be/novox/mesh-catalog/checks/trunk v0.0.0 -replace checks/trunk => ../trunk +replace git.novox.be/novox/mesh-catalog/checks/trunk => ../trunk diff --git a/checks/config/realtree_test.go b/checks/config/realtree_test.go index 32907d83..cfad030e 100644 --- a/checks/config/realtree_test.go +++ b/checks/config/realtree_test.go @@ -4,7 +4,7 @@ import ( "path/filepath" "testing" - "checks/trunk" + "git.novox.be/novox/mesh-catalog/checks/trunk" ) // The script's comparison of this list with the trunk's (novox/hq ADR 0529 clause 2): the list of modules not yet moved gains none diff --git a/checks/owned/go.mod b/checks/owned/go.mod index 6e7316ba..ec64d678 100644 --- a/checks/owned/go.mod +++ b/checks/owned/go.mod @@ -2,6 +2,6 @@ module git.novox.be/novox/mesh-catalog/checks/owned go 1.22 -require checks/trunk v0.0.0 +require git.novox.be/novox/mesh-catalog/checks/trunk v0.0.0 -replace checks/trunk => ../trunk +replace git.novox.be/novox/mesh-catalog/checks/trunk => ../trunk diff --git a/checks/owned/realtree_test.go b/checks/owned/realtree_test.go index 80de61e4..b0cb1e00 100644 --- a/checks/owned/realtree_test.go +++ b/checks/owned/realtree_test.go @@ -3,7 +3,7 @@ package main import ( "testing" - "checks/trunk" + "git.novox.be/novox/mesh-catalog/checks/trunk" ) // The script's run of this check over the real tree (novox/hq ADR 0529 clause 2): every rule holds. diff --git a/checks/paths/go.mod b/checks/paths/go.mod index 26052ac5..630a93ff 100644 --- a/checks/paths/go.mod +++ b/checks/paths/go.mod @@ -2,6 +2,6 @@ module git.novox.be/novox/mesh-catalog/checks/paths go 1.22 -require checks/trunk v0.0.0 +require git.novox.be/novox/mesh-catalog/checks/trunk v0.0.0 -replace checks/trunk => ../trunk +replace git.novox.be/novox/mesh-catalog/checks/trunk => ../trunk diff --git a/checks/paths/realtree_test.go b/checks/paths/realtree_test.go index 608afd52..d42f7f5a 100644 --- a/checks/paths/realtree_test.go +++ b/checks/paths/realtree_test.go @@ -4,7 +4,7 @@ import ( "path/filepath" "testing" - "checks/trunk" + "git.novox.be/novox/mesh-catalog/checks/trunk" ) // The script's run of this check over the real tree (novox/hq ADR 0529 clause 2): no module names another's state on its machine, diff --git a/checks/predefined/go.mod b/checks/predefined/go.mod index 8af1036f..00332a58 100644 --- a/checks/predefined/go.mod +++ b/checks/predefined/go.mod @@ -2,6 +2,6 @@ module git.novox.be/novox/mesh-catalog/checks/predefined go 1.22 -require checks/trunk v0.0.0 +require git.novox.be/novox/mesh-catalog/checks/trunk v0.0.0 -replace checks/trunk => ../trunk +replace git.novox.be/novox/mesh-catalog/checks/trunk => ../trunk diff --git a/checks/predefined/realtree_test.go b/checks/predefined/realtree_test.go index 1376966c..af553705 100644 --- a/checks/predefined/realtree_test.go +++ b/checks/predefined/realtree_test.go @@ -5,7 +5,7 @@ import ( "sort" "testing" - "checks/trunk" + "git.novox.be/novox/mesh-catalog/checks/trunk" ) // The script's run of this check over the real tree (novox/hq ADR 0529 clause 2): predefined.json removes no key a module still diff --git a/checks/secrets/go.mod b/checks/secrets/go.mod index 8ccea863..c775c684 100644 --- a/checks/secrets/go.mod +++ b/checks/secrets/go.mod @@ -2,6 +2,6 @@ module git.novox.be/novox/mesh-catalog/checks/secrets go 1.22 -require checks/trunk v0.0.0 +require git.novox.be/novox/mesh-catalog/checks/trunk v0.0.0 -replace checks/trunk => ../trunk +replace git.novox.be/novox/mesh-catalog/checks/trunk => ../trunk diff --git a/checks/secrets/realtree_test.go b/checks/secrets/realtree_test.go index 55b7d054..f552076e 100644 --- a/checks/secrets/realtree_test.go +++ b/checks/secrets/realtree_test.go @@ -3,7 +3,7 @@ package main import ( "testing" - "checks/trunk" + "git.novox.be/novox/mesh-catalog/checks/trunk" ) // The script's run of this check over the real tree (novox/hq ADR 0529 clause 2): the known list gains no line the trunk's copy diff --git a/checks/templates/go.mod b/checks/templates/go.mod index 79b95566..60962f19 100644 --- a/checks/templates/go.mod +++ b/checks/templates/go.mod @@ -2,6 +2,6 @@ module git.novox.be/novox/mesh-catalog/checks/templates go 1.22 -require checks/trunk v0.0.0 +require git.novox.be/novox/mesh-catalog/checks/trunk v0.0.0 -replace checks/trunk => ../trunk +replace git.novox.be/novox/mesh-catalog/checks/trunk => ../trunk diff --git a/checks/templates/realtree_test.go b/checks/templates/realtree_test.go index 223df33b..7832a7b1 100644 --- a/checks/templates/realtree_test.go +++ b/checks/templates/realtree_test.go @@ -3,7 +3,7 @@ package main import ( "testing" - "checks/trunk" + "git.novox.be/novox/mesh-catalog/checks/trunk" ) // The script's comparison of this list with the trunk's (novox/hq ADR 0529 clause 2): the list of modules keeping file text inline diff --git a/checks/trunk/go.mod b/checks/trunk/go.mod index 9dfc000e..952c764e 100644 --- a/checks/trunk/go.mod +++ b/checks/trunk/go.mod @@ -1,3 +1,3 @@ -module checks/trunk +module git.novox.be/novox/mesh-catalog/checks/trunk go 1.22