Great to see that we're following industry best practice!
Another advantage to using "main" is that it more clearly documents that
the main branch is one of many potential branches, whereas "master"
could be seen as implying a specific branching strategy in which fixes
are backported from from master into release branches.
A tip to fellow developers, you'll want to configure git locally like
this for compatibility:
|Â git config --global init.defaultBranch main|
-[[mw:User:Adamw]]
On 3/2/23 23:55, Jeena Huneidi wrote:
Hi all,
I've changed the default branch for repos/releng/release repo on
gitlab[0] from 'master' to 'main'. Please remember to change branches
for your local repositories. I'll be deleting the 'master' branch next
week.
[0]: <https://gitlab.wikimedia.org/repos/releng/release>
On Wed, Feb 22, 2023 at 2:47 PM Jeena Huneidi <jhuneidi(a)wikimedia.org>
wrote:
One week from today, or sometime soon after, the
repos/releng/release default branch will be renamed from “master”
to “main” [0][1].
We will send notification when we complete the renaming.
If you use this repository, please make sure to change branches
after the renaming has been done [2].
Release Engineering will make any necessary changes to support
this rename, but if you have concerns about something that might
be affected by this change or overlooked, please do notify us.
Phab task for reference:
https://phabricator.wikimedia.org/T329770
Thank you for your vigilance!
[0]: <https://phabricator.wikimedia.org/T281593>
[1]: <https://phabricator.wikimedia.org/T254646>
[2]: Instructions:
<https://www.mediawiki.org/wiki/GitLab/Workflows#Rename_%22master%22_to_%22main%22>
--
Jeena Huneidi
Software Engineer, Release Engineering
Wikimedia Foundation
--
Jeena Huneidi
Software Engineer, Release Engineering
Wikimedia Foundation
_______________________________________________
Wikitech-l mailing list --wikitech-l(a)lists.wikimedia.org
To unsubscribe send an email towikitech-l-leave(a)lists.wikimedia.org
https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/