oVirt website switching to 'main' branch

Quack, Following Red Hat conscious language initiative we're switching the development branch to 'main' on the ovirt-site repository. This will happen on 2022-06-20 around 10:30-11:30 Japan time. If you encounter any problem after this date please contact me by mail or chat (duck on IRC). Regards. \_o<

On Thu, Jun 9, 2022 at 1:34 PM Marc Dequènes (Duck) <duck@redhat.com> wrote:
Quack,
Following Red Hat conscious language initiative we're switching the development branch to 'main' on the ovirt-site repository.
This will happen on 2022-06-20 around 10:30-11:30 Japan time.
If you encounter any problem after this date please contact me by mail or chat (duck on IRC).
Good luck! Not sure what the exact plan is, but IMO you should just remove 'master' completely. At most, perhaps rename it to something like 'Master_branch_not_used_use_main_instead' or something like that. If you just remove, or use a capital 'M', then tab-completion like e.g. `git command remote/ma<TAB>` will work just as well as today... Do you have recipes you used for other projects as well? And, are there plans to do something similar for other oVirt git repos? Best regards, -- Didi

Quack, On 6/9/22 20:21, Yedidyah Bar David wrote:
Not sure what the exact plan is, but IMO you should just remove 'master' completely. At most, perhaps rename it to something like 'Master_branch_not_used_use_main_instead' or something like that. If you just remove, or use a capital 'M', then tab-completion like e.g. `git command remote/ma<TAB>` will work just as well as today...
GH has a feature to rename a branch and automagically update all refs and PRs. I do not have any prior experience but the Internet seems to be happy of the result. Of course you need to update your local workdir. I'll give a command in the "done" email. I'll update the GH workflow and production site builder and we should be fine. Currently it has been postponed because despite some permissions on the repo I need more than I thought I had. I asked Sandro about that but anyone with admin access it welcome to help.
And, are there plans to do something similar for other oVirt git repos?
No plans but I'm open to help for other repos/communities. \_o<

Quack, The move has been postponed to 2022-06-27 (around 10:30-11:30 Japan time as before) due to lack of permissions on the Github repository. Regards. \_o< On 6/9/22 19:34, Marc Dequènes (Duck) wrote:
Quack,
Following Red Hat conscious language initiative we're switching the development branch to 'main' on the ovirt-site repository.
This will happen on 2022-06-20 around 10:30-11:30 Japan time.
If you encounter any problem after this date please contact me by mail or chat (duck on IRC).
Regards. \_o<

Quack, The branch was renamed. All PRs were updated. Please do not forget to update your work directory: git branch -m master main git fetch origin git branch -u origin/main main git remote set-head origin -a In case of problems please reopen the ticket[1] or contact me. [1]: https://github.com/oVirt/ovirt-site/issues/2605 Regards. \_o<
participants (2)
-
Marc Dequènes (Duck)
-
Yedidyah Bar David