gunk-dev/the-valley

go.mod

source9d8f53c82aaemain's published tip history
1.1 KiB
1// Named for the program it builds rather than its directory: the verbs
2// of the valley command that are written in Go. A binary called `status`
3// on a PATH would not say whose status it reads, and this one writes
4// change records too.
5module the-valley/valley-go
6
7go 1.24
8
9require (
10 the-valley/change v0.0.0
11 the-valley/delta v0.0.0
12 the-valley/knot v0.0.0
13 the-valley/rebase v0.0.0
14 the-valley/selfupdate v0.0.0
15)
16
17// The change record is shared with the push hook (../valleyhook), so this
18// program writes a record exactly the way the hook reads it, and so is the
19// plan graph (../knot), so this program writes a graph exactly the way the
20// hook validates it. valley-delta-v1 (../delta) is the one reading of a
21// delta between two trees. The rebase engine (../rebase) rebases a family
22// of stacked changes and reads how far each version has landed. Self-update
23// (../selfupdate) installs the tip of a branch of the-valley. All five live
24// in this repository and are never fetched.
25replace (
26 the-valley/change => ../change
27 the-valley/delta => ../delta
28 the-valley/knot => ../knot
29 the-valley/rebase => ../rebase
30 the-valley/selfupdate => ../selfupdate
31)