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

Switch default branch from 'master' to 'main' #421

Closed
10 tasks done
edmorley opened this issue Aug 3, 2020 · 1 comment
Closed
10 tasks done

Switch default branch from 'master' to 'main' #421

edmorley opened this issue Aug 3, 2020 · 1 comment
Assignees

Comments

@edmorley
Copy link
Member

edmorley commented Aug 3, 2020

As part of ensuring inclusive language is used throughout all Heroku repositories, we should switch from the current default branch of master to main.

This will involve:

Note:
Most users will be consuming this buildpack via the buildpack-registry stable release (using the shorthand alias heroku/go). Some will be using the master branch via a buildpack URL of https://github.com/heroku/heroku-buildpack-go, and others will be pinned to a specific branch or tag using https://github.com/heroku/heroku-buildpack-go#some-branch-or-tag.

In rare cases people may be using the latter form to specify the master branch, even though it's redundant to specify the branch name. Such usages will need to be updated to use either the default-branch GitHub form, or else the shorthand form (recommended).

Also GitHub now redirects any web links (such as the /blob/ URLs) whose branch doesn't exist, which reduces the urgency of catching every stray docs reference:
https://github.blog/changelog/2020-07-17-links-to-deleted-branches-now-redirect-to-the-default-branch/

@W-7869571@

@edmorley edmorley self-assigned this Aug 3, 2020
edmorley added a commit that referenced this issue Aug 3, 2020
@edmorley edmorley changed the title Replace 'master' branch references with 'main' Switch default branch from 'master' to 'main' Aug 3, 2020
@edmorley
Copy link
Member Author

edmorley commented Aug 4, 2020

In rare cases people may be using the latter form to specify the master branch

Analysing buildpack URLs used (slack), I found only 1 app using the #master form with this buildpack and it hasn't had a deploy since 2018, so we should be good to just delete the old master branch.

@edmorley edmorley closed this as completed Aug 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant