-
Notifications
You must be signed in to change notification settings - Fork 95
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
Set default branch to main #619
Comments
Tagging @ME-ICA/tedana-devs for feedback. |
I believe that GitHub will automatically do this (or at least make it much easier to do) by the end of the year: see here. EDIT: To clarify- I am very much for this, but I think we could wait a couple of months until it's easier to change. |
That makes sense. I'm in favor provided we have a deadline. I would say that if GitHub can't deliver the feature by December 31st, I'd like to see us set a Jan. 31 deadline for the repo itself. By that point, we'll (hopefully) have merged most major PRs anyway. I'll also volunteer as the point of contact for helping people modify their local repositories, as that can get a bit sticky. |
It looks like they'd streamlined the process: https://github.com/github/renaming/tree/040636ea50e945875c70cc964d586f645e9bd810#renaming-existing-branches I think we should do this before (or immediately after) the new release. |
Is there any reason to not do it now, if we're all agreed on it? As a reminder, I'll take point for helping with peoples' local environments. |
I can't think of one. All open PRs will be switched over automatically, so I'm totally fine with the change. |
Alright. I feel like if we get a steering committee majority confirming the change, one of us should push the button. That said, who has permission to push the button? |
A potential reason not to do this right away is that there might be some tools that still assume the branch name is |
Yeah, I'll open a PR to close all of these references to
Fortunately it seems that no CI configurations in the repository refer to the branch, however, it's possible we'll need to do some tinkering when we push these changes. |
It looks like there was an accidental keyword in #667. Reopening. |
It's been about five months since we made the change, with no issues reported so far. @jbteves do you think we can close this now? |
I think so, closing. |
Summary
We have changed the default branch from
master
tomain
per unanimous agreement among the steering committee. Please contact me at joshua.teves@nih.gov if you have any issues with the switch. GitHub's recommended method of switching your local repository is the following:HOWEVER, it may be the case that your personal fork is
origin
and the main repository isupstream
(or some similar variant). In that case, please do the following:master
tomain
in your repository Settings under "Branches." (Note: GitHub will already alert you that the main repository has changed and encourage you to do so.)Next Steps
The text was updated successfully, but these errors were encountered: