There's broad community agreement that using the term "master" for the main branch of Git is harmful.
GitHub has made it easy to switch to another name. The community consensus seems to be to use "main" instead.
Proposal:
openjs-foundation organization to "main".master branches to main for all openjs-foundation repositories.I think we should just rename them, with the new support to help move over PRs I think the impact on the work handled through CPC repos will be minimal.
Updated openjs-foundation/code-and-learn
Updated openjs-foundation/user-feedback
Updated openjs-foundation/openjsf-landscape
Updated openjs-foundation/project-status
openjs-foundation/artwork - default branch is already main
updated openjs-foundation/standards
Updated openjs-foundation/TEST-EasyCLA
openjs-foundation/meet is already main
updated openjs-foundation/code-of-conduct
updated openjs-foundation/summit
renamed openjs-foundation/open-office-hours
renamed openjs-foundation/silent-onboarding
openjs-foundation/directory-private primary branch was already main
Switch the default branch name of the GitHub openjs-foundation organization to "main".
This is already the default
updated openjs-foundation/cross-project-council
All repositories that did not already have main as the primary branch have been updated and the default for the org was already main.
The next step is to grep through the contents of all of the repositories and update any references from master to main:
I created this hackMD file to capture any issues, tips or guidance: https://hackmd.io/8sJrosPYSBi1uTM6C4GXjQ
Mass fast track request to get a number of the PRs referenced here landed: https://github.com/openjs-foundation/cross-project-council/issues/724
This issue remains open for the last three checkboxes on issue description:
I think to close this issue, considering the three bullet points left to do, we should:
That sounds like a great plan. We need someone to volunteer drafting an email.
Here's a proposal:
Dear Maintainers,
There's broad community agreement that using the term "master" for the main branch of Git is harmful.
GitHub has made it easy to switch to another name. The community consensus seems to be to use "main" instead.
We have recently completed transitioning all of the CPC repositories and encourage you to do the same.
We acknowledge renaming the main branch of repositories with complex CI/CD pipelines can be challenging and take time.
Feel free to reach out on Slack (#infra) to discuss any issues you might have.
The CPC
I don't know if it's worth noting here, but I just finished changing all the default branches for all repos on the jQuery org to main.
The template email, with a few minor edits, has been sent to our project leads!
I believe we can call this issue done as we've done it in our org.
Most helpful comment
I don't know if it's worth noting here, but I just finished changing all the default branches for all repos on the jQuery org to
main.