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

Proposal: Migrate master to main #1049

Closed
2 tasks
pd93 opened this issue Mar 10, 2023 · 1 comment · Fixed by #1048
Closed
2 tasks

Proposal: Migrate master to main #1049

pd93 opened this issue Mar 10, 2023 · 1 comment · Fixed by #1048
Labels
area: releasing Changes related to the release process.

Comments

@pd93
Copy link
Member

pd93 commented Mar 10, 2023

This issue proposes and tracks the changes required to rename Task's master branch to Git's new default branch name: main.
GitHub has a repo that has guidance for changing the default branch from master that informs the rest of this issue.

The steps required to do this are pretty simple:

  • Rename master to main
    • Note that (among other things) this will automatically:
      • Re-target any open pull requests
      • Move any branch protection rules that explicitly reference the old name
      • Redirect web requests for the old branch name to the new branch name
    • See docs for instructions and more info.
  • Merge chore: update refs from master to main #1048
    • Most of these changes aren't strictly necessary thanks to GitHub's automatic redirection. However, it nice to have everything up to date :)

A note to maintainers of community projects

Very few of the community-made Task projects directly refer to Task's master branch and since GitHub will automatically redirect requests from master to main, there shouldn't be any issues with breaking 3rd party integrations. However, if you do maintain a project that refers to Task's master branch, it's probably a good idea to update any references to main if this issue is completed.

The only project I'm aware of that currently refers to master is the Homebrew formula.

@task-bot task-bot added the state: needs triage Waiting to be triaged by a maintainer. label Mar 10, 2023
@pd93 pd93 added area: releasing Changes related to the release process. and removed state: needs triage Waiting to be triaged by a maintainer. labels Mar 10, 2023
@pd93 pd93 linked a pull request Mar 10, 2023 that will close this issue
andreynering added a commit that referenced this issue Apr 15, 2023
@andreynering
Copy link
Member

Opened Homebrew/homebrew-core#128481 to reflect this change on Homebrew.

@pd93 pd93 mentioned this issue Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: releasing Changes related to the release process.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants