catalogue: PublishSeats and the npm and go registry seat names go (no user); seat-names shrinks (S-8)
Claude-Session: https://claude.ai/code/session_01NcbgfFSnn24M3GcqttoU7i
This commit is contained in:
@@ -59,8 +59,6 @@ func InArtifactStore(reference string) (path string, kept bool) {
|
||||
// clients' in mesh-delivery-contracts (prepare D-1); until those clients hold it, this package keeps the one copy and
|
||||
// the package-list test names it as the one exception (S-8).
|
||||
const (
|
||||
npmPackageRegistrySeat = "npm-package-registry"
|
||||
goPackageRegistrySeat = "go-package-registry"
|
||||
containerImageRegistrySeat = "container-image-registry"
|
||||
ociArtifactRegistrySeat = "oci-artifact-registry"
|
||||
)
|
||||
@@ -69,9 +67,6 @@ const (
|
||||
// (novox/hq ADR 0605 §1, §9).
|
||||
var RegistrySeats = []string{containerImageRegistrySeat, ociArtifactRegistrySeat}
|
||||
|
||||
// PublishSeats are the seats an artifact is published through (ADR 0605 §1).
|
||||
var PublishSeats = []string{npmPackageRegistrySeat, goPackageRegistrySeat, containerImageRegistrySeat, ociArtifactRegistrySeat}
|
||||
|
||||
// SeatReference is the reference a build names an image, bundle, archive or upstream copy by once it published it
|
||||
// through a registry seat (novox/hq ADR 0605 §9): `<seat>/<module>/<artifact>@sha256:<digest>`, as InRegistrySeat reads
|
||||
// it back. The store's address is left out, as in the older form: a reader routes it (Routed).
|
||||
|
||||
@@ -31,8 +31,8 @@ const (
|
||||
ProvisionerSeat = "mesh-provisioner"
|
||||
BrokerSeat = "mesh-broker"
|
||||
EngineSeat = "node-engine"
|
||||
NpmPackageRegistrySeat = npmPackageRegistrySeat
|
||||
GoPackageRegistrySeat = goPackageRegistrySeat
|
||||
NpmPackageRegistrySeat = "npm-package-registry"
|
||||
GoPackageRegistrySeat = "go-package-registry"
|
||||
ContainerImageRegistrySeat = containerImageRegistrySeat
|
||||
OciArtifactRegistrySeat = ociArtifactRegistrySeat
|
||||
)
|
||||
|
||||
Vendored
-2
@@ -1,7 +1,5 @@
|
||||
catalogue/artifact_sweep_seat.go: mesh-artifact-sweep
|
||||
catalogue/artifacts.go: container-image-registry
|
||||
catalogue/artifacts.go: go-package-registry
|
||||
catalogue/artifacts.go: npm-package-registry
|
||||
catalogue/artifacts.go: oci-artifact-registry
|
||||
catalogue/environment_into.go: node-environment
|
||||
catalogue/environment_into.go: node-login-shell
|
||||
|
||||
Reference in New Issue
Block a user