feat(bin): mt-land, land a merge-train train PR as jmz with a pinned head #57
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
public/dotfiles-public!57
Loading…
Reference in a new issue
No description provided.
Delete branch "maximus/mt-land"
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?
mt-land <train-id>lands a merge-train train PR fast-forward as jmz, from Jörg's own machine. It replaces/root/merge-train-click.sh,/root/merge-nh.shand/root/merge-hf.shon spl-vm05, so the jmz token can leave that host. Design: nixos-hostsdocs/superpowers/specs/2026-11-23-merge-queue-design.md§5.8; the service side (the marker) is nixos-hosts PR #1107.<!-- merge-train train=<id> phase=awaiting_click tip=<sha> base=<branch> -->.maximus, its head branch istrain/<id>/…, head == tip, base == the marked base, and the combined CI status of the tip issuccess.{"Do": "fast-forward-only", "head_commit_id": tip}.pass show forgejo/jmz-merge-token(override withMT_LAND_TOKEN_CMD) and is only ever sent in the Authorization header. There are no redirects, and control characters from PR text are stripped before printing.--repo.Tests:
python3 -I -B -m unittest discover -s tools/mt-land -p 'test_*.py'→ 10 tests OK (tools/**is chezmoi-ignored).Setup, once: create a Forgejo token with repository write scope for jmz, then
pass insert forgejo/jmz-merge-token.Commits are unsigned (no gpg-agent on spl-vm05).
🤖 Generated with Claude Code
https://claude.ai/code/session_01XMf4ELSbWvtUkEeVky4wWr
912ea8a9fc75877239af