Hi all,
we have made a lot of changes today to make sure that our git repositories are no longer using ‘master’, but ‘main’ as their main and development branch.
Some small changes are required to make things work again:
Translators
If you have any bookmarks for translating, you might need to adapt them to the new branch name:
https://translate.koha-community.org/projects/koha/main/
git repositories
Please note that this change doesn’t only affect the Koha repository, but also our side project and tool repositories. In your local repositories you will want to rename the local branch to main and then set it to track main in the upstream repository:
git config --global init.defaultBranch main
git branch --move master main
git branch –u origin/main
git pull
koha-testing-docker
Switch the repository over to use main as detailed above.
Edit your .env file and replace every occurrence of master with main, especially within the KOHA_IMAGE line.
Run ktd pull to pull the new images.
RMaints and RM
release-tools: Edit etc/user.yaml and replace ‘master’ with ‘main’ in line 4.
If you encounter any issues, please let us know!
Many many thanks to everyone who has helped today to make this possible on short notice!
Katrin