Updating Branch Names

In July, @tkremenek announced a plan to move the default branch to main. We are beginning the transition on September 22nd 2020 and will be changing the branch name from master to main branch for the Swift, LLVM Project, and Swift related repositories. Once this process has been completed, you will need to update the targeted branch for the pull request to match the new branch name. Push access to the old branch will be disabled on September 22nd 2020 and deleted on October 5th 2020. We will be running an automerger from the main to the master branch until October 5th 2020 to reduce the impact on downstream projects.

Swift Repository: (GitHub - apple/swift: The Swift Programming Language)

Current Branch New branch
master-next next
master main
master-rebranch rebranch/main

LLVM Repository: (GitHub - apple/llvm-project: The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. This fork is used to manage Apple’s stable releases of Clang as well as support the Swift project.)

Current Branch New branch
llvm.org/master llvm.org/main *
apple/master apple/main
swift/master-next swift/next
swift/master swift/main

Note: To keep the name consistent with the upstream llvm-project, we will not be updating the llvm.org/master branch name until it’s updated on llvm.org repository.

Swift Related Repositories:

Repository Current Branch New Branch
GitHub - apple/swift-cmark: CommonMark parsing and rendering library and program in C master main
GitHub - apple/indexstore-db: Index database library for use with sourcekit-lsp master main
GitHub - apple/swift-llbuild: A low-level build system, used by Xcode and the Swift Package Manager master main
GitHub - apple/sourcekit-lsp: Language Server Protocol implementation for Swift and C-based languages master main
GitHub - apple/swift-argument-parser: Straightforward, type-safe argument parsing for Swift master main
GitHub - apple/swift-corelibs-foundation: The Foundation Project, providing core utilities, internationalization, and OS independence master main
GitHub - apple/swift-corelibs-libdispatch: The libdispatch Project, (a.k.a. Grand Central Dispatch), for concurrency on multicore hardware master main
GitHub - apple/swift-corelibs-xctest: The XCTest Project, A Swift core library for providing unit test support master main
GitHub - apple/swift-driver: Swift compiler driver reimplementation in Swift master main
GitHub - apple/swift-format: Formatting technology for Swift source code master main
GitHub - apple/swift-integration-tests: Automated tests for validating the generated Swift snapshots behave correctly master main
GitHub - apple/swift-package-manager: The Package Manager for the Swift Programming Language master main
GitHub - apple/swift-stress-tester: Stress testing utilities for Swift's tooling master main
https://github.com/apple/swift-syntax master main
GitHub - apple/swift-tools-support-core: Contains common infrastructural code for both SwiftPM and llbuild. master main
GitHub - apple/swift-xcode-playground-support: Logging and communication to allow Swift toolchains to communicate with Xcode. master main
GitHub - apple/swift-evolution: This maintains proposals for changes and user-visible enhancements to the Swift Programming Language. master main
21 Likes

Update:
Branches created and automergers configured.

On Sept 25th 2020, I will posting this on all of the pull request open for master branch.

Please update the base branch to main by Oct 5th otherwise the pull request will be closed automatically.

  • How to change the base branch: (Link)
  • More detail about the branch update: (Link)
2 Likes

Thanks I updated the post.

Swift project repositories are updated with new branch names!

4 Likes