Skip to content

Cherry-pick every push on v5 onto v6 - #434

Merged
mistraloz merged 1 commit into
thecodingmachine:v5from
mistraloz:feat/forward-v5-to-v6
Nov 9, 2026
Merged

mistraloz merged 1 commit into
thecodingmachine:v5from
mistraloz:feat/forward-v5-to-v6

Conversation

@mistraloz

Copy link
Copy Markdown
Collaborator

Why

v6 must hold every commit of v5 plus its own ones, without forwarding them by hand.

What

forward-port.yml runs on each push on v5 (and by hand): it cherry-picks with -x the commits of v5 not yet in v6 onto v6, then pushes v6.

  • Already forwarded commits are skipped: (cherry picked from commit …) trailer, or same patch. The merge commits of the pull requests are not copied, their commits are.
  • On conflict, the commits before it are pushed and the workflow fails with the commit to cherry-pick by hand; running it again forwards the next ones.
  • v6 has its own protection rule (no pull request required, no force push, no deletion) so that the workflow can push to it; v5 keeps the v* rule.

docs/contributing.md explains it.

Tests

Run against a local repository: pull request merged into v5, run again, conflict then manual resolution, patch already on v6.

@mistraloz
mistraloz merged commit a341e91 into thecodingmachine:v5 Nov 9, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant