Merge branch 'b2/registry' into b7f/registry

This commit is contained in:
2026-11-05 15:55:42 +01:00
16 changed files with 1925 additions and 66 deletions
@@ -0,0 +1,21 @@
package builds
import (
"os/exec"
"strings"
"testing"
)
// The builder's published value is read by modules that never touch the bus (mesh-host's composer tool): nothing it
// imports reaches the bus library.
func TestThePackageReachesNoBus(t *testing.T) {
out, err := exec.Command("go", "list", "-deps", ".").Output()
if err != nil {
t.Fatalf("go list: %v", err)
}
for _, p := range strings.Fields(string(out)) {
if strings.HasPrefix(p, "github.com/nats-io/") {
t.Errorf("builds depends on %s", p)
}
}
}