From Fedora Project Wiki
(→‎Scope: use sub sections for phases)
(Add more indicative language to what is being changed in Summary section, make connections back to the Fedora Vision, change capitalization for a few proper nouns)
Line 1: Line 1:
= Welcoming-language-for-git-repos =
= Welcoming-language-for-git-repos =


== Summary ==
== Summary ==


The Fedora community strives to be open and welcoming. Some language around our git repositories could be improved
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".
to be more welcoming. Currently many of our git repositories use 'master' as the default branch. This change will  
 
move many of those repostories to use a 'main' branch as default. This small bit of naming adjustment will
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.
help show that Fedora is committed to being welcoming to newcomers and existing community members alike.
 


== Owner ==
== Owner ==
Line 12: Line 13:
* Name: [[User:Kevin| Kevin Fenzi]], [[User:bcotton| Ben Cotton]], [[User:pingou| pingou]], [[User:mohanboddu| Mohan Boddu]]
* Name: [[User:Kevin| Kevin Fenzi]], [[User:bcotton| Ben Cotton]], [[User:pingou| pingou]], [[User:mohanboddu| Mohan Boddu]]
* Email: kevin@scrye.com, bcotton@redhat.com, pingou@pingoured.fr, mboddu@bhujji.com
* Email: kevin@scrye.com, bcotton@redhat.com, pingou@pingoured.fr, mboddu@bhujji.com


== Current status ==
== Current status ==
Line 29: Line 31:
* Tracker bug: <will be assigned by the Wrangler>
* Tracker bug: <will be assigned by the Wrangler>
* Release notes tracker: <will be assigned by the Wrangler>
* Release notes tracker: <will be assigned by the Wrangler>


== Detailed Description ==
== Detailed Description ==


The Fedora project controls a number of git repositories. This change will move the default branch (that is,
The Fedora Project controls a number of git repositories. This change will move the default branch (that is, the git branch used when nothing is specified) from 'master' to 'main'. Existing git clones will need to pull to get the changed default branch. Existing Pull Requests against the 'master' branch will need to be rebased against the 'main' branch. Documentation will be updated.
the git branch used when nothing is specified) from 'master' to 'main'. Existing git clones will need to
 
pull to get the changed default branch. Existing PR's against the 'master' branch will need to be rebased against
the 'main' branch. Documentation will be updated.  


== Feedback ==
== Feedback ==




== Benefit to Fedora ==
== Benefit to Fedora ==


The Fedora project will be a more welcoming place for new contributors.
The Fedora Project will be a more welcoming place for new contributors.




Line 117: Line 119:


* Alignment with Objectives:
* Alignment with Objectives:


== Upgrade/compatibility impact ==
== Upgrade/compatibility impact ==
Line 123: Line 126:


Repos used to build content for docs.fedoraproject.org can change the default git branch, but the Antora module version (in `antora.yml`) should remain `master` pending support for alternate "unversioned" versions upstream.
Repos used to build content for docs.fedoraproject.org can change the default git branch, but the Antora module version (in `antora.yml`) should remain `master` pending support for alternate "unversioned" versions upstream.


== How To Test ==
== How To Test ==
Line 131: Line 135:


should return: `* main`
should return: `* main`


== User Experience ==
== User Experience ==


Users and developers will see more welcoming language and that the fedora project expended effort
Users and developers will see more welcoming language and that the fedora project expended effort to be more welcoming to them.  
to be more welcoming to them.  
 


== Dependencies ==
== Dependencies ==


none
none


== Contingency Plan ==
== Contingency Plan ==
Line 145: Line 151:
* Contingency mechanism: Revert repositories, scripts, and docs back to the unwelcoming 'master'  
* Contingency mechanism: Revert repositories, scripts, and docs back to the unwelcoming 'master'  
* Contingency date: 2020-01-13
* Contingency date: 2020-01-13


== Documentation ==
== Documentation ==


A short guide on how to change this for pagure.io will be produced.
A short guide on how to change this for pagure.io will be produced.


== Release Notes ==
== Release Notes ==


Many of the git repositories that are used to create Fedora releases have been moved to use
Many git repositories used to create Fedora releases were moved to use a 'main' branch instead of a 'master' branch. The Fedora Project envisions a world where everyone benefits from free and open source software built by inclusive, welcoming, and open-minded communities.
a 'main' branch instead of a 'master' branch. The Fedora project strives to be a welcoming
project for everyone.

Revision as of 16:45, 1 December 2020

Welcoming-language-for-git-repos

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.


Owner


Current status

  • Targeted release: Fedora 34
  • Last updated: 2020-12-01
  • FESCo issue: <will be assigned by the Wrangler>
  • Tracker bug: <will be assigned by the Wrangler>
  • Release notes tracker: <will be assigned by the Wrangler>


Detailed Description

The Fedora Project controls a number of git repositories. This change will move the default branch (that is, the git branch used when nothing is specified) from 'master' to 'main'. Existing git clones will need to pull to get the changed default branch. Existing Pull Requests against the 'master' branch will need to be rebased against the 'main' branch. Documentation will be updated.


Feedback

Benefit to Fedora

The Fedora Project will be a more welcoming place for new contributors.


Scope

This change will take place in a number of phases:

Phase0 - 2020-12-14

  A guide will be published to explain how maintainers/project managers can change the default
  branch on pagure.io, which they can then do based in their projects desires.

Phase1 - 2020-12-15

The following repos will be switched:

 src.fedoraproject.org/flatpacks/*
 pagure.io:
   releng
   releng/*
   fedora-comps
   fedora-kickstarts
   fedora-infrastructure
   fedora-lorax-templates
   fedora-mediawikitheme
   fedora-packager
   fedora-infra/*
   infra-docs
   koji-fedmsg-plugin
   workstation-ostree-config
   pungi-fedora
 github.com
   fedora-infra/*

Phase2 - 2021-01-13

  src.fedoraproject.org/*
  pagure.io default for new projects will be changed to 'main'
  • Proposal owners:
  Switching all above listed projects git repos to use 'main'
  Deleting the 'master' branch
  Announcing when changes have been made on devel-announce / other lists.
  • Other developers:
  Other developers are encouraged to change their upstream projects on pagure.io, github or gitlab.
  • Release engineering:
  Releng will adjust any scripts that assume 'master' branch to use 'main' instead. The list includes and maybe few more
  update-critpath.py
  block_retired.py
  update-docs.sh
  find_unblocked_orphans.py
  mass-rebuild-second-run.py
  adjust-eol-modules.py
  adjust-eol-modules.py
  adjust-eol-modules.py
  adjust-eol.py
  create-new-release-branches.py
  create-branch.py
  adjust-eol-all.py
  check-unretirement.py
  mass-rebuild-special.py
  need-rebuild.py
  distgit-branch-unused.py
  create-new-release-branches.py
  • Policies and guidelines: N/A
  • Trademark approval: N/A
  • Alignment with Objectives:


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.

Repos used to build content for docs.fedoraproject.org can change the default git branch, but the Antora module version (in antora.yml) should remain master pending support for alternate "unversioned" versions upstream.


How To Test

  1. git clone <one of the listed repositories>
  2. cd <repositoryname>
  3. git branch

should return: * main


User Experience

Users and developers will see more welcoming language and that the fedora project expended effort to be more welcoming to them.


Dependencies

none


Contingency Plan

  • Contingency mechanism: Revert repositories, scripts, and docs back to the unwelcoming 'master'
  • Contingency date: 2020-01-13


Documentation

A short guide on how to change this for pagure.io will be produced.


Release Notes

Many git repositories used to create Fedora releases were moved to use a 'main' branch instead of a 'master' branch. The Fedora Project envisions a world where everyone benefits from free and open source software built by inclusive, welcoming, and open-minded communities.