On Thu, Dec 03, 2020 at 03:53:00PM +0000, Daniel P. Berrangé 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
Yeah, it might be, but if we want to get rid of master we should just do
it, not leave all the existing checkouts around using it, IMHO.
kevin