Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

The git world has moved from “master” as the default branch to “main”.

What would it take to change edX and Open edX repos from master to main?

  • GitHub instructions for renaming a branch: https://docs.github.com/en/github/administering-a-repository/renaming-a-branch

    • Unfortunately, GitHub won’t auto-forward “master” references to “main”, so everyone with a clone needs to manually rename the branch also.

      • GitHub provides instructions, but they are three command-line commands, which not everyone is comfortable using.

  • After renaming the branch and pushing it, update on github (see info here, for both):

    • Update default branch to be main

    • Update branch protection rules

  • edX pipelines?

  • readthedocs: project settings mention “master” as the branch to build.

  • openedx.yaml files have “openedx_release: {“ref”: “master”}” in them.

  • confluence process pages that mention master

  • No labels