-
-
Notifications
You must be signed in to change notification settings - Fork 969
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
Suggestion: Rename default branch to "main" #1357
Comments
Accepted, we should do this - we did this on the joinmastodon repo recently. We just need to ensure that changing the branch name does not affect the documentation auto deployment at the same time. Looking into this. |
@renchap I believe this requires |
Side note: Same goes for this Gitlab CI file. Also, some files in I can send a PR for all of that (if it can wait until the end of the week or so.) |
I don’t think we use the Gitlab CI any more but I could be mistaken. Thanks for spotting the other instances of the branch name - we would definitely want to do those as well. Happy to review a PR later! |
We do not rely on Gitlab CI anymore, this can be dropped. I am all for switching to |
Thanks for the clarification! |
As noted by @renchap, "We do not rely on Gitlab CI anymore, this can be dropped." mastodon#1357 (comment)
This requires changes in * the GitHub Pages deployment config * a few HTML page templates, where the default branch name is included in links to the repo (stylized as "Improve this page" in the English version of the live docs webpage)
Here we go: PR #1373 |
Thanks for the PR. I renamed the branch, merged your PR, and fixed the Github Pages setup. Everything seems to be working on my end! |
Great, my pleasure! |
Mastodon renamed its default branch to "main" a while ago. This follows a general trend whose background and rationale is explained, e.g., in this GitHub write-up.
I suggest to do the same for the documentation repo. The GitHub document linked above even contains a guide on how to do that.
The text was updated successfully, but these errors were encountered: