Skip to content

chore(asf): temporarily enable merge commits on main for rust-preview switch - #7132

Merged
M4n5ter merged 1 commit into
mainfrom
chore/enable-merge-commit-for-switch
Nov 22, 2026
Merged

M4n5ter merged 1 commit into
mainfrom
chore/enable-merge-commit-for-switch

Conversation

@M4n5ter

@M4n5ter M4n5ter commented Nov 21, 2026 •

Copy link
Copy Markdown
Member

Preparatory 1-line PR for promoting rust-preview to main (see Discussion #6366).

Why

  • Enables enabled_merge_buttons.merge: true on main temporarily so the upcoming rust-preview -> main switch PR (created with git merge -s ours origin/main) can land via Create a merge commit.
  • This avoids force-pushing or bypassing branch protection, keeps the resulting main tree 100% Rust, and preserves both 0.2.x and rust-preview commit histories (along with everyone's GitHub Contributors attribution).
  • rust-preview's .asf.yaml keeps merge: false, so ASF automation automatically restores squash-only merges right after the switch PR is merged.

Cut the 0.2.x maintenance branch from main before landing the final switch PR.

… switch

Temporarily set enabled_merge_buttons.merge to true in .asf.yaml so
rust-preview can be promoted to main via a normal protected merge commit
(preserving both branches' full histories and GitHub Contributors attribution
without force-pushing). rust-preview's .asf.yaml keeps merge: false, so the
squash-only policy is restored automatically once the switch PR lands.

Refs: #6366

Generated-by: Maka (Gemini)
@github-actions github-actions Bot added the effort/XS Under 10 readable lines label Nov 21, 2026

@liugddx liugddx left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the temporary merge-button change. This is the expected one-line preparation for the protected merge-commit switch, and the checks are green.

@M4n5ter
M4n5ter merged commit 9175a2b into main Nov 22, 2026
2 checks passed
@M4n5ter
M4n5ter deleted the chore/enable-merge-commit-for-switch branch November 22, 2026 06:00
sunrioa pushed a commit to sunrioa/maka that referenced this pull request Nov 23, 2026
Switch the default branch from the legacy 0.2.x TypeScript codebase
(archived on branch 0.2.x) to the Rust 0.3.0 implementation from
rust-preview, preserving both commit histories and contributor records.

Per Discussion apache#6366 and PR apache#7132, this PR must be landed via
Create a merge commit (--merge), after which .asf.yaml automatically
restores squash-only merges on main.

Generated-by: Maka (Gemini)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

effort/XS Under 10 readable lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants