For all repositories under FreedomBox · GitLab, the default branch has been changed from master
to main
if the repository is not a Debian packaging repository. If the repository is a Debian packaging repository it has been changed to debian/latest
as per DEP-14.
For developers contributing to these repositories, typical Git workflow does not change because of this. However, if you have already cloned a repository to a local machine, you can run the following commands to update your local branches:
git fetch origin
git branch -m master main
git branch --set-upstream-to=origin/main main
If you have a fork of the project on Salsa, you may also:
- Push the
main
branch to your repository. - Goto Settings → Repository and set
main
as the new default branch. - Update protected branch settings if necessary.
- Delete the
master
branch.
Weblate translation settings, automatic image builder settings, and automatic website deployment scripts have been updated. Hopefully, nothing is broken. Please report any problems you notice.