-
Notifications
You must be signed in to change notification settings - Fork 238
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 master branch to main #4383
Comments
The renaming in the world builder is completed and it seems to have gone very smooth. I just had to update some documentation and names in tests/benchmarks afterwards, but nothing broke. |
Awesome, thanks for the quick test! I followed the change and migrated my own local WorldBuilder clone and github fork as well to see how the process works. Unfortunately there will be some manual work for everyone with one (or many!) aspect clones involved, because commands like |
Yes, that sounds like a good plan. One more issue which was encountered by someone was that you have to make sure that you are using the correct remote name. That might sometime be origin, upstream or something else. So it will be hard to give exact instructions, unless they include them looking at |
It always baffles me to see people use something different than |
I avoid the use of origin, yes. |
Well, I am guilty of that as well :P The issue for me with origin is that it is the default name based on the repository you cloned it against. Usually that is the main repository, but sometimes that is my own repository. For aspect I usually change the main repository to |
We already did this. @gassmoeller can you leave he instructions for what to do locally here in case somebody needs to find it? |
Yes, full instructions and a summary can also be found here: https://community.geodynamics.org/t/renaming-aspects-default-branch-to-main/2190 The renaming requires 2 changes from every user of an ASPECT git repository:
|
Most major development platforms (github, gitlab, and bitbucket) have decided to switch their default branch name from
master
tomain
to avoid the problematic association of master/slave relationships (see https://github.com/github/renaming/, https://about.gitlab.com/blog/2021/03/10/new-git-default-branch-name/). We discussed this during a developer meeting today and agreed that such a switch would be good for ASPECT as well. A quick search in the repo only found a manageable number of references to the name which could be changed at the same time as the main branch name change. To investigate how smoothly the process will go we decided to let WorldBuilder make the switch first, which is somewhat smaller and more flexible (tracked here: GeodynamicWorldBuilder/WorldBuilder#350). Once WorldBuilder has renamed its default branch we will follow.The text was updated successfully, but these errors were encountered: