Vapor Branch Renaming

Hi all,

In line with the rest of Swift, we will rename the default branch for all projects under the Vapor organisation to main.
This change will happen over the next week. We’ll be using GitHub’s branch renaming system, which should port over any open PRs and redirect any traffic to the right branch. If you’re pinning against a branch in Swift Package Manager, you may need to manually update your Package.swift manifest, though most people shouldn’t notice any change.

Additionally, we’ll be going through our code to update our coding terminology where appropriate, following in the footsteps of Apple and others.

Feel free to ask any questions.

The Vapor Core Team

16 Likes

Great to hear! Thanks for heading up this small but important change.

1 Like

As of today, all of Vapor's repos have had their default branches renamed. Thanks for your patience, everyone!

3 Likes

Thanks everyone involved :grinning_face_with_smiling_eyes: :pray:

Thanks for doing the small but meaningful work

Late addendum:

For those interested, the source of the tool I wrote to perform the branch renaming operation via GitHub's API is now available at https://github.com/gwynne/ghrepocleanup. I made use of the new experimental async/await support to make it all work - it was really great getting rid of all those nested .flatMap() closures! :laughing: Check out the repository for more details.

1 Like

This post was flagged by the community and is temporarily hidden.

Terms of Service

Privacy Policy

Cookie Policy