Skip to content

docs: document master configuration migration from v5 - #5204

Merged
arturcic merged 1 commit into
GitTools:mainfrom
arturcic:codex/5074-master-config-migration
Sep 11, 2026
Merged

arturcic merged 1 commit into
GitTools:mainfrom
arturcic:codex/5074-master-config-migration

Conversation

@arturcic

Copy link
Copy Markdown
Member

Configurations upgrading from v5 can fail with a missing regex error when branches.master was intended to override the built-in main branch settings. v5 mapped that key to main for compatibility; v6 removed the mapping.

Document the migration under the historical v6.0.0 Configuration changes and in the configuration reference, with v5, v6 flat, and v7 nested examples. Explain that the actual Git branch can remain master, update references such as source-branches where applicable, and distinguish intentional custom configurations. Regenerate the reference from its source.

Fixes #5074.

Validation:

  • Built the CLI with .NET SDK 10.0.401: no warnings or errors.
  • Passed 14 runtime/migration assertions on a repository whose branch remains master, using released v5.12.0/v6.0.0 and current code with both managed/libgit2 backends and v6/v7 configuration modes.
  • Verified the history of the compatibility mapping and its removal.
  • Documentation generation is repeatable; new anchors and matching examples were checked; git diff --check passes.
  • Remark reports only 16 pre-existing final-definition warnings in the configuration source/generated files. No full website build or .NET unit-test suite was run.

GitHub release notes are unchanged.

Copilot AI lite review requested due to automatic review settings September 11, 2026 13:41

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No unresolved blocking issues were identified.

Review details
  • Files reviewed: 3/3 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

Copilot AI review requested due to automatic review settings September 11, 2026 13:56
@arturcic
arturcic force-pushed the codex/5074-master-config-migration branch from 6870750 to 2549464 Compare September 11, 2026 13:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@sonarqubecloud

Copy link
Copy Markdown

@arturcic
arturcic merged commit 0b4c5c0 into GitTools:main Sep 11, 2026
39 checks passed
@arturcic
arturcic deleted the codex/5074-master-config-migration branch September 11, 2026 14:28
@mergify

mergify Bot commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Thank you @arturcic for your contribution!

This was referenced Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ISSUE]: master config key has undocumented breaking changes when upgrading from v5

2 participants