Repoint ADR references after HQ consolidated 65 records to 23
96 comments across the two repos named records that no longer exist. Each now points at the consolidated record that holds its reasoning -- ADR 0034 (a test defends a decision) is 0017, the eight host records are 0005, the four lab records are 0016. Worth noting for next time: these are references from outside HQ, so renumbering there is not free. It cost 38 files here.
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
// Package bundle is the declaration the host carries.
|
||||
//
|
||||
// novox/hq ADR 0038: the host has one behaviour and two sources of declaration — the control
|
||||
// novox/hq ADR 0004: the host has one behaviour and two sources of declaration — the control
|
||||
// plane when a mesh is reachable, and this when none is. The first node is not a different
|
||||
// kind of node; it is a node whose mesh is not up yet, and this is what it applies until it is.
|
||||
//
|
||||
// Carried inside the binary rather than beside it, because "copy it onto a machine and run it
|
||||
// is the whole installation" (ADR 0041) stops being true the moment a second file has to
|
||||
// is the whole installation" (ADR 0005) stops being true the moment a second file has to
|
||||
// arrive with it.
|
||||
package bundle
|
||||
|
||||
@@ -20,7 +20,7 @@ import (
|
||||
|
||||
// One bundle per operating system, because its CONTENTS are per system even though its
|
||||
// mechanism is not: package names, unit names and service names all differ
|
||||
// (novox/hq ADR 0060). All three are embedded and the host applies the one it was built for —
|
||||
// (novox/hq ADR 0005). All three are embedded and the host applies the one it was built for —
|
||||
// an arch host never reads the alpine bundle.
|
||||
//
|
||||
// A host whose bundle is only comments carries nothing, and says so rather than applying
|
||||
@@ -76,7 +76,7 @@ func Load(system string) (*declaration.Declaration, error) {
|
||||
return nil, ErrEmpty
|
||||
}
|
||||
// ParseTrusted: the bundle arrives with the binary, so it may carry actions the link may
|
||||
// not (novox/hq ADR 0047). The bootstrap needs them — creating the control plane's database
|
||||
// not (novox/hq ADR 0005). The bootstrap needs them — creating the control plane's database
|
||||
// happens before there is any mesh to ask for one.
|
||||
return declaration.ParseTrusted(stripComments(locks[system]))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user