| 1 | // The restacker: a host program that rebases ready changes onto main when |
| 2 | // main moves under them. This slice is its planner, a read-only pass. It |
| 3 | // reads origin through the rebase engine (../rebase), records with the one |
| 4 | // reading of a record the push hook shares (../change), and the cap on its |
| 5 | // automatic versions through the composed-policy reader it shares with |
| 6 | // the integrator (../composed). All three live in this repository and are |
| 7 | // never fetched. |
| 8 | module the-valley/restack |
| 9 | |
| 10 | go 1.24 |
| 11 | |
| 12 | require ( |
| 13 | the-valley/change v0.0.0 |
| 14 | the-valley/composed v0.0.0 |
| 15 | the-valley/rebase v0.0.0 |
| 16 | ) |
| 17 | |
| 18 | replace ( |
| 19 | the-valley/change => ../change |
| 20 | the-valley/composed => ../composed |
| 21 | the-valley/rebase => ../rebase |
| 22 | ) |