[FOLIO-2811] Rename default branch of all existing folio-org Git repositories Created: 30/Sep/20  Updated: 02/Jul/21

Status: Open
Project: FOLIO
Components: None
Affects versions: None
Fix versions: None

Type: Task Priority: P3
Reporter: Jakub Skoczen Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: devops-backlog
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Issue links:
Blocks
is blocked by FOLIO-2858 Transition to 'main' as the new defau... In Progress
Relates
relates to FOLIO-2813 Modify mentions of "master branch" in... Open
relates to FOLIO-2851 Amend Jenkins Sonar config to use def... Open
relates to FOLIO-3172 Amend Jenkins Sonar config to use mai... Open
Sprint:
Development Team: FOLIO DevOps

 Description   

See GitHub documentation:

Needs to be done after FOLIO-3186 Open .



 Comments   
Comment by Jakub Skoczen [ 30/Sep/20 ]

I think we should wait with this until GH adds a seamless support for this migration. From the notes:

"By the end of the year, we'll make it seamless for existing repositories to rename their default branch. When you rename the branch, we’ll retarget your open PRs and draft releases, move your branch protection policies, and more - all automatically. And, we’re also looking into redirecting users who git fetch or git clone the old branch name to the new branch name (with a warning and instructions to update their local clone), so it’s easy for your contributors to move."

Comment by David Crossley [ 28/Oct/20 ]

Note: Today i amended configuration for GitHub "folio-org" to set "Repository default branch" for new repositories to be still "master" rather than the new default "main".

After FOLIO-2858 In Progress and related tickets are done, then switch it back.

Comment by Julian Ladisch [ 25/May/21 ]

When will FOLIO switch?

Is August 16, 2021 a good switch date? This is two weeks after Juniper public release and four weeks before Kiwi platform API freeze.

Comment by Julian Ladisch [ 25/May/21 ]

I disagree with default branch detection ( FOLIO-2851 Open Amend Jenkins Sonar config to use default git branch rather than explicitly master) and propose to simply hard-code "main" branch (FOLIO-3172 Amend Jenkins Sonar config to use main git branch rather than master branch).

Comment by David Crossley [ 26/May/21 ]

The tickets FOLIO-2851 Open FOLIO-3172 Open relate to just one situation.

There are many situations of configuration and scripts in all of FOLIO infrastructure which explicitly refer to "master". Some will not be a simple replace.

At FOLIO-2858 In Progress the FOLIO DevOps team will be handling the transition.

Generated at Thu Feb 08 23:23:25 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.