unfoldingWord / translationCore

Repository for the desktop application translationCore
https://www.translationcore.com
Other
36 stars 11 forks source link

Sometimes new repos are created with default branch main instead of master #7487

Closed PhotoNomad0 closed 8 months ago

PhotoNomad0 commented 1 year ago

Story Explanation

User Story

Sometimes new repos are created with default branch main instead of master, and this cause problems since all our apps presume the default branch as being master. This appears to be the outcome of the git app changing to creating new repos with default branch named main.

Changes needed:

Features / Specifications

Definition of Done

Additional Context

Mockups

PhotoNomad0 commented 1 year ago

Notes - testing on MacOS or in Windows:

Later - to restore your system to default to branch name of master do: git config --global init.defaultBranch master

PhotoNomad0 commented 1 year ago

@elsylambert - fixes are in ~translationCore 3.5.0 (a0d8658)~ - translationCore 3.5.0 (5951b4e) For testing, first follow steps above (see Notes - testing on MacOS or in Windows:) to configure your system to default to main as the branch name.

Check that we can recover broken projects:

Check that new projects are created in master branch:

PhotoNomad0 commented 1 year ago

@elsylambert Don't know how this did not get into QA

elsylambert commented 11 months ago

Tested in Windows machine with Version 3.5.0 (30831db). Looks good and works as expected.