[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: |
|
||||||||||||||||||||||||
| Sprint: | |||||||||||||||||||||||||
| Development Team: | FOLIO DevOps | ||||||||||||||||||||||||
| Description |
|
See GitHub documentation:
Needs to be done after
|
| 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
|
| 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 (
|
| Comment by David Crossley [ 26/May/21 ] |
|
The tickets
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
|