gunk-dev/the-valley

go.mod

source9e4736a353f5main's published tip history
1.1 KiB
1module the-valley/valleyhook
2
3go 1.24
4
5require (
6 the-valley/change v0.0.0
7 the-valley/exactjson v0.0.0
8 the-valley/knot v0.0.0
9 the-valley/note v0.0.0
10 the-valley/telemetry v0.0.0
11)
12
13// The note envelope is shared with attest (../attest), so the hook reads a
14// pushed note exactly the way a verifier does. The change record is shared
15// with the valley command (../status), so the hook reads a pushed record
16// exactly the way the command that wrote it does. The plan graph is
17// shared with the valley command too, so the hook validates a pushed graph
18// by the rules the command wrote it by. The push policy is read with
19// exactjson (../exactjson), which holds every key to the spelling of its
20// field, as the identity compiler reads the registry. The telemetry
21// command's grammar (../telemetry) is shared with the collector, so the
22// shell passes on exactly what the collector accepts. All five live in
23// this repository and are never fetched.
24replace (
25 the-valley/change => ../change
26 the-valley/exactjson => ../exactjson
27 the-valley/knot => ../knot
28 the-valley/note => ../note
29 the-valley/telemetry => ../telemetry
30)