Would be great if we add a deprecation notice (wich could include an EOL
for the symbolic-ref) to git's output while operating on master branch :D
20/12/3 16:53(e)an, Daniel P. Berrangé igorleak idatzi zuen:
> 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
>
>
>
> Regards,
> Daniel
>