| 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. |
| 5 | module the-valley/valley-go |
| 6 | |
| 7 | go 1.24 |
| 8 | |
| 9 | require ( |
| 10 | the-valley/change v0.0.0 |
| 11 | the-valley/composed v0.0.0 |
| 12 | the-valley/delta v0.0.0 |
| 13 | the-valley/derive v0.0.0 |
| 14 | the-valley/knot v0.0.0 |
| 15 | the-valley/note v0.0.0 |
| 16 | the-valley/rebase v0.0.0 |
| 17 | the-valley/selfupdate v0.0.0 |
| 18 | ) |
| 19 | |
| 20 | // The change record is shared with the push hook (../valleyhook), so this |
| 21 | // program writes a record exactly the way the hook reads it, and so is the |
| 22 | // plan graph (../knot), so this program writes a graph exactly the way the |
| 23 | // hook validates it. valley-delta-v1 (../delta) is the one reading of a |
| 24 | // delta between two trees. The rebase engine (../rebase) rebases a family |
| 25 | // of stacked changes and reads how far each version has landed. The |
| 26 | // signed-note format (../note) is the one reading of a verifier key, which |
| 27 | // the signers a transfer statement is verified with are held to. |
| 28 | // Self-update (../selfupdate) installs the tip of a branch of the-valley. |
| 29 | // The deriver (../derive) says which checks a change requires, from the |
| 30 | // policy the composed-policy reader (../composed) reads, the reader the |
| 31 | // integrator and the restacker share. All eight live in this repository and |
| 32 | // are never fetched. |
| 33 | replace ( |
| 34 | the-valley/change => ../change |
| 35 | the-valley/composed => ../composed |
| 36 | the-valley/delta => ../delta |
| 37 | the-valley/derive => ../derive |
| 38 | the-valley/knot => ../knot |
| 39 | the-valley/note => ../note |
| 40 | the-valley/rebase => ../rebase |
| 41 | the-valley/selfupdate => ../selfupdate |
| 42 | ) |