seed-bump: advance the stable line automatically at a series boundary #56
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "automate-line-advance"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up to #55. When anthraxx's packaging moves to a new kernel series, the weekly seed-bump bot used to rewrite the stable line's seed file in place, producing a cross-series pin that
validate.ymlrejects. This makes the bot open a correct PR: a full stable-line advance.Changes
tools/advance-line.sh <new-series> <ref>— single code path for a line advance (operators and CI). Createsconfigs/seeds/<new>.tomlfromtools/seed-header.tmpl, pins it viabump-seed.sh(signature-verified), refuses unless the ref is a<new>-series tag, repointsconfigs/upstream-seed.toml, demotes the current stable block tokind = "previous", appends the new stable block. Failure restores the tree.tools/seed-header.tmpl— seed header with no bump-volatile facts, sobump-seed.shnever leaves stale prose.configs/seeds/7.2.tomlregenerated from it (values unchanged).seed-bump.yml— detects a series boundary after the trial bump, runs the helper, commits registry + symlink + new seed, opens the PR with an advance-specific body (merge together with the first tag; first build logs drift-guard SKIPPED).configs/lines.toml— 7.1 re-registered asprevious; kinds and the procedure documented.bump-seed.sh— loud error on a half-formed pin file instead of a silent exit 1.fetch-seed.sh,lines.pyerror text and operator docs point at the helper; docs gain the apt behaviour across an advance.Verification
tools/advance-line.sh 7.2 7.2.5.hardened1-1on a worktree at the pre-#55 commit: output matches #55 (same commit + sha256),seed-pins-well-formedscript passes,lines.py kinds→7.1=previous 7.2=stable.advance-line.sh 7.3 7.2.5.hardened1-1aborts with a clear message and leaves the tree clean.yamllint -d relaxed,lint-workflow-shell.py --severity error, workflow-expressions grep, py_compile, seed-pins check — all pass.🤖 Generated with Claude Code