You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Align the v7 feature selectors with the implementations that shipped, log each
resolved selection, and remove the v6 parser/configuration compatibility paths
on their approved lifecycle. Keep the Git backend lifecycle tied to the
managed-Git roadmap rather than removing libgit2 prematurely.
The old boolean variable is removed rather than supported as an alias. If it is
still set, GitVersion fails with a clear message identifying GITVERSION_ARGUMENT_PARSER_VERSION=v6 as its replacement.
v7 behavior
When the variables are unset in v7.0:
Use the POSIX v7 argument parser.
Use the nested v7 calculation/output configuration.
Use the libgit2 backend. The managed backend remains opt-in until its own
readiness roadmap changes the default.
Summary
Align the v7 feature selectors with the implementations that shipped, log each
resolved selection, and remove the v6 parser/configuration compatibility paths
on their approved lifecycle. Keep the Git backend lifecycle tied to the
managed-Git roadmap rather than removing libgit2 prematurely.
Blocked by #5134.
Environment variables
GITVERSION_ARGUMENT_PARSER_VERSIONv6,v7v7GITVERSION_CONFIGURATION_VERSIONv6,v7v7GITVERSION_GIT_BACKENDlibgit2,managedlibgit2Replace:
with:
The old boolean variable is removed rather than supported as an alias. If it is
still set, GitVersion fails with a clear message identifying
GITVERSION_ARGUMENT_PARSER_VERSION=v6as its replacement.v7 behavior
When the variables are unset in v7.0:
calculation/outputconfiguration.readiness roadmap changes the default.
Temporary compatibility selections:
The Git backend selector remains independent:
Selector behavior:
consistently.
Legacy lifecycle
on the approved v7.x lifecycle while retaining
gitversion config migrate.emit actionable diagnostics.
soak period, and removal remain governed by the managed-Git roadmap.
prerequisites are complete.
Selection logging
Log all resolved selections at information level, using the actual effective
values, for example:
environment variable.
single-variable stdout.
MSBuild where normal logging exists.
Documentation sweep
Replace the remaining
GITVERSION_USE_V6_ARGUMENT_PARSERreferences when thenew selector is implemented:
BREAKING_CHANGES.mddocs/input/docs/migration/v6-to-v7.md(migration warning and environmentvariable table)
docs/input/docs/usage/cli/arguments.md(selector introduction andconfig migrateavailability)Acceptance criteria
invalid values.
approved removal point.
GITVERSION_USE_V6_ARGUMENT_PARSERis rejected with its replacement.stdout.
not remove
gitversion config migrate.implementation roadmap.