Skip to content

Migrate the flutter/flutter repository to use main as the primary development branch/channel #121564

@godofredoc

Description

@godofredoc

This is a non comprehensive list of what is required to deprecate master branch:

Blocking switch for flutter/flutter

  • Update the flutter.dev website
  • Mirror master branch to main
  • Validate full support for main alias in flutter tool

Switch time

  1. Block PR submission
  2. Select new default branch in repo settings
  3. Re-target all open PRs towards main
    From what I gather, since the old branch will remain, GitHub will not retarget PRs automatically, so this will likely best be achived with the CLI gh
  4. Change trigger branch from master to main for presubmit checks and workflows
  5. Flip mirroring direction from main to master
  6. Open PR submission

Other non-blocking issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listteam-infraOwned by Infrastructure teamtriaged-infraTriaged by Infrastructure team

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions