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:
@@ -31,7 +31,7 @@ import (
|
||||
// version is stamped at build time. Unset in a development build, and said so rather than
|
||||
// defaulted to something that looks like a release.
|
||||
// builtFor names the operating system this host was built for, set at link time
|
||||
// (novox/hq ADR 0060). A host built without one refuses to do anything that touches the
|
||||
// (novox/hq ADR 0005). A host built without one refuses to do anything that touches the
|
||||
// machine, rather than guessing and calling a package manager that is not there.
|
||||
var builtFor = ""
|
||||
|
||||
@@ -161,7 +161,7 @@ func run(ctx context.Context, command string, opts options) error {
|
||||
return fmt.Errorf("reading the declaration: %w", err)
|
||||
}
|
||||
// ParseTrusted: a file handed to the host by someone already running it as root is
|
||||
// not the link. novox/hq ADR 0047 bounds what a REMOTE party may push; someone who
|
||||
// not the link. novox/hq ADR 0005 bounds what a REMOTE party may push; someone who
|
||||
// can write this file and run this binary can do anything the binary can, so refusing
|
||||
// them an action would buy nothing and would make an action untestable except by
|
||||
// rebuilding the bundle.
|
||||
@@ -172,7 +172,7 @@ func run(ctx context.Context, command string, opts options) error {
|
||||
return runApply(ctx, opts, d, opts.file)
|
||||
|
||||
case "reconcile":
|
||||
// The first node's path. novox/hq ADR 0038: no mesh reachable means the declaration
|
||||
// The first node's path. novox/hq ADR 0004: no mesh reachable means the declaration
|
||||
// comes from the bundle the host carries. There is no link yet, so this is currently
|
||||
// the only source — which is a stage, not a design, and saying so beats implying the
|
||||
// other source exists.
|
||||
@@ -275,7 +275,7 @@ func writeInventory(inv inventory.Inventory) {
|
||||
writeProfile(inv.Profile)
|
||||
|
||||
// Printed last and never hidden. An inventory that quietly omits what it could not read
|
||||
// is the same fault as a report assembled from intent (novox/hq ADR 0035).
|
||||
// is the same fault as a report assembled from intent (novox/hq ADR 0018).
|
||||
if len(inv.Unreadable) > 0 {
|
||||
fmt.Println("\ncould not read:")
|
||||
for _, u := range inv.Unreadable {
|
||||
@@ -307,7 +307,7 @@ func runApply(ctx context.Context, opts options, d *declaration.Declaration, sou
|
||||
}
|
||||
// Refuse a declaration naming a shape this host cannot apply, before anything is applied.
|
||||
// An android host has no `package` applier, and finding that out half way through is the
|
||||
// half-configured machine this host exists to prevent (novox/hq ADR 0060).
|
||||
// half-configured machine this host exists to prevent (novox/hq ADR 0005).
|
||||
if err := system.Check(sys, d); err != nil {
|
||||
return err
|
||||
}
|
||||
@@ -336,7 +336,7 @@ func runApply(ctx context.Context, opts options, d *declaration.Declaration, sou
|
||||
}
|
||||
|
||||
// Only now, and only after a clean apply: this version got as far as a completed
|
||||
// reconcile, which is the whole of what "known good" claims (novox/hq ADR 0059). Not
|
||||
// reconcile, which is the whole of what "known good" claims (novox/hq ADR 0005). Not
|
||||
// health — a disconnected node is ordinary, and a resource that fails is the machine's
|
||||
// problem rather than the binary's.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user