CAT-G2: the Go seat keeps what the npm seat keeps; its retention reads every go.mod
go_packages and go_retention read the forge's Go registry as npm_* read npm's: a version a go.mod on a default branch requires (or replaces to) is kept, with the newest keep; a go.mod that cannot be read stops a real run before anything is deleted; each deletion says removed on the Go seat, under the module path and without Go's leading v (design 51 *Retention*). Claude-Session: https://claude.ai/code/session_01JG73KJNrH5EgFXMKKYSrig
This commit is contained in:
@@ -201,6 +201,8 @@ deletes the versions nothing keeps.
|
||||
|---|---|---|
|
||||
| `npm_packages` | r | every package of the registry's owner, each version newest first with its publish time, its size and why it is kept |
|
||||
| `npm_retention` | a | the versions retention would delete, and the bytes. **A dry run unless `dry_run` is false**; a real run needs `why` |
|
||||
| `go_packages` | r | every Go module of the registry's owner (the Go seat's), each version newest first with its publish time, its size and why it is kept: a `go.mod` on a default branch requires it, or it is among the newest `keep` |
|
||||
| `go_retention` | a | the Go module versions retention would delete, and the bytes; as `npm_retention`, and a `go.mod` that could not be read stops a real run. Each deletion says `removed` on the Go seat |
|
||||
|
||||
**A version is kept when:**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user