Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename branch "master" to "main" #171

Closed
ameowlia opened this issue Jun 30, 2020 · 2 comments
Closed

Rename branch "master" to "main" #171

ameowlia opened this issue Jun 30, 2020 · 2 comments
Labels

Comments

@ameowlia
Copy link
Member

@ameowlia ameowlia commented Jun 30, 2020

Current State

We have 3 non-wip branches that we use for routing-release.

branch name purpose
develop Where we push code we are actively developing. When people submit PRs, they submit them against the develop branch.
release-candidate Once the code on develop passes our pipeline, it is merged into this branch automatically.
master When we release, we merge release-candidate into the master branch.

Desired State

  • Replace "master" with "main"

Why does this matter?

Master/slave terminology has existed for decades and has permeated many aspects of computer science and other fields. It is also extremely racist. We should stop using these terms.

There has been some debate on the cf-dev mailing list about whether teams should replace "master" with "main" or with some other term. I think we should chose "main" because that is what github changing its default to. By choosing the same default branch name as github this will provide predictability and cohesion between repos.

@mcwumbly
Copy link
Member

@mcwumbly mcwumbly commented Jun 30, 2020

I'm in favor of "main" if we believe that it'll be more consistent with other repos.

If consistency seems unattainable, then I'd vote for "release", given the table you helpfully put together above. Let's include that table (with the new name) in https://github.com/cloudfoundry/routing-release#developer-workflow and/or in a new CONTRIBUTING.md while we're at it!

@jenspinney jenspinney added the scheduled label Jul 1, 2020
@kauana
Copy link
Member

@kauana kauana commented Jul 17, 2020

Done! We renamed the master branch to release: 9f9f04b

@kauana kauana closed this Jul 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.