jflory7 reported a new issue against the project: `fedora-websites` that you are following: `` # Summary
Change default Pagure git branch from `master` to `main` and recreate `master` as a branch alias
# Background
Fedora Linux 34 [switched default git branches to `main`](https://fedoraproject.org/wiki/Changes/GitRepos-master-to-main) as a Self-Contained Change. Many repositories use `main` as the default branch. In addition to being courteous, kind, and respectful, there are a few places that mention this branch to use `main` already, so we should take some form of action with the [Pagure git branch aliases](https://docs.pagure.org/pagure/changelog.html#id5).
# Details
1. Create a new main branch checked out from master 1. Change Pagure default branch to main 1. Delete master branch 1. Recreate master branch as a Pagure branch alias to main
The only risk to this change is what the impact will be to all opened Pull Requests. In `#websites:fedora.im`, we were thinking to work through the backlog of Pull Requests first in order to make this change safely.
# Outcome
* Syncs up with other distro-wide efforts to change default branches * Use git branch aliases to allow both `master` and `main` to serve the same content ``
To reply, visit the link below or just reply to this email https://pagure.io/fedora-websites/issue/1123
darknao added a new comment to an issue you are following: `` I just found out we can easily edit PRs to make them target another branch. So I think we can do steps 1 and 2 right now, and make all PRs point to the `main` branch.
From this point, we can change the branch ref in the docs.fp-o repo for docs, and the website build script in infra repo.
After that, I think we should be all set to remove the `master` branch ``
To reply, visit the link below or just reply to this email https://pagure.io/fedora-websites/issue/1123
darknao added a new comment to an issue you are following: `` I went ahead and created the main branch. I've also changed the branch name in the build script on infra side [[PR](https://pagure.io/fedora-infra/ansible/pull-request/888)]
``
To reply, visit the link below or just reply to this email https://pagure.io/fedora-websites/issue/1123
darknao added a new comment to an issue you are following: `` Can someone with admin rights switch the default branch to `main`? ``
To reply, visit the link below or just reply to this email https://pagure.io/fedora-websites/issue/1123
kevin added a new comment to an issue you are following: `` Done! ``
To reply, visit the link below or just reply to this email https://pagure.io/fedora-websites/issue/1123
darknao added a new comment to an issue you are following: `` Thanks kevin :)
Both build script and docs.fp-o are now using `main` branch. I've updated PRs to target this new branch, so as far as I can tell, nothing left should use master branch anymore. ``
To reply, visit the link below or just reply to this email https://pagure.io/fedora-websites/issue/1123
The status of the issue: `Change default branch to main` of project: `fedora-websites` has been updated to: Closed as complete by t0xic0der.
t0xic0der added a new comment to an issue you are following: `` Closing this as completed. Thanks, @darknao. ``
To reply, visit the link below or just reply to this email https://pagure.io/fedora-websites/issue/1123
websites@lists.fedoraproject.org