Principle:Apache Airflow Branch Preparation
| Knowledge Sources | |
|---|---|
| Domains | Release_Engineering, Version_Control |
| Last Updated | 2026-02-08 00:00 GMT |
Overview
A process for preparing release branches by cherry-picking approved changes and tracking them via GitHub milestones.
Description
Branch Preparation involves creating or updating a release branch with the specific commits intended for the release. The assign_cherry_picked_prs_with_milestone.py script automates tracking by comparing git history between releases, categorizing changes, and assigning PRs to milestones. The cherry_picker tool (configured via .cherry_picker.toml) automates backporting commits from main to release branches.
Usage
Use during the branch preparation phase of any release. Run the milestone assignment script to categorize and track which PRs are included in the release.
Theoretical Basis
Branch Strategy:
- main: Development branch with all changes
- v*-stable: Release branches with cherry-picked fixes
- Cherry-picking: Selective backporting of commits to release branches
- Milestone tracking: GitHub milestones associate PRs with release versions