gunk-dev/the-valley

go.mod

sourcec2411381d337main's published tip history
944 bytes
1// The rebase engine: a family of stacked changes, read from one snapshot
2// of origin, rebased onto main in a throwaway worktree, and published as
3// one atomic branch push and one record append per change. The valley
4// command (../status) runs it for valley rebase and review's [b]ase, and it
5// reads how far each version has landed for valley's listings too.
6module the-valley/rebase
7
8go 1.24
9
10require (
11 the-valley/change v0.0.0
12 the-valley/note v0.0.0
13)
14
15// The change record is shared with the push hook (../valleyhook), so the
16// engine writes a record exactly the way the hook reads it. A transfer
17// statement is opened with the note reader every verifier uses (../note),
18// and parsed and digested with the written form and the valley-tree-v1
19// scheme attest signs and verifies with (../note/statement). Both live in
20// this repository and are never fetched.
21replace (
22 the-valley/change => ../change
23 the-valley/note => ../note
24)