Pin mesh-sdk at 14fd5cb6 (R4a's merge) and take the catalogue, overlay and validator from it, s to inventory (issue 1381, 4 of 6 import swaps)

go.mod and go.sum move to mesh-sdk 14fd5cb68fd1, the commit on its main that holds go/catalogue, go/overlay and go/validate (ADR 0453 clause 2); vendor/modules.txt follows in the last of the six commits.
This commit is contained in:
2026-10-20 08:26:01 +00:00
parent 3208aa0461
commit bfe7fe1530
80 changed files with 81 additions and 79 deletions
@@ -6,7 +6,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
) )
func TestPreferencesListedFromTheStores(t *testing.T) { func TestPreferencesListedFromTheStores(t *testing.T) {
@@ -4,7 +4,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
) )
// `settings` says each value and where it came from, and the default a layer overrides (novox/hq ADR 0262). // `settings` says each value and where it came from, and the default a layer overrides (novox/hq ADR 0262).
+1 -1
View File
@@ -10,8 +10,8 @@ import (
"github.com/nats-io/nats.go" "github.com/nats-io/nats.go"
"git.novox.be/novox/mesh-sdk/go/catalogue"
"github.com/novox/mesh-controller/internal/broker" "github.com/novox/mesh-controller/internal/broker"
"github.com/novox/mesh-controller/internal/catalogue"
"github.com/novox/mesh-controller/internal/inventory" "github.com/novox/mesh-controller/internal/inventory"
"github.com/novox/mesh-controller/internal/link" "github.com/novox/mesh-controller/internal/link"
) )
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"strings" "strings"
"time" "time"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
"github.com/novox/mesh-controller/internal/inventory" "github.com/novox/mesh-controller/internal/inventory"
) )
@@ -12,7 +12,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
"github.com/novox/mesh-controller/internal/inventory" "github.com/novox/mesh-controller/internal/inventory"
"github.com/novox/mesh-controller/internal/lease" "github.com/novox/mesh-controller/internal/lease"
) )
@@ -13,8 +13,8 @@ import (
"github.com/nats-io/nats.go" "github.com/nats-io/nats.go"
"git.novox.be/novox/mesh-sdk/go/catalogue"
"github.com/novox/mesh-controller/internal/broker" "github.com/novox/mesh-controller/internal/broker"
"github.com/novox/mesh-controller/internal/catalogue"
"github.com/novox/mesh-controller/internal/inventory" "github.com/novox/mesh-controller/internal/inventory"
"github.com/novox/mesh-controller/internal/link" "github.com/novox/mesh-controller/internal/link"
"github.com/novox/mesh-controller/internal/testbus" "github.com/novox/mesh-controller/internal/testbus"
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"strconv" "strconv"
"strings" "strings"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
) )
// where a build's repository is (novox/hq ADR 0111). // where a build's repository is (novox/hq ADR 0111).
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
) )
// Defends novox/hq ADR 0111: a build source is on the git seat, or it is external. // Defends novox/hq ADR 0111: a build source is on the git seat, or it is external.
@@ -8,7 +8,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
"github.com/novox/mesh-controller/internal/conditions" "github.com/novox/mesh-controller/internal/conditions"
"github.com/novox/mesh-controller/internal/link" "github.com/novox/mesh-controller/internal/link"
) )
+1 -1
View File
@@ -8,9 +8,9 @@ import (
"strings" "strings"
"time" "time"
"git.novox.be/novox/mesh-sdk/go/overlay"
"github.com/novox/mesh-controller/internal/broker" "github.com/novox/mesh-controller/internal/broker"
"github.com/novox/mesh-controller/internal/inventory" "github.com/novox/mesh-controller/internal/inventory"
"github.com/novox/mesh-controller/internal/overlay"
) )
// is anything broken, is anything not answering, is anything out of date. // is anything broken, is anything not answering, is anything out of date.
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"os" "os"
"time" "time"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
"github.com/novox/mesh-controller/internal/identity" "github.com/novox/mesh-controller/internal/identity"
"github.com/novox/mesh-controller/internal/inventory" "github.com/novox/mesh-controller/internal/inventory"
"github.com/novox/mesh-controller/internal/licences" "github.com/novox/mesh-controller/internal/licences"
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
"github.com/novox/mesh-controller/internal/inventory" "github.com/novox/mesh-controller/internal/inventory"
) )
@@ -9,7 +9,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
snapshot "github.com/novox/mesh-controller/internal/facts" snapshot "github.com/novox/mesh-controller/internal/facts"
"github.com/novox/mesh-controller/internal/inventory" "github.com/novox/mesh-controller/internal/inventory"
) )
@@ -8,7 +8,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
) )
// Where root creates and owns a module's directories, and which of the machine's paths reach its container, // Where root creates and owns a module's directories, and which of the machine's paths reach its container,
@@ -11,8 +11,8 @@ import (
"testing" "testing"
"time" "time"
"git.novox.be/novox/mesh-sdk/go/catalogue"
"github.com/novox/mesh-controller/internal/broker" "github.com/novox/mesh-controller/internal/broker"
"github.com/novox/mesh-controller/internal/catalogue"
"github.com/novox/mesh-controller/internal/conditions" "github.com/novox/mesh-controller/internal/conditions"
"github.com/novox/mesh-controller/internal/inventory" "github.com/novox/mesh-controller/internal/inventory"
"github.com/novox/mesh-controller/internal/lease" "github.com/novox/mesh-controller/internal/lease"
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
"github.com/novox/mesh-controller/internal/link" "github.com/novox/mesh-controller/internal/link"
) )
+1 -1
View File
@@ -3,7 +3,7 @@ package main
import ( import (
"fmt" "fmt"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
) )
// unboundLines say which optional requirements of a machine's modules nothing assigned answers // unboundLines say which optional requirements of a machine's modules nothing assigned answers
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
) )
// A machine running grafana without influxdb says so (novox/hq ADR 0330 §7, issue 166): `plan` and // A machine running grafana without influxdb says so (novox/hq ADR 0330 §7, issue 166): `plan` and
@@ -6,7 +6,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
) )
func TestAnAssignmentSaysOnlyWhatItChangedOnItsOwnNode(t *testing.T) { func TestAnAssignmentSaysOnlyWhatItChangedOnItsOwnNode(t *testing.T) {
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
) )
// An act says what it changed about the node it acted on, and nothing about the rest of the mesh // An act says what it changed about the node it acted on, and nothing about the rest of the mesh
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"fmt" "fmt"
"sort" "sort"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
"github.com/novox/mesh-controller/internal/conditions" "github.com/novox/mesh-controller/internal/conditions"
"github.com/novox/mesh-controller/internal/inventory" "github.com/novox/mesh-controller/internal/inventory"
) )
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"encoding/json" "encoding/json"
"testing" "testing"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
"github.com/novox/mesh-controller/internal/conditions" "github.com/novox/mesh-controller/internal/conditions"
) )
+1 -1
View File
@@ -12,8 +12,8 @@ import (
"sync" "sync"
"time" "time"
"git.novox.be/novox/mesh-sdk/go/catalogue"
"github.com/novox/mesh-controller/internal/builder" "github.com/novox/mesh-controller/internal/builder"
"github.com/novox/mesh-controller/internal/catalogue"
"github.com/novox/mesh-controller/internal/inventory" "github.com/novox/mesh-controller/internal/inventory"
"github.com/novox/mesh-controller/internal/link" "github.com/novox/mesh-controller/internal/link"
) )
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
"github.com/novox/mesh-controller/internal/conditions" "github.com/novox/mesh-controller/internal/conditions"
"github.com/novox/mesh-controller/internal/inventory" "github.com/novox/mesh-controller/internal/inventory"
"github.com/novox/mesh-controller/internal/link" "github.com/novox/mesh-controller/internal/link"
+1 -1
View File
@@ -7,8 +7,8 @@ import (
"testing" "testing"
"time" "time"
"git.novox.be/novox/mesh-sdk/go/catalogue"
"github.com/novox/mesh-controller/internal/broker" "github.com/novox/mesh-controller/internal/broker"
"github.com/novox/mesh-controller/internal/catalogue"
"github.com/novox/mesh-controller/internal/inventory" "github.com/novox/mesh-controller/internal/inventory"
"github.com/novox/mesh-controller/internal/link" "github.com/novox/mesh-controller/internal/link"
) )
+1 -1
View File
@@ -11,8 +11,8 @@ import (
"github.com/nats-io/nats.go" "github.com/nats-io/nats.go"
"git.novox.be/novox/mesh-sdk/go/catalogue"
"github.com/novox/mesh-controller/internal/broker" "github.com/novox/mesh-controller/internal/broker"
"github.com/novox/mesh-controller/internal/catalogue"
"github.com/novox/mesh-controller/internal/link" "github.com/novox/mesh-controller/internal/link"
"github.com/novox/mesh-controller/internal/secrets" "github.com/novox/mesh-controller/internal/secrets"
) )
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"sync" "sync"
"testing" "testing"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
"github.com/novox/mesh-controller/internal/inventory" "github.com/novox/mesh-controller/internal/inventory"
"github.com/novox/mesh-controller/internal/secrets" "github.com/novox/mesh-controller/internal/secrets"
) )
+1 -1
View File
@@ -16,8 +16,8 @@ import (
"github.com/nats-io/nats.go" "github.com/nats-io/nats.go"
"github.com/nats-io/nats.go/jetstream" "github.com/nats-io/nats.go/jetstream"
"git.novox.be/novox/mesh-sdk/go/catalogue"
"github.com/novox/mesh-controller/internal/broker" "github.com/novox/mesh-controller/internal/broker"
"github.com/novox/mesh-controller/internal/catalogue"
"github.com/novox/mesh-controller/internal/link" "github.com/novox/mesh-controller/internal/link"
"github.com/novox/mesh-controller/internal/testbus" "github.com/novox/mesh-controller/internal/testbus"
) )
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
"github.com/novox/mesh-controller/internal/conditions" "github.com/novox/mesh-controller/internal/conditions"
"github.com/novox/mesh-controller/internal/inventory" "github.com/novox/mesh-controller/internal/inventory"
"github.com/novox/mesh-controller/internal/link" "github.com/novox/mesh-controller/internal/link"
+1 -1
View File
@@ -8,8 +8,8 @@ import (
"sort" "sort"
"time" "time"
"git.novox.be/novox/mesh-sdk/go/catalogue"
"github.com/novox/mesh-controller/internal/broker" "github.com/novox/mesh-controller/internal/broker"
"github.com/novox/mesh-controller/internal/catalogue"
"github.com/novox/mesh-controller/internal/inventory" "github.com/novox/mesh-controller/internal/inventory"
) )
@@ -8,9 +8,9 @@ import (
"testing" "testing"
"time" "time"
"git.novox.be/novox/mesh-sdk/go/catalogue"
"github.com/nats-io/nats.go" "github.com/nats-io/nats.go"
"github.com/novox/mesh-controller/internal/broker" "github.com/novox/mesh-controller/internal/broker"
"github.com/novox/mesh-controller/internal/catalogue"
"github.com/novox/mesh-controller/internal/inventory" "github.com/novox/mesh-controller/internal/inventory"
"github.com/novox/mesh-controller/internal/link" "github.com/novox/mesh-controller/internal/link"
"github.com/novox/mesh-controller/internal/testbus" "github.com/novox/mesh-controller/internal/testbus"
+1 -1
View File
@@ -7,8 +7,8 @@ import (
"testing" "testing"
"time" "time"
"git.novox.be/novox/mesh-sdk/go/catalogue"
"github.com/novox/mesh-controller/internal/broker" "github.com/novox/mesh-controller/internal/broker"
"github.com/novox/mesh-controller/internal/catalogue"
"github.com/novox/mesh-controller/internal/inventory" "github.com/novox/mesh-controller/internal/inventory"
) )
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
) )
// ADR 0326 §3 is judged where a definition is written (novox/hq issue 574): `module check`, and // ADR 0326 §3 is judged where a definition is written (novox/hq issue 574): `module check`, and
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
) )
// The password comes from a file, because that is how the mesh delivers one. // The password comes from a file, because that is how the mesh delivers one.
+1 -1
View File
@@ -3,7 +3,7 @@ module github.com/novox/mesh-controller
go 1.26.0 go 1.26.0
require ( require (
git.novox.be/novox/mesh-sdk/go v0.1.14-0.20261019091011-aa68b67389c9 git.novox.be/novox/mesh-sdk/go v0.1.14-0.20261020071554-14fd5cb68fd1
github.com/jackc/pgx/v5 v5.10.0 github.com/jackc/pgx/v5 v5.10.0
github.com/nats-io/nats-server/v2 v2.11.17 github.com/nats-io/nats-server/v2 v2.11.17
github.com/nats-io/nats.go v1.54.0 github.com/nats-io/nats.go v1.54.0
+2
View File
@@ -4,6 +4,8 @@ git.novox.be/novox/mesh-sdk/go v0.1.14-0.20261018184557-238440d6f8c4 h1:yYDxFRJo
git.novox.be/novox/mesh-sdk/go v0.1.14-0.20261018184557-238440d6f8c4/go.mod h1:GFuZUElBZ9A++mxgIKo97aXXo+kV0uJ/UkbhQPPIbrY= git.novox.be/novox/mesh-sdk/go v0.1.14-0.20261018184557-238440d6f8c4/go.mod h1:GFuZUElBZ9A++mxgIKo97aXXo+kV0uJ/UkbhQPPIbrY=
git.novox.be/novox/mesh-sdk/go v0.1.14-0.20261019091011-aa68b67389c9 h1:qHpN/fpTDqijfMVoepxUT6mPkfcydb4LiPKsIokv6iM= git.novox.be/novox/mesh-sdk/go v0.1.14-0.20261019091011-aa68b67389c9 h1:qHpN/fpTDqijfMVoepxUT6mPkfcydb4LiPKsIokv6iM=
git.novox.be/novox/mesh-sdk/go v0.1.14-0.20261019091011-aa68b67389c9/go.mod h1:ouERNpZizzwZ0HLEtAypsY9FR20FyUgUYRni6J7kVCY= git.novox.be/novox/mesh-sdk/go v0.1.14-0.20261019091011-aa68b67389c9/go.mod h1:ouERNpZizzwZ0HLEtAypsY9FR20FyUgUYRni6J7kVCY=
git.novox.be/novox/mesh-sdk/go v0.1.14-0.20261020071554-14fd5cb68fd1 h1:6lUhi9VQNK3y2sb4TdH+AI5WcpIJmSjSdA0ChWrOfFE=
git.novox.be/novox/mesh-sdk/go v0.1.14-0.20261020071554-14fd5cb68fd1/go.mod h1:ouERNpZizzwZ0HLEtAypsY9FR20FyUgUYRni6J7kVCY=
github.com/antithesishq/antithesis-sdk-go v0.7.0-default-no-op h1:Z/MZK75wC/NSrkgqeNIa7jexam9uWzhLmFTSCPI/kn0= github.com/antithesishq/antithesis-sdk-go v0.7.0-default-no-op h1:Z/MZK75wC/NSrkgqeNIa7jexam9uWzhLmFTSCPI/kn0=
github.com/antithesishq/antithesis-sdk-go v0.7.0-default-no-op/go.mod h1:FQyySiasQQM8735Ddel3MRojmy4dA1IqCeyJ5jmPMbI= github.com/antithesishq/antithesis-sdk-go v0.7.0-default-no-op/go.mod h1:FQyySiasQQM8735Ddel3MRojmy4dA1IqCeyJ5jmPMbI=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+1 -1
View File
@@ -13,7 +13,7 @@ import (
"strings" "strings"
"time" "time"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
) )
// Every archive the store keeps is held by a manifest (novox/hq issue 253, ADR 0189). // Every archive the store keeps is held by a manifest (novox/hq issue 253, ADR 0189).
+1 -1
View File
@@ -16,7 +16,7 @@ import (
"sync" "sync"
"testing" "testing"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
) )
// Every kept archive is held by a manifest (novox/hq issue 253, ADR 0189). // Every kept archive is held by a manifest (novox/hq issue 253, ADR 0189).
+1 -1
View File
@@ -14,7 +14,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
) )
// The registry's own collector keeps a held archive and takes a bare one (novox/hq issue 253, // The registry's own collector keeps a held archive and takes a bare one (novox/hq issue 253,
+1 -1
View File
@@ -11,7 +11,7 @@ import (
"sync" "sync"
"testing" "testing"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
) )
// An index is let go of with the platform manifests it names, except those a kept index of the same // An index is let go of with the platform manifests it names, except those a kept index of the same
+1 -1
View File
@@ -16,7 +16,7 @@ import (
"net/http" "net/http"
"strings" "strings"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
) )
// Store is the artifact store at an address, as this machine reaches it. // Store is the artifact store at an address, as this machine reaches it.
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
) )
// Asking the store to let go of what the mesh no longer keeps (novox/hq ADR 0189, issue 108). // Asking the store to let go of what the mesh no longer keeps (novox/hq ADR 0189, issue 108).
+1 -1
View File
@@ -8,8 +8,8 @@ import (
"strings" "strings"
"testing" "testing"
"git.novox.be/novox/mesh-sdk/go/catalogue"
"github.com/novox/mesh-controller/internal/beside" "github.com/novox/mesh-controller/internal/beside"
"github.com/novox/mesh-controller/internal/catalogue"
) )
// **Do the catalogue's emitters and consumers agree?** // **Do the catalogue's emitters and consumers agree?**
+1 -1
View File
@@ -4,8 +4,8 @@ import (
"slices" "slices"
"testing" "testing"
"git.novox.be/novox/mesh-sdk/go/catalogue"
"github.com/novox/mesh-controller/internal/broker" "github.com/novox/mesh-controller/internal/broker"
"github.com/novox/mesh-controller/internal/catalogue"
"github.com/novox/mesh-controller/internal/conditions" "github.com/novox/mesh-controller/internal/conditions"
"github.com/novox/mesh-controller/internal/link" "github.com/novox/mesh-controller/internal/link"
) )
@@ -4,7 +4,7 @@ import (
"slices" "slices"
"testing" "testing"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
) )
// The catalogue's list of the mesh's own stream names, which a module's stream may not take, is the broker's // The catalogue's list of the mesh's own stream names, which a module's stream may not take, is the broker's
+1 -1
View File
@@ -3,7 +3,7 @@ package builder
import ( import (
"testing" "testing"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
) )
// The name a machine runs a binary by is not always the name of the package that built it. The host's // The name a machine runs a binary by is not always the name of the package that built it. The host's
+1 -1
View File
@@ -21,8 +21,8 @@ import (
"strings" "strings"
"time" "time"
"git.novox.be/novox/mesh-sdk/go/catalogue"
"git.novox.be/novox/mesh-sdk/go/delivery" "git.novox.be/novox/mesh-sdk/go/delivery"
"github.com/novox/mesh-controller/internal/catalogue"
) )
// Turning a repository into artifacts the mesh can pin. // Turning a repository into artifacts the mesh can pin.
+1 -1
View File
@@ -10,7 +10,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
) )
func TestABuildProducesAManifestThePinsAreIn(t *testing.T) { func TestABuildProducesAManifestThePinsAreIn(t *testing.T) {
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
) )
// A repository becoming artifacts the mesh can pin. // A repository becoming artifacts the mesh can pin.
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"sync" "sync"
"time" "time"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
) )
// The builds a merge check makes for its merge (novox/hq ADR 0350 §1): every artifact of every module the delivery // The builds a merge check makes for its merge (novox/hq ADR 0350 §1): every artifact of every module the delivery
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
) )
// A context on a seat is cloned from the base the mesh sent, joined to the repository's path; a // A context on a seat is cloned from the base the mesh sent, joined to the repository's path; a
+1 -1
View File
@@ -76,7 +76,7 @@ import (
"fmt" "fmt"
"os" "os"
"github.com/novox/mesh-host/validate" "git.novox.be/novox/mesh-sdk/go/validate"
) )
func main() { func main() {
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
) )
// novox/hq ADR 0193: every entrypoint the runtime may serve is executable, and the runtime knows no // novox/hq ADR 0193: every entrypoint the runtime may serve is executable, and the runtime knows no
+1 -1
View File
@@ -11,7 +11,7 @@ import (
"sort" "sort"
"strings" "strings"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
) )
// Npmrc is what a build needs to resolve the mesh's own shared library — and any other package the // Npmrc is what a build needs to resolve the mesh's own shared library — and any other package the
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
) )
// A build reads the list of predefined keys at the root of the repository at the commit it builds (novox/hq ADR // A build reads the list of predefined keys at the root of the repository at the commit it builds (novox/hq ADR
+1 -1
View File
@@ -5,8 +5,8 @@ import (
"path/filepath" "path/filepath"
"testing" "testing"
"git.novox.be/novox/mesh-sdk/go/catalogue"
"github.com/novox/mesh-controller/internal/beside" "github.com/novox/mesh-controller/internal/beside"
"github.com/novox/mesh-controller/internal/catalogue"
) )
// **A build that needs the registry fails loudly while the build agent has none** (novox/hq ADR 0336 // **A build that needs the registry fails loudly while the build agent has none** (novox/hq ADR 0336
+1 -1
View File
@@ -15,8 +15,8 @@ import (
"strings" "strings"
"time" "time"
"git.novox.be/novox/mesh-sdk/go/catalogue"
"github.com/novox/mesh-controller/internal/artifacts" "github.com/novox/mesh-controller/internal/artifacts"
"github.com/novox/mesh-controller/internal/catalogue"
) )
// One build per change (novox/hq ADR 0350). // One build per change (novox/hq ADR 0350).
+1 -1
View File
@@ -12,7 +12,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
) )
// One build per change (novox/hq ADR 0350): the merge check builds what the merge would move into the scratch // One build per change (novox/hq ADR 0350): the merge check builds what the merge would move into the scratch
+1 -1
View File
@@ -14,7 +14,7 @@ import (
"sort" "sort"
"strings" "strings"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
) )
// A module moves only when its program changes (novox/hq issue 721). A merge check builds every module the delivery // A module moves only when its program changes (novox/hq issue 721). A merge check builds every module the delivery
+1 -1
View File
@@ -10,7 +10,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
) )
// aFilesystem is a filesystem tarball of files, each written at the time given. // aFilesystem is a filesystem tarball of files, each written at the time given.
+1 -1
View File
@@ -10,8 +10,8 @@ import (
"sort" "sort"
"strings" "strings"
"git.novox.be/novox/mesh-sdk/go/catalogue"
"git.novox.be/novox/mesh-sdk/go/delivery" "git.novox.be/novox/mesh-sdk/go/delivery"
"github.com/novox/mesh-controller/internal/catalogue"
) )
// A build's source fingerprint: what it was made from, hashed (novox/hq issue 280). // A build's source fingerprint: what it was made from, hashed (novox/hq issue 280).
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
) )
// A module naming a base the mesh has not built is refused, and the refusal names what is missing. // A module naming a base the mesh has not built is refused, and the refusal names what is missing.
+1 -1
View File
@@ -11,7 +11,7 @@ import (
"io" "io"
"path/filepath" "path/filepath"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
) )
// withTemplateTexts is what was built with each template's text, for a module whose files name templates (novox/hq ADR // withTemplateTexts is what was built with each template's text, for a module whose files name templates (novox/hq ADR
@@ -9,7 +9,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
) )
func TestABuildReadsEachTemplateBackFromItsArchive(t *testing.T) { func TestABuildReadsEachTemplateBackFromItsArchive(t *testing.T) {
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
) )
// A module's files kept as template files in its repository (novox/hq ADR 0349 §2, design 57 package T1, issue // A module's files kept as template files in its repository (novox/hq ADR 0349 §2, design 57 package T1, issue
+1 -1
View File
@@ -19,7 +19,7 @@ import (
"strings" "strings"
"time" "time"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
"github.com/therootcompany/xz" "github.com/therootcompany/xz"
) )
@@ -13,7 +13,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
) )
func TestAnArchivePinnedByURLIsFetchedCheckedAndPackedWithoutItsOwnDirectory(t *testing.T) { func TestAnArchivePinnedByURLIsFetchedCheckedAndPackedWithoutItsOwnDirectory(t *testing.T) {
+1 -1
View File
@@ -20,7 +20,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
) )
// An archive pinned by URL and sha256 (novox/hq ADR 0316 §2, §6; How it is checked: "an upstream artifact // An archive pinned by URL and sha256 (novox/hq ADR 0316 §2, §6; How it is checked: "an upstream artifact
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"fmt" "fmt"
"testing" "testing"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
) )
// **Every artifact made has one state, and a kept one says why** (novox/hq ADR 0251): what the // **Every artifact made has one state, and a kept one says why** (novox/hq ADR 0251): what the
+1 -1
View File
@@ -28,8 +28,8 @@ import (
"github.com/nats-io/nats.go" "github.com/nats-io/nats.go"
"golang.org/x/crypto/bcrypt" "golang.org/x/crypto/bcrypt"
"git.novox.be/novox/mesh-sdk/go/catalogue"
"github.com/novox/mesh-controller/internal/broker" "github.com/novox/mesh-controller/internal/broker"
"github.com/novox/mesh-controller/internal/catalogue"
) )
// labMachine is the one machine of the lab's bus. // labMachine is the one machine of the lab's bus.
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"context" "context"
"time" "time"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
) )
// A binding to data (novox/hq ADR 0232): where each consumer of a provision that keeps its data was // A binding to data (novox/hq ADR 0232): where each consumer of a provision that keeps its data was
+1 -1
View File
@@ -5,7 +5,7 @@ package inventory
import ( import (
"testing" "testing"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
) )
// Where a consumer of data was bound is kept, and a move keeps where it was (novox/hq ADR 0232). // Where a consumer of data was bound is kept, and a move keeps where it was (novox/hq ADR 0232).
+1 -1
View File
@@ -3,7 +3,7 @@ package inventory
import ( import (
"testing" "testing"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
) )
// The image every module is compiled on top of is built and never run. // The image every module is compiled on top of is built and never run.
+1 -1
View File
@@ -6,8 +6,8 @@ import (
"slices" "slices"
"strings" "strings"
"git.novox.be/novox/mesh-sdk/go/catalogue"
"github.com/novox/mesh-controller/internal/broker" "github.com/novox/mesh-controller/internal/broker"
"github.com/novox/mesh-controller/internal/catalogue"
) )
// What the bus's user list is derived from, read out of the mesh's records. // What the bus's user list is derived from, read out of the mesh's records.
@@ -8,8 +8,8 @@ import (
"testing" "testing"
"time" "time"
"git.novox.be/novox/mesh-sdk/go/catalogue"
"github.com/novox/mesh-controller/internal/broker" "github.com/novox/mesh-controller/internal/broker"
"github.com/novox/mesh-controller/internal/catalogue"
"golang.org/x/crypto/bcrypt" "golang.org/x/crypto/bcrypt"
) )
+1 -1
View File
@@ -4,8 +4,8 @@ import (
"strings" "strings"
"testing" "testing"
"git.novox.be/novox/mesh-sdk/go/catalogue"
"github.com/novox/mesh-controller/internal/broker" "github.com/novox/mesh-controller/internal/broker"
"github.com/novox/mesh-controller/internal/catalogue"
) )
// Reading the bus's user list out of the mesh's records, against a real store. // Reading the bus's user list out of the mesh's records, against a real store.
+1 -1
View File
@@ -12,8 +12,8 @@ import (
"sync" "sync"
"time" "time"
"git.novox.be/novox/mesh-sdk/go/catalogue"
"github.com/jackc/pgx/v5" "github.com/jackc/pgx/v5"
"github.com/novox/mesh-controller/internal/catalogue"
) )
// noted is each stored manifest's unknown key already said, so a catalogue read on every plan says it once. // noted is each stored manifest's unknown key already said, so a catalogue read on every plan says it once.
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
) )
func manifest(name string, provides, requires []string) catalogue.Manifest { func manifest(name string, provides, requires []string) catalogue.Manifest {
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
"github.com/novox/mesh-controller/internal/store" "github.com/novox/mesh-controller/internal/store"
) )
+1 -1
View File
@@ -11,7 +11,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/novox/mesh-controller/internal/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
"github.com/novox/mesh-controller/internal/chain" "github.com/novox/mesh-controller/internal/chain"
) )