Reorganize repository branches for v5 and make dev-v5 the default
Context and Motivation
Version 5 will soon become the main development version of Fluent UI Blazor. The current branch naming no longer clearly reflects the role of each branch:
dev currently contains the version 4 codebase.
dev-v5 contains the upcoming version 5 codebase.
To make the repository structure easier to understand, we plan to:
- Rename
dev to archive-v4.
- Keep
dev-v5 and make it the default branch.
This change will clearly separate version 4 maintenance from active version 5 development. It will also reduce confusion when creating pull requests, selecting a target branch, configuring CI pipelines, and contributing to the repository.
The archive-v4 branch will remain available for version 4 fixes and maintenance, while new development will target dev-v5.
Target Branch Structure
archive-v4: Version 4 maintenance
dev-v5: Default branch and active development
Action Plan
1. Prepare dev
2. Prepare dev-v5
3. Rename the v4 Branch
4. Verify Branch Protection
5. Verify Pull Requests
6. Update External Services
7. Notify Contributors
8. Resume Development
Reorganize repository branches for v5 and make dev-v5 the default
Context and Motivation
Version 5 will soon become the main development version of Fluent UI Blazor. The current branch naming no longer clearly reflects the role of each branch:
devcurrently contains the version 4 codebase.dev-v5contains the upcoming version 5 codebase.To make the repository structure easier to understand, we plan to:
devtoarchive-v4.dev-v5and make it the default branch.This change will clearly separate version 4 maintenance from active version 5 development. It will also reduce confusion when creating pull requests, selecting a target branch, configuring CI pipelines, and contributing to the repository.
The
archive-v4branch will remain available for version 4 fixes and maintenance, while new development will targetdev-v5.Target Branch Structure
archive-v4: Version 4 maintenancedev-v5: Default branch and active developmentAction Plan
1. Prepare
devdevtoarchive-v4archive-v42. Prepare
dev-v5dev-v5as the deploymentproduction_branchdev-v5as the default branch on GitHub3. Rename the v4 Branch
devtoarchive-v4using the GitHub interface: [...] > Rename branchmaintotodeleteusing the GitHub interface4. Verify Branch Protection
archive-v4dev-v5dev - Restrict deletionsruleset5. Verify Pull Requests
devnow targetarchive-v4dev-v56. Update External Services
7. Notify Contributors
dev-v5is the new default brancharchive-v4is the v4 maintenance branchgit fetch --prune8. Resume Development
archive-v4dev-v5