On Thu, Dec 3, 2020 at 10:53 AM Daniel P. Berrangé <berrange(a)redhat.com> wrote:
On Thu, Dec 03, 2020 at 10:02:34AM -0500, Ben Cotton wrote:
>
https://fedoraproject.org/wiki/Changes/GitRepos-master-to-main
>
> == Summary ==
>
> This Change will move Fedora git repositories to use "main" as the
> default git branch instead of "master". Specific repositories will be
> manually moved and default git branch for new projects will be set to
> use "main".
>
> The Fedora Community strives to be open and welcoming. Some language
> around our git repositories is dated and could be more inclusive. Many
> git repositories currently use "master" as the default branch. This
> Change will move many repositories (see below) to use a "main" branch
> as default. This small bit of naming adjustment is in-line with
> Fedora's vision for free and open source software built by inclusive,
> welcoming, and open-minded communities.
snip
> == Upgrade/compatibility impact ==
>
> Users with old checkouts will need to update their git configuration
> or re-clone repositories that have changed before they can see any new
> changes.
Is it possible to enhance pagure to support configuring branch
symbolic refs when branches are renamed, so clients don't need
to update their checkout ? IIUC, it involves running something
approximately like this on the server git repo:
git symbolic-ref refs/heads/master refs/heads/main
Probably, but I suspect that's more of a migration task. Do we need to
establish a persistent reference of master == main?
--
真実はいつも一つ!/ Always, there's only one truth!