From 5edab635c86b8f26ab5d38e3b65bf82b97f879f3 Mon Sep 17 00:00:00 2001 From: Artur Date: Sun, 19 Mar 2023 17:39:18 +0100 Subject: [PATCH 1/8] added GitVersion.Abstractions --- .../Common}/IConsole.cs | 0 .../Common}/IEnvironment.cs | 0 .../Common}/IFileSystem.cs | 0 .../Common}/ILog.cs | 0 .../Common}/ILogAppender.cs | 0 .../Common}/LogLevel.cs | 0 .../Common}/Verbosity.cs | 0 .../GitVersion.Abstractions.csproj | 11 +++++++++++ src/GitVersion.App.Tests/GitVersion.App.Tests.csproj | 1 + .../GitVersion.Core.Tests.csproj | 1 + src/GitVersion.Core/GitVersion.Core.csproj | 4 ++++ src/GitVersion.sln | 6 ++++++ 12 files changed, 23 insertions(+) rename src/{GitVersion.Core/Logging/Abstractions => GitVersion.Abstractions/Common}/IConsole.cs (100%) rename src/{GitVersion.Core/Core/Abstractions => GitVersion.Abstractions/Common}/IEnvironment.cs (100%) rename src/{GitVersion.Core/Core/Abstractions => GitVersion.Abstractions/Common}/IFileSystem.cs (100%) rename src/{GitVersion.Core/Logging/Abstractions => GitVersion.Abstractions/Common}/ILog.cs (100%) rename src/{GitVersion.Core/Logging/Abstractions => GitVersion.Abstractions/Common}/ILogAppender.cs (100%) rename src/{GitVersion.Core/Logging => GitVersion.Abstractions/Common}/LogLevel.cs (100%) rename src/{GitVersion.Core/Logging => GitVersion.Abstractions/Common}/Verbosity.cs (100%) create mode 100644 src/GitVersion.Abstractions/GitVersion.Abstractions.csproj diff --git a/src/GitVersion.Core/Logging/Abstractions/IConsole.cs b/src/GitVersion.Abstractions/Common/IConsole.cs similarity index 100% rename from src/GitVersion.Core/Logging/Abstractions/IConsole.cs rename to src/GitVersion.Abstractions/Common/IConsole.cs diff --git a/src/GitVersion.Core/Core/Abstractions/IEnvironment.cs b/src/GitVersion.Abstractions/Common/IEnvironment.cs similarity index 100% rename from src/GitVersion.Core/Core/Abstractions/IEnvironment.cs rename to src/GitVersion.Abstractions/Common/IEnvironment.cs diff --git a/src/GitVersion.Core/Core/Abstractions/IFileSystem.cs b/src/GitVersion.Abstractions/Common/IFileSystem.cs similarity index 100% rename from src/GitVersion.Core/Core/Abstractions/IFileSystem.cs rename to src/GitVersion.Abstractions/Common/IFileSystem.cs diff --git a/src/GitVersion.Core/Logging/Abstractions/ILog.cs b/src/GitVersion.Abstractions/Common/ILog.cs similarity index 100% rename from src/GitVersion.Core/Logging/Abstractions/ILog.cs rename to src/GitVersion.Abstractions/Common/ILog.cs diff --git a/src/GitVersion.Core/Logging/Abstractions/ILogAppender.cs b/src/GitVersion.Abstractions/Common/ILogAppender.cs similarity index 100% rename from src/GitVersion.Core/Logging/Abstractions/ILogAppender.cs rename to src/GitVersion.Abstractions/Common/ILogAppender.cs diff --git a/src/GitVersion.Core/Logging/LogLevel.cs b/src/GitVersion.Abstractions/Common/LogLevel.cs similarity index 100% rename from src/GitVersion.Core/Logging/LogLevel.cs rename to src/GitVersion.Abstractions/Common/LogLevel.cs diff --git a/src/GitVersion.Core/Logging/Verbosity.cs b/src/GitVersion.Abstractions/Common/Verbosity.cs similarity index 100% rename from src/GitVersion.Core/Logging/Verbosity.cs rename to src/GitVersion.Abstractions/Common/Verbosity.cs diff --git a/src/GitVersion.Abstractions/GitVersion.Abstractions.csproj b/src/GitVersion.Abstractions/GitVersion.Abstractions.csproj new file mode 100644 index 0000000000..52043425f5 --- /dev/null +++ b/src/GitVersion.Abstractions/GitVersion.Abstractions.csproj @@ -0,0 +1,11 @@ + + + + GitVersion.Abstractions + GitVersion + Derives SemVer information from a repository following GitFlow or GitHubFlow. This is the Core library which both GitVersion cli and Task use allowing programatic usage of GitVersion. + + $(AssemblyName) + + + diff --git a/src/GitVersion.App.Tests/GitVersion.App.Tests.csproj b/src/GitVersion.App.Tests/GitVersion.App.Tests.csproj index f1a123a254..1c1c74bea2 100644 --- a/src/GitVersion.App.Tests/GitVersion.App.Tests.csproj +++ b/src/GitVersion.App.Tests/GitVersion.App.Tests.csproj @@ -4,6 +4,7 @@ + diff --git a/src/GitVersion.Core.Tests/GitVersion.Core.Tests.csproj b/src/GitVersion.Core.Tests/GitVersion.Core.Tests.csproj index 430622a90d..012a8c10cb 100644 --- a/src/GitVersion.Core.Tests/GitVersion.Core.Tests.csproj +++ b/src/GitVersion.Core.Tests/GitVersion.Core.Tests.csproj @@ -13,6 +13,7 @@ + diff --git a/src/GitVersion.Core/GitVersion.Core.csproj b/src/GitVersion.Core/GitVersion.Core.csproj index 22801622af..fa69cfb09a 100644 --- a/src/GitVersion.Core/GitVersion.Core.csproj +++ b/src/GitVersion.Core/GitVersion.Core.csproj @@ -34,4 +34,8 @@ + + + + diff --git a/src/GitVersion.sln b/src/GitVersion.sln index e0db85c449..c1e0d6779a 100644 --- a/src/GitVersion.sln +++ b/src/GitVersion.sln @@ -45,6 +45,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Modules", "Modules", "{69C3 EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GitVersion.Schema", "GitVersion.Schema\GitVersion.Schema.csproj", "{22026A20-261C-4EF5-836C-EA6F6D37B5E3}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GitVersion.Abstractions", "GitVersion.Abstractions\GitVersion.Abstractions.csproj", "{7A6F83C7-E07F-491A-A818-A2C3298DCE16}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -103,6 +105,10 @@ Global {22026A20-261C-4EF5-836C-EA6F6D37B5E3}.Debug|Any CPU.Build.0 = Debug|Any CPU {22026A20-261C-4EF5-836C-EA6F6D37B5E3}.Release|Any CPU.ActiveCfg = Release|Any CPU {22026A20-261C-4EF5-836C-EA6F6D37B5E3}.Release|Any CPU.Build.0 = Release|Any CPU + {7A6F83C7-E07F-491A-A818-A2C3298DCE16}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7A6F83C7-E07F-491A-A818-A2C3298DCE16}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7A6F83C7-E07F-491A-A818-A2C3298DCE16}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7A6F83C7-E07F-491A-A818-A2C3298DCE16}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE From 2adb521086851138e406ad1d9c888f75a078c0ee Mon Sep 17 00:00:00 2001 From: Artur Stolear Date: Sun, 26 Mar 2023 19:50:37 +0200 Subject: [PATCH 2/8] moved Agents ang Git interfaces --- .../Agents/IBuildAgent.cs | 0 .../Agents/IBuildAgentResolver.cs | 0 .../Common}/GitVersionVariables.cs | 0 .../Common}/IGitVersionModule.cs | 0 .../Extensions/CommonExtensions.cs | 0 .../Git/AuthenticationInfo.cs | 0 .../Git/CommitFilter.cs | 0 .../Git/IBranch.cs | 0 .../Git/IBranchCollection.cs | 0 .../Git/ICommit.cs | 0 .../Git/ICommitCollection.cs | 0 .../Git/IGitObject.cs | 0 .../Git/IGitRepository.cs | 0 .../Git/IGitRepositoryInfo.cs | 0 .../Git/IMutatingGitRepository.cs | 0 .../Git/INamedReference.cs | 0 .../Git/IObjectId.cs | 0 .../Git/IRefSpec.cs | 0 .../Git/IRefSpecCollection.cs | 0 .../Git/IReference.cs | 0 .../Git/IReferenceCollection.cs | 0 .../Git/IRemote.cs | 0 .../Git/IRemoteCollection.cs | 0 .../Git/ITag.cs | 0 .../Git/ITagCollection.cs | 0 .../Git/RefSpecDirection.cs | 0 .../Git/ReferenceName.cs | 0 .../GitVersion.Abstractions.csproj | 4 ++++ .../Helpers/LambdaEqualityHelper.cs | 0 .../Helpers/LambdaKeyComparer.cs | 0 .../Output/IConverterContext.cs | 0 .../Output/IVersionConverter.cs | 0 src/GitVersion.Output/GitVersion.Output.csproj | 12 ++++++------ .../IGitVersionOutputTool.cs | 0 34 files changed, 10 insertions(+), 6 deletions(-) rename src/{GitVersion.Core => GitVersion.Abstractions}/Agents/IBuildAgent.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Agents/IBuildAgentResolver.cs (100%) rename src/{GitVersion.Core/OutputVariables => GitVersion.Abstractions/Common}/GitVersionVariables.cs (100%) rename src/{GitVersion.Core/Core/Abstractions => GitVersion.Abstractions/Common}/IGitVersionModule.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Extensions/CommonExtensions.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Git/AuthenticationInfo.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Git/CommitFilter.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Git/IBranch.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Git/IBranchCollection.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Git/ICommit.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Git/ICommitCollection.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Git/IGitObject.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Git/IGitRepository.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Git/IGitRepositoryInfo.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Git/IMutatingGitRepository.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Git/INamedReference.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Git/IObjectId.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Git/IRefSpec.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Git/IRefSpecCollection.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Git/IReference.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Git/IReferenceCollection.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Git/IRemote.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Git/IRemoteCollection.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Git/ITag.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Git/ITagCollection.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Git/RefSpecDirection.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Git/ReferenceName.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Helpers/LambdaEqualityHelper.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Helpers/LambdaKeyComparer.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Output/IConverterContext.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Output/IVersionConverter.cs (100%) rename src/{GitVersion.Core/Core/Abstractions => GitVersion.Output}/IGitVersionOutputTool.cs (100%) diff --git a/src/GitVersion.Core/Agents/IBuildAgent.cs b/src/GitVersion.Abstractions/Agents/IBuildAgent.cs similarity index 100% rename from src/GitVersion.Core/Agents/IBuildAgent.cs rename to src/GitVersion.Abstractions/Agents/IBuildAgent.cs diff --git a/src/GitVersion.Core/Agents/IBuildAgentResolver.cs b/src/GitVersion.Abstractions/Agents/IBuildAgentResolver.cs similarity index 100% rename from src/GitVersion.Core/Agents/IBuildAgentResolver.cs rename to src/GitVersion.Abstractions/Agents/IBuildAgentResolver.cs diff --git a/src/GitVersion.Core/OutputVariables/GitVersionVariables.cs b/src/GitVersion.Abstractions/Common/GitVersionVariables.cs similarity index 100% rename from src/GitVersion.Core/OutputVariables/GitVersionVariables.cs rename to src/GitVersion.Abstractions/Common/GitVersionVariables.cs diff --git a/src/GitVersion.Core/Core/Abstractions/IGitVersionModule.cs b/src/GitVersion.Abstractions/Common/IGitVersionModule.cs similarity index 100% rename from src/GitVersion.Core/Core/Abstractions/IGitVersionModule.cs rename to src/GitVersion.Abstractions/Common/IGitVersionModule.cs diff --git a/src/GitVersion.Core/Extensions/CommonExtensions.cs b/src/GitVersion.Abstractions/Extensions/CommonExtensions.cs similarity index 100% rename from src/GitVersion.Core/Extensions/CommonExtensions.cs rename to src/GitVersion.Abstractions/Extensions/CommonExtensions.cs diff --git a/src/GitVersion.Core/Git/AuthenticationInfo.cs b/src/GitVersion.Abstractions/Git/AuthenticationInfo.cs similarity index 100% rename from src/GitVersion.Core/Git/AuthenticationInfo.cs rename to src/GitVersion.Abstractions/Git/AuthenticationInfo.cs diff --git a/src/GitVersion.Core/Git/CommitFilter.cs b/src/GitVersion.Abstractions/Git/CommitFilter.cs similarity index 100% rename from src/GitVersion.Core/Git/CommitFilter.cs rename to src/GitVersion.Abstractions/Git/CommitFilter.cs diff --git a/src/GitVersion.Core/Git/IBranch.cs b/src/GitVersion.Abstractions/Git/IBranch.cs similarity index 100% rename from src/GitVersion.Core/Git/IBranch.cs rename to src/GitVersion.Abstractions/Git/IBranch.cs diff --git a/src/GitVersion.Core/Git/IBranchCollection.cs b/src/GitVersion.Abstractions/Git/IBranchCollection.cs similarity index 100% rename from src/GitVersion.Core/Git/IBranchCollection.cs rename to src/GitVersion.Abstractions/Git/IBranchCollection.cs diff --git a/src/GitVersion.Core/Git/ICommit.cs b/src/GitVersion.Abstractions/Git/ICommit.cs similarity index 100% rename from src/GitVersion.Core/Git/ICommit.cs rename to src/GitVersion.Abstractions/Git/ICommit.cs diff --git a/src/GitVersion.Core/Git/ICommitCollection.cs b/src/GitVersion.Abstractions/Git/ICommitCollection.cs similarity index 100% rename from src/GitVersion.Core/Git/ICommitCollection.cs rename to src/GitVersion.Abstractions/Git/ICommitCollection.cs diff --git a/src/GitVersion.Core/Git/IGitObject.cs b/src/GitVersion.Abstractions/Git/IGitObject.cs similarity index 100% rename from src/GitVersion.Core/Git/IGitObject.cs rename to src/GitVersion.Abstractions/Git/IGitObject.cs diff --git a/src/GitVersion.Core/Git/IGitRepository.cs b/src/GitVersion.Abstractions/Git/IGitRepository.cs similarity index 100% rename from src/GitVersion.Core/Git/IGitRepository.cs rename to src/GitVersion.Abstractions/Git/IGitRepository.cs diff --git a/src/GitVersion.Core/Git/IGitRepositoryInfo.cs b/src/GitVersion.Abstractions/Git/IGitRepositoryInfo.cs similarity index 100% rename from src/GitVersion.Core/Git/IGitRepositoryInfo.cs rename to src/GitVersion.Abstractions/Git/IGitRepositoryInfo.cs diff --git a/src/GitVersion.Core/Git/IMutatingGitRepository.cs b/src/GitVersion.Abstractions/Git/IMutatingGitRepository.cs similarity index 100% rename from src/GitVersion.Core/Git/IMutatingGitRepository.cs rename to src/GitVersion.Abstractions/Git/IMutatingGitRepository.cs diff --git a/src/GitVersion.Core/Git/INamedReference.cs b/src/GitVersion.Abstractions/Git/INamedReference.cs similarity index 100% rename from src/GitVersion.Core/Git/INamedReference.cs rename to src/GitVersion.Abstractions/Git/INamedReference.cs diff --git a/src/GitVersion.Core/Git/IObjectId.cs b/src/GitVersion.Abstractions/Git/IObjectId.cs similarity index 100% rename from src/GitVersion.Core/Git/IObjectId.cs rename to src/GitVersion.Abstractions/Git/IObjectId.cs diff --git a/src/GitVersion.Core/Git/IRefSpec.cs b/src/GitVersion.Abstractions/Git/IRefSpec.cs similarity index 100% rename from src/GitVersion.Core/Git/IRefSpec.cs rename to src/GitVersion.Abstractions/Git/IRefSpec.cs diff --git a/src/GitVersion.Core/Git/IRefSpecCollection.cs b/src/GitVersion.Abstractions/Git/IRefSpecCollection.cs similarity index 100% rename from src/GitVersion.Core/Git/IRefSpecCollection.cs rename to src/GitVersion.Abstractions/Git/IRefSpecCollection.cs diff --git a/src/GitVersion.Core/Git/IReference.cs b/src/GitVersion.Abstractions/Git/IReference.cs similarity index 100% rename from src/GitVersion.Core/Git/IReference.cs rename to src/GitVersion.Abstractions/Git/IReference.cs diff --git a/src/GitVersion.Core/Git/IReferenceCollection.cs b/src/GitVersion.Abstractions/Git/IReferenceCollection.cs similarity index 100% rename from src/GitVersion.Core/Git/IReferenceCollection.cs rename to src/GitVersion.Abstractions/Git/IReferenceCollection.cs diff --git a/src/GitVersion.Core/Git/IRemote.cs b/src/GitVersion.Abstractions/Git/IRemote.cs similarity index 100% rename from src/GitVersion.Core/Git/IRemote.cs rename to src/GitVersion.Abstractions/Git/IRemote.cs diff --git a/src/GitVersion.Core/Git/IRemoteCollection.cs b/src/GitVersion.Abstractions/Git/IRemoteCollection.cs similarity index 100% rename from src/GitVersion.Core/Git/IRemoteCollection.cs rename to src/GitVersion.Abstractions/Git/IRemoteCollection.cs diff --git a/src/GitVersion.Core/Git/ITag.cs b/src/GitVersion.Abstractions/Git/ITag.cs similarity index 100% rename from src/GitVersion.Core/Git/ITag.cs rename to src/GitVersion.Abstractions/Git/ITag.cs diff --git a/src/GitVersion.Core/Git/ITagCollection.cs b/src/GitVersion.Abstractions/Git/ITagCollection.cs similarity index 100% rename from src/GitVersion.Core/Git/ITagCollection.cs rename to src/GitVersion.Abstractions/Git/ITagCollection.cs diff --git a/src/GitVersion.Core/Git/RefSpecDirection.cs b/src/GitVersion.Abstractions/Git/RefSpecDirection.cs similarity index 100% rename from src/GitVersion.Core/Git/RefSpecDirection.cs rename to src/GitVersion.Abstractions/Git/RefSpecDirection.cs diff --git a/src/GitVersion.Core/Git/ReferenceName.cs b/src/GitVersion.Abstractions/Git/ReferenceName.cs similarity index 100% rename from src/GitVersion.Core/Git/ReferenceName.cs rename to src/GitVersion.Abstractions/Git/ReferenceName.cs diff --git a/src/GitVersion.Abstractions/GitVersion.Abstractions.csproj b/src/GitVersion.Abstractions/GitVersion.Abstractions.csproj index 52043425f5..0b27b199b9 100644 --- a/src/GitVersion.Abstractions/GitVersion.Abstractions.csproj +++ b/src/GitVersion.Abstractions/GitVersion.Abstractions.csproj @@ -8,4 +8,8 @@ $(AssemblyName) + + + + diff --git a/src/GitVersion.Core/Helpers/LambdaEqualityHelper.cs b/src/GitVersion.Abstractions/Helpers/LambdaEqualityHelper.cs similarity index 100% rename from src/GitVersion.Core/Helpers/LambdaEqualityHelper.cs rename to src/GitVersion.Abstractions/Helpers/LambdaEqualityHelper.cs diff --git a/src/GitVersion.Core/Helpers/LambdaKeyComparer.cs b/src/GitVersion.Abstractions/Helpers/LambdaKeyComparer.cs similarity index 100% rename from src/GitVersion.Core/Helpers/LambdaKeyComparer.cs rename to src/GitVersion.Abstractions/Helpers/LambdaKeyComparer.cs diff --git a/src/GitVersion.Core/Output/IConverterContext.cs b/src/GitVersion.Abstractions/Output/IConverterContext.cs similarity index 100% rename from src/GitVersion.Core/Output/IConverterContext.cs rename to src/GitVersion.Abstractions/Output/IConverterContext.cs diff --git a/src/GitVersion.Core/Output/IVersionConverter.cs b/src/GitVersion.Abstractions/Output/IVersionConverter.cs similarity index 100% rename from src/GitVersion.Core/Output/IVersionConverter.cs rename to src/GitVersion.Abstractions/Output/IVersionConverter.cs diff --git a/src/GitVersion.Output/GitVersion.Output.csproj b/src/GitVersion.Output/GitVersion.Output.csproj index dd353f5de9..cba67d4847 100644 --- a/src/GitVersion.Output/GitVersion.Output.csproj +++ b/src/GitVersion.Output/GitVersion.Output.csproj @@ -1,15 +1,15 @@ - + - - - - + + + + - + diff --git a/src/GitVersion.Core/Core/Abstractions/IGitVersionOutputTool.cs b/src/GitVersion.Output/IGitVersionOutputTool.cs similarity index 100% rename from src/GitVersion.Core/Core/Abstractions/IGitVersionOutputTool.cs rename to src/GitVersion.Output/IGitVersionOutputTool.cs From 8d8496c0cabd81552e60d23421f69d2f6c771956 Mon Sep 17 00:00:00 2001 From: Artur Stolear Date: Sun, 26 Mar 2023 21:38:31 +0200 Subject: [PATCH 3/8] moved some Configuration interfaces --- .../Common}/Exceptions/BugException.cs | 0 .../Common}/Exceptions/GitToolsException.cs | 0 .../Common}/Exceptions/GitVersionException.cs | 0 .../Common}/Exceptions/LockedFileException.cs | 0 .../Common}/Exceptions/WarningException.cs | 0 .../Configuration}/CommitMessageIncrementMode.cs | 0 .../Configuration/IBranchConfiguration.cs | 0 .../Configuration}/IConfigurationFileLocator.cs | 2 +- .../Configuration}/IConfigurationProvider.cs | 0 .../Configuration/IGitVersionConfiguration.cs | 0 .../Configuration/IIgnoreConfiguration.cs | 0 .../Configuration}/IncrementStrategy.cs | 0 .../Configuration}/VersioningMode.cs | 0 .../Extensions/StringExtensions.cs | 3 +-- .../GitVersion.Abstractions.csproj | 10 ++++++++++ .../Helpers/EncodingHelper.cs | 0 .../Helpers/RetryAction.cs | 0 .../Helpers/ServiceMessageEscapeHelper.cs | 0 .../Helpers/StringComparerUtils.cs | 4 ++-- .../Helpers/StringFormatWith.cs | 0 .../AssemblyFileVersioningScheme.cs | 0 .../SemanticVersioning}/AssemblyVersioningScheme.cs | 0 .../SemanticVersioning/SemanticVersion.cs | 0 .../SemanticVersioning/SemanticVersionBuildMetaData.cs | 0 .../SemanticVersioning/SemanticVersionFormat.cs | 0 .../SemanticVersioning/SemanticVersionPreReleaseTag.cs | 0 .../SemanticVersioning/SemanticVersionWithTag.cs | 0 .../SemanticVersioning/VersionField.cs | 0 .../Configuration/ConfigurationFileLocator.cs | 2 +- .../Configuration/ConfigurationProvider.cs | 2 +- 30 files changed, 16 insertions(+), 7 deletions(-) rename src/{GitVersion.Core/Core => GitVersion.Abstractions/Common}/Exceptions/BugException.cs (100%) rename src/{GitVersion.Core/Core => GitVersion.Abstractions/Common}/Exceptions/GitToolsException.cs (100%) rename src/{GitVersion.Core/Core => GitVersion.Abstractions/Common}/Exceptions/GitVersionException.cs (100%) rename src/{GitVersion.Core/Core => GitVersion.Abstractions/Common}/Exceptions/LockedFileException.cs (100%) rename src/{GitVersion.Core/Core => GitVersion.Abstractions/Common}/Exceptions/WarningException.cs (100%) rename src/{GitVersion.Core/VersionCalculation => GitVersion.Abstractions/Configuration}/CommitMessageIncrementMode.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Configuration/IBranchConfiguration.cs (100%) rename src/{GitVersion.Core/Configuration/Abstractions => GitVersion.Abstractions/Configuration}/IConfigurationFileLocator.cs (83%) rename src/{GitVersion.Core/Configuration/Abstractions => GitVersion.Abstractions/Configuration}/IConfigurationProvider.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Configuration/IGitVersionConfiguration.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Configuration/IIgnoreConfiguration.cs (100%) rename src/{GitVersion.Core/VersionCalculation => GitVersion.Abstractions/Configuration}/IncrementStrategy.cs (100%) rename src/{GitVersion.Core/VersionCalculation => GitVersion.Abstractions/Configuration}/VersioningMode.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Extensions/StringExtensions.cs (97%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Helpers/EncodingHelper.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Helpers/RetryAction.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Helpers/ServiceMessageEscapeHelper.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Helpers/StringComparerUtils.cs (55%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Helpers/StringFormatWith.cs (100%) rename src/{GitVersion.Core/Extensions => GitVersion.Abstractions/SemanticVersioning}/AssemblyFileVersioningScheme.cs (100%) rename src/{GitVersion.Core/Extensions => GitVersion.Abstractions/SemanticVersioning}/AssemblyVersioningScheme.cs (100%) rename src/{GitVersion.Core/VersionCalculation => GitVersion.Abstractions}/SemanticVersioning/SemanticVersion.cs (100%) rename src/{GitVersion.Core/VersionCalculation => GitVersion.Abstractions}/SemanticVersioning/SemanticVersionBuildMetaData.cs (100%) rename src/{GitVersion.Core/VersionCalculation => GitVersion.Abstractions}/SemanticVersioning/SemanticVersionFormat.cs (100%) rename src/{GitVersion.Core/VersionCalculation => GitVersion.Abstractions}/SemanticVersioning/SemanticVersionPreReleaseTag.cs (100%) rename src/{GitVersion.Core/VersionCalculation => GitVersion.Abstractions}/SemanticVersioning/SemanticVersionWithTag.cs (100%) rename src/{GitVersion.Core/VersionCalculation => GitVersion.Abstractions}/SemanticVersioning/VersionField.cs (100%) diff --git a/src/GitVersion.Core/Core/Exceptions/BugException.cs b/src/GitVersion.Abstractions/Common/Exceptions/BugException.cs similarity index 100% rename from src/GitVersion.Core/Core/Exceptions/BugException.cs rename to src/GitVersion.Abstractions/Common/Exceptions/BugException.cs diff --git a/src/GitVersion.Core/Core/Exceptions/GitToolsException.cs b/src/GitVersion.Abstractions/Common/Exceptions/GitToolsException.cs similarity index 100% rename from src/GitVersion.Core/Core/Exceptions/GitToolsException.cs rename to src/GitVersion.Abstractions/Common/Exceptions/GitToolsException.cs diff --git a/src/GitVersion.Core/Core/Exceptions/GitVersionException.cs b/src/GitVersion.Abstractions/Common/Exceptions/GitVersionException.cs similarity index 100% rename from src/GitVersion.Core/Core/Exceptions/GitVersionException.cs rename to src/GitVersion.Abstractions/Common/Exceptions/GitVersionException.cs diff --git a/src/GitVersion.Core/Core/Exceptions/LockedFileException.cs b/src/GitVersion.Abstractions/Common/Exceptions/LockedFileException.cs similarity index 100% rename from src/GitVersion.Core/Core/Exceptions/LockedFileException.cs rename to src/GitVersion.Abstractions/Common/Exceptions/LockedFileException.cs diff --git a/src/GitVersion.Core/Core/Exceptions/WarningException.cs b/src/GitVersion.Abstractions/Common/Exceptions/WarningException.cs similarity index 100% rename from src/GitVersion.Core/Core/Exceptions/WarningException.cs rename to src/GitVersion.Abstractions/Common/Exceptions/WarningException.cs diff --git a/src/GitVersion.Core/VersionCalculation/CommitMessageIncrementMode.cs b/src/GitVersion.Abstractions/Configuration/CommitMessageIncrementMode.cs similarity index 100% rename from src/GitVersion.Core/VersionCalculation/CommitMessageIncrementMode.cs rename to src/GitVersion.Abstractions/Configuration/CommitMessageIncrementMode.cs diff --git a/src/GitVersion.Core/Configuration/IBranchConfiguration.cs b/src/GitVersion.Abstractions/Configuration/IBranchConfiguration.cs similarity index 100% rename from src/GitVersion.Core/Configuration/IBranchConfiguration.cs rename to src/GitVersion.Abstractions/Configuration/IBranchConfiguration.cs diff --git a/src/GitVersion.Core/Configuration/Abstractions/IConfigurationFileLocator.cs b/src/GitVersion.Abstractions/Configuration/IConfigurationFileLocator.cs similarity index 83% rename from src/GitVersion.Core/Configuration/Abstractions/IConfigurationFileLocator.cs rename to src/GitVersion.Abstractions/Configuration/IConfigurationFileLocator.cs index 3a716c613c..17e5c17a07 100644 --- a/src/GitVersion.Core/Configuration/Abstractions/IConfigurationFileLocator.cs +++ b/src/GitVersion.Abstractions/Configuration/IConfigurationFileLocator.cs @@ -3,7 +3,7 @@ namespace GitVersion.Configuration; public interface IConfigurationFileLocator { bool TryGetConfigurationFile(string? workingDirectory, string? projectRootDirectory, out string? configFilePath); - GitVersionConfiguration ReadConfiguration(string? configFilePath); + IGitVersionConfiguration ReadConfiguration(string? configFilePath); IReadOnlyDictionary? ReadOverrideConfiguration(string? configFilePath); void Verify(string? workingDirectory, string? projectRootDirectory); } diff --git a/src/GitVersion.Core/Configuration/Abstractions/IConfigurationProvider.cs b/src/GitVersion.Abstractions/Configuration/IConfigurationProvider.cs similarity index 100% rename from src/GitVersion.Core/Configuration/Abstractions/IConfigurationProvider.cs rename to src/GitVersion.Abstractions/Configuration/IConfigurationProvider.cs diff --git a/src/GitVersion.Core/Configuration/IGitVersionConfiguration.cs b/src/GitVersion.Abstractions/Configuration/IGitVersionConfiguration.cs similarity index 100% rename from src/GitVersion.Core/Configuration/IGitVersionConfiguration.cs rename to src/GitVersion.Abstractions/Configuration/IGitVersionConfiguration.cs diff --git a/src/GitVersion.Core/Configuration/IIgnoreConfiguration.cs b/src/GitVersion.Abstractions/Configuration/IIgnoreConfiguration.cs similarity index 100% rename from src/GitVersion.Core/Configuration/IIgnoreConfiguration.cs rename to src/GitVersion.Abstractions/Configuration/IIgnoreConfiguration.cs diff --git a/src/GitVersion.Core/VersionCalculation/IncrementStrategy.cs b/src/GitVersion.Abstractions/Configuration/IncrementStrategy.cs similarity index 100% rename from src/GitVersion.Core/VersionCalculation/IncrementStrategy.cs rename to src/GitVersion.Abstractions/Configuration/IncrementStrategy.cs diff --git a/src/GitVersion.Core/VersionCalculation/VersioningMode.cs b/src/GitVersion.Abstractions/Configuration/VersioningMode.cs similarity index 100% rename from src/GitVersion.Core/VersionCalculation/VersioningMode.cs rename to src/GitVersion.Abstractions/Configuration/VersioningMode.cs diff --git a/src/GitVersion.Core/Extensions/StringExtensions.cs b/src/GitVersion.Abstractions/Extensions/StringExtensions.cs similarity index 97% rename from src/GitVersion.Core/Extensions/StringExtensions.cs rename to src/GitVersion.Abstractions/Extensions/StringExtensions.cs index 0f9615b8be..71098fc6e4 100644 --- a/src/GitVersion.Core/Extensions/StringExtensions.cs +++ b/src/GitVersion.Abstractions/Extensions/StringExtensions.cs @@ -1,6 +1,5 @@ using System.Diagnostics.CodeAnalysis; using System.Text.RegularExpressions; -using GitVersion.Helpers; namespace GitVersion.Extensions; @@ -24,7 +23,7 @@ public static bool IsValidPath(this string? path) } catch { - path = PathHelper.Combine(System.Environment.CurrentDirectory, path); + path = Path.Combine(Environment.CurrentDirectory, path); try { diff --git a/src/GitVersion.Abstractions/GitVersion.Abstractions.csproj b/src/GitVersion.Abstractions/GitVersion.Abstractions.csproj index 0b27b199b9..cb02a597d7 100644 --- a/src/GitVersion.Abstractions/GitVersion.Abstractions.csproj +++ b/src/GitVersion.Abstractions/GitVersion.Abstractions.csproj @@ -10,6 +10,16 @@ + + + + + + + + + + diff --git a/src/GitVersion.Core/Helpers/EncodingHelper.cs b/src/GitVersion.Abstractions/Helpers/EncodingHelper.cs similarity index 100% rename from src/GitVersion.Core/Helpers/EncodingHelper.cs rename to src/GitVersion.Abstractions/Helpers/EncodingHelper.cs diff --git a/src/GitVersion.Core/Helpers/RetryAction.cs b/src/GitVersion.Abstractions/Helpers/RetryAction.cs similarity index 100% rename from src/GitVersion.Core/Helpers/RetryAction.cs rename to src/GitVersion.Abstractions/Helpers/RetryAction.cs diff --git a/src/GitVersion.Core/Helpers/ServiceMessageEscapeHelper.cs b/src/GitVersion.Abstractions/Helpers/ServiceMessageEscapeHelper.cs similarity index 100% rename from src/GitVersion.Core/Helpers/ServiceMessageEscapeHelper.cs rename to src/GitVersion.Abstractions/Helpers/ServiceMessageEscapeHelper.cs diff --git a/src/GitVersion.Core/Helpers/StringComparerUtils.cs b/src/GitVersion.Abstractions/Helpers/StringComparerUtils.cs similarity index 55% rename from src/GitVersion.Core/Helpers/StringComparerUtils.cs rename to src/GitVersion.Abstractions/Helpers/StringComparerUtils.cs index 850ee9c894..1264fdf4da 100644 --- a/src/GitVersion.Core/Helpers/StringComparerUtils.cs +++ b/src/GitVersion.Abstractions/Helpers/StringComparerUtils.cs @@ -3,6 +3,6 @@ namespace GitVersion.Helpers; public static class StringComparerUtils { public static readonly StringComparer IgnoreCaseComparer = StringComparer.InvariantCultureIgnoreCase; - public static readonly StringComparison OsDependentComparison = System.Environment.OSVersion.Platform == PlatformID.Unix ? StringComparison.Ordinal : StringComparison.OrdinalIgnoreCase; - public static readonly StringComparer OsDependentComparer = System.Environment.OSVersion.Platform == PlatformID.Unix ? StringComparer.Ordinal : StringComparer.OrdinalIgnoreCase; + public static readonly StringComparison OsDependentComparison = Environment.OSVersion.Platform == PlatformID.Unix ? StringComparison.Ordinal : StringComparison.OrdinalIgnoreCase; + public static readonly StringComparer OsDependentComparer = Environment.OSVersion.Platform == PlatformID.Unix ? StringComparer.Ordinal : StringComparer.OrdinalIgnoreCase; } diff --git a/src/GitVersion.Core/Helpers/StringFormatWith.cs b/src/GitVersion.Abstractions/Helpers/StringFormatWith.cs similarity index 100% rename from src/GitVersion.Core/Helpers/StringFormatWith.cs rename to src/GitVersion.Abstractions/Helpers/StringFormatWith.cs diff --git a/src/GitVersion.Core/Extensions/AssemblyFileVersioningScheme.cs b/src/GitVersion.Abstractions/SemanticVersioning/AssemblyFileVersioningScheme.cs similarity index 100% rename from src/GitVersion.Core/Extensions/AssemblyFileVersioningScheme.cs rename to src/GitVersion.Abstractions/SemanticVersioning/AssemblyFileVersioningScheme.cs diff --git a/src/GitVersion.Core/Extensions/AssemblyVersioningScheme.cs b/src/GitVersion.Abstractions/SemanticVersioning/AssemblyVersioningScheme.cs similarity index 100% rename from src/GitVersion.Core/Extensions/AssemblyVersioningScheme.cs rename to src/GitVersion.Abstractions/SemanticVersioning/AssemblyVersioningScheme.cs diff --git a/src/GitVersion.Core/VersionCalculation/SemanticVersioning/SemanticVersion.cs b/src/GitVersion.Abstractions/SemanticVersioning/SemanticVersion.cs similarity index 100% rename from src/GitVersion.Core/VersionCalculation/SemanticVersioning/SemanticVersion.cs rename to src/GitVersion.Abstractions/SemanticVersioning/SemanticVersion.cs diff --git a/src/GitVersion.Core/VersionCalculation/SemanticVersioning/SemanticVersionBuildMetaData.cs b/src/GitVersion.Abstractions/SemanticVersioning/SemanticVersionBuildMetaData.cs similarity index 100% rename from src/GitVersion.Core/VersionCalculation/SemanticVersioning/SemanticVersionBuildMetaData.cs rename to src/GitVersion.Abstractions/SemanticVersioning/SemanticVersionBuildMetaData.cs diff --git a/src/GitVersion.Core/VersionCalculation/SemanticVersioning/SemanticVersionFormat.cs b/src/GitVersion.Abstractions/SemanticVersioning/SemanticVersionFormat.cs similarity index 100% rename from src/GitVersion.Core/VersionCalculation/SemanticVersioning/SemanticVersionFormat.cs rename to src/GitVersion.Abstractions/SemanticVersioning/SemanticVersionFormat.cs diff --git a/src/GitVersion.Core/VersionCalculation/SemanticVersioning/SemanticVersionPreReleaseTag.cs b/src/GitVersion.Abstractions/SemanticVersioning/SemanticVersionPreReleaseTag.cs similarity index 100% rename from src/GitVersion.Core/VersionCalculation/SemanticVersioning/SemanticVersionPreReleaseTag.cs rename to src/GitVersion.Abstractions/SemanticVersioning/SemanticVersionPreReleaseTag.cs diff --git a/src/GitVersion.Core/VersionCalculation/SemanticVersioning/SemanticVersionWithTag.cs b/src/GitVersion.Abstractions/SemanticVersioning/SemanticVersionWithTag.cs similarity index 100% rename from src/GitVersion.Core/VersionCalculation/SemanticVersioning/SemanticVersionWithTag.cs rename to src/GitVersion.Abstractions/SemanticVersioning/SemanticVersionWithTag.cs diff --git a/src/GitVersion.Core/VersionCalculation/SemanticVersioning/VersionField.cs b/src/GitVersion.Abstractions/SemanticVersioning/VersionField.cs similarity index 100% rename from src/GitVersion.Core/VersionCalculation/SemanticVersioning/VersionField.cs rename to src/GitVersion.Abstractions/SemanticVersioning/VersionField.cs diff --git a/src/GitVersion.Core/Configuration/ConfigurationFileLocator.cs b/src/GitVersion.Core/Configuration/ConfigurationFileLocator.cs index 3d4da2794d..b97e6da340 100644 --- a/src/GitVersion.Core/Configuration/ConfigurationFileLocator.cs +++ b/src/GitVersion.Core/Configuration/ConfigurationFileLocator.cs @@ -30,7 +30,7 @@ public void Verify(string? workingDirectory, string? projectRootDirectory) WarnAboutAmbiguousConfigFileSelection(workingDirectory, projectRootDirectory); } - public GitVersionConfiguration ReadConfiguration(string? configFilePath) + public IGitVersionConfiguration ReadConfiguration(string? configFilePath) { if (configFilePath == null || !this.fileSystem.Exists(configFilePath)) return new GitVersionConfiguration(); diff --git a/src/GitVersion.Core/Configuration/ConfigurationProvider.cs b/src/GitVersion.Core/Configuration/ConfigurationProvider.cs index 6e09d050ca..986bf8df95 100644 --- a/src/GitVersion.Core/Configuration/ConfigurationProvider.cs +++ b/src/GitVersion.Core/Configuration/ConfigurationProvider.cs @@ -44,7 +44,7 @@ public void Init(string workingDirectory) var configFilePath = PathHelper.Combine(workingDirectory, fileName); var currentConfiguration = this.configFileLocator.ReadConfiguration(configFilePath); - var configuration = this.configInitWizard.Run(currentConfiguration, workingDirectory); + var configuration = this.configInitWizard.Run((GitVersionConfiguration) currentConfiguration, workingDirectory); if (configuration == null) return; using var stream = this.fileSystem.OpenWrite(configFilePath); From a2299d023cb2576df6aa990e2805d8ad3396b776 Mon Sep 17 00:00:00 2001 From: Artur Stolear Date: Mon, 27 Mar 2023 16:29:06 +0200 Subject: [PATCH 4/8] use configuration builder in init module --- .../Configuration/ConfigurationProvider.cs | 2 +- .../Init/BuildServer/AppVeyorSetup.cs | 4 ++-- .../Init/BuildServer/AppveyorPublicPrivate.cs | 4 ++-- .../Init/BuildServer/SetupBuildScripts.cs | 4 ++-- .../Configuration/Init/EditConfigStep.cs | 10 +++++++--- .../SetConfig/AssemblyVersioningSchemeSetting.cs | 16 ++++++++-------- .../Init/SetConfig/ConfigureBranch.cs | 6 +++--- .../Init/SetConfig/ConfigureBranches.cs | 13 +++++++++---- .../Init/SetConfig/GlobalModeSetting.cs | 12 ++++++------ .../Init/SetConfig/SetBranchIncrementMode.cs | 6 +++--- .../Configuration/Init/SetConfig/SetBranchTag.cs | 6 +++--- .../Configuration/Init/SetNextVersion.cs | 9 +++++---- .../Init/Wizard/ConfigInitWizard.cs | 7 ++++--- .../Init/Wizard/ConfigInitWizardStep.cs | 12 ++++++------ .../Init/Wizard/FinishedSetupStep.cs | 4 ++-- .../Init/Wizard/GitFlowSetupStep.cs | 6 +++--- .../Configuration/Init/Wizard/GitHubFlowStep.cs | 4 ++-- .../Init/Wizard/IConfigInitWizard.cs | 2 +- .../Init/Wizard/PickBranchingStrategy1Step.cs | 6 +++--- .../Init/Wizard/PickBranchingStrategy2Step.cs | 6 +++--- .../Init/Wizard/PickBranchingStrategy3Step.cs | 6 +++--- .../Init/Wizard/PickBranchingStrategyStep.cs | 6 +++--- src/GitVersion.sln.DotSettings | 3 ++- 23 files changed, 83 insertions(+), 71 deletions(-) diff --git a/src/GitVersion.Core/Configuration/ConfigurationProvider.cs b/src/GitVersion.Core/Configuration/ConfigurationProvider.cs index 986bf8df95..6e09d050ca 100644 --- a/src/GitVersion.Core/Configuration/ConfigurationProvider.cs +++ b/src/GitVersion.Core/Configuration/ConfigurationProvider.cs @@ -44,7 +44,7 @@ public void Init(string workingDirectory) var configFilePath = PathHelper.Combine(workingDirectory, fileName); var currentConfiguration = this.configFileLocator.ReadConfiguration(configFilePath); - var configuration = this.configInitWizard.Run((GitVersionConfiguration) currentConfiguration, workingDirectory); + var configuration = this.configInitWizard.Run(currentConfiguration, workingDirectory); if (configuration == null) return; using var stream = this.fileSystem.OpenWrite(configFilePath); diff --git a/src/GitVersion.Core/Configuration/Init/BuildServer/AppVeyorSetup.cs b/src/GitVersion.Core/Configuration/Init/BuildServer/AppVeyorSetup.cs index 6915946cb3..7d105f06dd 100644 --- a/src/GitVersion.Core/Configuration/Init/BuildServer/AppVeyorSetup.cs +++ b/src/GitVersion.Core/Configuration/Init/BuildServer/AppVeyorSetup.cs @@ -18,7 +18,7 @@ public AppVeyorSetup WithData(ProjectVisibility visibility) return this; } - protected override StepResult HandleResult(string? result, Queue steps, GitVersionConfiguration configuration, string workingDirectory) + protected override StepResult HandleResult(string? result, Queue steps, ConfigurationBuilder configurationBuilder, string workingDirectory) { var editConfigStep = this.StepFactory.CreateStep(); switch (result) @@ -80,7 +80,7 @@ private void WriteConfig(string workingDirectory, IFileSystem fileSystem, string this.Log.Info($"AppVeyor sample configuration file written to {outputFilename}"); } - protected override string GetPrompt(GitVersionConfiguration configuration, string workingDirectory) + protected override string GetPrompt(ConfigurationBuilder configurationBuilder, string workingDirectory) { var prompt = new StringBuilder(); if (AppVeyorConfigExists(workingDirectory, this.FileSystem)) diff --git a/src/GitVersion.Core/Configuration/Init/BuildServer/AppveyorPublicPrivate.cs b/src/GitVersion.Core/Configuration/Init/BuildServer/AppveyorPublicPrivate.cs index e60167dcae..ca2a5ffa43 100644 --- a/src/GitVersion.Core/Configuration/Init/BuildServer/AppveyorPublicPrivate.cs +++ b/src/GitVersion.Core/Configuration/Init/BuildServer/AppveyorPublicPrivate.cs @@ -9,7 +9,7 @@ public AppveyorPublicPrivate(IConsole console, IFileSystem fileSystem, ILog log, { } - protected override StepResult HandleResult(string? result, Queue steps, GitVersionConfiguration configuration, string workingDirectory) + protected override StepResult HandleResult(string? result, Queue steps, ConfigurationBuilder configurationBuilder, string workingDirectory) { switch (result) { @@ -26,7 +26,7 @@ protected override StepResult HandleResult(string? result, Queue @"Is your project public or private? + protected override string GetPrompt(ConfigurationBuilder configurationBuilder, string workingDirectory) => @"Is your project public or private? That is ... does it require authentication to clone/pull? diff --git a/src/GitVersion.Core/Configuration/Init/BuildServer/SetupBuildScripts.cs b/src/GitVersion.Core/Configuration/Init/BuildServer/SetupBuildScripts.cs index bd1624b8f6..65b389f514 100644 --- a/src/GitVersion.Core/Configuration/Init/BuildServer/SetupBuildScripts.cs +++ b/src/GitVersion.Core/Configuration/Init/BuildServer/SetupBuildScripts.cs @@ -9,7 +9,7 @@ public SetupBuildScripts(IConsole console, IFileSystem fileSystem, ILog log, ICo { } - protected override StepResult HandleResult(string? result, Queue steps, GitVersionConfiguration configuration, string workingDirectory) + protected override StepResult HandleResult(string? result, Queue steps, ConfigurationBuilder configurationBuilder, string workingDirectory) { switch (result) { @@ -23,7 +23,7 @@ protected override StepResult HandleResult(string? result, Queue @"What build server are you using? + protected override string GetPrompt(ConfigurationBuilder configurationBuilder, string workingDirectory) => @"What build server are you using? Want to see more? Contribute a pull request! diff --git a/src/GitVersion.Core/Configuration/Init/EditConfigStep.cs b/src/GitVersion.Core/Configuration/Init/EditConfigStep.cs index 03200fa6ed..be42fbecfe 100644 --- a/src/GitVersion.Core/Configuration/Init/EditConfigStep.cs +++ b/src/GitVersion.Core/Configuration/Init/EditConfigStep.cs @@ -5,13 +5,13 @@ namespace GitVersion.Configuration.Init; -public class EditConfigStep : ConfigInitWizardStep +internal class EditConfigStep : ConfigInitWizardStep { public EditConfigStep(IConsole console, IFileSystem fileSystem, ILog log, IConfigInitStepFactory stepFactory) : base(console, fileSystem, log, stepFactory) { } - protected override StepResult HandleResult(string? result, Queue steps, GitVersionConfiguration configuration, string workingDirectory) + protected override StepResult HandleResult(string? result, Queue steps, ConfigurationBuilder configurationBuilder, string workingDirectory) { switch (result) { @@ -45,7 +45,10 @@ protected override StepResult HandleResult(string? result, Queue $@"Which would you like to change? + protected override string GetPrompt(ConfigurationBuilder configurationBuilder, string workingDirectory) + { + var configuration = configurationBuilder.Build(); + return $@"Which would you like to change? 0) Save changes and exit 1) Exit without saving @@ -57,6 +60,7 @@ protected override string GetPrompt(GitVersionConfiguration configuration, strin 5) Branch Increment mode (per commit/after tag) (Current: {configuration.VersioningMode ?? VersionCalculation.VersioningMode.ContinuousDeployment}) 6) Assembly versioning scheme (Current: {configuration.AssemblyVersioningScheme}) 7) Setup build scripts"; + } protected override string? DefaultResult => null; } diff --git a/src/GitVersion.Core/Configuration/Init/SetConfig/AssemblyVersioningSchemeSetting.cs b/src/GitVersion.Core/Configuration/Init/SetConfig/AssemblyVersioningSchemeSetting.cs index f085e5807b..e48eac26a1 100644 --- a/src/GitVersion.Core/Configuration/Init/SetConfig/AssemblyVersioningSchemeSetting.cs +++ b/src/GitVersion.Core/Configuration/Init/SetConfig/AssemblyVersioningSchemeSetting.cs @@ -4,13 +4,13 @@ namespace GitVersion.Configuration.Init.SetConfig; -public class AssemblyVersioningSchemeSetting : ConfigInitWizardStep +internal class AssemblyVersioningSchemeSetting : ConfigInitWizardStep { public AssemblyVersioningSchemeSetting(IConsole console, IFileSystem fileSystem, ILog log, IConfigInitStepFactory stepFactory) : base(console, fileSystem, log, stepFactory) { } - protected override StepResult HandleResult(string? result, Queue steps, GitVersionConfiguration configuration, string workingDirectory) + protected override StepResult HandleResult(string? result, Queue steps, ConfigurationBuilder configurationBuilder, string workingDirectory) { var editConfigStep = this.StepFactory.CreateStep(); switch (result) @@ -19,23 +19,23 @@ protected override StepResult HandleResult(string? result, Queue @"What assembly versioning scheme do you want to use: + protected override string GetPrompt(ConfigurationBuilder configurationBuilder, string workingDirectory) => @"What assembly versioning scheme do you want to use: 0) Go Back 1) Major.0.0.0 diff --git a/src/GitVersion.Core/Configuration/Init/SetConfig/ConfigureBranch.cs b/src/GitVersion.Core/Configuration/Init/SetConfig/ConfigureBranch.cs index 89accd9510..d068e908cd 100644 --- a/src/GitVersion.Core/Configuration/Init/SetConfig/ConfigureBranch.cs +++ b/src/GitVersion.Core/Configuration/Init/SetConfig/ConfigureBranch.cs @@ -3,7 +3,7 @@ namespace GitVersion.Configuration.Init.SetConfig; -public class ConfigureBranch : ConfigInitWizardStep +internal class ConfigureBranch : ConfigInitWizardStep { private string name; private BranchConfiguration branchConfiguration; @@ -19,7 +19,7 @@ public ConfigureBranch WithData(string configName, BranchConfiguration configura return this; } - protected override StepResult HandleResult(string? result, Queue steps, GitVersionConfiguration configuration, string workingDirectory) + protected override StepResult HandleResult(string? result, Queue steps, ConfigurationBuilder configurationBuilder, string workingDirectory) { switch (result) { @@ -37,7 +37,7 @@ protected override StepResult HandleResult(string? result, Queue $@"What would you like to change for '{this.name}': + protected override string GetPrompt(ConfigurationBuilder configurationBuilder, string workingDirectory) => $@"What would you like to change for '{this.name}': 0) Go Back 1) Branch Pr-release tag (Current: {this.branchConfiguration.Label}) diff --git a/src/GitVersion.Core/Configuration/Init/SetConfig/ConfigureBranches.cs b/src/GitVersion.Core/Configuration/Init/SetConfig/ConfigureBranches.cs index 442ff98754..b20fdfc125 100644 --- a/src/GitVersion.Core/Configuration/Init/SetConfig/ConfigureBranches.cs +++ b/src/GitVersion.Core/Configuration/Init/SetConfig/ConfigureBranches.cs @@ -3,13 +3,13 @@ namespace GitVersion.Configuration.Init.SetConfig; -public class ConfigureBranches : ConfigInitWizardStep +internal class ConfigureBranches : ConfigInitWizardStep { public ConfigureBranches(IConsole console, IFileSystem fileSystem, ILog log, IConfigInitStepFactory stepFactory) : base(console, fileSystem, log, stepFactory) { } - protected override StepResult HandleResult(string? result, Queue steps, GitVersionConfiguration configuration, string workingDirectory) + protected override StepResult HandleResult(string? result, Queue steps, ConfigurationBuilder configurationBuilder, string workingDirectory) { if (int.TryParse(result, out var parsed)) { @@ -21,12 +21,13 @@ protected override StepResult HandleResult(string? result, Queue builder.WithConfiguration(branchConfiguration)); } steps.Enqueue(this.StepFactory.CreateStep().WithData(foundBranch.Key, branchConfiguration)); return StepResult.Ok(); @@ -38,10 +39,14 @@ protected override StepResult HandleResult(string? result, Queue @"Which branch would you like to configure: + protected override string GetPrompt(ConfigurationBuilder configurationBuilder, string workingDirectory) + { + var configuration = configurationBuilder.Build(); + return @"Which branch would you like to configure: 0) Go Back " + string.Join(System.Environment.NewLine, OrderedBranches(configuration).Select((c, i) => $"{i + 1}) {c.Key}")); + } private static IOrderedEnumerable> OrderedBranches(GitVersionConfiguration configuration) { diff --git a/src/GitVersion.Core/Configuration/Init/SetConfig/GlobalModeSetting.cs b/src/GitVersion.Core/Configuration/Init/SetConfig/GlobalModeSetting.cs index 9497f3689b..99cea142d7 100644 --- a/src/GitVersion.Core/Configuration/Init/SetConfig/GlobalModeSetting.cs +++ b/src/GitVersion.Core/Configuration/Init/SetConfig/GlobalModeSetting.cs @@ -4,7 +4,7 @@ namespace GitVersion.Configuration.Init.SetConfig; -public class GlobalModeSetting : ConfigInitWizardStep +internal class GlobalModeSetting : ConfigInitWizardStep { private ConfigInitWizardStep returnToStep; private bool isPartOfWizard; @@ -20,20 +20,20 @@ public GlobalModeSetting WithData(ConfigInitWizardStep returnStep, bool isPartOf return this; } - protected override StepResult HandleResult(string? result, Queue steps, GitVersionConfiguration configuration, string workingDirectory) + protected override StepResult HandleResult(string? result, Queue steps, ConfigurationBuilder configurationBuilder, string workingDirectory) { switch (result) { case "1": - configuration.VersioningMode = VersioningMode.ContinuousDelivery; + configurationBuilder.WithVersioningMode(VersioningMode.ContinuousDelivery); steps.Enqueue(this.returnToStep); return StepResult.Ok(); case "2": - configuration.VersioningMode = VersioningMode.ContinuousDeployment; + configurationBuilder.WithVersioningMode(VersioningMode.ContinuousDeployment); steps.Enqueue(this.returnToStep); return StepResult.Ok(); case "3": - configuration.VersioningMode = VersioningMode.Mainline; + configurationBuilder.WithVersioningMode(VersioningMode.Mainline); steps.Enqueue(this.returnToStep); return StepResult.Ok(); case "0": @@ -45,7 +45,7 @@ protected override StepResult HandleResult(string? result, Queue $@"What do you want the default increment mode to be (can be override per branch): + protected override string GetPrompt(ConfigurationBuilder configurationBuilder, string workingDirectory) => $@"What do you want the default increment mode to be (can be override per branch): {(!this.isPartOfWizard ? "0) Go Back" : string.Empty)} 1) Follow SemVer and only increment when a release has been tagged (continuous delivery mode) 2) Increment based on branch configuration every commit (continuous deployment mode) diff --git a/src/GitVersion.Core/Configuration/Init/SetConfig/SetBranchIncrementMode.cs b/src/GitVersion.Core/Configuration/Init/SetConfig/SetBranchIncrementMode.cs index 005dd1c2ba..be14e3951f 100644 --- a/src/GitVersion.Core/Configuration/Init/SetConfig/SetBranchIncrementMode.cs +++ b/src/GitVersion.Core/Configuration/Init/SetConfig/SetBranchIncrementMode.cs @@ -4,7 +4,7 @@ namespace GitVersion.Configuration.Init.SetConfig; -public class SetBranchIncrementMode : ConfigInitWizardStep +internal class SetBranchIncrementMode : ConfigInitWizardStep { private string name; private BranchConfiguration branchConfiguration; @@ -20,7 +20,7 @@ public SetBranchIncrementMode WithData(string configName, BranchConfiguration co return this; } - protected override StepResult HandleResult(string? result, Queue steps, GitVersionConfiguration configuration, string workingDirectory) + protected override StepResult HandleResult(string? result, Queue steps, ConfigurationBuilder configurationBuilder, string workingDirectory) { var configureBranchStep = this.StepFactory.CreateStep(); switch (result) @@ -41,7 +41,7 @@ protected override StepResult HandleResult(string? result, Queue $@"What do you want the increment mode for {this.name} to be? + protected override string GetPrompt(ConfigurationBuilder configurationBuilder, string workingDirectory) => $@"What do you want the increment mode for {this.name} to be? 0) Go Back 1) Follow SemVer and only increment when a release has been tagged (continuous delivery mode) diff --git a/src/GitVersion.Core/Configuration/Init/SetConfig/SetBranchTag.cs b/src/GitVersion.Core/Configuration/Init/SetConfig/SetBranchTag.cs index 4aacf2ac83..0cf03bf817 100644 --- a/src/GitVersion.Core/Configuration/Init/SetConfig/SetBranchTag.cs +++ b/src/GitVersion.Core/Configuration/Init/SetConfig/SetBranchTag.cs @@ -4,7 +4,7 @@ namespace GitVersion.Configuration.Init.SetConfig; -public class SetBranchTag : ConfigInitWizardStep +internal class SetBranchTag : ConfigInitWizardStep { private string name; private BranchConfiguration branchConfiguration; @@ -20,7 +20,7 @@ public SetBranchTag WithData(string configName, BranchConfiguration configuratio return this; } - protected override StepResult HandleResult(string? result, Queue steps, GitVersionConfiguration configuration, string workingDirectory) + protected override StepResult HandleResult(string? result, Queue steps, ConfigurationBuilder configurationBuilder, string workingDirectory) { if (result.IsNullOrWhiteSpace()) { @@ -44,7 +44,7 @@ protected override StepResult HandleResult(string? result, Queue @"This sets the per-release tag which will be used for versions on this branch (beta, rc etc) + protected override string GetPrompt(ConfigurationBuilder configurationBuilder, string workingDirectory) => @"This sets the per-release tag which will be used for versions on this branch (beta, rc etc) 0) Go Back 1) No tag diff --git a/src/GitVersion.Core/Configuration/Init/SetNextVersion.cs b/src/GitVersion.Core/Configuration/Init/SetNextVersion.cs index 620dd6b4f1..a7a1e9198d 100644 --- a/src/GitVersion.Core/Configuration/Init/SetNextVersion.cs +++ b/src/GitVersion.Core/Configuration/Init/SetNextVersion.cs @@ -4,13 +4,13 @@ namespace GitVersion.Configuration.Init; -public class SetNextVersion : ConfigInitWizardStep +internal class SetNextVersion : ConfigInitWizardStep { public SetNextVersion(IConsole console, IFileSystem fileSystem, ILog log, IConfigInitStepFactory stepFactory) : base(console, fileSystem, log, stepFactory) { } - protected override StepResult HandleResult(string? result, Queue steps, GitVersionConfiguration configuration, string workingDirectory) + protected override StepResult HandleResult(string? result, Queue steps, ConfigurationBuilder configurationBuilder, string workingDirectory) { var editConfigStep = this.StepFactory.CreateStep(); if (result.IsNullOrEmpty()) @@ -19,15 +19,16 @@ protected override StepResult HandleResult(string? result, Queue "What would you like to set the next version to (enter nothing to cancel)?"; + protected override string GetPrompt(ConfigurationBuilder configurationBuilder, string workingDirectory) => "What would you like to set the next version to (enter nothing to cancel)?"; protected override string? DefaultResult => null; } diff --git a/src/GitVersion.Core/Configuration/Init/Wizard/ConfigInitWizard.cs b/src/GitVersion.Core/Configuration/Init/Wizard/ConfigInitWizard.cs index 91a6522634..d8160132a7 100644 --- a/src/GitVersion.Core/Configuration/Init/Wizard/ConfigInitWizard.cs +++ b/src/GitVersion.Core/Configuration/Init/Wizard/ConfigInitWizard.cs @@ -14,21 +14,22 @@ public ConfigInitWizard(IConsole console, IConfigInitStepFactory stepFactory) this.stepFactory = stepFactory.NotNull(); } - public GitVersionConfiguration? Run(GitVersionConfiguration configuration, string workingDirectory) + public IGitVersionConfiguration? Run(IGitVersionConfiguration configuration, string workingDirectory) { this.console.WriteLine("GitVersion init will guide you through setting GitVersion up to work for you"); var steps = new Queue(); steps.Enqueue(this.stepFactory.CreateStep()); + var configurationBuilder = ConfigurationBuilder.New.WithConfiguration((GitVersionConfiguration)configuration); while (steps.Count > 0) { var currentStep = steps.Dequeue(); - if (!currentStep.Apply(steps, configuration, workingDirectory)) + if (!currentStep.Apply(steps, configurationBuilder, workingDirectory)) { return null; } } - return configuration; + return configurationBuilder.Build(); } } diff --git a/src/GitVersion.Core/Configuration/Init/Wizard/ConfigInitWizardStep.cs b/src/GitVersion.Core/Configuration/Init/Wizard/ConfigInitWizardStep.cs index 73d5a17722..5ddef43b7c 100644 --- a/src/GitVersion.Core/Configuration/Init/Wizard/ConfigInitWizardStep.cs +++ b/src/GitVersion.Core/Configuration/Init/Wizard/ConfigInitWizardStep.cs @@ -3,7 +3,7 @@ namespace GitVersion.Configuration.Init.Wizard; -public abstract class ConfigInitWizardStep +internal abstract class ConfigInitWizardStep { protected readonly IConsole Console; protected readonly IFileSystem FileSystem; @@ -18,10 +18,10 @@ protected ConfigInitWizardStep(IConsole console, IFileSystem fileSystem, ILog lo this.StepFactory = stepFactory.NotNull(); } - public bool Apply(Queue steps, GitVersionConfiguration configuration, string workingDirectory) + public bool Apply(Queue steps, ConfigurationBuilder configurationBuilder, string workingDirectory) { this.Console.WriteLine(); - this.Console.WriteLine(GetPrompt(configuration, workingDirectory)); + this.Console.WriteLine(GetPrompt(configurationBuilder, workingDirectory)); this.Console.WriteLine(); this.Console.Write("> "); var input = this.Console.ReadLine(); @@ -40,7 +40,7 @@ public bool Apply(Queue steps, GitVersionConfiguration con return true; } var resultWithDefaultApplied = input.IsNullOrEmpty() ? DefaultResult : input; - var stepResult = HandleResult(resultWithDefaultApplied, steps, configuration, workingDirectory); + var stepResult = HandleResult(resultWithDefaultApplied, steps, configurationBuilder, workingDirectory); if (stepResult.InvalidResponse) { InvalidResponse(steps); @@ -63,7 +63,7 @@ private void InvalidResponse(Queue steps) steps.Enqueue(this); } - protected abstract StepResult HandleResult(string? result, Queue steps, GitVersionConfiguration configuration, string workingDirectory); - protected abstract string GetPrompt(GitVersionConfiguration configuration, string workingDirectory); + protected abstract StepResult HandleResult(string? result, Queue steps, ConfigurationBuilder configurationBuilder, string workingDirectory); + protected abstract string GetPrompt(ConfigurationBuilder configurationBuilder, string workingDirectory); protected abstract string? DefaultResult { get; } } diff --git a/src/GitVersion.Core/Configuration/Init/Wizard/FinishedSetupStep.cs b/src/GitVersion.Core/Configuration/Init/Wizard/FinishedSetupStep.cs index b872dfcb93..0ca875c319 100644 --- a/src/GitVersion.Core/Configuration/Init/Wizard/FinishedSetupStep.cs +++ b/src/GitVersion.Core/Configuration/Init/Wizard/FinishedSetupStep.cs @@ -2,11 +2,11 @@ namespace GitVersion.Configuration.Init.Wizard; -public class FinishedSetupStep : EditConfigStep +internal class FinishedSetupStep : EditConfigStep { public FinishedSetupStep(IConsole console, IFileSystem fileSystem, ILog log, IConfigInitStepFactory stepFactory) : base(console, fileSystem, log, stepFactory) { } - protected override string GetPrompt(GitVersionConfiguration configuration, string workingDirectory) => $"Questions are all done, you can now edit GitVersion's configuration further{System.Environment.NewLine}" + base.GetPrompt(configuration, workingDirectory); + protected override string GetPrompt(ConfigurationBuilder configurationBuilder, string workingDirectory) => $"Questions are all done, you can now edit GitVersion's configuration further{System.Environment.NewLine}" + base.GetPrompt(configurationBuilder, workingDirectory); } diff --git a/src/GitVersion.Core/Configuration/Init/Wizard/GitFlowSetupStep.cs b/src/GitVersion.Core/Configuration/Init/Wizard/GitFlowSetupStep.cs index 03446bee89..7cea60b0d0 100644 --- a/src/GitVersion.Core/Configuration/Init/Wizard/GitFlowSetupStep.cs +++ b/src/GitVersion.Core/Configuration/Init/Wizard/GitFlowSetupStep.cs @@ -3,12 +3,12 @@ namespace GitVersion.Configuration.Init.Wizard; -public class GitFlowSetupStep : GlobalModeSetting +internal class GitFlowSetupStep : GlobalModeSetting { public GitFlowSetupStep(IConsole console, IFileSystem fileSystem, ILog log, IConfigInitStepFactory stepFactory) : base(console, fileSystem, log, stepFactory) { } - protected override string GetPrompt(GitVersionConfiguration configuration, string workingDirectory) - => $"By default GitVersion will only increment the version of the 'develop' branch every commit, all other branches will increment when tagged{System.Environment.NewLine}{System.Environment.NewLine}" + base.GetPrompt(configuration, workingDirectory); + protected override string GetPrompt(ConfigurationBuilder configurationBuilder, string workingDirectory) + => $"By default GitVersion will only increment the version of the 'develop' branch every commit, all other branches will increment when tagged{System.Environment.NewLine}{System.Environment.NewLine}" + base.GetPrompt(configurationBuilder, workingDirectory); } diff --git a/src/GitVersion.Core/Configuration/Init/Wizard/GitHubFlowStep.cs b/src/GitVersion.Core/Configuration/Init/Wizard/GitHubFlowStep.cs index a04a2f65d7..3a38a10465 100644 --- a/src/GitVersion.Core/Configuration/Init/Wizard/GitHubFlowStep.cs +++ b/src/GitVersion.Core/Configuration/Init/Wizard/GitHubFlowStep.cs @@ -3,11 +3,11 @@ namespace GitVersion.Configuration.Init.Wizard; -public class GitHubFlowStep : GlobalModeSetting +internal class GitHubFlowStep : GlobalModeSetting { public GitHubFlowStep(IConsole console, IFileSystem fileSystem, ILog log, IConfigInitStepFactory stepFactory) : base(console, fileSystem, log, stepFactory) { } - protected override string GetPrompt(GitVersionConfiguration configuration, string workingDirectory) => $"By default GitVersion will only increment the version when tagged{System.Environment.NewLine}{System.Environment.NewLine}" + base.GetPrompt(configuration, workingDirectory); + protected override string GetPrompt(ConfigurationBuilder configurationBuilder, string workingDirectory) => $"By default GitVersion will only increment the version when tagged{System.Environment.NewLine}{System.Environment.NewLine}" + base.GetPrompt(configurationBuilder, workingDirectory); } diff --git a/src/GitVersion.Core/Configuration/Init/Wizard/IConfigInitWizard.cs b/src/GitVersion.Core/Configuration/Init/Wizard/IConfigInitWizard.cs index 482f419926..8d6cf423a3 100644 --- a/src/GitVersion.Core/Configuration/Init/Wizard/IConfigInitWizard.cs +++ b/src/GitVersion.Core/Configuration/Init/Wizard/IConfigInitWizard.cs @@ -2,5 +2,5 @@ namespace GitVersion.Configuration.Init.Wizard; public interface IConfigInitWizard { - GitVersionConfiguration? Run(GitVersionConfiguration configuration, string workingDirectory); + IGitVersionConfiguration? Run(IGitVersionConfiguration configuration, string workingDirectory); } diff --git a/src/GitVersion.Core/Configuration/Init/Wizard/PickBranchingStrategy1Step.cs b/src/GitVersion.Core/Configuration/Init/Wizard/PickBranchingStrategy1Step.cs index be077d66bd..97e91194a7 100644 --- a/src/GitVersion.Core/Configuration/Init/Wizard/PickBranchingStrategy1Step.cs +++ b/src/GitVersion.Core/Configuration/Init/Wizard/PickBranchingStrategy1Step.cs @@ -2,13 +2,13 @@ namespace GitVersion.Configuration.Init.Wizard; -public class PickBranchingStrategy1Step : ConfigInitWizardStep +internal class PickBranchingStrategy1Step : ConfigInitWizardStep { public PickBranchingStrategy1Step(IConsole console, IFileSystem fileSystem, ILog log, IConfigInitStepFactory stepFactory) : base(console, fileSystem, log, stepFactory) { } - protected override StepResult HandleResult(string? result, Queue steps, GitVersionConfiguration configuration, string workingDirectory) + protected override StepResult HandleResult(string? result, Queue steps, ConfigurationBuilder configurationBuilder, string workingDirectory) { switch (result?.ToLower()) { @@ -26,7 +26,7 @@ protected override StepResult HandleResult(string? result, Queue @"GitVersion can try to recommend you a branching strategy based on a few questions. + protected override string GetPrompt(ConfigurationBuilder configurationBuilder, string workingDirectory) => @"GitVersion can try to recommend you a branching strategy based on a few questions. Do you need to maintain multiple versions of your application simultaneously in production? (y/n)"; diff --git a/src/GitVersion.Core/Configuration/Init/Wizard/PickBranchingStrategy2Step.cs b/src/GitVersion.Core/Configuration/Init/Wizard/PickBranchingStrategy2Step.cs index 8a079ba9cc..acc5052154 100644 --- a/src/GitVersion.Core/Configuration/Init/Wizard/PickBranchingStrategy2Step.cs +++ b/src/GitVersion.Core/Configuration/Init/Wizard/PickBranchingStrategy2Step.cs @@ -2,13 +2,13 @@ namespace GitVersion.Configuration.Init.Wizard; -public class PickBranchingStrategy2Step : ConfigInitWizardStep +internal class PickBranchingStrategy2Step : ConfigInitWizardStep { public PickBranchingStrategy2Step(IConsole console, IFileSystem fileSystem, ILog log, IConfigInitStepFactory stepFactory) : base(console, fileSystem, log, stepFactory) { } - protected override StepResult HandleResult(string? result, Queue steps, GitVersionConfiguration configuration, string workingDirectory) + protected override StepResult HandleResult(string? result, Queue steps, ConfigurationBuilder configurationBuilder, string workingDirectory) { switch (result?.ToLower()) { @@ -29,7 +29,7 @@ protected override StepResult HandleResult(string? result, Queue "Do you stabilise releases while continuing work on the next version? (y/n)"; + protected override string GetPrompt(ConfigurationBuilder configurationBuilder, string workingDirectory) => "Do you stabilise releases while continuing work on the next version? (y/n)"; protected override string? DefaultResult => null; } diff --git a/src/GitVersion.Core/Configuration/Init/Wizard/PickBranchingStrategy3Step.cs b/src/GitVersion.Core/Configuration/Init/Wizard/PickBranchingStrategy3Step.cs index 5021af5584..aa2aaa5f2a 100644 --- a/src/GitVersion.Core/Configuration/Init/Wizard/PickBranchingStrategy3Step.cs +++ b/src/GitVersion.Core/Configuration/Init/Wizard/PickBranchingStrategy3Step.cs @@ -2,13 +2,13 @@ namespace GitVersion.Configuration.Init.Wizard; -public class PickBranchingStrategy3Step : ConfigInitWizardStep +internal class PickBranchingStrategy3Step : ConfigInitWizardStep { public PickBranchingStrategy3Step(IConsole console, IFileSystem fileSystem, ILog log, IConfigInitStepFactory stepFactory) : base(console, fileSystem, log, stepFactory) { } - protected override StepResult HandleResult(string? result, Queue steps, GitVersionConfiguration configuration, string workingDirectory) + protected override StepResult HandleResult(string? result, Queue steps, ConfigurationBuilder configurationBuilder, string workingDirectory) { switch (result?.ToLower()) { @@ -30,7 +30,7 @@ protected override StepResult HandleResult(string? result, Queue "Do you need to build nightly or consume packages the CI build creates without releasing those versions? (y/n)"; + protected override string GetPrompt(ConfigurationBuilder configurationBuilder, string workingDirectory) => "Do you need to build nightly or consume packages the CI build creates without releasing those versions? (y/n)"; protected override string? DefaultResult => null; } diff --git a/src/GitVersion.Core/Configuration/Init/Wizard/PickBranchingStrategyStep.cs b/src/GitVersion.Core/Configuration/Init/Wizard/PickBranchingStrategyStep.cs index 081679f8cc..517e4448c6 100644 --- a/src/GitVersion.Core/Configuration/Init/Wizard/PickBranchingStrategyStep.cs +++ b/src/GitVersion.Core/Configuration/Init/Wizard/PickBranchingStrategyStep.cs @@ -2,13 +2,13 @@ namespace GitVersion.Configuration.Init.Wizard; -public class PickBranchingStrategyStep : ConfigInitWizardStep +internal class PickBranchingStrategyStep : ConfigInitWizardStep { public PickBranchingStrategyStep(IConsole console, IFileSystem fileSystem, ILog log, IConfigInitStepFactory stepFactory) : base(console, fileSystem, log, stepFactory) { } - protected override StepResult HandleResult(string? result, Queue steps, GitVersionConfiguration configuration, string workingDirectory) + protected override StepResult HandleResult(string? result, Queue steps, ConfigurationBuilder configurationBuilder, string workingDirectory) { var returnToStep = this.StepFactory.CreateStep(); switch (result) @@ -29,7 +29,7 @@ protected override StepResult HandleResult(string? result, Queue @"The way you will use GitVersion will change a lot based on your branching strategy. What branching strategy will you be using: + protected override string GetPrompt(ConfigurationBuilder configurationBuilder, string workingDirectory) => @"The way you will use GitVersion will change a lot based on your branching strategy. What branching strategy will you be using: 1) GitFlow (or similar) 2) GitHubFlow diff --git a/src/GitVersion.sln.DotSettings b/src/GitVersion.sln.DotSettings index 6cb996e947..9ca9ed0401 100644 --- a/src/GitVersion.sln.DotSettings +++ b/src/GitVersion.sln.DotSettings @@ -700,4 +700,5 @@ II.2.12 <HandlesEvent /> <data /> <data><IncludeFilters /><ExcludeFilters /></data> - True + True + True From 6401cd49bbe432cdcfefef5b49db2e0877e0a6e8 Mon Sep 17 00:00:00 2001 From: Artur Stolear Date: Tue, 28 Mar 2023 14:26:04 +0200 Subject: [PATCH 5/8] use BranchConfigurationBuilder --- .../ArgumentParserTests.cs | 4 ++-- .../Configuration/ConfigurationBuilderBase.cs | 15 +++++++------ .../Configuration/ConfigurationHelper.cs | 6 +++--- .../Configuration/IConfigurationBuilder.cs | 2 +- .../Init/SetConfig/ConfigureBranch.cs | 20 +++++++++++------- .../Init/SetConfig/ConfigureBranches.cs | 21 ++++++++----------- .../Init/SetConfig/SetBranchIncrementMode.cs | 16 +++++++------- .../Init/SetConfig/SetBranchTag.cs | 16 +++++++------- 8 files changed, 52 insertions(+), 48 deletions(-) diff --git a/src/GitVersion.App.Tests/ArgumentParserTests.cs b/src/GitVersion.App.Tests/ArgumentParserTests.cs index cf7d231972..656e8b33df 100644 --- a/src/GitVersion.App.Tests/ArgumentParserTests.cs +++ b/src/GitVersion.App.Tests/ArgumentParserTests.cs @@ -395,7 +395,7 @@ private static IEnumerable OverrideconfigWithInvalidOptionTestData } [TestCaseSource(nameof(OverrideConfigWithSingleOptionTestData))] - public void OverrideConfigWithSingleOptions(string options, GitVersionConfiguration expected) + public void OverrideConfigWithSingleOptions(string options, IGitVersionConfiguration expected) { var arguments = this.argumentParser.ParseArguments($"/overrideconfig {options}"); @@ -534,7 +534,7 @@ private static IEnumerable OverrideConfigWithSingleOptionTestData( } [TestCaseSource(nameof(OverrideConfigWithMultipleOptionsTestData))] - public void OverrideConfigWithMultipleOptions(string options, GitVersionConfiguration expected) + public void OverrideConfigWithMultipleOptions(string options, IGitVersionConfiguration expected) { var arguments = this.argumentParser.ParseArguments(options); ConfigurationHelper configurationHelper = new(arguments.OverrideConfiguration); diff --git a/src/GitVersion.Core/Configuration/ConfigurationBuilderBase.cs b/src/GitVersion.Core/Configuration/ConfigurationBuilderBase.cs index 528960d7e1..fde240d68c 100644 --- a/src/GitVersion.Core/Configuration/ConfigurationBuilderBase.cs +++ b/src/GitVersion.Core/Configuration/ConfigurationBuilderBase.cs @@ -206,6 +206,9 @@ public virtual TConfigurationBuilder WithoutBranches() public virtual BranchConfigurationBuilder WithBranch(string value) => this.branchConfigurationBuilders.GetOrAdd(value, () => BranchConfigurationBuilder.New); + public virtual BranchConfigurationBuilder WithBranch(string value, BranchConfigurationBuilder builder) + => this.branchConfigurationBuilders.GetOrAdd(value, () => builder); + public virtual TConfigurationBuilder WithBranch(string value, Action action) { var result = this.branchConfigurationBuilders.GetOrAdd(value, () => BranchConfigurationBuilder.New); @@ -338,7 +341,7 @@ public void AddOverride(IReadOnlyDictionary value) } } - public virtual GitVersionConfiguration Build() + public virtual IGitVersionConfiguration Build() { Dictionary branches = new(); foreach (var (name, branchConfigurationBuilder) in this.branchConfigurationBuilders) @@ -346,7 +349,7 @@ public virtual GitVersionConfiguration Build() branches.Add(name, branchConfigurationBuilder.Build()); } - GitVersionConfiguration configuration = new() + IGitVersionConfiguration configuration = new GitVersionConfiguration { AssemblyVersioningScheme = this.assemblyVersioningScheme, AssemblyFileVersioningScheme = this.assemblyFileVersioningScheme, @@ -397,7 +400,7 @@ public virtual GitVersionConfiguration Build() return configuration; } - private static void FinalizeConfiguration(GitVersionConfiguration configuration) + private static void FinalizeConfiguration(IGitVersionConfiguration configuration) { foreach (var (name, branchConfiguration) in configuration.Branches) { @@ -405,10 +408,10 @@ private static void FinalizeConfiguration(GitVersionConfiguration configuration) } } - private static void FinalizeBranchConfiguration(GitVersionConfiguration configuration, string branchName, + private static void FinalizeBranchConfiguration(IGitVersionConfiguration configuration, string branchName, IBranchConfiguration branchConfiguration) { - var branches = new Dictionary(configuration.Branches); + var branches = configuration.Branches.ToDictionary(x => x.Key, x => (BranchConfiguration)x.Value); foreach (var targetBranchName in branchConfiguration.IsSourceBranchFor) { var targetBranchConfiguration = branches[targetBranchName]; @@ -416,7 +419,7 @@ private static void FinalizeBranchConfiguration(GitVersionConfiguration configur } } - private static void ValidateConfiguration(GitVersionConfiguration configuration) + private static void ValidateConfiguration(IGitVersionConfiguration configuration) { foreach (var (name, branchConfiguration) in configuration.Branches) { diff --git a/src/GitVersion.Core/Configuration/ConfigurationHelper.cs b/src/GitVersion.Core/Configuration/ConfigurationHelper.cs index 65f74b8a0d..430f53c7a5 100644 --- a/src/GitVersion.Core/Configuration/ConfigurationHelper.cs +++ b/src/GitVersion.Core/Configuration/ConfigurationHelper.cs @@ -23,14 +23,14 @@ internal class ConfigurationHelper } private IReadOnlyDictionary? _dictionary; - public GitVersionConfiguration Configuration => this.configuration ??= ConfigurationSerializer.Deserialize(Yaml); - private GitVersionConfiguration? configuration; + public IGitVersionConfiguration Configuration => this.configuration ??= ConfigurationSerializer.Deserialize(Yaml); + private IGitVersionConfiguration? configuration; internal ConfigurationHelper(string yaml) => this._yaml = yaml.NotNull(); internal ConfigurationHelper(IReadOnlyDictionary dictionary) => this._dictionary = dictionary.NotNull(); - public ConfigurationHelper(GitVersionConfiguration configuration) => this.configuration = configuration.NotNull(); + public ConfigurationHelper(IGitVersionConfiguration configuration) => this.configuration = configuration.NotNull(); public void Override(IReadOnlyDictionary value) { diff --git a/src/GitVersion.Core/Configuration/IConfigurationBuilder.cs b/src/GitVersion.Core/Configuration/IConfigurationBuilder.cs index 721482da1d..1eabfff749 100644 --- a/src/GitVersion.Core/Configuration/IConfigurationBuilder.cs +++ b/src/GitVersion.Core/Configuration/IConfigurationBuilder.cs @@ -4,5 +4,5 @@ internal interface IConfigurationBuilder { void AddOverride(IReadOnlyDictionary value); - GitVersionConfiguration Build(); + IGitVersionConfiguration Build(); } diff --git a/src/GitVersion.Core/Configuration/Init/SetConfig/ConfigureBranch.cs b/src/GitVersion.Core/Configuration/Init/SetConfig/ConfigureBranch.cs index d068e908cd..1099c93976 100644 --- a/src/GitVersion.Core/Configuration/Init/SetConfig/ConfigureBranch.cs +++ b/src/GitVersion.Core/Configuration/Init/SetConfig/ConfigureBranch.cs @@ -6,15 +6,15 @@ namespace GitVersion.Configuration.Init.SetConfig; internal class ConfigureBranch : ConfigInitWizardStep { private string name; - private BranchConfiguration branchConfiguration; + private BranchConfigurationBuilder branchConfigurationBuilder; public ConfigureBranch(IConsole console, IFileSystem fileSystem, ILog log, IConfigInitStepFactory stepFactory) : base(console, fileSystem, log, stepFactory) { } - public ConfigureBranch WithData(string configName, BranchConfiguration configuration) + public ConfigureBranch WithData(string configName, BranchConfigurationBuilder configurationBuilder) { - this.branchConfiguration = configuration; + this.branchConfigurationBuilder = configurationBuilder; this.name = configName; return this; } @@ -27,21 +27,25 @@ protected override StepResult HandleResult(string? result, Queue()); return StepResult.Ok(); case "1": - steps.Enqueue(this.StepFactory.CreateStep().WithData(name, branchConfiguration)); + steps.Enqueue(this.StepFactory.CreateStep().WithData(name, this.branchConfigurationBuilder)); return StepResult.Ok(); case "2": - steps.Enqueue(this.StepFactory.CreateStep().WithData(name, branchConfiguration)); + steps.Enqueue(this.StepFactory.CreateStep().WithData(name, this.branchConfigurationBuilder)); return StepResult.Ok(); } return StepResult.InvalidResponseSelected(); } - protected override string GetPrompt(ConfigurationBuilder configurationBuilder, string workingDirectory) => $@"What would you like to change for '{this.name}': + protected override string GetPrompt(ConfigurationBuilder configurationBuilder, string workingDirectory) + { + var branchConfiguration = this.branchConfigurationBuilder.Build(); + return $@"What would you like to change for '{this.name}': 0) Go Back -1) Branch Pr-release tag (Current: {this.branchConfiguration.Label}) -2) Branch Increment mode (per commit/after tag) (Current: {this.branchConfiguration.VersioningMode})"; +1) Branch Pr-release tag (Current: {branchConfiguration.Label}) +2) Branch Increment mode (per commit/after tag) (Current: {branchConfiguration.VersioningMode})"; + } protected override string DefaultResult => "0"; } diff --git a/src/GitVersion.Core/Configuration/Init/SetConfig/ConfigureBranches.cs b/src/GitVersion.Core/Configuration/Init/SetConfig/ConfigureBranches.cs index b20fdfc125..b2b9d90964 100644 --- a/src/GitVersion.Core/Configuration/Init/SetConfig/ConfigureBranches.cs +++ b/src/GitVersion.Core/Configuration/Init/SetConfig/ConfigureBranches.cs @@ -22,14 +22,10 @@ protected override StepResult HandleResult(string? result, Queue builder.WithConfiguration(branchConfiguration)); - } - steps.Enqueue(this.StepFactory.CreateStep().WithData(foundBranch.Key, branchConfiguration)); + var (name, branchConfiguration) = OrderedBranches(configuration).ElementAt(parsed - 1); + var branchConfigurationBuilder = BranchConfigurationBuilder.New.WithConfiguration(branchConfiguration); + configurationBuilder.WithBranch(name, branchConfigurationBuilder); + steps.Enqueue(this.StepFactory.CreateStep().WithData(name, branchConfigurationBuilder)); return StepResult.Ok(); } catch (ArgumentOutOfRangeException) @@ -48,15 +44,16 @@ protected override string GetPrompt(ConfigurationBuilder configurationBuilder, s " + string.Join(System.Environment.NewLine, OrderedBranches(configuration).Select((c, i) => $"{i + 1}) {c.Key}")); } - private static IOrderedEnumerable> OrderedBranches(GitVersionConfiguration configuration) + private static IOrderedEnumerable> OrderedBranches(IGitVersionConfiguration configuration) { var defaultConfig = GitFlowConfigurationBuilder.New.Build(); + var configurationBranches = configuration.Branches; var defaultConfigurationBranches = defaultConfig.Branches - .Where(k => !configuration.Branches.ContainsKey(k.Key)) + .Where(k => !configurationBranches.ContainsKey(k.Key)) // Return an empty branch configuration - .Select(v => new KeyValuePair(v.Key, new BranchConfiguration())); - return configuration.Branches.Union(defaultConfigurationBranches).OrderBy(b => b.Key); + .Select(v => new KeyValuePair(v.Key, new BranchConfiguration())); + return configurationBranches.Union(defaultConfigurationBranches).OrderBy(b => b.Key); } protected override string DefaultResult => "0"; diff --git a/src/GitVersion.Core/Configuration/Init/SetConfig/SetBranchIncrementMode.cs b/src/GitVersion.Core/Configuration/Init/SetConfig/SetBranchIncrementMode.cs index be14e3951f..68c830084d 100644 --- a/src/GitVersion.Core/Configuration/Init/SetConfig/SetBranchIncrementMode.cs +++ b/src/GitVersion.Core/Configuration/Init/SetConfig/SetBranchIncrementMode.cs @@ -7,15 +7,15 @@ namespace GitVersion.Configuration.Init.SetConfig; internal class SetBranchIncrementMode : ConfigInitWizardStep { private string name; - private BranchConfiguration branchConfiguration; + private BranchConfigurationBuilder branchConfigurationBuilder; public SetBranchIncrementMode(IConsole console, IFileSystem fileSystem, ILog log, IConfigInitStepFactory stepFactory) : base(console, fileSystem, log, stepFactory) { } - public SetBranchIncrementMode WithData(string configName, BranchConfiguration configuration) + public SetBranchIncrementMode WithData(string configName, BranchConfigurationBuilder configurationBuilder) { - this.branchConfiguration = configuration; + this.branchConfigurationBuilder = configurationBuilder; this.name = configName; return this; } @@ -26,15 +26,15 @@ protected override StepResult HandleResult(string? result, Queue Date: Tue, 28 Mar 2023 14:29:35 +0200 Subject: [PATCH 6/8] move more interfaces to Abstractions --- .../Common}/Attributes/JsonPropertyDescriptionAttribute.cs | 0 .../Common}/Attributes/JsonPropertyPatternAttribute.cs | 0 .../Common}/IGitPreparer.cs | 0 .../Common}/IGitVersionCalculateTool.cs | 0 .../Common}/IGitVersionContextFactory.cs | 0 .../Common}/IRepositoryStore.cs | 0 .../Common/Models}/BranchCommit.cs | 0 .../Common/Models}/GitVersionContext.cs | 0 .../Common/{ => Models}/GitVersionVariables.cs | 0 src/GitVersion.Abstractions/Common/{ => Models}/LogLevel.cs | 0 src/GitVersion.Abstractions/Common/{ => Models}/Verbosity.cs | 0 .../Configuration/IConfigurationBuilder.cs | 0 .../Options/AssemblySettingsInfo.cs | 0 .../Options/ConfigurationInfo.cs | 0 .../Options/FileWriteInfo.cs | 0 .../Options/GitVersionOptions.cs | 2 +- .../Options/OutputType.cs | 0 .../Options/RepositoryInfo.cs | 0 .../Options/Settings.cs | 0 .../Options/WixInfo.cs | 0 20 files changed, 1 insertion(+), 1 deletion(-) rename src/{GitVersion.Core/Core => GitVersion.Abstractions/Common}/Attributes/JsonPropertyDescriptionAttribute.cs (100%) rename src/{GitVersion.Core/Core => GitVersion.Abstractions/Common}/Attributes/JsonPropertyPatternAttribute.cs (100%) rename src/{GitVersion.Core/Core/Abstractions => GitVersion.Abstractions/Common}/IGitPreparer.cs (100%) rename src/{GitVersion.Core/Core/Abstractions => GitVersion.Abstractions/Common}/IGitVersionCalculateTool.cs (100%) rename src/{GitVersion.Core/Core/Abstractions => GitVersion.Abstractions/Common}/IGitVersionContextFactory.cs (100%) rename src/{GitVersion.Core/Core/Abstractions => GitVersion.Abstractions/Common}/IRepositoryStore.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions/Common/Models}/BranchCommit.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions/Common/Models}/GitVersionContext.cs (100%) rename src/GitVersion.Abstractions/Common/{ => Models}/GitVersionVariables.cs (100%) rename src/GitVersion.Abstractions/Common/{ => Models}/LogLevel.cs (100%) rename src/GitVersion.Abstractions/Common/{ => Models}/Verbosity.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Configuration/IConfigurationBuilder.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Options/AssemblySettingsInfo.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Options/ConfigurationInfo.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Options/FileWriteInfo.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Options/GitVersionOptions.cs (89%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Options/OutputType.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Options/RepositoryInfo.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Options/Settings.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Options/WixInfo.cs (100%) diff --git a/src/GitVersion.Core/Core/Attributes/JsonPropertyDescriptionAttribute.cs b/src/GitVersion.Abstractions/Common/Attributes/JsonPropertyDescriptionAttribute.cs similarity index 100% rename from src/GitVersion.Core/Core/Attributes/JsonPropertyDescriptionAttribute.cs rename to src/GitVersion.Abstractions/Common/Attributes/JsonPropertyDescriptionAttribute.cs diff --git a/src/GitVersion.Core/Core/Attributes/JsonPropertyPatternAttribute.cs b/src/GitVersion.Abstractions/Common/Attributes/JsonPropertyPatternAttribute.cs similarity index 100% rename from src/GitVersion.Core/Core/Attributes/JsonPropertyPatternAttribute.cs rename to src/GitVersion.Abstractions/Common/Attributes/JsonPropertyPatternAttribute.cs diff --git a/src/GitVersion.Core/Core/Abstractions/IGitPreparer.cs b/src/GitVersion.Abstractions/Common/IGitPreparer.cs similarity index 100% rename from src/GitVersion.Core/Core/Abstractions/IGitPreparer.cs rename to src/GitVersion.Abstractions/Common/IGitPreparer.cs diff --git a/src/GitVersion.Core/Core/Abstractions/IGitVersionCalculateTool.cs b/src/GitVersion.Abstractions/Common/IGitVersionCalculateTool.cs similarity index 100% rename from src/GitVersion.Core/Core/Abstractions/IGitVersionCalculateTool.cs rename to src/GitVersion.Abstractions/Common/IGitVersionCalculateTool.cs diff --git a/src/GitVersion.Core/Core/Abstractions/IGitVersionContextFactory.cs b/src/GitVersion.Abstractions/Common/IGitVersionContextFactory.cs similarity index 100% rename from src/GitVersion.Core/Core/Abstractions/IGitVersionContextFactory.cs rename to src/GitVersion.Abstractions/Common/IGitVersionContextFactory.cs diff --git a/src/GitVersion.Core/Core/Abstractions/IRepositoryStore.cs b/src/GitVersion.Abstractions/Common/IRepositoryStore.cs similarity index 100% rename from src/GitVersion.Core/Core/Abstractions/IRepositoryStore.cs rename to src/GitVersion.Abstractions/Common/IRepositoryStore.cs diff --git a/src/GitVersion.Core/BranchCommit.cs b/src/GitVersion.Abstractions/Common/Models/BranchCommit.cs similarity index 100% rename from src/GitVersion.Core/BranchCommit.cs rename to src/GitVersion.Abstractions/Common/Models/BranchCommit.cs diff --git a/src/GitVersion.Core/GitVersionContext.cs b/src/GitVersion.Abstractions/Common/Models/GitVersionContext.cs similarity index 100% rename from src/GitVersion.Core/GitVersionContext.cs rename to src/GitVersion.Abstractions/Common/Models/GitVersionContext.cs diff --git a/src/GitVersion.Abstractions/Common/GitVersionVariables.cs b/src/GitVersion.Abstractions/Common/Models/GitVersionVariables.cs similarity index 100% rename from src/GitVersion.Abstractions/Common/GitVersionVariables.cs rename to src/GitVersion.Abstractions/Common/Models/GitVersionVariables.cs diff --git a/src/GitVersion.Abstractions/Common/LogLevel.cs b/src/GitVersion.Abstractions/Common/Models/LogLevel.cs similarity index 100% rename from src/GitVersion.Abstractions/Common/LogLevel.cs rename to src/GitVersion.Abstractions/Common/Models/LogLevel.cs diff --git a/src/GitVersion.Abstractions/Common/Verbosity.cs b/src/GitVersion.Abstractions/Common/Models/Verbosity.cs similarity index 100% rename from src/GitVersion.Abstractions/Common/Verbosity.cs rename to src/GitVersion.Abstractions/Common/Models/Verbosity.cs diff --git a/src/GitVersion.Core/Configuration/IConfigurationBuilder.cs b/src/GitVersion.Abstractions/Configuration/IConfigurationBuilder.cs similarity index 100% rename from src/GitVersion.Core/Configuration/IConfigurationBuilder.cs rename to src/GitVersion.Abstractions/Configuration/IConfigurationBuilder.cs diff --git a/src/GitVersion.Core/Options/AssemblySettingsInfo.cs b/src/GitVersion.Abstractions/Options/AssemblySettingsInfo.cs similarity index 100% rename from src/GitVersion.Core/Options/AssemblySettingsInfo.cs rename to src/GitVersion.Abstractions/Options/AssemblySettingsInfo.cs diff --git a/src/GitVersion.Core/Options/ConfigurationInfo.cs b/src/GitVersion.Abstractions/Options/ConfigurationInfo.cs similarity index 100% rename from src/GitVersion.Core/Options/ConfigurationInfo.cs rename to src/GitVersion.Abstractions/Options/ConfigurationInfo.cs diff --git a/src/GitVersion.Core/Options/FileWriteInfo.cs b/src/GitVersion.Abstractions/Options/FileWriteInfo.cs similarity index 100% rename from src/GitVersion.Core/Options/FileWriteInfo.cs rename to src/GitVersion.Abstractions/Options/FileWriteInfo.cs diff --git a/src/GitVersion.Core/Options/GitVersionOptions.cs b/src/GitVersion.Abstractions/Options/GitVersionOptions.cs similarity index 89% rename from src/GitVersion.Core/Options/GitVersionOptions.cs rename to src/GitVersion.Abstractions/Options/GitVersionOptions.cs index 42feb102a7..3b282f05d3 100644 --- a/src/GitVersion.Core/Options/GitVersionOptions.cs +++ b/src/GitVersion.Abstractions/Options/GitVersionOptions.cs @@ -4,7 +4,7 @@ namespace GitVersion; public class GitVersionOptions { - public string WorkingDirectory { get; set; } = System.Environment.CurrentDirectory; + public string WorkingDirectory { get; set; } = Environment.CurrentDirectory; public AssemblySettingsInfo AssemblySettingsInfo { get; } = new(); public AuthenticationInfo AuthenticationInfo { get; } = new(); diff --git a/src/GitVersion.Core/Options/OutputType.cs b/src/GitVersion.Abstractions/Options/OutputType.cs similarity index 100% rename from src/GitVersion.Core/Options/OutputType.cs rename to src/GitVersion.Abstractions/Options/OutputType.cs diff --git a/src/GitVersion.Core/Options/RepositoryInfo.cs b/src/GitVersion.Abstractions/Options/RepositoryInfo.cs similarity index 100% rename from src/GitVersion.Core/Options/RepositoryInfo.cs rename to src/GitVersion.Abstractions/Options/RepositoryInfo.cs diff --git a/src/GitVersion.Core/Options/Settings.cs b/src/GitVersion.Abstractions/Options/Settings.cs similarity index 100% rename from src/GitVersion.Core/Options/Settings.cs rename to src/GitVersion.Abstractions/Options/Settings.cs diff --git a/src/GitVersion.Core/Options/WixInfo.cs b/src/GitVersion.Abstractions/Options/WixInfo.cs similarity index 100% rename from src/GitVersion.Core/Options/WixInfo.cs rename to src/GitVersion.Abstractions/Options/WixInfo.cs From 06d76e5e6e835e1bde7b3c991eeb3e6af6f10447 Mon Sep 17 00:00:00 2001 From: Artur Stolear Date: Tue, 28 Mar 2023 18:01:30 +0200 Subject: [PATCH 7/8] decoupled modules from core and use abstractions instead --- .../GitVersion.Common.csproj | 40 +++++++------- .../Agents/BuildAgentBase.cs | 4 +- .../Common/IGitVersionModule.cs | 9 ++++ .../Common/Models}/LogAction.cs | 0 .../Extensions}/Disposable.cs | 0 .../GitVersionVariablesExtensions.cs | 52 +++++++++++++++++++ .../Extensions}/LogExtensions.cs | 0 .../ReadEmbeddedResourceExtensions.cs | 0 .../Extensions/StringExtensions.cs | 7 +-- .../GitVersion.Abstractions.csproj | 1 + .../Helpers/PathHelper.cs | 0 .../Output}/VersionVariablesJsonModel.cs | 0 .../VersionVariablesJsonStringConverter.cs | 0 .../GitVersion.BuildAgents.csproj | 2 +- .../GitVersionBuildAgentsModule.cs | 6 +-- .../JsonVersionBuilderTests.cs | 2 +- .../VariableProviderTests.cs | 2 +- .../Init/GitVersionInitModule.cs | 6 +-- src/GitVersion.Core/Core/GitVersionModule.cs | 17 ------ .../VersionVariablesHelper.cs | 40 +------------- .../VersionStrategyModule.cs | 6 +-- .../Git/GitRepository.extended.cs | 2 +- .../GitVersion.LibGit2Sharp.csproj | 2 +- .../GitVersion.Output.csproj | 2 +- .../GitVersionInfo/GitVersionInfoGenerator.cs | 2 +- 25 files changed, 105 insertions(+), 97 deletions(-) rename src/{GitVersion.Core => GitVersion.Abstractions}/Agents/BuildAgentBase.cs (95%) rename src/{GitVersion.Core/Logging => GitVersion.Abstractions/Common/Models}/LogAction.cs (100%) rename src/{GitVersion.Core/Logging => GitVersion.Abstractions/Extensions}/Disposable.cs (100%) create mode 100644 src/GitVersion.Abstractions/Extensions/GitVersionVariablesExtensions.cs rename src/{GitVersion.Core/Logging => GitVersion.Abstractions/Extensions}/LogExtensions.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Extensions/ReadEmbeddedResourceExtensions.cs (100%) rename src/{GitVersion.Core => GitVersion.Abstractions}/Helpers/PathHelper.cs (100%) rename src/{GitVersion.Core/OutputVariables => GitVersion.Abstractions/Output}/VersionVariablesJsonModel.cs (100%) rename src/{GitVersion.Core/OutputVariables => GitVersion.Abstractions/Output}/VersionVariablesJsonStringConverter.cs (100%) delete mode 100644 src/GitVersion.Core/Core/GitVersionModule.cs rename src/GitVersion.Core/{OutputVariables => Helpers}/VersionVariablesHelper.cs (58%) diff --git a/new-cli/GitVersion.Common/GitVersion.Common.csproj b/new-cli/GitVersion.Common/GitVersion.Common.csproj index f2507e4fbd..a8d47b764c 100644 --- a/new-cli/GitVersion.Common/GitVersion.Common.csproj +++ b/new-cli/GitVersion.Common/GitVersion.Common.csproj @@ -3,64 +3,64 @@ - + Git\AuthenticationInfo.cs - + Git\CommitFilter.cs - + Git\IBranch.cs - + Git\IBranchCollection.cs - + Git\ICommit.cs - + Git\ICommitCollection.cs - + Git\IGitObject.cs - + Git\IGitRepository.cs - + Git\INamedReference.cs - + Git\IObjectId.cs - + Git\IReference.cs - + Git\IReferenceCollection.cs - + Git\IRefSpec.cs - + Git\IRefSpecCollection.cs - + Git\IRemote.cs - + Git\IRemoteCollection.cs - + Git\ITag.cs - + Git\ITagCollection.cs - + Git\ReferenceName.cs - + Git\RefSpecDirection.cs diff --git a/src/GitVersion.Core/Agents/BuildAgentBase.cs b/src/GitVersion.Abstractions/Agents/BuildAgentBase.cs similarity index 95% rename from src/GitVersion.Core/Agents/BuildAgentBase.cs rename to src/GitVersion.Abstractions/Agents/BuildAgentBase.cs index e3b572a942..5d20668153 100644 --- a/src/GitVersion.Core/Agents/BuildAgentBase.cs +++ b/src/GitVersion.Abstractions/Agents/BuildAgentBase.cs @@ -7,12 +7,12 @@ namespace GitVersion.Agents; public abstract class BuildAgentBase : ICurrentBuildAgent { protected readonly ILog Log; - protected IEnvironment Environment { get; } + protected IEnvironment Environment; protected BuildAgentBase(IEnvironment environment, ILog log) { this.Log = log; - Environment = environment; + this.Environment = environment; } protected abstract string EnvironmentVariable { get; } diff --git a/src/GitVersion.Abstractions/Common/IGitVersionModule.cs b/src/GitVersion.Abstractions/Common/IGitVersionModule.cs index e1461d9fc2..0d8e217a35 100644 --- a/src/GitVersion.Abstractions/Common/IGitVersionModule.cs +++ b/src/GitVersion.Abstractions/Common/IGitVersionModule.cs @@ -1,3 +1,4 @@ +using GitVersion.Extensions; using Microsoft.Extensions.DependencyInjection; namespace GitVersion; @@ -5,4 +6,12 @@ namespace GitVersion; public interface IGitVersionModule { void RegisterTypes(IServiceCollection services); + + static IEnumerable FindAllDerivedTypes(Assembly? assembly) + { + assembly.NotNull(); + + var derivedType = typeof(T); + return assembly.GetTypes().Where(t => t != derivedType && derivedType.IsAssignableFrom(t)); + } } diff --git a/src/GitVersion.Core/Logging/LogAction.cs b/src/GitVersion.Abstractions/Common/Models/LogAction.cs similarity index 100% rename from src/GitVersion.Core/Logging/LogAction.cs rename to src/GitVersion.Abstractions/Common/Models/LogAction.cs diff --git a/src/GitVersion.Core/Logging/Disposable.cs b/src/GitVersion.Abstractions/Extensions/Disposable.cs similarity index 100% rename from src/GitVersion.Core/Logging/Disposable.cs rename to src/GitVersion.Abstractions/Extensions/Disposable.cs diff --git a/src/GitVersion.Abstractions/Extensions/GitVersionVariablesExtensions.cs b/src/GitVersion.Abstractions/Extensions/GitVersionVariablesExtensions.cs new file mode 100644 index 0000000000..402a2de16f --- /dev/null +++ b/src/GitVersion.Abstractions/Extensions/GitVersionVariablesExtensions.cs @@ -0,0 +1,52 @@ +using System.Text.Encodings.Web; +using GitVersion.OutputVariables; + +namespace GitVersion.Extensions; + +public static class GitVersionVariablesExtensions +{ + public static string ToJsonString(this GitVersionVariables gitVersionVariables) + { + var variablesType = typeof(VersionVariablesJsonModel); + var variables = new VersionVariablesJsonModel(); + + foreach (var (key, value) in gitVersionVariables.OrderBy(x => x.Key)) + { + var propertyInfo = variablesType.GetProperty(key); + propertyInfo?.SetValue(variables, ChangeType(value, propertyInfo.PropertyType)); + } + + var serializeOptions = GetJsonSerializerOptions(); + + return JsonSerializer.Serialize(variables, serializeOptions); + } + + public static JsonSerializerOptions GetJsonSerializerOptions() + { + var serializeOptions = new JsonSerializerOptions + { + WriteIndented = true, + Encoder = JavaScriptEncoder.UnsafeRelaxedJsonEscaping, + Converters = + { + new VersionVariablesJsonStringConverter() + } + }; + return serializeOptions; + } + + private static object? ChangeType(object? value, Type type) + { + if (type.IsGenericType && type.GetGenericTypeDefinition() == typeof(Nullable<>)) + { + if (value == null || value.ToString()?.Length == 0) + { + return null; + } + + type = Nullable.GetUnderlyingType(type)!; + } + + return Convert.ChangeType(value, type); + } +} diff --git a/src/GitVersion.Core/Logging/LogExtensions.cs b/src/GitVersion.Abstractions/Extensions/LogExtensions.cs similarity index 100% rename from src/GitVersion.Core/Logging/LogExtensions.cs rename to src/GitVersion.Abstractions/Extensions/LogExtensions.cs diff --git a/src/GitVersion.Core/Extensions/ReadEmbeddedResourceExtensions.cs b/src/GitVersion.Abstractions/Extensions/ReadEmbeddedResourceExtensions.cs similarity index 100% rename from src/GitVersion.Core/Extensions/ReadEmbeddedResourceExtensions.cs rename to src/GitVersion.Abstractions/Extensions/ReadEmbeddedResourceExtensions.cs diff --git a/src/GitVersion.Abstractions/Extensions/StringExtensions.cs b/src/GitVersion.Abstractions/Extensions/StringExtensions.cs index 71098fc6e4..5b59212455 100644 --- a/src/GitVersion.Abstractions/Extensions/StringExtensions.cs +++ b/src/GitVersion.Abstractions/Extensions/StringExtensions.cs @@ -1,5 +1,6 @@ using System.Diagnostics.CodeAnalysis; using System.Text.RegularExpressions; +using GitVersion.Helpers; namespace GitVersion.Extensions; @@ -19,15 +20,15 @@ public static bool IsValidPath(this string? path) try { - _ = Path.GetFullPath(path); + _ = PathHelper.GetFullPath(path); } catch { - path = Path.Combine(Environment.CurrentDirectory, path); + path = PathHelper.Combine(Environment.CurrentDirectory, path); try { - _ = Path.GetFullPath(path); + _ = PathHelper.GetFullPath(path); } catch { diff --git a/src/GitVersion.Abstractions/GitVersion.Abstractions.csproj b/src/GitVersion.Abstractions/GitVersion.Abstractions.csproj index cb02a597d7..da0548d063 100644 --- a/src/GitVersion.Abstractions/GitVersion.Abstractions.csproj +++ b/src/GitVersion.Abstractions/GitVersion.Abstractions.csproj @@ -10,6 +10,7 @@ + diff --git a/src/GitVersion.Core/Helpers/PathHelper.cs b/src/GitVersion.Abstractions/Helpers/PathHelper.cs similarity index 100% rename from src/GitVersion.Core/Helpers/PathHelper.cs rename to src/GitVersion.Abstractions/Helpers/PathHelper.cs diff --git a/src/GitVersion.Core/OutputVariables/VersionVariablesJsonModel.cs b/src/GitVersion.Abstractions/Output/VersionVariablesJsonModel.cs similarity index 100% rename from src/GitVersion.Core/OutputVariables/VersionVariablesJsonModel.cs rename to src/GitVersion.Abstractions/Output/VersionVariablesJsonModel.cs diff --git a/src/GitVersion.Core/OutputVariables/VersionVariablesJsonStringConverter.cs b/src/GitVersion.Abstractions/Output/VersionVariablesJsonStringConverter.cs similarity index 100% rename from src/GitVersion.Core/OutputVariables/VersionVariablesJsonStringConverter.cs rename to src/GitVersion.Abstractions/Output/VersionVariablesJsonStringConverter.cs diff --git a/src/GitVersion.BuildAgents/GitVersion.BuildAgents.csproj b/src/GitVersion.BuildAgents/GitVersion.BuildAgents.csproj index 3c0a2f6225..cb33a82c90 100644 --- a/src/GitVersion.BuildAgents/GitVersion.BuildAgents.csproj +++ b/src/GitVersion.BuildAgents/GitVersion.BuildAgents.csproj @@ -1,6 +1,6 @@ - + diff --git a/src/GitVersion.BuildAgents/GitVersionBuildAgentsModule.cs b/src/GitVersion.BuildAgents/GitVersionBuildAgentsModule.cs index 171fed7bb4..17ba4b85b8 100644 --- a/src/GitVersion.BuildAgents/GitVersionBuildAgentsModule.cs +++ b/src/GitVersion.BuildAgents/GitVersionBuildAgentsModule.cs @@ -2,11 +2,11 @@ namespace GitVersion.Agents; -public class GitVersionBuildAgentsModule : GitVersionModule +public class GitVersionBuildAgentsModule : IGitVersionModule { - public override void RegisterTypes(IServiceCollection services) + public void RegisterTypes(IServiceCollection services) { - var buildAgents = FindAllDerivedTypes(Assembly.GetAssembly(GetType())); + var buildAgents = IGitVersionModule.FindAllDerivedTypes(Assembly.GetAssembly(GetType())); foreach (var buildAgent in buildAgents) { diff --git a/src/GitVersion.Core.Tests/VersionCalculation/JsonVersionBuilderTests.cs b/src/GitVersion.Core.Tests/VersionCalculation/JsonVersionBuilderTests.cs index de0f59334a..59b7c1fc4d 100644 --- a/src/GitVersion.Core.Tests/VersionCalculation/JsonVersionBuilderTests.cs +++ b/src/GitVersion.Core.Tests/VersionCalculation/JsonVersionBuilderTests.cs @@ -1,5 +1,5 @@ using GitVersion.Core.Tests.Helpers; -using GitVersion.OutputVariables; +using GitVersion.Extensions; using GitVersion.VersionCalculation; using Microsoft.Extensions.DependencyInjection; diff --git a/src/GitVersion.Core.Tests/VersionCalculation/VariableProviderTests.cs b/src/GitVersion.Core.Tests/VersionCalculation/VariableProviderTests.cs index 2306d62f38..07e9d2f399 100644 --- a/src/GitVersion.Core.Tests/VersionCalculation/VariableProviderTests.cs +++ b/src/GitVersion.Core.Tests/VersionCalculation/VariableProviderTests.cs @@ -1,6 +1,6 @@ using GitVersion.Core.Tests.Helpers; +using GitVersion.Extensions; using GitVersion.Logging; -using GitVersion.OutputVariables; using GitVersion.VersionCalculation; using Microsoft.Extensions.DependencyInjection; diff --git a/src/GitVersion.Core/Configuration/Init/GitVersionInitModule.cs b/src/GitVersion.Core/Configuration/Init/GitVersionInitModule.cs index 156fca30c7..048d81c233 100644 --- a/src/GitVersion.Core/Configuration/Init/GitVersionInitModule.cs +++ b/src/GitVersion.Core/Configuration/Init/GitVersionInitModule.cs @@ -3,14 +3,14 @@ namespace GitVersion.Configuration.Init; -public class GitVersionInitModule : GitVersionModule +public class GitVersionInitModule : IGitVersionModule { - public override void RegisterTypes(IServiceCollection services) + public void RegisterTypes(IServiceCollection services) { services.AddTransient(); services.AddTransient(); - var steps = FindAllDerivedTypes(Assembly.GetAssembly(GetType())); + var steps = IGitVersionModule.FindAllDerivedTypes(Assembly.GetAssembly(GetType())); foreach (var step in steps) { diff --git a/src/GitVersion.Core/Core/GitVersionModule.cs b/src/GitVersion.Core/Core/GitVersionModule.cs deleted file mode 100644 index f9b24a65e0..0000000000 --- a/src/GitVersion.Core/Core/GitVersionModule.cs +++ /dev/null @@ -1,17 +0,0 @@ -using GitVersion.Extensions; -using Microsoft.Extensions.DependencyInjection; - -namespace GitVersion; - -public abstract class GitVersionModule : IGitVersionModule -{ - public abstract void RegisterTypes(IServiceCollection services); - - protected static IEnumerable FindAllDerivedTypes(Assembly? assembly) - { - assembly.NotNull(); - - var derivedType = typeof(T); - return assembly.GetTypes().Where(t => t != derivedType && derivedType.IsAssignableFrom(t)); - } -} diff --git a/src/GitVersion.Core/OutputVariables/VersionVariablesHelper.cs b/src/GitVersion.Core/Helpers/VersionVariablesHelper.cs similarity index 58% rename from src/GitVersion.Core/OutputVariables/VersionVariablesHelper.cs rename to src/GitVersion.Core/Helpers/VersionVariablesHelper.cs index 5a41df3a74..e66f26819f 100644 --- a/src/GitVersion.Core/OutputVariables/VersionVariablesHelper.cs +++ b/src/GitVersion.Core/Helpers/VersionVariablesHelper.cs @@ -1,4 +1,3 @@ -using System.Text.Encodings.Web; using GitVersion.Extensions; using GitVersion.Helpers; using YamlDotNet.Serialization; @@ -9,7 +8,7 @@ public static class VersionVariablesHelper { public static GitVersionVariables FromJson(string json) { - var serializeOptions = JsonSerializerOptions(); + var serializeOptions = GitVersionVariablesExtensions.GetJsonSerializerOptions(); var variablePairs = JsonSerializer.Deserialize>(json, serializeOptions); return FromDictionary(variablePairs); } @@ -33,22 +32,6 @@ public static GitVersionVariables FromFile(string filePath, IFileSystem fileSyst } } - public static string ToJsonString(this GitVersionVariables gitVersionVariables) - { - var variablesType = typeof(VersionVariablesJsonModel); - var variables = new VersionVariablesJsonModel(); - - foreach (var (key, value) in gitVersionVariables.OrderBy(x => x.Key)) - { - var propertyInfo = variablesType.GetProperty(key); - propertyInfo?.SetValue(variables, ChangeType(value, propertyInfo.PropertyType)); - } - - var serializeOptions = JsonSerializerOptions(); - - return JsonSerializer.Serialize(variables, serializeOptions); - } - private static GitVersionVariables FromDictionary(IEnumerable>? properties) { var type = typeof(GitVersionVariables); @@ -71,25 +54,4 @@ private static GitVersionVariables FromFileInternal(string filePath, IFileSystem var versionVariables = FromDictionary(dictionary); return versionVariables; } - - private static JsonSerializerOptions JsonSerializerOptions() - { - var serializeOptions = new JsonSerializerOptions { WriteIndented = true, Encoder = JavaScriptEncoder.UnsafeRelaxedJsonEscaping, Converters = { new VersionVariablesJsonStringConverter() } }; - return serializeOptions; - } - - private static object? ChangeType(object? value, Type type) - { - if (type.IsGenericType && type.GetGenericTypeDefinition() == typeof(Nullable<>)) - { - if (value == null || value.ToString()?.Length == 0) - { - return null; - } - - type = Nullable.GetUnderlyingType(type)!; - } - - return Convert.ChangeType(value, type); - } } diff --git a/src/GitVersion.Core/VersionCalculation/BaseVersionCalculators/VersionStrategyModule.cs b/src/GitVersion.Core/VersionCalculation/BaseVersionCalculators/VersionStrategyModule.cs index 1721e51100..23d0580365 100644 --- a/src/GitVersion.Core/VersionCalculation/BaseVersionCalculators/VersionStrategyModule.cs +++ b/src/GitVersion.Core/VersionCalculation/BaseVersionCalculators/VersionStrategyModule.cs @@ -2,11 +2,11 @@ namespace GitVersion.VersionCalculation; -public class VersionStrategyModule : GitVersionModule +public class VersionStrategyModule : IGitVersionModule { - public override void RegisterTypes(IServiceCollection services) + public void RegisterTypes(IServiceCollection services) { - var versionStrategies = FindAllDerivedTypes(Assembly.GetAssembly(GetType())) + var versionStrategies = IGitVersionModule.FindAllDerivedTypes(Assembly.GetAssembly(GetType())) .Where(x => x is { IsAbstract: false, IsInterface: false }); foreach (var versionStrategy in versionStrategies) diff --git a/src/GitVersion.LibGit2Sharp/Git/GitRepository.extended.cs b/src/GitVersion.LibGit2Sharp/Git/GitRepository.extended.cs index 8eb35ecc5f..494db200c3 100644 --- a/src/GitVersion.LibGit2Sharp/Git/GitRepository.extended.cs +++ b/src/GitVersion.LibGit2Sharp/Git/GitRepository.extended.cs @@ -92,7 +92,7 @@ private DirectReference GetPullRequestReference(AuthenticationInfo auth, LibGit2 : network.ListReferences(remote)) .Select(r => r.ResolveToDirectReference()).ToList(); - this.log.Info($"Remote Refs:{System.Environment.NewLine}" + string.Join(System.Environment.NewLine, remoteTips.Select(r => r.CanonicalName))); + this.log.Info($"Remote Refs:{Environment.NewLine}" + string.Join(Environment.NewLine, remoteTips.Select(r => r.CanonicalName))); var refs = remoteTips.Where(r => r.TargetIdentifier == headTipSha).ToList(); switch (refs.Count) diff --git a/src/GitVersion.LibGit2Sharp/GitVersion.LibGit2Sharp.csproj b/src/GitVersion.LibGit2Sharp/GitVersion.LibGit2Sharp.csproj index b291454cae..e4341c50ec 100644 --- a/src/GitVersion.LibGit2Sharp/GitVersion.LibGit2Sharp.csproj +++ b/src/GitVersion.LibGit2Sharp/GitVersion.LibGit2Sharp.csproj @@ -5,7 +5,7 @@ - + diff --git a/src/GitVersion.Output/GitVersion.Output.csproj b/src/GitVersion.Output/GitVersion.Output.csproj index cba67d4847..f4d4a65785 100644 --- a/src/GitVersion.Output/GitVersion.Output.csproj +++ b/src/GitVersion.Output/GitVersion.Output.csproj @@ -1,6 +1,6 @@ - + diff --git a/src/GitVersion.Output/GitVersionInfo/GitVersionInfoGenerator.cs b/src/GitVersion.Output/GitVersionInfo/GitVersionInfoGenerator.cs index 487e579a72..ec27c0a316 100644 --- a/src/GitVersion.Output/GitVersionInfo/GitVersionInfoGenerator.cs +++ b/src/GitVersion.Output/GitVersionInfo/GitVersionInfoGenerator.cs @@ -42,7 +42,7 @@ public void Execute(GitVersionVariables variables, GitVersionInfoContext context var indentation = GetIndentation(fileExtension); var lines = variables.OrderBy(x => x.Key).Select(v => string.Format(indentation + addFormat, v.Key, v.Value)); - var members = string.Join(System.Environment.NewLine, lines); + var members = string.Join(Environment.NewLine, lines); var fileContents = string.Format(template, members); From ea49bfa6bb69b790342cdf61abb4851fb6c91aa1 Mon Sep 17 00:00:00 2001 From: Artur Stolear Date: Tue, 28 Mar 2023 18:04:27 +0200 Subject: [PATCH 8/8] fix api analyzer errors --- src/Directory.Build.props | 2 +- .../PublicAPI.Shipped.txt | 1 + .../PublicAPI.Unshipped.txt | 731 +++++++++++++++ .../PublicAPI.Unshipped.txt | 2 +- src/GitVersion.Core/PublicAPI.Unshipped.txt | 849 +----------------- src/GitVersion.Output/PublicAPI.Unshipped.txt | 23 +- 6 files changed, 775 insertions(+), 833 deletions(-) create mode 100644 src/GitVersion.Abstractions/PublicAPI.Shipped.txt create mode 100644 src/GitVersion.Abstractions/PublicAPI.Unshipped.txt diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 81cab381df..45ee37a73e 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -32,7 +32,7 @@ true false - true + false true diff --git a/src/GitVersion.Abstractions/PublicAPI.Shipped.txt b/src/GitVersion.Abstractions/PublicAPI.Shipped.txt new file mode 100644 index 0000000000..7dc5c58110 --- /dev/null +++ b/src/GitVersion.Abstractions/PublicAPI.Shipped.txt @@ -0,0 +1 @@ +#nullable enable diff --git a/src/GitVersion.Abstractions/PublicAPI.Unshipped.txt b/src/GitVersion.Abstractions/PublicAPI.Unshipped.txt new file mode 100644 index 0000000000..35dfa191a5 --- /dev/null +++ b/src/GitVersion.Abstractions/PublicAPI.Unshipped.txt @@ -0,0 +1,731 @@ +#nullable enable +GitVersion.Agents.BuildAgentBase +GitVersion.Agents.BuildAgentBase.BuildAgentBase(GitVersion.IEnvironment! environment, GitVersion.Logging.ILog! log) -> void +GitVersion.Agents.BuildAgentBase.Environment -> GitVersion.IEnvironment! +GitVersion.Agents.BuildAgentBase.GenerateBuildLogOutput(GitVersion.OutputVariables.GitVersionVariables! variables) -> System.Collections.Generic.IEnumerable! +GitVersion.Agents.IBuildAgent +GitVersion.Agents.IBuildAgent.CanApplyToCurrentContext() -> bool +GitVersion.Agents.IBuildAgent.GetCurrentBranch(bool usingDynamicRepos) -> string? +GitVersion.Agents.IBuildAgent.IsDefault.get -> bool +GitVersion.Agents.IBuildAgent.PreventFetch() -> bool +GitVersion.Agents.IBuildAgent.ShouldCleanUpRemotes() -> bool +GitVersion.Agents.IBuildAgent.WriteIntegration(System.Action! writer, GitVersion.OutputVariables.GitVersionVariables! variables, bool updateBuildNumber = true) -> void +GitVersion.Agents.IBuildAgentResolver +GitVersion.Agents.IBuildAgentResolver.Resolve() -> GitVersion.Agents.ICurrentBuildAgent! +GitVersion.Agents.ICurrentBuildAgent +GitVersion.AssemblySettingsInfo +GitVersion.AssemblySettingsInfo.AssemblySettingsInfo() -> void +GitVersion.AssemblySettingsInfo.EnsureAssemblyInfo -> bool +GitVersion.AssemblySettingsInfo.Files -> System.Collections.Generic.ISet! +GitVersion.AssemblySettingsInfo.UpdateAssemblyInfo -> bool +GitVersion.AssemblySettingsInfo.UpdateProjectFiles -> bool +GitVersion.Attributes.JsonPropertyDescriptionAttribute +GitVersion.Attributes.JsonPropertyDescriptionAttribute.Description.get -> string! +GitVersion.Attributes.JsonPropertyDescriptionAttribute.JsonPropertyDescriptionAttribute(string! description) -> void +GitVersion.Attributes.JsonPropertyPatternAttribute +GitVersion.Attributes.JsonPropertyPatternAttribute.Format.get -> GitVersion.Attributes.PatternFormat +GitVersion.Attributes.JsonPropertyPatternAttribute.JsonPropertyPatternAttribute(string! pattern, GitVersion.Attributes.PatternFormat format = GitVersion.Attributes.PatternFormat.Regex) -> void +GitVersion.Attributes.JsonPropertyPatternAttribute.Pattern.get -> string! +GitVersion.Attributes.PatternFormat +GitVersion.Attributes.PatternFormat.DateTime = 1 -> GitVersion.Attributes.PatternFormat +GitVersion.Attributes.PatternFormat.Regex = 0 -> GitVersion.Attributes.PatternFormat +GitVersion.AuthenticationInfo +GitVersion.AuthenticationInfo.AuthenticationInfo() -> void +GitVersion.AuthenticationInfo.Password.get -> string? +GitVersion.AuthenticationInfo.Password.set -> void +GitVersion.AuthenticationInfo.Token.get -> string? +GitVersion.AuthenticationInfo.Token.set -> void +GitVersion.AuthenticationInfo.Username.get -> string? +GitVersion.AuthenticationInfo.Username.set -> void +GitVersion.BranchCommit +GitVersion.BranchCommit.Branch.get -> GitVersion.IBranch! +GitVersion.BranchCommit.BranchCommit() -> void +GitVersion.BranchCommit.BranchCommit(GitVersion.ICommit! commit, GitVersion.IBranch! branch) -> void +GitVersion.BranchCommit.Commit.get -> GitVersion.ICommit! +GitVersion.BranchCommit.Equals(GitVersion.BranchCommit? other) -> bool +GitVersion.BugException +GitVersion.BugException.BugException() -> void +GitVersion.BugException.BugException(string! message) -> void +GitVersion.BugException.BugException(string? message, System.Exception? innerException) -> void +GitVersion.CommitFilter +GitVersion.CommitFilter.CommitFilter() -> void +GitVersion.CommitFilter.ExcludeReachableFrom.get -> object? +GitVersion.CommitFilter.ExcludeReachableFrom.set -> void +GitVersion.CommitFilter.FirstParentOnly.get -> bool +GitVersion.CommitFilter.FirstParentOnly.set -> void +GitVersion.CommitFilter.IncludeReachableFrom.get -> object? +GitVersion.CommitFilter.IncludeReachableFrom.set -> void +GitVersion.CommitFilter.SortBy.get -> GitVersion.CommitSortStrategies +GitVersion.CommitFilter.SortBy.set -> void +GitVersion.CommitSortStrategies +GitVersion.CommitSortStrategies.None = 0 -> GitVersion.CommitSortStrategies +GitVersion.CommitSortStrategies.Reverse = 4 -> GitVersion.CommitSortStrategies +GitVersion.CommitSortStrategies.Time = 2 -> GitVersion.CommitSortStrategies +GitVersion.CommitSortStrategies.Topological = 1 -> GitVersion.CommitSortStrategies +GitVersion.Common.IRepositoryStore +GitVersion.Common.IRepositoryStore.ExcludingBranches(System.Collections.Generic.IEnumerable! branchesToExclude) -> System.Collections.Generic.IEnumerable! +GitVersion.Common.IRepositoryStore.FindBranch(string? branchName) -> GitVersion.IBranch? +GitVersion.Common.IRepositoryStore.FindCommitBranchWasBranchedFrom(GitVersion.IBranch? branch, GitVersion.Configuration.IGitVersionConfiguration! configuration, params GitVersion.IBranch![]! excludedBranches) -> GitVersion.BranchCommit +GitVersion.Common.IRepositoryStore.FindCommitBranchesWasBranchedFrom(GitVersion.IBranch! branch, GitVersion.Configuration.IGitVersionConfiguration! configuration, System.Collections.Generic.IEnumerable! excludedBranches) -> System.Collections.Generic.IEnumerable! +GitVersion.Common.IRepositoryStore.FindCommitBranchesWasBranchedFrom(GitVersion.IBranch! branch, GitVersion.Configuration.IGitVersionConfiguration! configuration, params GitVersion.IBranch![]! excludedBranches) -> System.Collections.Generic.IEnumerable! +GitVersion.Common.IRepositoryStore.FindMainBranch(GitVersion.Configuration.IGitVersionConfiguration! configuration) -> GitVersion.IBranch? +GitVersion.Common.IRepositoryStore.FindMainlineBranches(GitVersion.Configuration.IGitVersionConfiguration! configuration) -> System.Collections.Generic.IEnumerable! +GitVersion.Common.IRepositoryStore.FindMergeBase(GitVersion.IBranch? branch, GitVersion.IBranch? otherBranch) -> GitVersion.ICommit? +GitVersion.Common.IRepositoryStore.FindMergeBase(GitVersion.ICommit! commit, GitVersion.ICommit! mainlineTip) -> GitVersion.ICommit? +GitVersion.Common.IRepositoryStore.GetBranchesContainingCommit(GitVersion.ICommit? commit, System.Collections.Generic.IEnumerable? branches = null, bool onlyTrackedBranches = false) -> System.Collections.Generic.IEnumerable! +GitVersion.Common.IRepositoryStore.GetCommitLog(GitVersion.ICommit? baseVersionSource, GitVersion.ICommit? currentCommit) -> System.Collections.Generic.IEnumerable! +GitVersion.Common.IRepositoryStore.GetCurrentCommit(GitVersion.IBranch! currentBranch, string? commitId) -> GitVersion.ICommit? +GitVersion.Common.IRepositoryStore.GetCurrentCommitTaggedVersion(GitVersion.ICommit? commit, string? tagPrefix, GitVersion.SemanticVersionFormat format, bool handleDetachedBranch) -> GitVersion.SemanticVersion? +GitVersion.Common.IRepositoryStore.GetMainlineBranches(GitVersion.ICommit! commit, GitVersion.Configuration.IGitVersionConfiguration! configuration) -> System.Collections.Generic.IDictionary!>! +GitVersion.Common.IRepositoryStore.GetMainlineCommitLog(GitVersion.ICommit? baseVersionSource, GitVersion.ICommit? mainlineTip) -> System.Collections.Generic.IEnumerable! +GitVersion.Common.IRepositoryStore.GetMergeBaseCommits(GitVersion.ICommit? mergeCommit, GitVersion.ICommit? mergedHead, GitVersion.ICommit? findMergeBase) -> System.Collections.Generic.IEnumerable! +GitVersion.Common.IRepositoryStore.GetNumberOfUncommittedChanges() -> int +GitVersion.Common.IRepositoryStore.GetReleaseBranches(System.Collections.Generic.IEnumerable>! releaseBranchConfig) -> System.Collections.Generic.IEnumerable! +GitVersion.Common.IRepositoryStore.GetSourceBranches(GitVersion.IBranch! branch, GitVersion.Configuration.IGitVersionConfiguration! configuration, System.Collections.Generic.IEnumerable! excludedBranches) -> System.Collections.Generic.IEnumerable! +GitVersion.Common.IRepositoryStore.GetSourceBranches(GitVersion.IBranch! branch, GitVersion.Configuration.IGitVersionConfiguration! configuration, params GitVersion.IBranch![]! excludedBranches) -> System.Collections.Generic.IEnumerable! +GitVersion.Common.IRepositoryStore.GetTaggedSemanticVersions(string? labelPrefix, GitVersion.SemanticVersionFormat format) -> System.Collections.Generic.IReadOnlyList! +GitVersion.Common.IRepositoryStore.GetTaggedSemanticVersionsOnBranch(GitVersion.IBranch! branch, string? labelPrefix, GitVersion.SemanticVersionFormat format) -> System.Collections.Generic.IReadOnlyList! +GitVersion.Common.IRepositoryStore.GetTargetBranch(string? targetBranchName) -> GitVersion.IBranch! +GitVersion.Common.IRepositoryStore.GetVersionTagsOnBranch(GitVersion.IBranch! branch, string? labelPrefix, GitVersion.SemanticVersionFormat format) -> System.Collections.Generic.IEnumerable! +GitVersion.Common.IRepositoryStore.IsCommitOnBranch(GitVersion.ICommit? baseVersionSource, GitVersion.IBranch! branch, GitVersion.ICommit! firstMatchingCommit) -> bool +GitVersion.Configuration.IBranchConfiguration +GitVersion.Configuration.IBranchConfiguration.CommitMessageIncrementing.get -> GitVersion.VersionCalculation.CommitMessageIncrementMode? +GitVersion.Configuration.IBranchConfiguration.Increment.get -> GitVersion.IncrementStrategy +GitVersion.Configuration.IBranchConfiguration.Inherit(GitVersion.Configuration.IBranchConfiguration! configuration) -> GitVersion.Configuration.IBranchConfiguration! +GitVersion.Configuration.IBranchConfiguration.IsMainline.get -> bool? +GitVersion.Configuration.IBranchConfiguration.IsMatch(string! branchName) -> bool +GitVersion.Configuration.IBranchConfiguration.IsReleaseBranch.get -> bool? +GitVersion.Configuration.IBranchConfiguration.IsSourceBranchFor.get -> System.Collections.Generic.IReadOnlyCollection! +GitVersion.Configuration.IBranchConfiguration.Label.get -> string? +GitVersion.Configuration.IBranchConfiguration.LabelNumberPattern.get -> string? +GitVersion.Configuration.IBranchConfiguration.PreReleaseWeight.get -> int? +GitVersion.Configuration.IBranchConfiguration.PreventIncrementOfMergedBranchVersion.get -> bool? +GitVersion.Configuration.IBranchConfiguration.RegularExpression.get -> string? +GitVersion.Configuration.IBranchConfiguration.SourceBranches.get -> System.Collections.Generic.IReadOnlyCollection! +GitVersion.Configuration.IBranchConfiguration.TrackMergeMessage.get -> bool? +GitVersion.Configuration.IBranchConfiguration.TrackMergeTarget.get -> bool? +GitVersion.Configuration.IBranchConfiguration.TracksReleaseBranches.get -> bool? +GitVersion.Configuration.IBranchConfiguration.VersioningMode.get -> GitVersion.VersionCalculation.VersioningMode? +GitVersion.Configuration.IConfigurationFileLocator +GitVersion.Configuration.IConfigurationFileLocator.ReadConfiguration(string? configFilePath) -> GitVersion.Configuration.IGitVersionConfiguration! +GitVersion.Configuration.IConfigurationFileLocator.ReadOverrideConfiguration(string? configFilePath) -> System.Collections.Generic.IReadOnlyDictionary? +GitVersion.Configuration.IConfigurationFileLocator.TryGetConfigurationFile(string? workingDirectory, string? projectRootDirectory, out string? configFilePath) -> bool +GitVersion.Configuration.IConfigurationFileLocator.Verify(string? workingDirectory, string? projectRootDirectory) -> void +GitVersion.Configuration.IConfigurationProvider +GitVersion.Configuration.IConfigurationProvider.Init(string! workingDirectory) -> void +GitVersion.Configuration.IConfigurationProvider.Provide(System.Collections.Generic.IReadOnlyDictionary? overrideConfiguration = null) -> GitVersion.Configuration.IGitVersionConfiguration! +GitVersion.Configuration.IGitVersionConfiguration +GitVersion.Configuration.IGitVersionConfiguration.AssemblyFileVersioningFormat.get -> string? +GitVersion.Configuration.IGitVersionConfiguration.AssemblyFileVersioningScheme.get -> GitVersion.Extensions.AssemblyFileVersioningScheme? +GitVersion.Configuration.IGitVersionConfiguration.AssemblyInformationalFormat.get -> string? +GitVersion.Configuration.IGitVersionConfiguration.AssemblyVersioningFormat.get -> string? +GitVersion.Configuration.IGitVersionConfiguration.AssemblyVersioningScheme.get -> GitVersion.Extensions.AssemblyVersioningScheme? +GitVersion.Configuration.IGitVersionConfiguration.Branches.get -> System.Collections.Generic.IReadOnlyDictionary! +GitVersion.Configuration.IGitVersionConfiguration.CommitDateFormat.get -> string? +GitVersion.Configuration.IGitVersionConfiguration.Ignore.get -> GitVersion.Configuration.IIgnoreConfiguration! +GitVersion.Configuration.IGitVersionConfiguration.LabelPreReleaseWeight.get -> int? +GitVersion.Configuration.IGitVersionConfiguration.LabelPrefix.get -> string? +GitVersion.Configuration.IGitVersionConfiguration.MajorVersionBumpMessage.get -> string? +GitVersion.Configuration.IGitVersionConfiguration.MergeMessageFormats.get -> System.Collections.Generic.IReadOnlyDictionary! +GitVersion.Configuration.IGitVersionConfiguration.MinorVersionBumpMessage.get -> string? +GitVersion.Configuration.IGitVersionConfiguration.NextVersion.get -> string? +GitVersion.Configuration.IGitVersionConfiguration.NoBumpMessage.get -> string? +GitVersion.Configuration.IGitVersionConfiguration.PatchVersionBumpMessage.get -> string? +GitVersion.Configuration.IGitVersionConfiguration.SemanticVersionFormat.get -> GitVersion.SemanticVersionFormat +GitVersion.Configuration.IGitVersionConfiguration.UpdateBuildNumber.get -> bool +GitVersion.Configuration.IGitVersionConfiguration.Workflow.get -> string? +GitVersion.Configuration.IIgnoreConfiguration +GitVersion.Configuration.IIgnoreConfiguration.Before.get -> System.DateTimeOffset? +GitVersion.Configuration.IIgnoreConfiguration.IsEmpty.get -> bool +GitVersion.Configuration.IIgnoreConfiguration.Shas.get -> System.Collections.Generic.IReadOnlyCollection! +GitVersion.ConfigurationInfo +GitVersion.ConfigurationInfo.ConfigurationFile -> string? +GitVersion.ConfigurationInfo.ConfigurationInfo() -> void +GitVersion.ConfigurationInfo.OverrideConfiguration -> System.Collections.Generic.IReadOnlyDictionary? +GitVersion.ConfigurationInfo.ShowConfiguration -> bool +GitVersion.Extensions.AssemblyFileVersioningScheme +GitVersion.Extensions.AssemblyFileVersioningScheme.Major = 3 -> GitVersion.Extensions.AssemblyFileVersioningScheme +GitVersion.Extensions.AssemblyFileVersioningScheme.MajorMinor = 2 -> GitVersion.Extensions.AssemblyFileVersioningScheme +GitVersion.Extensions.AssemblyFileVersioningScheme.MajorMinorPatch = 1 -> GitVersion.Extensions.AssemblyFileVersioningScheme +GitVersion.Extensions.AssemblyFileVersioningScheme.MajorMinorPatchTag = 0 -> GitVersion.Extensions.AssemblyFileVersioningScheme +GitVersion.Extensions.AssemblyFileVersioningScheme.None = 4 -> GitVersion.Extensions.AssemblyFileVersioningScheme +GitVersion.Extensions.AssemblyVersioningScheme +GitVersion.Extensions.AssemblyVersioningScheme.Major = 3 -> GitVersion.Extensions.AssemblyVersioningScheme +GitVersion.Extensions.AssemblyVersioningScheme.MajorMinor = 2 -> GitVersion.Extensions.AssemblyVersioningScheme +GitVersion.Extensions.AssemblyVersioningScheme.MajorMinorPatch = 1 -> GitVersion.Extensions.AssemblyVersioningScheme +GitVersion.Extensions.AssemblyVersioningScheme.MajorMinorPatchTag = 0 -> GitVersion.Extensions.AssemblyVersioningScheme +GitVersion.Extensions.AssemblyVersioningScheme.None = 4 -> GitVersion.Extensions.AssemblyVersioningScheme +GitVersion.Extensions.CommonExtensions +GitVersion.Extensions.GitVersionVariablesExtensions +GitVersion.Extensions.ReadEmbeddedResourceExtensions +GitVersion.Extensions.StringExtensions +GitVersion.FileWriteInfo +GitVersion.FileWriteInfo.FileExtension.get -> string! +GitVersion.FileWriteInfo.FileName.get -> string! +GitVersion.FileWriteInfo.FileWriteInfo(string! workingDirectory, string! fileName, string! fileExtension) -> void +GitVersion.FileWriteInfo.WorkingDirectory.get -> string! +GitVersion.GitToolsException +GitVersion.GitToolsException.GitToolsException() -> void +GitVersion.GitToolsException.GitToolsException(string! message, System.Exception! innerException) -> void +GitVersion.GitToolsException.GitToolsException(string! messageFormat, params object![]! args) -> void +GitVersion.GitToolsException.GitToolsException(string? message) -> void +GitVersion.GitVersionContext +GitVersion.GitVersionContext.Configuration.get -> GitVersion.Configuration.IGitVersionConfiguration! +GitVersion.GitVersionContext.CurrentBranch.get -> GitVersion.IBranch! +GitVersion.GitVersionContext.CurrentCommit.get -> GitVersion.ICommit? +GitVersion.GitVersionContext.CurrentCommitTaggedVersion.get -> GitVersion.SemanticVersion? +GitVersion.GitVersionContext.GitVersionContext(GitVersion.IBranch! currentBranch, GitVersion.ICommit? currentCommit, GitVersion.Configuration.IGitVersionConfiguration! configuration, GitVersion.SemanticVersion? currentCommitTaggedVersion, int numberOfUncommittedChanges) -> void +GitVersion.GitVersionContext.IsCurrentCommitTagged.get -> bool +GitVersion.GitVersionContext.NumberOfUncommittedChanges.get -> int +GitVersion.GitVersionException +GitVersion.GitVersionException.GitVersionException() -> void +GitVersion.GitVersionException.GitVersionException(string! message) -> void +GitVersion.GitVersionException.GitVersionException(string! message, System.Exception! innerException) -> void +GitVersion.GitVersionException.GitVersionException(string! messageFormat, params object![]! args) -> void +GitVersion.GitVersionOptions +GitVersion.GitVersionOptions.AssemblySettingsInfo.get -> GitVersion.AssemblySettingsInfo! +GitVersion.GitVersionOptions.AuthenticationInfo.get -> GitVersion.AuthenticationInfo! +GitVersion.GitVersionOptions.ConfigurationInfo.get -> GitVersion.ConfigurationInfo! +GitVersion.GitVersionOptions.Diag -> bool +GitVersion.GitVersionOptions.Format -> string? +GitVersion.GitVersionOptions.GitVersionOptions() -> void +GitVersion.GitVersionOptions.Init -> bool +GitVersion.GitVersionOptions.IsHelp -> bool +GitVersion.GitVersionOptions.IsVersion -> bool +GitVersion.GitVersionOptions.LogFilePath -> string? +GitVersion.GitVersionOptions.Output -> System.Collections.Generic.ISet! +GitVersion.GitVersionOptions.OutputFile -> string? +GitVersion.GitVersionOptions.RepositoryInfo.get -> GitVersion.RepositoryInfo! +GitVersion.GitVersionOptions.Settings.get -> GitVersion.Settings! +GitVersion.GitVersionOptions.ShowVariable -> string? +GitVersion.GitVersionOptions.Verbosity -> GitVersion.Logging.Verbosity +GitVersion.GitVersionOptions.WixInfo.get -> GitVersion.WixInfo! +GitVersion.GitVersionOptions.WorkingDirectory.get -> string! +GitVersion.GitVersionOptions.WorkingDirectory.set -> void +GitVersion.Helpers.EncodingHelper +GitVersion.Helpers.LambdaEqualityHelper +GitVersion.Helpers.LambdaEqualityHelper.Equals(T? instance, T? other) -> bool +GitVersion.Helpers.LambdaEqualityHelper.GetHashCode(T instance) -> int +GitVersion.Helpers.LambdaEqualityHelper.LambdaEqualityHelper(params System.Func![]! equalityContributorAccessors) -> void +GitVersion.Helpers.LambdaKeyComparer +GitVersion.Helpers.LambdaKeyComparer.LambdaKeyComparer(System.Func! keySelector, System.Collections.Generic.IComparer? innerComparer = null) -> void +GitVersion.Helpers.PathHelper +GitVersion.Helpers.RetryAction +GitVersion.Helpers.RetryAction.Execute(System.Func! operation) -> Result +GitVersion.Helpers.RetryAction.RetryAction(int maxRetries = 5) -> void +GitVersion.Helpers.RetryAction +GitVersion.Helpers.RetryAction.Execute(System.Action! operation) -> void +GitVersion.Helpers.RetryAction.RetryAction(int maxRetries = 5) -> void +GitVersion.Helpers.ServiceMessageEscapeHelper +GitVersion.Helpers.StringComparerUtils +GitVersion.IBranch +GitVersion.IBranch.Commits.get -> GitVersion.ICommitCollection? +GitVersion.IBranch.IsDetachedHead.get -> bool +GitVersion.IBranch.IsRemote.get -> bool +GitVersion.IBranch.IsTracking.get -> bool +GitVersion.IBranch.Tip.get -> GitVersion.ICommit? +GitVersion.IBranchCollection +GitVersion.IBranchCollection.ExcludeBranches(System.Collections.Generic.IEnumerable! branchesToExclude) -> System.Collections.Generic.IEnumerable! +GitVersion.IBranchCollection.UpdateTrackedBranch(GitVersion.IBranch! branch, string! remoteTrackingReferenceName) -> void +GitVersion.IBranchCollection.this[string! name].get -> GitVersion.IBranch? +GitVersion.ICommit +GitVersion.ICommit.Message.get -> string! +GitVersion.ICommit.Parents.get -> System.Collections.Generic.IEnumerable! +GitVersion.ICommit.When.get -> System.DateTimeOffset +GitVersion.ICommitCollection +GitVersion.ICommitCollection.GetCommitsPriorTo(System.DateTimeOffset olderThan) -> System.Collections.Generic.IEnumerable! +GitVersion.ICommitCollection.QueryBy(GitVersion.CommitFilter! commitFilter) -> System.Collections.Generic.IEnumerable! +GitVersion.IConverterContext +GitVersion.IConverterContext.WorkingDirectory.get -> string! +GitVersion.IEnvironment +GitVersion.IEnvironment.GetEnvironmentVariable(string! variableName) -> string? +GitVersion.IEnvironment.SetEnvironmentVariable(string! variableName, string? value) -> void +GitVersion.IFileSystem +GitVersion.IFileSystem.Copy(string! from, string! to, bool overwrite) -> void +GitVersion.IFileSystem.CreateDirectory(string! path) -> void +GitVersion.IFileSystem.Delete(string! path) -> void +GitVersion.IFileSystem.DirectoryEnumerateFiles(string? directory, string! searchPattern, System.IO.SearchOption searchOption) -> System.Collections.Generic.IEnumerable! +GitVersion.IFileSystem.DirectoryExists(string! path) -> bool +GitVersion.IFileSystem.Exists(string! file) -> bool +GitVersion.IFileSystem.GetLastDirectoryWrite(string! path) -> long +GitVersion.IFileSystem.Move(string! from, string! to) -> void +GitVersion.IFileSystem.OpenRead(string! path) -> System.IO.Stream! +GitVersion.IFileSystem.OpenWrite(string! path) -> System.IO.Stream! +GitVersion.IFileSystem.PathsEqual(string? path, string? otherPath) -> bool +GitVersion.IFileSystem.ReadAllText(string! path) -> string! +GitVersion.IFileSystem.WriteAllText(string? file, string! fileContents) -> void +GitVersion.IFileSystem.WriteAllText(string? file, string! fileContents, System.Text.Encoding! encoding) -> void +GitVersion.IGitObject +GitVersion.IGitObject.Id.get -> GitVersion.IObjectId! +GitVersion.IGitObject.Sha.get -> string! +GitVersion.IGitPreparer +GitVersion.IGitPreparer.EnsureLocalBranchExistsForCurrentBranch(GitVersion.IRemote! remote, string! currentBranch) -> void +GitVersion.IGitPreparer.Prepare() -> void +GitVersion.IGitRepository +GitVersion.IGitRepository.Branches.get -> GitVersion.IBranchCollection! +GitVersion.IGitRepository.Commits.get -> GitVersion.ICommitCollection! +GitVersion.IGitRepository.DiscoverRepository(string? gitDirectory) -> void +GitVersion.IGitRepository.FindMergeBase(GitVersion.ICommit! commit, GitVersion.ICommit! otherCommit) -> GitVersion.ICommit? +GitVersion.IGitRepository.GetNumberOfUncommittedChanges() -> int +GitVersion.IGitRepository.Head.get -> GitVersion.IBranch! +GitVersion.IGitRepository.IsHeadDetached.get -> bool +GitVersion.IGitRepository.Path.get -> string! +GitVersion.IGitRepository.Refs.get -> GitVersion.IReferenceCollection! +GitVersion.IGitRepository.Remotes.get -> GitVersion.IRemoteCollection! +GitVersion.IGitRepository.Tags.get -> GitVersion.ITagCollection! +GitVersion.IGitRepository.WorkingDirectory.get -> string! +GitVersion.IGitRepositoryInfo +GitVersion.IGitRepositoryInfo.DotGitDirectory.get -> string? +GitVersion.IGitRepositoryInfo.DynamicGitRepositoryPath.get -> string? +GitVersion.IGitRepositoryInfo.GitRootPath.get -> string? +GitVersion.IGitRepositoryInfo.ProjectRootDirectory.get -> string? +GitVersion.IGitVersionCalculateTool +GitVersion.IGitVersionCalculateTool.CalculateVersionVariables() -> GitVersion.OutputVariables.GitVersionVariables! +GitVersion.IGitVersionContextFactory +GitVersion.IGitVersionContextFactory.Create(GitVersion.GitVersionOptions! gitVersionOptions) -> GitVersion.GitVersionContext! +GitVersion.IGitVersionModule +GitVersion.IGitVersionModule.FindAllDerivedTypes(System.Reflection.Assembly? assembly) -> System.Collections.Generic.IEnumerable! +GitVersion.IGitVersionModule.RegisterTypes(Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> void +GitVersion.IMutatingGitRepository +GitVersion.IMutatingGitRepository.Checkout(string! commitOrBranchSpec) -> void +GitVersion.IMutatingGitRepository.Clone(string? sourceUrl, string? workdirPath, GitVersion.AuthenticationInfo! auth) -> void +GitVersion.IMutatingGitRepository.CreateBranchForPullRequestBranch(GitVersion.AuthenticationInfo! auth) -> void +GitVersion.IMutatingGitRepository.Fetch(string! remote, System.Collections.Generic.IEnumerable! refSpecs, GitVersion.AuthenticationInfo! auth, string? logMessage) -> void +GitVersion.INamedReference +GitVersion.INamedReference.Name.get -> GitVersion.ReferenceName! +GitVersion.IObjectId +GitVersion.IObjectId.Sha.get -> string! +GitVersion.IObjectId.ToString(int prefixLength) -> string! +GitVersion.IRefSpec +GitVersion.IRefSpec.Destination.get -> string! +GitVersion.IRefSpec.Direction.get -> GitVersion.RefSpecDirection +GitVersion.IRefSpec.Source.get -> string! +GitVersion.IRefSpec.Specification.get -> string! +GitVersion.IRefSpecCollection +GitVersion.IReference +GitVersion.IReference.ReferenceTargetId.get -> GitVersion.IObjectId? +GitVersion.IReference.TargetIdentifier.get -> string! +GitVersion.IReferenceCollection +GitVersion.IReferenceCollection.Add(string! name, string! canonicalRefNameOrObject, bool allowOverwrite = false) -> void +GitVersion.IReferenceCollection.FromGlob(string! prefix) -> System.Collections.Generic.IEnumerable! +GitVersion.IReferenceCollection.Head.get -> GitVersion.IReference? +GitVersion.IReferenceCollection.UpdateTarget(GitVersion.IReference! directRef, GitVersion.IObjectId! targetId) -> void +GitVersion.IReferenceCollection.this[GitVersion.ReferenceName! referenceName].get -> GitVersion.IReference? +GitVersion.IReferenceCollection.this[string! name].get -> GitVersion.IReference? +GitVersion.IRemote +GitVersion.IRemote.FetchRefSpecs.get -> System.Collections.Generic.IEnumerable! +GitVersion.IRemote.Name.get -> string! +GitVersion.IRemote.PushRefSpecs.get -> System.Collections.Generic.IEnumerable! +GitVersion.IRemote.RefSpecs.get -> System.Collections.Generic.IEnumerable! +GitVersion.IRemote.Url.get -> string! +GitVersion.IRemoteCollection +GitVersion.IRemoteCollection.Remove(string! remoteName) -> void +GitVersion.IRemoteCollection.Update(string! remoteName, string! refSpec) -> void +GitVersion.IRemoteCollection.this[string! name].get -> GitVersion.IRemote? +GitVersion.ITag +GitVersion.ITag.Commit.get -> GitVersion.ICommit! +GitVersion.ITag.TargetSha.get -> string? +GitVersion.ITagCollection +GitVersion.IVersionConverter +GitVersion.IVersionConverter.Execute(GitVersion.OutputVariables.GitVersionVariables! variables, T context) -> void +GitVersion.IncrementStrategy +GitVersion.IncrementStrategy.Inherit = 4 -> GitVersion.IncrementStrategy +GitVersion.IncrementStrategy.Major = 1 -> GitVersion.IncrementStrategy +GitVersion.IncrementStrategy.Minor = 2 -> GitVersion.IncrementStrategy +GitVersion.IncrementStrategy.None = 0 -> GitVersion.IncrementStrategy +GitVersion.IncrementStrategy.Patch = 3 -> GitVersion.IncrementStrategy +GitVersion.IncrementStrategyExtensions +GitVersion.LockedFileException +GitVersion.LockedFileException.LockedFileException() -> void +GitVersion.LockedFileException.LockedFileException(System.Exception! inner) -> void +GitVersion.LockedFileException.LockedFileException(string? message) -> void +GitVersion.LockedFileException.LockedFileException(string? message, System.Exception? innerException) -> void +GitVersion.Logging.Disposable +GitVersion.Logging.IConsole +GitVersion.Logging.IConsole.ReadLine() -> string? +GitVersion.Logging.IConsole.UseColor(System.ConsoleColor consoleColor) -> System.IDisposable! +GitVersion.Logging.IConsole.Write(string? msg) -> void +GitVersion.Logging.IConsole.WriteLine() -> void +GitVersion.Logging.IConsole.WriteLine(string? msg) -> void +GitVersion.Logging.ILog +GitVersion.Logging.ILog.AddLogAppender(GitVersion.Logging.ILogAppender! logAppender) -> void +GitVersion.Logging.ILog.IndentLog(string! operationDescription) -> System.IDisposable! +GitVersion.Logging.ILog.Verbosity.get -> GitVersion.Logging.Verbosity +GitVersion.Logging.ILog.Verbosity.set -> void +GitVersion.Logging.ILog.Write(GitVersion.Logging.Verbosity verbosity, GitVersion.Logging.LogLevel level, string! format, params object![]! args) -> void +GitVersion.Logging.ILogAppender +GitVersion.Logging.ILogAppender.WriteTo(GitVersion.Logging.LogLevel level, string! message) -> void +GitVersion.Logging.LogAction +GitVersion.Logging.LogActionEntry +GitVersion.Logging.LogExtensions +GitVersion.Logging.LogLevel +GitVersion.Logging.LogLevel.Debug = 5 -> GitVersion.Logging.LogLevel +GitVersion.Logging.LogLevel.Error = 1 -> GitVersion.Logging.LogLevel +GitVersion.Logging.LogLevel.Fatal = 0 -> GitVersion.Logging.LogLevel +GitVersion.Logging.LogLevel.Info = 3 -> GitVersion.Logging.LogLevel +GitVersion.Logging.LogLevel.Verbose = 4 -> GitVersion.Logging.LogLevel +GitVersion.Logging.LogLevel.Warn = 2 -> GitVersion.Logging.LogLevel +GitVersion.Logging.Verbosity +GitVersion.Logging.Verbosity.Diagnostic = 4 -> GitVersion.Logging.Verbosity +GitVersion.Logging.Verbosity.Minimal = 1 -> GitVersion.Logging.Verbosity +GitVersion.Logging.Verbosity.Normal = 2 -> GitVersion.Logging.Verbosity +GitVersion.Logging.Verbosity.Quiet = 0 -> GitVersion.Logging.Verbosity +GitVersion.Logging.Verbosity.Verbose = 3 -> GitVersion.Logging.Verbosity +GitVersion.OutputType +GitVersion.OutputType.BuildServer = 0 -> GitVersion.OutputType +GitVersion.OutputType.File = 2 -> GitVersion.OutputType +GitVersion.OutputType.Json = 1 -> GitVersion.OutputType +GitVersion.OutputVariables.GitVersionVariables +GitVersion.OutputVariables.GitVersionVariables.AssemblySemFileVer.get -> string? +GitVersion.OutputVariables.GitVersionVariables.AssemblySemFileVer.init -> void +GitVersion.OutputVariables.GitVersionVariables.AssemblySemVer.get -> string? +GitVersion.OutputVariables.GitVersionVariables.AssemblySemVer.init -> void +GitVersion.OutputVariables.GitVersionVariables.BranchName.get -> string? +GitVersion.OutputVariables.GitVersionVariables.BranchName.init -> void +GitVersion.OutputVariables.GitVersionVariables.BuildMetaData.get -> string? +GitVersion.OutputVariables.GitVersionVariables.BuildMetaData.init -> void +GitVersion.OutputVariables.GitVersionVariables.CommitDate.get -> string? +GitVersion.OutputVariables.GitVersionVariables.CommitDate.init -> void +GitVersion.OutputVariables.GitVersionVariables.CommitsSinceVersionSource.get -> string? +GitVersion.OutputVariables.GitVersionVariables.CommitsSinceVersionSource.init -> void +GitVersion.OutputVariables.GitVersionVariables.EscapedBranchName.get -> string? +GitVersion.OutputVariables.GitVersionVariables.EscapedBranchName.init -> void +GitVersion.OutputVariables.GitVersionVariables.FullBuildMetaData.get -> string? +GitVersion.OutputVariables.GitVersionVariables.FullBuildMetaData.init -> void +GitVersion.OutputVariables.GitVersionVariables.FullSemVer.get -> string! +GitVersion.OutputVariables.GitVersionVariables.FullSemVer.init -> void +GitVersion.OutputVariables.GitVersionVariables.GetEnumerator() -> System.Collections.Generic.IEnumerator>! +GitVersion.OutputVariables.GitVersionVariables.GitVersionVariables(string! Major, string! Minor, string! Patch, string? BuildMetaData, string? FullBuildMetaData, string? BranchName, string? EscapedBranchName, string? Sha, string? ShortSha, string! MajorMinorPatch, string! SemVer, string! FullSemVer, string? AssemblySemVer, string? AssemblySemFileVer, string? PreReleaseTag, string? PreReleaseTagWithDash, string? PreReleaseLabel, string? PreReleaseLabelWithDash, string? PreReleaseNumber, string! WeightedPreReleaseNumber, string? InformationalVersion, string? CommitDate, string? VersionSourceSha, string? CommitsSinceVersionSource, string? UncommittedChanges) -> void +GitVersion.OutputVariables.GitVersionVariables.InformationalVersion.get -> string? +GitVersion.OutputVariables.GitVersionVariables.InformationalVersion.init -> void +GitVersion.OutputVariables.GitVersionVariables.Major.get -> string! +GitVersion.OutputVariables.GitVersionVariables.Major.init -> void +GitVersion.OutputVariables.GitVersionVariables.MajorMinorPatch.get -> string! +GitVersion.OutputVariables.GitVersionVariables.MajorMinorPatch.init -> void +GitVersion.OutputVariables.GitVersionVariables.Minor.get -> string! +GitVersion.OutputVariables.GitVersionVariables.Minor.init -> void +GitVersion.OutputVariables.GitVersionVariables.Patch.get -> string! +GitVersion.OutputVariables.GitVersionVariables.Patch.init -> void +GitVersion.OutputVariables.GitVersionVariables.PreReleaseLabel.get -> string? +GitVersion.OutputVariables.GitVersionVariables.PreReleaseLabel.init -> void +GitVersion.OutputVariables.GitVersionVariables.PreReleaseLabelWithDash.get -> string? +GitVersion.OutputVariables.GitVersionVariables.PreReleaseLabelWithDash.init -> void +GitVersion.OutputVariables.GitVersionVariables.PreReleaseNumber.get -> string? +GitVersion.OutputVariables.GitVersionVariables.PreReleaseNumber.init -> void +GitVersion.OutputVariables.GitVersionVariables.PreReleaseTag.get -> string? +GitVersion.OutputVariables.GitVersionVariables.PreReleaseTag.init -> void +GitVersion.OutputVariables.GitVersionVariables.PreReleaseTagWithDash.get -> string? +GitVersion.OutputVariables.GitVersionVariables.PreReleaseTagWithDash.init -> void +GitVersion.OutputVariables.GitVersionVariables.SemVer.get -> string! +GitVersion.OutputVariables.GitVersionVariables.SemVer.init -> void +GitVersion.OutputVariables.GitVersionVariables.Sha.get -> string? +GitVersion.OutputVariables.GitVersionVariables.Sha.init -> void +GitVersion.OutputVariables.GitVersionVariables.ShortSha.get -> string? +GitVersion.OutputVariables.GitVersionVariables.ShortSha.init -> void +GitVersion.OutputVariables.GitVersionVariables.TryGetValue(string! variable, out string? variableValue) -> bool +GitVersion.OutputVariables.GitVersionVariables.UncommittedChanges.get -> string? +GitVersion.OutputVariables.GitVersionVariables.UncommittedChanges.init -> void +GitVersion.OutputVariables.GitVersionVariables.VersionSourceSha.get -> string? +GitVersion.OutputVariables.GitVersionVariables.VersionSourceSha.init -> void +GitVersion.OutputVariables.GitVersionVariables.WeightedPreReleaseNumber.get -> string! +GitVersion.OutputVariables.GitVersionVariables.WeightedPreReleaseNumber.init -> void +GitVersion.OutputVariables.VersionVariablesJsonModel +GitVersion.OutputVariables.VersionVariablesJsonModel.AssemblySemFileVer.get -> string? +GitVersion.OutputVariables.VersionVariablesJsonModel.AssemblySemFileVer.set -> void +GitVersion.OutputVariables.VersionVariablesJsonModel.AssemblySemVer.get -> string? +GitVersion.OutputVariables.VersionVariablesJsonModel.AssemblySemVer.set -> void +GitVersion.OutputVariables.VersionVariablesJsonModel.BranchName.get -> string? +GitVersion.OutputVariables.VersionVariablesJsonModel.BranchName.set -> void +GitVersion.OutputVariables.VersionVariablesJsonModel.BuildMetaData.get -> int? +GitVersion.OutputVariables.VersionVariablesJsonModel.BuildMetaData.set -> void +GitVersion.OutputVariables.VersionVariablesJsonModel.CommitDate.get -> string? +GitVersion.OutputVariables.VersionVariablesJsonModel.CommitDate.set -> void +GitVersion.OutputVariables.VersionVariablesJsonModel.CommitsSinceVersionSource.get -> int? +GitVersion.OutputVariables.VersionVariablesJsonModel.CommitsSinceVersionSource.set -> void +GitVersion.OutputVariables.VersionVariablesJsonModel.EscapedBranchName.get -> string? +GitVersion.OutputVariables.VersionVariablesJsonModel.EscapedBranchName.set -> void +GitVersion.OutputVariables.VersionVariablesJsonModel.FullBuildMetaData.get -> string? +GitVersion.OutputVariables.VersionVariablesJsonModel.FullBuildMetaData.set -> void +GitVersion.OutputVariables.VersionVariablesJsonModel.FullSemVer.get -> string? +GitVersion.OutputVariables.VersionVariablesJsonModel.FullSemVer.set -> void +GitVersion.OutputVariables.VersionVariablesJsonModel.InformationalVersion.get -> string? +GitVersion.OutputVariables.VersionVariablesJsonModel.InformationalVersion.set -> void +GitVersion.OutputVariables.VersionVariablesJsonModel.Major.get -> int? +GitVersion.OutputVariables.VersionVariablesJsonModel.Major.set -> void +GitVersion.OutputVariables.VersionVariablesJsonModel.MajorMinorPatch.get -> string? +GitVersion.OutputVariables.VersionVariablesJsonModel.MajorMinorPatch.set -> void +GitVersion.OutputVariables.VersionVariablesJsonModel.Minor.get -> int? +GitVersion.OutputVariables.VersionVariablesJsonModel.Minor.set -> void +GitVersion.OutputVariables.VersionVariablesJsonModel.Patch.get -> int? +GitVersion.OutputVariables.VersionVariablesJsonModel.Patch.set -> void +GitVersion.OutputVariables.VersionVariablesJsonModel.PreReleaseLabel.get -> string? +GitVersion.OutputVariables.VersionVariablesJsonModel.PreReleaseLabel.set -> void +GitVersion.OutputVariables.VersionVariablesJsonModel.PreReleaseLabelWithDash.get -> string? +GitVersion.OutputVariables.VersionVariablesJsonModel.PreReleaseLabelWithDash.set -> void +GitVersion.OutputVariables.VersionVariablesJsonModel.PreReleaseNumber.get -> int? +GitVersion.OutputVariables.VersionVariablesJsonModel.PreReleaseNumber.set -> void +GitVersion.OutputVariables.VersionVariablesJsonModel.PreReleaseTag.get -> string? +GitVersion.OutputVariables.VersionVariablesJsonModel.PreReleaseTag.set -> void +GitVersion.OutputVariables.VersionVariablesJsonModel.PreReleaseTagWithDash.get -> string? +GitVersion.OutputVariables.VersionVariablesJsonModel.PreReleaseTagWithDash.set -> void +GitVersion.OutputVariables.VersionVariablesJsonModel.SemVer.get -> string? +GitVersion.OutputVariables.VersionVariablesJsonModel.SemVer.set -> void +GitVersion.OutputVariables.VersionVariablesJsonModel.Sha.get -> string? +GitVersion.OutputVariables.VersionVariablesJsonModel.Sha.set -> void +GitVersion.OutputVariables.VersionVariablesJsonModel.ShortSha.get -> string? +GitVersion.OutputVariables.VersionVariablesJsonModel.ShortSha.set -> void +GitVersion.OutputVariables.VersionVariablesJsonModel.UncommittedChanges.get -> int? +GitVersion.OutputVariables.VersionVariablesJsonModel.UncommittedChanges.set -> void +GitVersion.OutputVariables.VersionVariablesJsonModel.VersionSourceSha.get -> string? +GitVersion.OutputVariables.VersionVariablesJsonModel.VersionSourceSha.set -> void +GitVersion.OutputVariables.VersionVariablesJsonModel.VersionVariablesJsonModel() -> void +GitVersion.OutputVariables.VersionVariablesJsonModel.WeightedPreReleaseNumber.get -> int? +GitVersion.OutputVariables.VersionVariablesJsonModel.WeightedPreReleaseNumber.set -> void +GitVersion.OutputVariables.VersionVariablesJsonStringConverter +GitVersion.OutputVariables.VersionVariablesJsonStringConverter.VersionVariablesJsonStringConverter() -> void +GitVersion.RefSpecDirection +GitVersion.RefSpecDirection.Fetch = 0 -> GitVersion.RefSpecDirection +GitVersion.RefSpecDirection.Push = 1 -> GitVersion.RefSpecDirection +GitVersion.ReferenceName +GitVersion.ReferenceName.Canonical.get -> string! +GitVersion.ReferenceName.CompareTo(GitVersion.ReferenceName? other) -> int +GitVersion.ReferenceName.Equals(GitVersion.ReferenceName? other) -> bool +GitVersion.ReferenceName.EquivalentTo(string? name) -> bool +GitVersion.ReferenceName.Friendly.get -> string! +GitVersion.ReferenceName.IsLocalBranch.get -> bool +GitVersion.ReferenceName.IsPullRequest.get -> bool +GitVersion.ReferenceName.IsRemoteBranch.get -> bool +GitVersion.ReferenceName.IsTag.get -> bool +GitVersion.ReferenceName.ReferenceName(string! canonical) -> void +GitVersion.ReferenceName.WithoutOrigin.get -> string! +GitVersion.RepositoryInfo +GitVersion.RepositoryInfo.ClonePath -> string? +GitVersion.RepositoryInfo.CommitId -> string? +GitVersion.RepositoryInfo.RepositoryInfo() -> void +GitVersion.RepositoryInfo.TargetBranch -> string? +GitVersion.RepositoryInfo.TargetUrl -> string? +GitVersion.SemanticVersion +GitVersion.SemanticVersion.BuildMetaData.get -> GitVersion.SemanticVersionBuildMetaData! +GitVersion.SemanticVersion.BuildMetaData.init -> void +GitVersion.SemanticVersion.CompareTo(GitVersion.SemanticVersion? value) -> int +GitVersion.SemanticVersion.CompareTo(GitVersion.SemanticVersion? value, bool includePrerelease) -> int +GitVersion.SemanticVersion.Equals(GitVersion.SemanticVersion? obj) -> bool +GitVersion.SemanticVersion.IncrementVersion(GitVersion.VersionField incrementStrategy, string? label) -> GitVersion.SemanticVersion! +GitVersion.SemanticVersion.IsEmpty() -> bool +GitVersion.SemanticVersion.IsLabeledWith(string! value) -> bool +GitVersion.SemanticVersion.IsMatchForBranchSpecificLabel(string? value) -> bool +GitVersion.SemanticVersion.Major.get -> long +GitVersion.SemanticVersion.Major.init -> void +GitVersion.SemanticVersion.Minor.get -> long +GitVersion.SemanticVersion.Minor.init -> void +GitVersion.SemanticVersion.Patch.get -> long +GitVersion.SemanticVersion.Patch.init -> void +GitVersion.SemanticVersion.PreReleaseTag.get -> GitVersion.SemanticVersionPreReleaseTag! +GitVersion.SemanticVersion.PreReleaseTag.init -> void +GitVersion.SemanticVersion.SemanticVersion(GitVersion.SemanticVersion! semanticVersion) -> void +GitVersion.SemanticVersion.SemanticVersion(long major = 0, long minor = 0, long patch = 0) -> void +GitVersion.SemanticVersion.ToString(string! format) -> string! +GitVersion.SemanticVersion.ToString(string? format, System.IFormatProvider? formatProvider) -> string! +GitVersion.SemanticVersionBuildMetaData +GitVersion.SemanticVersionBuildMetaData.Branch.get -> string? +GitVersion.SemanticVersionBuildMetaData.Branch.init -> void +GitVersion.SemanticVersionBuildMetaData.CommitDate.get -> System.DateTimeOffset? +GitVersion.SemanticVersionBuildMetaData.CommitDate.init -> void +GitVersion.SemanticVersionBuildMetaData.CommitsSinceTag.get -> long? +GitVersion.SemanticVersionBuildMetaData.CommitsSinceTag.init -> void +GitVersion.SemanticVersionBuildMetaData.CommitsSinceVersionSource.get -> long? +GitVersion.SemanticVersionBuildMetaData.CommitsSinceVersionSource.init -> void +GitVersion.SemanticVersionBuildMetaData.Equals(GitVersion.SemanticVersionBuildMetaData? other) -> bool +GitVersion.SemanticVersionBuildMetaData.OtherMetaData.get -> string? +GitVersion.SemanticVersionBuildMetaData.OtherMetaData.init -> void +GitVersion.SemanticVersionBuildMetaData.SemanticVersionBuildMetaData() -> void +GitVersion.SemanticVersionBuildMetaData.SemanticVersionBuildMetaData(GitVersion.SemanticVersionBuildMetaData! buildMetaData) -> void +GitVersion.SemanticVersionBuildMetaData.SemanticVersionBuildMetaData(string? versionSourceSha, int? commitsSinceTag, string? branch, string? commitSha, string? commitShortSha, System.DateTimeOffset? commitDate, int numberOfUnCommittedChanges, string? otherMetadata = null) -> void +GitVersion.SemanticVersionBuildMetaData.Sha.get -> string? +GitVersion.SemanticVersionBuildMetaData.Sha.init -> void +GitVersion.SemanticVersionBuildMetaData.ShortSha.get -> string? +GitVersion.SemanticVersionBuildMetaData.ShortSha.init -> void +GitVersion.SemanticVersionBuildMetaData.ToString(string! format) -> string! +GitVersion.SemanticVersionBuildMetaData.ToString(string? format, System.IFormatProvider? formatProvider) -> string! +GitVersion.SemanticVersionBuildMetaData.UncommittedChanges.get -> long +GitVersion.SemanticVersionBuildMetaData.UncommittedChanges.init -> void +GitVersion.SemanticVersionBuildMetaData.VersionSourceSha.get -> string? +GitVersion.SemanticVersionBuildMetaData.VersionSourceSha.init -> void +GitVersion.SemanticVersionFormat +GitVersion.SemanticVersionFormat.Loose = 1 -> GitVersion.SemanticVersionFormat +GitVersion.SemanticVersionFormat.Strict = 0 -> GitVersion.SemanticVersionFormat +GitVersion.SemanticVersionPreReleaseTag +GitVersion.SemanticVersionPreReleaseTag.CompareTo(GitVersion.SemanticVersionPreReleaseTag? other) -> int +GitVersion.SemanticVersionPreReleaseTag.Equals(GitVersion.SemanticVersionPreReleaseTag? other) -> bool +GitVersion.SemanticVersionPreReleaseTag.HasTag() -> bool +GitVersion.SemanticVersionPreReleaseTag.Name.get -> string! +GitVersion.SemanticVersionPreReleaseTag.Name.init -> void +GitVersion.SemanticVersionPreReleaseTag.Number.get -> long? +GitVersion.SemanticVersionPreReleaseTag.Number.init -> void +GitVersion.SemanticVersionPreReleaseTag.PromotedFromCommits.get -> bool? +GitVersion.SemanticVersionPreReleaseTag.PromotedFromCommits.init -> void +GitVersion.SemanticVersionPreReleaseTag.SemanticVersionPreReleaseTag() -> void +GitVersion.SemanticVersionPreReleaseTag.SemanticVersionPreReleaseTag(GitVersion.SemanticVersionPreReleaseTag! preReleaseTag) -> void +GitVersion.SemanticVersionPreReleaseTag.SemanticVersionPreReleaseTag(string! name, long? number) -> void +GitVersion.SemanticVersionPreReleaseTag.ToString(string! format) -> string! +GitVersion.SemanticVersionPreReleaseTag.ToString(string? format, System.IFormatProvider? formatProvider) -> string! +GitVersion.SemanticVersionWithTag +GitVersion.SemanticVersionWithTag.SemanticVersionWithTag(GitVersion.SemanticVersion! Value, GitVersion.ITag! Tag) -> void +GitVersion.SemanticVersionWithTag.Tag.get -> GitVersion.ITag! +GitVersion.SemanticVersionWithTag.Tag.init -> void +GitVersion.SemanticVersionWithTag.Value.get -> GitVersion.SemanticVersion! +GitVersion.SemanticVersionWithTag.Value.init -> void +GitVersion.Settings +GitVersion.Settings.NoCache -> bool +GitVersion.Settings.NoFetch -> bool +GitVersion.Settings.NoNormalize -> bool +GitVersion.Settings.OnlyTrackedBranches -> bool +GitVersion.Settings.Settings() -> void +GitVersion.VersionCalculation.CommitMessageIncrementMode +GitVersion.VersionCalculation.CommitMessageIncrementMode.Disabled = 1 -> GitVersion.VersionCalculation.CommitMessageIncrementMode +GitVersion.VersionCalculation.CommitMessageIncrementMode.Enabled = 0 -> GitVersion.VersionCalculation.CommitMessageIncrementMode +GitVersion.VersionCalculation.CommitMessageIncrementMode.MergeMessageOnly = 2 -> GitVersion.VersionCalculation.CommitMessageIncrementMode +GitVersion.VersionCalculation.VersioningMode +GitVersion.VersionCalculation.VersioningMode.ContinuousDelivery = 0 -> GitVersion.VersionCalculation.VersioningMode +GitVersion.VersionCalculation.VersioningMode.ContinuousDeployment = 1 -> GitVersion.VersionCalculation.VersioningMode +GitVersion.VersionCalculation.VersioningMode.Mainline = 2 -> GitVersion.VersionCalculation.VersioningMode +GitVersion.VersionField +GitVersion.VersionField.Major = 3 -> GitVersion.VersionField +GitVersion.VersionField.Minor = 2 -> GitVersion.VersionField +GitVersion.VersionField.None = 0 -> GitVersion.VersionField +GitVersion.VersionField.Patch = 1 -> GitVersion.VersionField +GitVersion.WarningException +GitVersion.WarningException.WarningException() -> void +GitVersion.WarningException.WarningException(string! message) -> void +GitVersion.WarningException.WarningException(string? message, System.Exception? innerException) -> void +GitVersion.WixInfo +GitVersion.WixInfo.UpdateWixVersionFile -> bool +GitVersion.WixInfo.WixInfo() -> void +abstract GitVersion.Agents.BuildAgentBase.EnvironmentVariable.get -> string! +abstract GitVersion.Agents.BuildAgentBase.GenerateSetParameterMessage(string! name, string? value) -> string![]! +abstract GitVersion.Agents.BuildAgentBase.GenerateSetVersionMessage(GitVersion.OutputVariables.GitVersionVariables! variables) -> string? +const GitVersion.ReferenceName.LocalBranchPrefix = "refs/heads/" -> string! +const GitVersion.ReferenceName.OriginPrefix = "origin/" -> string! +const GitVersion.ReferenceName.RemoteTrackingBranchPrefix = "refs/remotes/" -> string! +const GitVersion.ReferenceName.TagPrefix = "refs/tags/" -> string! +override GitVersion.BranchCommit.Equals(object? obj) -> bool +override GitVersion.BranchCommit.GetHashCode() -> int +override GitVersion.Helpers.LambdaKeyComparer.Compare(TSource? x, TSource? y) -> int +override GitVersion.OutputVariables.VersionVariablesJsonStringConverter.CanConvert(System.Type! typeToConvert) -> bool +override GitVersion.OutputVariables.VersionVariablesJsonStringConverter.HandleNull.get -> bool +override GitVersion.OutputVariables.VersionVariablesJsonStringConverter.Read(ref System.Text.Json.Utf8JsonReader reader, System.Type! typeToConvert, System.Text.Json.JsonSerializerOptions! options) -> string! +override GitVersion.OutputVariables.VersionVariablesJsonStringConverter.Write(System.Text.Json.Utf8JsonWriter! writer, string? value, System.Text.Json.JsonSerializerOptions! options) -> void +override GitVersion.ReferenceName.Equals(object? obj) -> bool +override GitVersion.ReferenceName.GetHashCode() -> int +override GitVersion.ReferenceName.ToString() -> string! +override GitVersion.SemanticVersion.Equals(object? obj) -> bool +override GitVersion.SemanticVersion.GetHashCode() -> int +override GitVersion.SemanticVersion.ToString() -> string! +override GitVersion.SemanticVersionBuildMetaData.Equals(object? obj) -> bool +override GitVersion.SemanticVersionBuildMetaData.GetHashCode() -> int +override GitVersion.SemanticVersionBuildMetaData.ToString() -> string! +override GitVersion.SemanticVersionPreReleaseTag.Equals(object? obj) -> bool +override GitVersion.SemanticVersionPreReleaseTag.GetHashCode() -> int +override GitVersion.SemanticVersionPreReleaseTag.ToString() -> string! +override GitVersion.SemanticVersionWithTag.ToString() -> string! +readonly GitVersion.Agents.BuildAgentBase.Log -> GitVersion.Logging.ILog! +static GitVersion.BranchCommit.operator !=(GitVersion.BranchCommit left, GitVersion.BranchCommit right) -> bool +static GitVersion.BranchCommit.operator ==(GitVersion.BranchCommit left, GitVersion.BranchCommit right) -> bool +static GitVersion.Extensions.CommonExtensions.NotNull(this T? value, string! name = "") -> T! +static GitVersion.Extensions.CommonExtensions.NotNullOrEmpty(this string? value, string! name = "") -> string! +static GitVersion.Extensions.CommonExtensions.NotNullOrWhitespace(this string? value, string! name = "") -> string! +static GitVersion.Extensions.GitVersionVariablesExtensions.GetJsonSerializerOptions() -> System.Text.Json.JsonSerializerOptions! +static GitVersion.Extensions.GitVersionVariablesExtensions.ToJsonString(this GitVersion.OutputVariables.GitVersionVariables! gitVersionVariables) -> string! +static GitVersion.Extensions.ReadEmbeddedResourceExtensions.ReadAsStringFromEmbeddedResource(this string! resourceName, System.Reflection.Assembly! assembly) -> string! +static GitVersion.Extensions.ReadEmbeddedResourceExtensions.ReadAsStringFromEmbeddedResource(this string! resourceName) -> string! +static GitVersion.Extensions.StringExtensions.AppendLineFormat(this System.Text.StringBuilder! stringBuilder, string! format, params object![]! args) -> void +static GitVersion.Extensions.StringExtensions.ArgumentRequiresValue(this string! argument, int argumentIndex) -> bool +static GitVersion.Extensions.StringExtensions.IsEmpty(this string? value) -> bool +static GitVersion.Extensions.StringExtensions.IsEquivalentTo(this string! self, string? other) -> bool +static GitVersion.Extensions.StringExtensions.IsFalse(this string? value) -> bool +static GitVersion.Extensions.StringExtensions.IsHelp(this string! singleArgument) -> bool +static GitVersion.Extensions.StringExtensions.IsInit(this string! singleArgument) -> bool +static GitVersion.Extensions.StringExtensions.IsNullOrEmpty(this string? value) -> bool +static GitVersion.Extensions.StringExtensions.IsNullOrWhiteSpace(this string? value) -> bool +static GitVersion.Extensions.StringExtensions.IsSwitch(this string? value, string! switchName) -> bool +static GitVersion.Extensions.StringExtensions.IsSwitchArgument(this string? value) -> bool +static GitVersion.Extensions.StringExtensions.IsTrue(this string? value) -> bool +static GitVersion.Extensions.StringExtensions.IsValidPath(this string? path) -> bool +static GitVersion.Extensions.StringExtensions.RegexReplace(this string! input, string! pattern, string! replace, System.Text.RegularExpressions.RegexOptions options = System.Text.RegularExpressions.RegexOptions.None) -> string! +static GitVersion.Helpers.EncodingHelper.DetectEncoding(System.Collections.Generic.IList! bytes) -> System.Text.Encoding? +static GitVersion.Helpers.EncodingHelper.DetectEncoding(string? filename) -> System.Text.Encoding? +static GitVersion.Helpers.PathHelper.Combine(string? path1) -> string! +static GitVersion.Helpers.PathHelper.Combine(string? path1, string? path2) -> string! +static GitVersion.Helpers.PathHelper.Combine(string? path1, string? path2, string? path3) -> string! +static GitVersion.Helpers.PathHelper.Combine(string? path1, string? path2, string? path3, string? path4) -> string! +static GitVersion.Helpers.PathHelper.GetFullPath(string? path) -> string! +static GitVersion.Helpers.ServiceMessageEscapeHelper.EscapeValue(string? value) -> string? +static GitVersion.IncrementStrategyExtensions.ToVersionField(this GitVersion.IncrementStrategy strategy) -> GitVersion.VersionField +static GitVersion.Logging.Disposable.Create(System.Action! disposer) -> System.IDisposable! +static GitVersion.Logging.LogExtensions.Debug(this GitVersion.Logging.ILog! log, GitVersion.Logging.LogAction! logAction) -> void +static GitVersion.Logging.LogExtensions.Debug(this GitVersion.Logging.ILog! log, GitVersion.Logging.Verbosity verbosity, GitVersion.Logging.LogAction! logAction) -> void +static GitVersion.Logging.LogExtensions.Debug(this GitVersion.Logging.ILog! log, GitVersion.Logging.Verbosity verbosity, string! format, params object![]! args) -> void +static GitVersion.Logging.LogExtensions.Debug(this GitVersion.Logging.ILog! log, string! format, params object![]! args) -> void +static GitVersion.Logging.LogExtensions.DiagnosticVerbosity(this GitVersion.Logging.ILog! log) -> System.IDisposable! +static GitVersion.Logging.LogExtensions.Error(this GitVersion.Logging.ILog! log, GitVersion.Logging.LogAction! logAction) -> void +static GitVersion.Logging.LogExtensions.Error(this GitVersion.Logging.ILog! log, GitVersion.Logging.Verbosity verbosity, GitVersion.Logging.LogAction! logAction) -> void +static GitVersion.Logging.LogExtensions.Error(this GitVersion.Logging.ILog! log, GitVersion.Logging.Verbosity verbosity, string! format, params object![]! args) -> void +static GitVersion.Logging.LogExtensions.Error(this GitVersion.Logging.ILog! log, string! format, params object![]! args) -> void +static GitVersion.Logging.LogExtensions.GetVerbosityForLevel(GitVersion.Logging.LogLevel level) -> GitVersion.Logging.Verbosity +static GitVersion.Logging.LogExtensions.Info(this GitVersion.Logging.ILog! log, GitVersion.Logging.LogAction! logAction) -> void +static GitVersion.Logging.LogExtensions.Info(this GitVersion.Logging.ILog! log, GitVersion.Logging.Verbosity verbosity, GitVersion.Logging.LogAction! logAction) -> void +static GitVersion.Logging.LogExtensions.Info(this GitVersion.Logging.ILog! log, GitVersion.Logging.Verbosity verbosity, string! format, params object![]! args) -> void +static GitVersion.Logging.LogExtensions.Info(this GitVersion.Logging.ILog! log, string! format, params object![]! args) -> void +static GitVersion.Logging.LogExtensions.MinimalVerbosity(this GitVersion.Logging.ILog! log) -> System.IDisposable! +static GitVersion.Logging.LogExtensions.NormalVerbosity(this GitVersion.Logging.ILog! log) -> System.IDisposable! +static GitVersion.Logging.LogExtensions.QuietVerbosity(this GitVersion.Logging.ILog! log) -> System.IDisposable! +static GitVersion.Logging.LogExtensions.Verbose(this GitVersion.Logging.ILog! log, GitVersion.Logging.LogAction! logAction) -> void +static GitVersion.Logging.LogExtensions.Verbose(this GitVersion.Logging.ILog! log, GitVersion.Logging.Verbosity verbosity, GitVersion.Logging.LogAction! logAction) -> void +static GitVersion.Logging.LogExtensions.Verbose(this GitVersion.Logging.ILog! log, GitVersion.Logging.Verbosity verbosity, string! format, params object![]! args) -> void +static GitVersion.Logging.LogExtensions.Verbose(this GitVersion.Logging.ILog! log, string! format, params object![]! args) -> void +static GitVersion.Logging.LogExtensions.VerboseVerbosity(this GitVersion.Logging.ILog! log) -> System.IDisposable! +static GitVersion.Logging.LogExtensions.Warning(this GitVersion.Logging.ILog! log, GitVersion.Logging.LogAction! logAction) -> void +static GitVersion.Logging.LogExtensions.Warning(this GitVersion.Logging.ILog! log, GitVersion.Logging.Verbosity verbosity, GitVersion.Logging.LogAction! logAction) -> void +static GitVersion.Logging.LogExtensions.Warning(this GitVersion.Logging.ILog! log, GitVersion.Logging.Verbosity verbosity, string! format, params object![]! args) -> void +static GitVersion.Logging.LogExtensions.Warning(this GitVersion.Logging.ILog! log, string! format, params object![]! args) -> void +static GitVersion.Logging.LogExtensions.Write(this GitVersion.Logging.ILog! log, GitVersion.Logging.LogLevel level, string! format, params object![]! args) -> void +static GitVersion.ReferenceName.FromBranchName(string! branchName) -> GitVersion.ReferenceName! +static GitVersion.ReferenceName.Parse(string! canonicalName) -> GitVersion.ReferenceName! +static GitVersion.ReferenceName.TryParse(out GitVersion.ReferenceName? value, string! canonicalName) -> bool +static GitVersion.SemanticVersion.Parse(string! version, string? tagPrefixRegex, GitVersion.SemanticVersionFormat versionFormat = GitVersion.SemanticVersionFormat.Strict) -> GitVersion.SemanticVersion! +static GitVersion.SemanticVersion.TryParse(string! version, string? tagPrefixRegex, out GitVersion.SemanticVersion? semanticVersion, GitVersion.SemanticVersionFormat format = GitVersion.SemanticVersionFormat.Strict) -> bool +static GitVersion.SemanticVersion.operator !=(GitVersion.SemanticVersion? v1, GitVersion.SemanticVersion? v2) -> bool +static GitVersion.SemanticVersion.operator <(GitVersion.SemanticVersion! v1, GitVersion.SemanticVersion! v2) -> bool +static GitVersion.SemanticVersion.operator <=(GitVersion.SemanticVersion! v1, GitVersion.SemanticVersion! v2) -> bool +static GitVersion.SemanticVersion.operator ==(GitVersion.SemanticVersion? v1, GitVersion.SemanticVersion? v2) -> bool +static GitVersion.SemanticVersion.operator >(GitVersion.SemanticVersion! v1, GitVersion.SemanticVersion! v2) -> bool +static GitVersion.SemanticVersion.operator >=(GitVersion.SemanticVersion! v1, GitVersion.SemanticVersion! v2) -> bool +static GitVersion.SemanticVersionBuildMetaData.Parse(string? buildMetaData) -> GitVersion.SemanticVersionBuildMetaData! +static GitVersion.SemanticVersionBuildMetaData.implicit operator GitVersion.SemanticVersionBuildMetaData!(string! preReleaseTag) -> GitVersion.SemanticVersionBuildMetaData! +static GitVersion.SemanticVersionBuildMetaData.implicit operator string?(GitVersion.SemanticVersionBuildMetaData? preReleaseTag) -> string? +static GitVersion.SemanticVersionBuildMetaData.operator !=(GitVersion.SemanticVersionBuildMetaData? left, GitVersion.SemanticVersionBuildMetaData? right) -> bool +static GitVersion.SemanticVersionBuildMetaData.operator ==(GitVersion.SemanticVersionBuildMetaData? left, GitVersion.SemanticVersionBuildMetaData? right) -> bool +static GitVersion.SemanticVersionPreReleaseTag.Parse(string? preReleaseTag) -> GitVersion.SemanticVersionPreReleaseTag! +static GitVersion.SemanticVersionPreReleaseTag.implicit operator GitVersion.SemanticVersionPreReleaseTag!(string? preReleaseTag) -> GitVersion.SemanticVersionPreReleaseTag! +static GitVersion.SemanticVersionPreReleaseTag.implicit operator string?(GitVersion.SemanticVersionPreReleaseTag? preReleaseTag) -> string? +static GitVersion.SemanticVersionPreReleaseTag.operator !=(GitVersion.SemanticVersionPreReleaseTag? left, GitVersion.SemanticVersionPreReleaseTag? right) -> bool +static GitVersion.SemanticVersionPreReleaseTag.operator <(GitVersion.SemanticVersionPreReleaseTag? left, GitVersion.SemanticVersionPreReleaseTag? right) -> bool +static GitVersion.SemanticVersionPreReleaseTag.operator <=(GitVersion.SemanticVersionPreReleaseTag? left, GitVersion.SemanticVersionPreReleaseTag? right) -> bool +static GitVersion.SemanticVersionPreReleaseTag.operator ==(GitVersion.SemanticVersionPreReleaseTag? left, GitVersion.SemanticVersionPreReleaseTag? right) -> bool +static GitVersion.SemanticVersionPreReleaseTag.operator >(GitVersion.SemanticVersionPreReleaseTag? left, GitVersion.SemanticVersionPreReleaseTag? right) -> bool +static GitVersion.SemanticVersionPreReleaseTag.operator >=(GitVersion.SemanticVersionPreReleaseTag? left, GitVersion.SemanticVersionPreReleaseTag? right) -> bool +static readonly GitVersion.BranchCommit.Empty -> GitVersion.BranchCommit +static readonly GitVersion.Helpers.StringComparerUtils.IgnoreCaseComparer -> System.StringComparer! +static readonly GitVersion.Helpers.StringComparerUtils.OsDependentComparer -> System.StringComparer! +static readonly GitVersion.Helpers.StringComparerUtils.OsDependentComparison -> System.StringComparison +static readonly GitVersion.Logging.Disposable.Empty -> System.IDisposable! +static readonly GitVersion.OutputVariables.GitVersionVariables.AvailableVariables -> System.Collections.Generic.List! +static readonly GitVersion.SemanticVersion.Empty -> GitVersion.SemanticVersion! +static readonly GitVersion.SemanticVersionBuildMetaData.Empty -> GitVersion.SemanticVersionBuildMetaData! +static readonly GitVersion.SemanticVersionPreReleaseTag.Empty -> GitVersion.SemanticVersionPreReleaseTag! +virtual GitVersion.Agents.BuildAgentBase.CanApplyToCurrentContext() -> bool +virtual GitVersion.Agents.BuildAgentBase.GetCurrentBranch(bool usingDynamicRepos) -> string? +virtual GitVersion.Agents.BuildAgentBase.IsDefault.get -> bool +virtual GitVersion.Agents.BuildAgentBase.PreventFetch() -> bool +virtual GitVersion.Agents.BuildAgentBase.ShouldCleanUpRemotes() -> bool +virtual GitVersion.Agents.BuildAgentBase.WriteIntegration(System.Action! writer, GitVersion.OutputVariables.GitVersionVariables! variables, bool updateBuildNumber = true) -> void diff --git a/src/GitVersion.BuildAgents/PublicAPI.Unshipped.txt b/src/GitVersion.BuildAgents/PublicAPI.Unshipped.txt index 8b5a705cd9..271d1babf9 100644 --- a/src/GitVersion.BuildAgents/PublicAPI.Unshipped.txt +++ b/src/GitVersion.BuildAgents/PublicAPI.Unshipped.txt @@ -1,4 +1,4 @@ #nullable enable GitVersion.Agents.GitVersionBuildAgentsModule GitVersion.Agents.GitVersionBuildAgentsModule.GitVersionBuildAgentsModule() -> void -override GitVersion.Agents.GitVersionBuildAgentsModule.RegisterTypes(Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> void +GitVersion.Agents.GitVersionBuildAgentsModule.RegisterTypes(Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> void diff --git a/src/GitVersion.Core/PublicAPI.Unshipped.txt b/src/GitVersion.Core/PublicAPI.Unshipped.txt index 653b071699..1c63ee50d5 100644 --- a/src/GitVersion.Core/PublicAPI.Unshipped.txt +++ b/src/GitVersion.Core/PublicAPI.Unshipped.txt @@ -1,99 +1,9 @@ #nullable enable -abstract GitVersion.Configuration.Init.Wizard.ConfigInitWizardStep.HandleResult(string? result, System.Collections.Generic.Queue! steps, GitVersion.Configuration.GitVersionConfiguration! configuration, string! workingDirectory) -> GitVersion.Configuration.Init.StepResult! -GitVersion.Agents.BuildAgentBase -GitVersion.Agents.BuildAgentBase.BuildAgentBase(GitVersion.IEnvironment! environment, GitVersion.Logging.ILog! log) -> void -GitVersion.Agents.BuildAgentBase.Environment.get -> GitVersion.IEnvironment! -GitVersion.Agents.BuildAgentBase.GenerateBuildLogOutput(GitVersion.OutputVariables.VersionVariables! variables) -> System.Collections.Generic.IEnumerable! GitVersion.Agents.BuildAgentResolver GitVersion.Agents.BuildAgentResolver.BuildAgentResolver(System.Collections.Generic.IEnumerable! buildAgents, GitVersion.Logging.ILog! log) -> void GitVersion.Agents.BuildAgentResolver.Resolve() -> GitVersion.Agents.ICurrentBuildAgent! -GitVersion.Agents.IBuildAgent -GitVersion.Agents.IBuildAgent.CanApplyToCurrentContext() -> bool -GitVersion.Agents.IBuildAgent.GetCurrentBranch(bool usingDynamicRepos) -> string? -GitVersion.Agents.IBuildAgent.IsDefault.get -> bool -GitVersion.Agents.IBuildAgent.PreventFetch() -> bool -GitVersion.Agents.IBuildAgent.ShouldCleanUpRemotes() -> bool -GitVersion.Agents.IBuildAgent.WriteIntegration(System.Action! writer, GitVersion.OutputVariables.VersionVariables! variables, bool updateBuildNumber = true) -> void -GitVersion.Agents.IBuildAgentResolver -GitVersion.Agents.IBuildAgentResolver.Resolve() -> GitVersion.Agents.ICurrentBuildAgent! -GitVersion.Agents.ICurrentBuildAgent GitVersion.Agents.LocalBuild GitVersion.Agents.LocalBuild.LocalBuild(GitVersion.IEnvironment! environment, GitVersion.Logging.ILog! log) -> void -GitVersion.AssemblySettingsInfo -GitVersion.AssemblySettingsInfo.AssemblySettingsInfo() -> void -GitVersion.AssemblySettingsInfo.EnsureAssemblyInfo -> bool -GitVersion.AssemblySettingsInfo.Files -> System.Collections.Generic.ISet! -GitVersion.AssemblySettingsInfo.UpdateAssemblyInfo -> bool -GitVersion.AssemblySettingsInfo.UpdateProjectFiles -> bool -GitVersion.Attributes.JsonPropertyDescriptionAttribute -GitVersion.Attributes.JsonPropertyDescriptionAttribute.Description.get -> string! -GitVersion.Attributes.JsonPropertyDescriptionAttribute.JsonPropertyDescriptionAttribute(string! description) -> void -GitVersion.Attributes.JsonPropertyPatternAttribute -GitVersion.Attributes.JsonPropertyPatternAttribute.Format.get -> GitVersion.Attributes.PatternFormat -GitVersion.Attributes.JsonPropertyPatternAttribute.JsonPropertyPatternAttribute(string! pattern, GitVersion.Attributes.PatternFormat format = GitVersion.Attributes.PatternFormat.Regex) -> void -GitVersion.Attributes.JsonPropertyPatternAttribute.Pattern.get -> string! -GitVersion.Attributes.PatternFormat -GitVersion.Attributes.PatternFormat.DateTime = 1 -> GitVersion.Attributes.PatternFormat -GitVersion.Attributes.PatternFormat.Regex = 0 -> GitVersion.Attributes.PatternFormat -GitVersion.AuthenticationInfo -GitVersion.AuthenticationInfo.AuthenticationInfo() -> void -GitVersion.AuthenticationInfo.Password.get -> string? -GitVersion.AuthenticationInfo.Password.set -> void -GitVersion.AuthenticationInfo.Token.get -> string? -GitVersion.AuthenticationInfo.Token.set -> void -GitVersion.AuthenticationInfo.Username.get -> string? -GitVersion.AuthenticationInfo.Username.set -> void -GitVersion.BranchCommit -GitVersion.BranchCommit.Branch.get -> GitVersion.IBranch! -GitVersion.BranchCommit.BranchCommit() -> void -GitVersion.BranchCommit.BranchCommit(GitVersion.ICommit! commit, GitVersion.IBranch! branch) -> void -GitVersion.BranchCommit.Commit.get -> GitVersion.ICommit! -GitVersion.BranchCommit.Equals(GitVersion.BranchCommit? other) -> bool -GitVersion.BugException -GitVersion.BugException.BugException() -> void -GitVersion.BugException.BugException(string! message) -> void -GitVersion.BugException.BugException(string? message, System.Exception? innerException) -> void -GitVersion.CommitFilter -GitVersion.CommitFilter.CommitFilter() -> void -GitVersion.CommitFilter.ExcludeReachableFrom.get -> object? -GitVersion.CommitFilter.ExcludeReachableFrom.set -> void -GitVersion.CommitFilter.FirstParentOnly.get -> bool -GitVersion.CommitFilter.FirstParentOnly.set -> void -GitVersion.CommitFilter.IncludeReachableFrom.get -> object? -GitVersion.CommitFilter.IncludeReachableFrom.set -> void -GitVersion.CommitFilter.SortBy.get -> GitVersion.CommitSortStrategies -GitVersion.CommitFilter.SortBy.set -> void -GitVersion.CommitSortStrategies -GitVersion.CommitSortStrategies.None = 0 -> GitVersion.CommitSortStrategies -GitVersion.CommitSortStrategies.Reverse = 4 -> GitVersion.CommitSortStrategies -GitVersion.CommitSortStrategies.Time = 2 -> GitVersion.CommitSortStrategies -GitVersion.CommitSortStrategies.Topological = 1 -> GitVersion.CommitSortStrategies -GitVersion.Common.IRepositoryStore -GitVersion.Common.IRepositoryStore.ExcludingBranches(System.Collections.Generic.IEnumerable! branchesToExclude) -> System.Collections.Generic.IEnumerable! -GitVersion.Common.IRepositoryStore.FindBranch(string? branchName) -> GitVersion.IBranch? -GitVersion.Common.IRepositoryStore.FindCommitBranchesWasBranchedFrom(GitVersion.IBranch! branch, GitVersion.Configuration.IGitVersionConfiguration! configuration, params GitVersion.IBranch![]! excludedBranches) -> System.Collections.Generic.IEnumerable! -GitVersion.Common.IRepositoryStore.FindCommitBranchesWasBranchedFrom(GitVersion.IBranch! branch, GitVersion.Configuration.IGitVersionConfiguration! configuration, System.Collections.Generic.IEnumerable! excludedBranches) -> System.Collections.Generic.IEnumerable! -GitVersion.Common.IRepositoryStore.FindCommitBranchWasBranchedFrom(GitVersion.IBranch? branch, GitVersion.Configuration.IGitVersionConfiguration! configuration, params GitVersion.IBranch![]! excludedBranches) -> GitVersion.BranchCommit -GitVersion.Common.IRepositoryStore.FindMainBranch(GitVersion.Configuration.IGitVersionConfiguration! configuration) -> GitVersion.IBranch? -GitVersion.Common.IRepositoryStore.FindMainlineBranches(GitVersion.Configuration.IGitVersionConfiguration! configuration) -> System.Collections.Generic.IEnumerable! -GitVersion.Common.IRepositoryStore.FindMergeBase(GitVersion.IBranch? branch, GitVersion.IBranch? otherBranch) -> GitVersion.ICommit? -GitVersion.Common.IRepositoryStore.FindMergeBase(GitVersion.ICommit! commit, GitVersion.ICommit! mainlineTip) -> GitVersion.ICommit? -GitVersion.Common.IRepositoryStore.GetBranchesContainingCommit(GitVersion.ICommit? commit, System.Collections.Generic.IEnumerable? branches = null, bool onlyTrackedBranches = false) -> System.Collections.Generic.IEnumerable! -GitVersion.Common.IRepositoryStore.GetCommitLog(GitVersion.ICommit? baseVersionSource, GitVersion.ICommit? currentCommit) -> System.Collections.Generic.IEnumerable! -GitVersion.Common.IRepositoryStore.GetCurrentCommit(GitVersion.IBranch! currentBranch, string? commitId) -> GitVersion.ICommit? -GitVersion.Common.IRepositoryStore.GetCurrentCommitTaggedVersion(GitVersion.ICommit? commit, string? tagPrefix, GitVersion.SemanticVersionFormat format, bool handleDetachedBranch) -> GitVersion.SemanticVersion? -GitVersion.Common.IRepositoryStore.GetMainlineBranches(GitVersion.ICommit! commit, GitVersion.Configuration.IGitVersionConfiguration! configuration) -> System.Collections.Generic.IDictionary!>! -GitVersion.Common.IRepositoryStore.GetMainlineCommitLog(GitVersion.ICommit? baseVersionSource, GitVersion.ICommit? mainlineTip) -> System.Collections.Generic.IEnumerable! -GitVersion.Common.IRepositoryStore.GetMergeBaseCommits(GitVersion.ICommit? mergeCommit, GitVersion.ICommit? mergedHead, GitVersion.ICommit? findMergeBase) -> System.Collections.Generic.IEnumerable! -GitVersion.Common.IRepositoryStore.GetNumberOfUncommittedChanges() -> int -GitVersion.Common.IRepositoryStore.GetReleaseBranches(System.Collections.Generic.IEnumerable>! releaseBranchConfig) -> System.Collections.Generic.IEnumerable! -GitVersion.Common.IRepositoryStore.GetSourceBranches(GitVersion.IBranch! branch, GitVersion.Configuration.IGitVersionConfiguration! configuration, params GitVersion.IBranch![]! excludedBranches) -> System.Collections.Generic.IEnumerable! -GitVersion.Common.IRepositoryStore.GetSourceBranches(GitVersion.IBranch! branch, GitVersion.Configuration.IGitVersionConfiguration! configuration, System.Collections.Generic.IEnumerable! excludedBranches) -> System.Collections.Generic.IEnumerable! -GitVersion.Common.IRepositoryStore.GetTaggedSemanticVersions(string? labelPrefix, GitVersion.SemanticVersionFormat format) -> System.Collections.Generic.IReadOnlyList! -GitVersion.Common.IRepositoryStore.GetTaggedSemanticVersionsOnBranch(GitVersion.IBranch! branch, string? labelPrefix, GitVersion.SemanticVersionFormat format) -> System.Collections.Generic.IReadOnlyList! -GitVersion.Common.IRepositoryStore.GetTargetBranch(string? targetBranchName) -> GitVersion.IBranch! -GitVersion.Common.IRepositoryStore.GetVersionTagsOnBranch(GitVersion.IBranch! branch, string? labelPrefix, GitVersion.SemanticVersionFormat format) -> System.Collections.Generic.IEnumerable! -GitVersion.Common.IRepositoryStore.IsCommitOnBranch(GitVersion.ICommit? baseVersionSource, GitVersion.IBranch! branch, GitVersion.ICommit! firstMatchingCommit) -> bool GitVersion.Configuration.BranchConfiguration GitVersion.Configuration.BranchConfiguration.CommitMessageIncrementing.get -> GitVersion.VersionCalculation.CommitMessageIncrementMode? GitVersion.Configuration.BranchConfiguration.Increment.get -> GitVersion.IncrementStrategy @@ -121,7 +31,7 @@ GitVersion.Configuration.ConfigurationException.ConfigurationException(string! m GitVersion.Configuration.ConfigurationExtensions GitVersion.Configuration.ConfigurationFileLocator GitVersion.Configuration.ConfigurationFileLocator.ConfigurationFileLocator(GitVersion.IFileSystem! fileSystem, Microsoft.Extensions.Options.IOptions! options) -> void -GitVersion.Configuration.ConfigurationFileLocator.ReadConfiguration(string? configFilePath) -> GitVersion.Configuration.GitVersionConfiguration! +GitVersion.Configuration.ConfigurationFileLocator.ReadConfiguration(string? configFilePath) -> GitVersion.Configuration.IGitVersionConfiguration! GitVersion.Configuration.ConfigurationFileLocator.ReadOverrideConfiguration(string? configFilePath) -> System.Collections.Generic.IReadOnlyDictionary? GitVersion.Configuration.ConfigurationFileLocator.TryGetConfigurationFile(string? workingDirectory, string? projectRootDirectory, out string? configFilePath) -> bool GitVersion.Configuration.ConfigurationFileLocator.Verify(string? workingDirectory, string? projectRootDirectory) -> void @@ -191,84 +101,15 @@ GitVersion.Configuration.GitVersionConfiguration.PatchVersionBumpMessage.get -> GitVersion.Configuration.GitVersionConfiguration.SemanticVersionFormat.get -> GitVersion.SemanticVersionFormat GitVersion.Configuration.GitVersionConfiguration.UpdateBuildNumber.get -> bool GitVersion.Configuration.GitVersionConfiguration.Workflow.get -> string? -GitVersion.Configuration.IBranchConfiguration -GitVersion.Configuration.IBranchConfiguration.CommitMessageIncrementing.get -> GitVersion.VersionCalculation.CommitMessageIncrementMode? -GitVersion.Configuration.IBranchConfiguration.Increment.get -> GitVersion.IncrementStrategy -GitVersion.Configuration.IBranchConfiguration.Inherit(GitVersion.Configuration.IBranchConfiguration! configuration) -> GitVersion.Configuration.IBranchConfiguration! -GitVersion.Configuration.IBranchConfiguration.IsMainline.get -> bool? -GitVersion.Configuration.IBranchConfiguration.IsMatch(string! branchName) -> bool -GitVersion.Configuration.IBranchConfiguration.IsReleaseBranch.get -> bool? -GitVersion.Configuration.IBranchConfiguration.IsSourceBranchFor.get -> System.Collections.Generic.IReadOnlyCollection! -GitVersion.Configuration.IBranchConfiguration.Label.get -> string? -GitVersion.Configuration.IBranchConfiguration.LabelNumberPattern.get -> string? -GitVersion.Configuration.IBranchConfiguration.PreReleaseWeight.get -> int? -GitVersion.Configuration.IBranchConfiguration.PreventIncrementOfMergedBranchVersion.get -> bool? -GitVersion.Configuration.IBranchConfiguration.RegularExpression.get -> string? -GitVersion.Configuration.IBranchConfiguration.SourceBranches.get -> System.Collections.Generic.IReadOnlyCollection! -GitVersion.Configuration.IBranchConfiguration.TrackMergeMessage.get -> bool? -GitVersion.Configuration.IBranchConfiguration.TrackMergeTarget.get -> bool? -GitVersion.Configuration.IBranchConfiguration.TracksReleaseBranches.get -> bool? -GitVersion.Configuration.IBranchConfiguration.VersioningMode.get -> GitVersion.VersionCalculation.VersioningMode? -GitVersion.Configuration.IConfigurationFileLocator -GitVersion.Configuration.IConfigurationFileLocator.ReadConfiguration(string? configFilePath) -> GitVersion.Configuration.GitVersionConfiguration! -GitVersion.Configuration.IConfigurationFileLocator.ReadOverrideConfiguration(string? configFilePath) -> System.Collections.Generic.IReadOnlyDictionary? -GitVersion.Configuration.IConfigurationFileLocator.TryGetConfigurationFile(string? workingDirectory, string? projectRootDirectory, out string? configFilePath) -> bool -GitVersion.Configuration.IConfigurationFileLocator.Verify(string? workingDirectory, string? projectRootDirectory) -> void -GitVersion.Configuration.IConfigurationProvider -GitVersion.Configuration.IConfigurationProvider.Init(string! workingDirectory) -> void -GitVersion.Configuration.IConfigurationProvider.Provide(System.Collections.Generic.IReadOnlyDictionary? overrideConfiguration = null) -> GitVersion.Configuration.IGitVersionConfiguration! -GitVersion.Configuration.IGitVersionConfiguration -GitVersion.Configuration.IGitVersionConfiguration.AssemblyFileVersioningFormat.get -> string? -GitVersion.Configuration.IGitVersionConfiguration.AssemblyFileVersioningScheme.get -> GitVersion.Extensions.AssemblyFileVersioningScheme? -GitVersion.Configuration.IGitVersionConfiguration.AssemblyInformationalFormat.get -> string? -GitVersion.Configuration.IGitVersionConfiguration.AssemblyVersioningFormat.get -> string? -GitVersion.Configuration.IGitVersionConfiguration.AssemblyVersioningScheme.get -> GitVersion.Extensions.AssemblyVersioningScheme? -GitVersion.Configuration.IGitVersionConfiguration.Branches.get -> System.Collections.Generic.IReadOnlyDictionary! -GitVersion.Configuration.IGitVersionConfiguration.CommitDateFormat.get -> string? -GitVersion.Configuration.IGitVersionConfiguration.Ignore.get -> GitVersion.Configuration.IIgnoreConfiguration! -GitVersion.Configuration.IGitVersionConfiguration.LabelPrefix.get -> string? -GitVersion.Configuration.IGitVersionConfiguration.LabelPreReleaseWeight.get -> int? -GitVersion.Configuration.IGitVersionConfiguration.MajorVersionBumpMessage.get -> string? -GitVersion.Configuration.IGitVersionConfiguration.MergeMessageFormats.get -> System.Collections.Generic.IReadOnlyDictionary! -GitVersion.Configuration.IGitVersionConfiguration.MinorVersionBumpMessage.get -> string? -GitVersion.Configuration.IGitVersionConfiguration.NextVersion.get -> string? -GitVersion.Configuration.IGitVersionConfiguration.NoBumpMessage.get -> string? -GitVersion.Configuration.IGitVersionConfiguration.PatchVersionBumpMessage.get -> string? -GitVersion.Configuration.IGitVersionConfiguration.SemanticVersionFormat.get -> GitVersion.SemanticVersionFormat -GitVersion.Configuration.IGitVersionConfiguration.UpdateBuildNumber.get -> bool -GitVersion.Configuration.IGitVersionConfiguration.Workflow.get -> string? GitVersion.Configuration.IgnoreConfiguration GitVersion.Configuration.IgnoreConfiguration.Before.get -> System.DateTimeOffset? GitVersion.Configuration.IgnoreConfiguration.Before.init -> void GitVersion.Configuration.IgnoreConfiguration.Shas.get -> System.Collections.Generic.HashSet! GitVersion.Configuration.IgnoreConfiguration.Shas.init -> void GitVersion.Configuration.IgnoreConfigurationExtensions -GitVersion.Configuration.IIgnoreConfiguration -GitVersion.Configuration.IIgnoreConfiguration.Before.get -> System.DateTimeOffset? -GitVersion.Configuration.IIgnoreConfiguration.IsEmpty.get -> bool -GitVersion.Configuration.IIgnoreConfiguration.Shas.get -> System.Collections.Generic.IReadOnlyCollection! -GitVersion.Configuration.Init.EditConfigStep -GitVersion.Configuration.Init.EditConfigStep.EditConfigStep(GitVersion.Logging.IConsole! console, GitVersion.IFileSystem! fileSystem, GitVersion.Logging.ILog! log, GitVersion.Configuration.Init.Wizard.IConfigInitStepFactory! stepFactory) -> void GitVersion.Configuration.Init.GitVersionInitModule GitVersion.Configuration.Init.GitVersionInitModule.GitVersionInitModule() -> void -GitVersion.Configuration.Init.SetConfig.AssemblyVersioningSchemeSetting -GitVersion.Configuration.Init.SetConfig.AssemblyVersioningSchemeSetting.AssemblyVersioningSchemeSetting(GitVersion.Logging.IConsole! console, GitVersion.IFileSystem! fileSystem, GitVersion.Logging.ILog! log, GitVersion.Configuration.Init.Wizard.IConfigInitStepFactory! stepFactory) -> void -GitVersion.Configuration.Init.SetConfig.ConfigureBranch -GitVersion.Configuration.Init.SetConfig.ConfigureBranch.ConfigureBranch(GitVersion.Logging.IConsole! console, GitVersion.IFileSystem! fileSystem, GitVersion.Logging.ILog! log, GitVersion.Configuration.Init.Wizard.IConfigInitStepFactory! stepFactory) -> void -GitVersion.Configuration.Init.SetConfig.ConfigureBranch.WithData(string! configName, GitVersion.Configuration.BranchConfiguration! configuration) -> GitVersion.Configuration.Init.SetConfig.ConfigureBranch! -GitVersion.Configuration.Init.SetConfig.ConfigureBranches -GitVersion.Configuration.Init.SetConfig.ConfigureBranches.ConfigureBranches(GitVersion.Logging.IConsole! console, GitVersion.IFileSystem! fileSystem, GitVersion.Logging.ILog! log, GitVersion.Configuration.Init.Wizard.IConfigInitStepFactory! stepFactory) -> void -GitVersion.Configuration.Init.SetConfig.GlobalModeSetting -GitVersion.Configuration.Init.SetConfig.GlobalModeSetting.GlobalModeSetting(GitVersion.Logging.IConsole! console, GitVersion.IFileSystem! fileSystem, GitVersion.Logging.ILog! log, GitVersion.Configuration.Init.Wizard.IConfigInitStepFactory! stepFactory) -> void -GitVersion.Configuration.Init.SetConfig.GlobalModeSetting.WithData(GitVersion.Configuration.Init.Wizard.ConfigInitWizardStep! returnStep, bool isPartOfTheWizard) -> GitVersion.Configuration.Init.SetConfig.GlobalModeSetting! -GitVersion.Configuration.Init.SetConfig.SetBranchIncrementMode -GitVersion.Configuration.Init.SetConfig.SetBranchIncrementMode.SetBranchIncrementMode(GitVersion.Logging.IConsole! console, GitVersion.IFileSystem! fileSystem, GitVersion.Logging.ILog! log, GitVersion.Configuration.Init.Wizard.IConfigInitStepFactory! stepFactory) -> void -GitVersion.Configuration.Init.SetConfig.SetBranchIncrementMode.WithData(string! configName, GitVersion.Configuration.BranchConfiguration! configuration) -> GitVersion.Configuration.Init.SetConfig.SetBranchIncrementMode! -GitVersion.Configuration.Init.SetConfig.SetBranchTag -GitVersion.Configuration.Init.SetConfig.SetBranchTag.SetBranchTag(GitVersion.Logging.IConsole! console, GitVersion.IFileSystem! fileSystem, GitVersion.Logging.ILog! log, GitVersion.Configuration.Init.Wizard.IConfigInitStepFactory! stepFactory) -> void -GitVersion.Configuration.Init.SetConfig.SetBranchTag.WithData(string! configName, GitVersion.Configuration.BranchConfiguration! configuration) -> GitVersion.Configuration.Init.SetConfig.SetBranchTag! -GitVersion.Configuration.Init.SetNextVersion -GitVersion.Configuration.Init.SetNextVersion.SetNextVersion(GitVersion.Logging.IConsole! console, GitVersion.IFileSystem! fileSystem, GitVersion.Logging.ILog! log, GitVersion.Configuration.Init.Wizard.IConfigInitStepFactory! stepFactory) -> void +GitVersion.Configuration.Init.GitVersionInitModule.RegisterTypes(Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> void GitVersion.Configuration.Init.StepResult GitVersion.Configuration.Init.StepResult.Exit.get -> bool GitVersion.Configuration.Init.StepResult.InvalidResponse.get -> bool @@ -279,58 +120,21 @@ GitVersion.Configuration.Init.Wizard.ConfigInitStepFactory.ConfigInitStepFactory GitVersion.Configuration.Init.Wizard.ConfigInitStepFactory.CreateStep() -> T GitVersion.Configuration.Init.Wizard.ConfigInitWizard GitVersion.Configuration.Init.Wizard.ConfigInitWizard.ConfigInitWizard(GitVersion.Logging.IConsole! console, GitVersion.Configuration.Init.Wizard.IConfigInitStepFactory! stepFactory) -> void -GitVersion.Configuration.Init.Wizard.ConfigInitWizard.Run(GitVersion.Configuration.GitVersionConfiguration! configuration, string! workingDirectory) -> GitVersion.Configuration.GitVersionConfiguration? -GitVersion.Configuration.Init.Wizard.ConfigInitWizardStep -GitVersion.Configuration.Init.Wizard.ConfigInitWizardStep.Apply(System.Collections.Generic.Queue! steps, GitVersion.Configuration.GitVersionConfiguration! configuration, string! workingDirectory) -> bool -GitVersion.Configuration.Init.Wizard.ConfigInitWizardStep.ConfigInitWizardStep(GitVersion.Logging.IConsole! console, GitVersion.IFileSystem! fileSystem, GitVersion.Logging.ILog! log, GitVersion.Configuration.Init.Wizard.IConfigInitStepFactory! stepFactory) -> void -GitVersion.Configuration.Init.Wizard.FinishedSetupStep -GitVersion.Configuration.Init.Wizard.FinishedSetupStep.FinishedSetupStep(GitVersion.Logging.IConsole! console, GitVersion.IFileSystem! fileSystem, GitVersion.Logging.ILog! log, GitVersion.Configuration.Init.Wizard.IConfigInitStepFactory! stepFactory) -> void -GitVersion.Configuration.Init.Wizard.GitFlowSetupStep -GitVersion.Configuration.Init.Wizard.GitFlowSetupStep.GitFlowSetupStep(GitVersion.Logging.IConsole! console, GitVersion.IFileSystem! fileSystem, GitVersion.Logging.ILog! log, GitVersion.Configuration.Init.Wizard.IConfigInitStepFactory! stepFactory) -> void -GitVersion.Configuration.Init.Wizard.GitHubFlowStep -GitVersion.Configuration.Init.Wizard.GitHubFlowStep.GitHubFlowStep(GitVersion.Logging.IConsole! console, GitVersion.IFileSystem! fileSystem, GitVersion.Logging.ILog! log, GitVersion.Configuration.Init.Wizard.IConfigInitStepFactory! stepFactory) -> void +GitVersion.Configuration.Init.Wizard.ConfigInitWizard.Run(GitVersion.Configuration.IGitVersionConfiguration! configuration, string! workingDirectory) -> GitVersion.Configuration.IGitVersionConfiguration? GitVersion.Configuration.Init.Wizard.IConfigInitStepFactory GitVersion.Configuration.Init.Wizard.IConfigInitStepFactory.CreateStep() -> T GitVersion.Configuration.Init.Wizard.IConfigInitWizard -GitVersion.Configuration.Init.Wizard.IConfigInitWizard.Run(GitVersion.Configuration.GitVersionConfiguration! configuration, string! workingDirectory) -> GitVersion.Configuration.GitVersionConfiguration? -GitVersion.Configuration.Init.Wizard.PickBranchingStrategy1Step -GitVersion.Configuration.Init.Wizard.PickBranchingStrategy1Step.PickBranchingStrategy1Step(GitVersion.Logging.IConsole! console, GitVersion.IFileSystem! fileSystem, GitVersion.Logging.ILog! log, GitVersion.Configuration.Init.Wizard.IConfigInitStepFactory! stepFactory) -> void -GitVersion.Configuration.Init.Wizard.PickBranchingStrategy2Step -GitVersion.Configuration.Init.Wizard.PickBranchingStrategy2Step.PickBranchingStrategy2Step(GitVersion.Logging.IConsole! console, GitVersion.IFileSystem! fileSystem, GitVersion.Logging.ILog! log, GitVersion.Configuration.Init.Wizard.IConfigInitStepFactory! stepFactory) -> void -GitVersion.Configuration.Init.Wizard.PickBranchingStrategy3Step -GitVersion.Configuration.Init.Wizard.PickBranchingStrategy3Step.PickBranchingStrategy3Step(GitVersion.Logging.IConsole! console, GitVersion.IFileSystem! fileSystem, GitVersion.Logging.ILog! log, GitVersion.Configuration.Init.Wizard.IConfigInitStepFactory! stepFactory) -> void -GitVersion.Configuration.Init.Wizard.PickBranchingStrategyStep -GitVersion.Configuration.Init.Wizard.PickBranchingStrategyStep.PickBranchingStrategyStep(GitVersion.Logging.IConsole! console, GitVersion.IFileSystem! fileSystem, GitVersion.Logging.ILog! log, GitVersion.Configuration.Init.Wizard.IConfigInitStepFactory! stepFactory) -> void -GitVersion.ConfigurationInfo -GitVersion.ConfigurationInfo.ConfigurationFile -> string? -GitVersion.ConfigurationInfo.ConfigurationInfo() -> void -GitVersion.ConfigurationInfo.OverrideConfiguration -> System.Collections.Generic.IReadOnlyDictionary? -GitVersion.ConfigurationInfo.ShowConfiguration -> bool +GitVersion.Configuration.Init.Wizard.IConfigInitWizard.Run(GitVersion.Configuration.IGitVersionConfiguration! configuration, string! workingDirectory) -> GitVersion.Configuration.IGitVersionConfiguration? GitVersion.Environment GitVersion.Environment.Environment() -> void GitVersion.Environment.GetEnvironmentVariable(string! variableName) -> string? GitVersion.Environment.SetEnvironmentVariable(string! variableName, string? value) -> void -GitVersion.Extensions.AssemblyFileVersioningScheme -GitVersion.Extensions.AssemblyFileVersioningScheme.Major = 3 -> GitVersion.Extensions.AssemblyFileVersioningScheme -GitVersion.Extensions.AssemblyFileVersioningScheme.MajorMinor = 2 -> GitVersion.Extensions.AssemblyFileVersioningScheme -GitVersion.Extensions.AssemblyFileVersioningScheme.MajorMinorPatch = 1 -> GitVersion.Extensions.AssemblyFileVersioningScheme -GitVersion.Extensions.AssemblyFileVersioningScheme.MajorMinorPatchTag = 0 -> GitVersion.Extensions.AssemblyFileVersioningScheme -GitVersion.Extensions.AssemblyFileVersioningScheme.None = 4 -> GitVersion.Extensions.AssemblyFileVersioningScheme -GitVersion.Extensions.AssemblyVersioningScheme -GitVersion.Extensions.AssemblyVersioningScheme.Major = 3 -> GitVersion.Extensions.AssemblyVersioningScheme -GitVersion.Extensions.AssemblyVersioningScheme.MajorMinor = 2 -> GitVersion.Extensions.AssemblyVersioningScheme -GitVersion.Extensions.AssemblyVersioningScheme.MajorMinorPatch = 1 -> GitVersion.Extensions.AssemblyVersioningScheme -GitVersion.Extensions.AssemblyVersioningScheme.MajorMinorPatchTag = 0 -> GitVersion.Extensions.AssemblyVersioningScheme -GitVersion.Extensions.AssemblyVersioningScheme.None = 4 -> GitVersion.Extensions.AssemblyVersioningScheme GitVersion.Extensions.AssemblyVersionsGeneratorExtensions -GitVersion.Extensions.CommonExtensions GitVersion.Extensions.DictionaryExtensions GitVersion.Extensions.EnumerableExtensions GitVersion.Extensions.GitExtensions GitVersion.Extensions.ObjectExtensions -GitVersion.Extensions.ReadEmbeddedResourceExtensions GitVersion.Extensions.ServiceCollectionExtensions -GitVersion.Extensions.StringExtensions GitVersion.FileSystem GitVersion.FileSystem.Copy(string! from, string! to, bool overwrite) -> void GitVersion.FileSystem.CreateDirectory(string! path) -> void @@ -347,210 +151,23 @@ GitVersion.FileSystem.PathsEqual(string? path, string? otherPath) -> bool GitVersion.FileSystem.ReadAllText(string! path) -> string! GitVersion.FileSystem.WriteAllText(string? file, string! fileContents) -> void GitVersion.FileSystem.WriteAllText(string? file, string! fileContents, System.Text.Encoding! encoding) -> void -GitVersion.FileWriteInfo -GitVersion.FileWriteInfo.FileExtension.get -> string! -GitVersion.FileWriteInfo.FileName.get -> string! -GitVersion.FileWriteInfo.FileWriteInfo(string! workingDirectory, string! fileName, string! fileExtension) -> void -GitVersion.FileWriteInfo.WorkingDirectory.get -> string! GitVersion.GitPreparer GitVersion.GitPreparer.EnsureLocalBranchExistsForCurrentBranch(GitVersion.IRemote? remote, string? currentBranch) -> void GitVersion.GitPreparer.GitPreparer(GitVersion.Logging.ILog! log, GitVersion.IEnvironment! environment, GitVersion.Agents.ICurrentBuildAgent! buildAgent, Microsoft.Extensions.Options.IOptions! options, GitVersion.IMutatingGitRepository! repository, GitVersion.IGitRepositoryInfo! repositoryInfo, System.Lazy! versionContext) -> void GitVersion.GitPreparer.Prepare() -> void -GitVersion.GitToolsException -GitVersion.GitToolsException.GitToolsException() -> void -GitVersion.GitToolsException.GitToolsException(string! message, System.Exception! innerException) -> void -GitVersion.GitToolsException.GitToolsException(string! messageFormat, params object![]! args) -> void -GitVersion.GitToolsException.GitToolsException(string? message) -> void GitVersion.GitVersionCalculateTool -GitVersion.GitVersionCalculateTool.CalculateVersionVariables() -> GitVersion.OutputVariables.VersionVariables! +GitVersion.GitVersionCalculateTool.CalculateVersionVariables() -> GitVersion.OutputVariables.GitVersionVariables! GitVersion.GitVersionCalculateTool.GitVersionCalculateTool(GitVersion.Logging.ILog! log, GitVersion.VersionCalculation.INextVersionCalculator! nextVersionCalculator, GitVersion.VersionCalculation.IVariableProvider! variableProvider, GitVersion.IGitPreparer! gitPreparer, GitVersion.VersionCalculation.Caching.IGitVersionCache! gitVersionCache, GitVersion.VersionCalculation.Caching.IGitVersionCacheKeyFactory! cacheKeyFactory, Microsoft.Extensions.Options.IOptions! options, System.Lazy! versionContext) -> void GitVersion.GitVersionCommonModule GitVersion.GitVersionCommonModule.GitVersionCommonModule() -> void GitVersion.GitVersionCommonModule.RegisterTypes(Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> void -GitVersion.GitVersionContext -GitVersion.GitVersionContext.Configuration.get -> GitVersion.Configuration.IGitVersionConfiguration! -GitVersion.GitVersionContext.CurrentBranch.get -> GitVersion.IBranch! -GitVersion.GitVersionContext.CurrentCommit.get -> GitVersion.ICommit? -GitVersion.GitVersionContext.CurrentCommitTaggedVersion.get -> GitVersion.SemanticVersion? -GitVersion.GitVersionContext.GitVersionContext(GitVersion.IBranch! currentBranch, GitVersion.ICommit? currentCommit, GitVersion.Configuration.IGitVersionConfiguration! configuration, GitVersion.SemanticVersion? currentCommitTaggedVersion, int numberOfUncommittedChanges) -> void -GitVersion.GitVersionContext.IsCurrentCommitTagged.get -> bool -GitVersion.GitVersionContext.NumberOfUncommittedChanges.get -> int GitVersion.GitVersionContextFactory GitVersion.GitVersionContextFactory.Create(GitVersion.GitVersionOptions! gitVersionOptions) -> GitVersion.GitVersionContext! GitVersion.GitVersionContextFactory.GitVersionContextFactory(GitVersion.Configuration.IConfigurationProvider! configurationProvider, GitVersion.Common.IRepositoryStore! repositoryStore, Microsoft.Extensions.Options.IOptions! options) -> void GitVersion.GitVersionCoreModule GitVersion.GitVersionCoreModule.GitVersionCoreModule() -> void GitVersion.GitVersionCoreModule.RegisterTypes(Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> void -GitVersion.GitVersionException -GitVersion.GitVersionException.GitVersionException() -> void -GitVersion.GitVersionException.GitVersionException(string! message) -> void -GitVersion.GitVersionException.GitVersionException(string! message, System.Exception! innerException) -> void -GitVersion.GitVersionException.GitVersionException(string! messageFormat, params object![]! args) -> void -GitVersion.GitVersionModule -GitVersion.GitVersionModule.GitVersionModule() -> void -GitVersion.GitVersionOptions -GitVersion.GitVersionOptions.AssemblySettingsInfo.get -> GitVersion.AssemblySettingsInfo! -GitVersion.GitVersionOptions.AuthenticationInfo.get -> GitVersion.AuthenticationInfo! -GitVersion.GitVersionOptions.ConfigurationInfo.get -> GitVersion.ConfigurationInfo! -GitVersion.GitVersionOptions.Diag -> bool -GitVersion.GitVersionOptions.Format -> string? -GitVersion.GitVersionOptions.GitVersionOptions() -> void -GitVersion.GitVersionOptions.Init -> bool -GitVersion.GitVersionOptions.IsHelp -> bool -GitVersion.GitVersionOptions.IsVersion -> bool -GitVersion.GitVersionOptions.LogFilePath -> string? -GitVersion.GitVersionOptions.Output -> System.Collections.Generic.ISet! -GitVersion.GitVersionOptions.OutputFile -> string? -GitVersion.GitVersionOptions.RepositoryInfo.get -> GitVersion.RepositoryInfo! -GitVersion.GitVersionOptions.Settings.get -> GitVersion.Settings! -GitVersion.GitVersionOptions.ShowVariable -> string? -GitVersion.GitVersionOptions.Verbosity -> GitVersion.Logging.Verbosity -GitVersion.GitVersionOptions.WixInfo.get -> GitVersion.WixInfo! -GitVersion.GitVersionOptions.WorkingDirectory.get -> string! -GitVersion.GitVersionOptions.WorkingDirectory.set -> void -GitVersion.Helpers.EncodingHelper -GitVersion.Helpers.LambdaEqualityHelper -GitVersion.Helpers.LambdaEqualityHelper.Equals(T? instance, T? other) -> bool -GitVersion.Helpers.LambdaEqualityHelper.GetHashCode(T instance) -> int -GitVersion.Helpers.LambdaEqualityHelper.LambdaEqualityHelper(params System.Func![]! equalityContributorAccessors) -> void -GitVersion.Helpers.LambdaKeyComparer -GitVersion.Helpers.LambdaKeyComparer.LambdaKeyComparer(System.Func! keySelector, System.Collections.Generic.IComparer? innerComparer = null) -> void -GitVersion.Helpers.PathHelper GitVersion.Helpers.ProcessHelper -GitVersion.Helpers.RetryAction -GitVersion.Helpers.RetryAction.Execute(System.Func! operation) -> Result -GitVersion.Helpers.RetryAction.RetryAction(int maxRetries = 5) -> void -GitVersion.Helpers.RetryAction -GitVersion.Helpers.RetryAction.Execute(System.Action! operation) -> void -GitVersion.Helpers.RetryAction.RetryAction(int maxRetries = 5) -> void -GitVersion.Helpers.ServiceMessageEscapeHelper -GitVersion.Helpers.StringComparerUtils -GitVersion.IBranch -GitVersion.IBranch.Commits.get -> GitVersion.ICommitCollection? -GitVersion.IBranch.IsDetachedHead.get -> bool -GitVersion.IBranch.IsRemote.get -> bool -GitVersion.IBranch.IsTracking.get -> bool -GitVersion.IBranch.Tip.get -> GitVersion.ICommit? -GitVersion.IBranchCollection -GitVersion.IBranchCollection.ExcludeBranches(System.Collections.Generic.IEnumerable! branchesToExclude) -> System.Collections.Generic.IEnumerable! -GitVersion.IBranchCollection.UpdateTrackedBranch(GitVersion.IBranch! branch, string! remoteTrackingReferenceName) -> void -GitVersion.IBranchCollection.this[string! name].get -> GitVersion.IBranch? -GitVersion.ICommit -GitVersion.ICommit.Message.get -> string! -GitVersion.ICommit.Parents.get -> System.Collections.Generic.IEnumerable! -GitVersion.ICommit.When.get -> System.DateTimeOffset -GitVersion.ICommitCollection -GitVersion.ICommitCollection.GetCommitsPriorTo(System.DateTimeOffset olderThan) -> System.Collections.Generic.IEnumerable! -GitVersion.ICommitCollection.QueryBy(GitVersion.CommitFilter! commitFilter) -> System.Collections.Generic.IEnumerable! -GitVersion.IConverterContext -GitVersion.IConverterContext.WorkingDirectory.get -> string! -GitVersion.IEnvironment -GitVersion.IEnvironment.GetEnvironmentVariable(string! variableName) -> string? -GitVersion.IEnvironment.SetEnvironmentVariable(string! variableName, string? value) -> void -GitVersion.IFileSystem -GitVersion.IFileSystem.Copy(string! from, string! to, bool overwrite) -> void -GitVersion.IFileSystem.CreateDirectory(string! path) -> void -GitVersion.IFileSystem.Delete(string! path) -> void -GitVersion.IFileSystem.DirectoryEnumerateFiles(string? directory, string! searchPattern, System.IO.SearchOption searchOption) -> System.Collections.Generic.IEnumerable! -GitVersion.IFileSystem.DirectoryExists(string! path) -> bool -GitVersion.IFileSystem.Exists(string! file) -> bool -GitVersion.IFileSystem.GetLastDirectoryWrite(string! path) -> long -GitVersion.IFileSystem.Move(string! from, string! to) -> void -GitVersion.IFileSystem.OpenRead(string! path) -> System.IO.Stream! -GitVersion.IFileSystem.OpenWrite(string! path) -> System.IO.Stream! -GitVersion.IFileSystem.PathsEqual(string? path, string? otherPath) -> bool -GitVersion.IFileSystem.ReadAllText(string! path) -> string! -GitVersion.IFileSystem.WriteAllText(string? file, string! fileContents) -> void -GitVersion.IFileSystem.WriteAllText(string? file, string! fileContents, System.Text.Encoding! encoding) -> void -GitVersion.IGitObject -GitVersion.IGitObject.Id.get -> GitVersion.IObjectId! -GitVersion.IGitObject.Sha.get -> string! -GitVersion.IGitPreparer -GitVersion.IGitPreparer.EnsureLocalBranchExistsForCurrentBranch(GitVersion.IRemote! remote, string! currentBranch) -> void -GitVersion.IGitPreparer.Prepare() -> void -GitVersion.IGitRepository -GitVersion.IGitRepository.Branches.get -> GitVersion.IBranchCollection! -GitVersion.IGitRepository.Commits.get -> GitVersion.ICommitCollection! -GitVersion.IGitRepository.DiscoverRepository(string? gitDirectory) -> void -GitVersion.IGitRepository.FindMergeBase(GitVersion.ICommit! commit, GitVersion.ICommit! otherCommit) -> GitVersion.ICommit? -GitVersion.IGitRepository.GetNumberOfUncommittedChanges() -> int -GitVersion.IGitRepository.Head.get -> GitVersion.IBranch! -GitVersion.IGitRepository.IsHeadDetached.get -> bool -GitVersion.IGitRepository.Path.get -> string! -GitVersion.IGitRepository.Refs.get -> GitVersion.IReferenceCollection! -GitVersion.IGitRepository.Remotes.get -> GitVersion.IRemoteCollection! -GitVersion.IGitRepository.Tags.get -> GitVersion.ITagCollection! -GitVersion.IGitRepository.WorkingDirectory.get -> string! -GitVersion.IGitRepositoryInfo -GitVersion.IGitRepositoryInfo.DotGitDirectory.get -> string? -GitVersion.IGitRepositoryInfo.DynamicGitRepositoryPath.get -> string? -GitVersion.IGitRepositoryInfo.GitRootPath.get -> string? -GitVersion.IGitRepositoryInfo.ProjectRootDirectory.get -> string? -GitVersion.IGitVersionCalculateTool -GitVersion.IGitVersionCalculateTool.CalculateVersionVariables() -> GitVersion.OutputVariables.VersionVariables! -GitVersion.IGitVersionContextFactory -GitVersion.IGitVersionContextFactory.Create(GitVersion.GitVersionOptions! gitVersionOptions) -> GitVersion.GitVersionContext! -GitVersion.IGitVersionModule -GitVersion.IGitVersionModule.RegisterTypes(Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> void -GitVersion.IGitVersionOutputTool -GitVersion.IGitVersionOutputTool.GenerateGitVersionInformation(GitVersion.OutputVariables.VersionVariables! variables, GitVersion.FileWriteInfo! fileWriteInfo) -> void -GitVersion.IGitVersionOutputTool.OutputVariables(GitVersion.OutputVariables.VersionVariables! variables, bool updateBuildNumber) -> void -GitVersion.IGitVersionOutputTool.UpdateAssemblyInfo(GitVersion.OutputVariables.VersionVariables! variables) -> void -GitVersion.IGitVersionOutputTool.UpdateWixVersionFile(GitVersion.OutputVariables.VersionVariables! variables) -> void -GitVersion.IMutatingGitRepository -GitVersion.IMutatingGitRepository.Checkout(string! commitOrBranchSpec) -> void -GitVersion.IMutatingGitRepository.Clone(string? sourceUrl, string? workdirPath, GitVersion.AuthenticationInfo! auth) -> void -GitVersion.IMutatingGitRepository.CreateBranchForPullRequestBranch(GitVersion.AuthenticationInfo! auth) -> void -GitVersion.IMutatingGitRepository.Fetch(string! remote, System.Collections.Generic.IEnumerable! refSpecs, GitVersion.AuthenticationInfo! auth, string? logMessage) -> void -GitVersion.INamedReference -GitVersion.INamedReference.Name.get -> GitVersion.ReferenceName! -GitVersion.IObjectId -GitVersion.IObjectId.Sha.get -> string! -GitVersion.IObjectId.ToString(int prefixLength) -> string! -GitVersion.IRefSpec -GitVersion.IRefSpec.Destination.get -> string! -GitVersion.IRefSpec.Direction.get -> GitVersion.RefSpecDirection -GitVersion.IRefSpec.Source.get -> string! -GitVersion.IRefSpec.Specification.get -> string! -GitVersion.IRefSpecCollection -GitVersion.IReference -GitVersion.IReference.ReferenceTargetId.get -> GitVersion.IObjectId? -GitVersion.IReference.TargetIdentifier.get -> string! -GitVersion.IReferenceCollection -GitVersion.IReferenceCollection.Add(string! name, string! canonicalRefNameOrObject, bool allowOverwrite = false) -> void -GitVersion.IReferenceCollection.FromGlob(string! prefix) -> System.Collections.Generic.IEnumerable! -GitVersion.IReferenceCollection.Head.get -> GitVersion.IReference? -GitVersion.IReferenceCollection.UpdateTarget(GitVersion.IReference! directRef, GitVersion.IObjectId! targetId) -> void -GitVersion.IReferenceCollection.this[GitVersion.ReferenceName! referenceName].get -> GitVersion.IReference? -GitVersion.IReferenceCollection.this[string! name].get -> GitVersion.IReference? -GitVersion.IRemote -GitVersion.IRemote.FetchRefSpecs.get -> System.Collections.Generic.IEnumerable! -GitVersion.IRemote.Name.get -> string! -GitVersion.IRemote.PushRefSpecs.get -> System.Collections.Generic.IEnumerable! -GitVersion.IRemote.RefSpecs.get -> System.Collections.Generic.IEnumerable! -GitVersion.IRemote.Url.get -> string! -GitVersion.IRemoteCollection -GitVersion.IRemoteCollection.Remove(string! remoteName) -> void -GitVersion.IRemoteCollection.Update(string! remoteName, string! refSpec) -> void -GitVersion.IRemoteCollection.this[string! name].get -> GitVersion.IRemote? -GitVersion.ITag -GitVersion.ITag.Commit.get -> GitVersion.ICommit! -GitVersion.ITag.TargetSha.get -> string? -GitVersion.ITagCollection -GitVersion.IVersionConverter -GitVersion.IVersionConverter.Execute(GitVersion.OutputVariables.VersionVariables! variables, T context) -> void -GitVersion.IncrementStrategy -GitVersion.IncrementStrategy.Inherit = 4 -> GitVersion.IncrementStrategy -GitVersion.IncrementStrategy.Major = 1 -> GitVersion.IncrementStrategy -GitVersion.IncrementStrategy.Minor = 2 -> GitVersion.IncrementStrategy -GitVersion.IncrementStrategy.None = 0 -> GitVersion.IncrementStrategy -GitVersion.IncrementStrategy.Patch = 3 -> GitVersion.IncrementStrategy -GitVersion.IncrementStrategyExtensions -GitVersion.LockedFileException -GitVersion.LockedFileException.LockedFileException() -> void -GitVersion.LockedFileException.LockedFileException(System.Exception! inner) -> void -GitVersion.LockedFileException.LockedFileException(string? message) -> void -GitVersion.LockedFileException.LockedFileException(string? message, System.Exception? innerException) -> void GitVersion.Logging.ConsoleAdapter GitVersion.Logging.ConsoleAdapter.ConsoleAdapter() -> void GitVersion.Logging.ConsoleAdapter.ReadLine() -> string? @@ -561,24 +178,9 @@ GitVersion.Logging.ConsoleAdapter.WriteLine(string? msg) -> void GitVersion.Logging.ConsoleAppender GitVersion.Logging.ConsoleAppender.ConsoleAppender() -> void GitVersion.Logging.ConsoleAppender.WriteTo(GitVersion.Logging.LogLevel level, string! message) -> void -GitVersion.Logging.Disposable GitVersion.Logging.FileAppender GitVersion.Logging.FileAppender.FileAppender(string! filePath) -> void GitVersion.Logging.FileAppender.WriteTo(GitVersion.Logging.LogLevel level, string! message) -> void -GitVersion.Logging.IConsole -GitVersion.Logging.IConsole.ReadLine() -> string? -GitVersion.Logging.IConsole.UseColor(System.ConsoleColor consoleColor) -> System.IDisposable! -GitVersion.Logging.IConsole.Write(string? msg) -> void -GitVersion.Logging.IConsole.WriteLine() -> void -GitVersion.Logging.IConsole.WriteLine(string? msg) -> void -GitVersion.Logging.ILog -GitVersion.Logging.ILog.AddLogAppender(GitVersion.Logging.ILogAppender! logAppender) -> void -GitVersion.Logging.ILog.IndentLog(string! operationDescription) -> System.IDisposable! -GitVersion.Logging.ILog.Verbosity.get -> GitVersion.Logging.Verbosity -GitVersion.Logging.ILog.Verbosity.set -> void -GitVersion.Logging.ILog.Write(GitVersion.Logging.Verbosity verbosity, GitVersion.Logging.LogLevel level, string! format, params object![]! args) -> void -GitVersion.Logging.ILogAppender -GitVersion.Logging.ILogAppender.WriteTo(GitVersion.Logging.LogLevel level, string! message) -> void GitVersion.Logging.Log GitVersion.Logging.Log.AddLogAppender(GitVersion.Logging.ILogAppender! logAppender) -> void GitVersion.Logging.Log.IndentLog(string! operationDescription) -> System.IDisposable! @@ -587,16 +189,6 @@ GitVersion.Logging.Log.Log(params GitVersion.Logging.ILogAppender![]! appenders) GitVersion.Logging.Log.Verbosity.get -> GitVersion.Logging.Verbosity GitVersion.Logging.Log.Verbosity.set -> void GitVersion.Logging.Log.Write(GitVersion.Logging.Verbosity verbosity, GitVersion.Logging.LogLevel level, string! format, params object![]! args) -> void -GitVersion.Logging.LogAction -GitVersion.Logging.LogActionEntry -GitVersion.Logging.LogExtensions -GitVersion.Logging.LogLevel -GitVersion.Logging.LogLevel.Debug = 5 -> GitVersion.Logging.LogLevel -GitVersion.Logging.LogLevel.Error = 1 -> GitVersion.Logging.LogLevel -GitVersion.Logging.LogLevel.Fatal = 0 -> GitVersion.Logging.LogLevel -GitVersion.Logging.LogLevel.Info = 3 -> GitVersion.Logging.LogLevel -GitVersion.Logging.LogLevel.Verbose = 4 -> GitVersion.Logging.LogLevel -GitVersion.Logging.LogLevel.Warn = 2 -> GitVersion.Logging.LogLevel GitVersion.Logging.NullLog GitVersion.Logging.NullLog.AddLogAppender(GitVersion.Logging.ILogAppender! logAppender) -> void GitVersion.Logging.NullLog.Indent.get -> string? @@ -606,138 +198,21 @@ GitVersion.Logging.NullLog.NullLog() -> void GitVersion.Logging.NullLog.Verbosity.get -> GitVersion.Logging.Verbosity GitVersion.Logging.NullLog.Verbosity.set -> void GitVersion.Logging.NullLog.Write(GitVersion.Logging.Verbosity verbosity, GitVersion.Logging.LogLevel level, string! format, params object![]! args) -> void -GitVersion.Logging.Verbosity -GitVersion.Logging.Verbosity.Diagnostic = 4 -> GitVersion.Logging.Verbosity -GitVersion.Logging.Verbosity.Minimal = 1 -> GitVersion.Logging.Verbosity -GitVersion.Logging.Verbosity.Normal = 2 -> GitVersion.Logging.Verbosity -GitVersion.Logging.Verbosity.Quiet = 0 -> GitVersion.Logging.Verbosity -GitVersion.Logging.Verbosity.Verbose = 3 -> GitVersion.Logging.Verbosity GitVersion.MergeMessage GitVersion.MergeMessage.FormatName.get -> string? GitVersion.MergeMessage.IsMergedPullRequest.get -> bool -GitVersion.MergeMessage.MergedBranch.get -> GitVersion.ReferenceName? GitVersion.MergeMessage.MergeMessage(string! mergeMessage, GitVersion.Configuration.IGitVersionConfiguration! configuration) -> void +GitVersion.MergeMessage.MergedBranch.get -> GitVersion.ReferenceName? GitVersion.MergeMessage.PullRequestNumber.get -> int? GitVersion.MergeMessage.TargetBranch.get -> string? GitVersion.MergeMessage.Version.get -> GitVersion.SemanticVersion? -GitVersion.OutputType -GitVersion.OutputType.BuildServer = 0 -> GitVersion.OutputType -GitVersion.OutputType.File = 2 -> GitVersion.OutputType -GitVersion.OutputType.Json = 1 -> GitVersion.OutputType -GitVersion.OutputVariables.VersionVariables -GitVersion.OutputVariables.VersionVariables.AssemblySemFileVer.get -> string? -GitVersion.OutputVariables.VersionVariables.AssemblySemVer.get -> string? -GitVersion.OutputVariables.VersionVariables.BranchName.get -> string? -GitVersion.OutputVariables.VersionVariables.BuildMetaData.get -> string? -GitVersion.OutputVariables.VersionVariables.CommitDate.get -> string? -GitVersion.OutputVariables.VersionVariables.CommitDate.set -> void -GitVersion.OutputVariables.VersionVariables.CommitsSinceVersionSource.get -> string? -GitVersion.OutputVariables.VersionVariables.EscapedBranchName.get -> string? -GitVersion.OutputVariables.VersionVariables.FileName.get -> string? -GitVersion.OutputVariables.VersionVariables.FileName.set -> void -GitVersion.OutputVariables.VersionVariables.FullBuildMetaData.get -> string? -GitVersion.OutputVariables.VersionVariables.FullSemVer.get -> string! -GitVersion.OutputVariables.VersionVariables.GetEnumerator() -> System.Collections.Generic.IEnumerator>! -GitVersion.OutputVariables.VersionVariables.InformationalVersion.get -> string? -GitVersion.OutputVariables.VersionVariables.Major.get -> string! -GitVersion.OutputVariables.VersionVariables.MajorMinorPatch.get -> string! -GitVersion.OutputVariables.VersionVariables.Minor.get -> string! -GitVersion.OutputVariables.VersionVariables.Patch.get -> string! -GitVersion.OutputVariables.VersionVariables.PreReleaseLabel.get -> string? -GitVersion.OutputVariables.VersionVariables.PreReleaseLabelWithDash.get -> string? -GitVersion.OutputVariables.VersionVariables.PreReleaseNumber.get -> string? -GitVersion.OutputVariables.VersionVariables.PreReleaseTag.get -> string? -GitVersion.OutputVariables.VersionVariables.PreReleaseTagWithDash.get -> string? -GitVersion.OutputVariables.VersionVariables.SemVer.get -> string! -GitVersion.OutputVariables.VersionVariables.Sha.get -> string? -GitVersion.OutputVariables.VersionVariables.ShortSha.get -> string? -GitVersion.OutputVariables.VersionVariables.TryGetValue(string! variable, out string? variableValue) -> bool -GitVersion.OutputVariables.VersionVariables.UncommittedChanges.get -> string? -GitVersion.OutputVariables.VersionVariables.VersionSourceSha.get -> string? -GitVersion.OutputVariables.VersionVariables.VersionVariables(string! major, string! minor, string! patch, string? buildMetaData, string? fullBuildMetaData, string? branchName, string? escapedBranchName, string? sha, string? shortSha, string! majorMinorPatch, string! semVer, string! fullSemVer, string? assemblySemVer, string? assemblySemFileVer, string? preReleaseTag, string? preReleaseTagWithDash, string? preReleaseLabel, string? preReleaseLabelWithDash, string? preReleaseNumber, string! weightedPreReleaseNumber, string? informationalVersion, string? commitDate, string? versionSourceSha, string? commitsSinceVersionSource, string? uncommittedChanges) -> void -GitVersion.OutputVariables.VersionVariables.WeightedPreReleaseNumber.get -> string! -GitVersion.OutputVariables.VersionVariables.this[string! variable].get -> string? -GitVersion.OutputVariables.VersionVariablesJsonModel -GitVersion.OutputVariables.VersionVariablesJsonModel.AssemblySemFileVer.get -> string? -GitVersion.OutputVariables.VersionVariablesJsonModel.AssemblySemFileVer.set -> void -GitVersion.OutputVariables.VersionVariablesJsonModel.AssemblySemVer.get -> string? -GitVersion.OutputVariables.VersionVariablesJsonModel.AssemblySemVer.set -> void -GitVersion.OutputVariables.VersionVariablesJsonModel.BranchName.get -> string? -GitVersion.OutputVariables.VersionVariablesJsonModel.BranchName.set -> void -GitVersion.OutputVariables.VersionVariablesJsonModel.BuildMetaData.get -> int? -GitVersion.OutputVariables.VersionVariablesJsonModel.BuildMetaData.set -> void -GitVersion.OutputVariables.VersionVariablesJsonModel.CommitDate.get -> string? -GitVersion.OutputVariables.VersionVariablesJsonModel.CommitDate.set -> void -GitVersion.OutputVariables.VersionVariablesJsonModel.CommitsSinceVersionSource.get -> int? -GitVersion.OutputVariables.VersionVariablesJsonModel.CommitsSinceVersionSource.set -> void -GitVersion.OutputVariables.VersionVariablesJsonModel.EscapedBranchName.get -> string? -GitVersion.OutputVariables.VersionVariablesJsonModel.EscapedBranchName.set -> void -GitVersion.OutputVariables.VersionVariablesJsonModel.FullBuildMetaData.get -> string? -GitVersion.OutputVariables.VersionVariablesJsonModel.FullBuildMetaData.set -> void -GitVersion.OutputVariables.VersionVariablesJsonModel.FullSemVer.get -> string? -GitVersion.OutputVariables.VersionVariablesJsonModel.FullSemVer.set -> void -GitVersion.OutputVariables.VersionVariablesJsonModel.InformationalVersion.get -> string? -GitVersion.OutputVariables.VersionVariablesJsonModel.InformationalVersion.set -> void -GitVersion.OutputVariables.VersionVariablesJsonModel.Major.get -> int? -GitVersion.OutputVariables.VersionVariablesJsonModel.Major.set -> void -GitVersion.OutputVariables.VersionVariablesJsonModel.MajorMinorPatch.get -> string? -GitVersion.OutputVariables.VersionVariablesJsonModel.MajorMinorPatch.set -> void -GitVersion.OutputVariables.VersionVariablesJsonModel.Minor.get -> int? -GitVersion.OutputVariables.VersionVariablesJsonModel.Minor.set -> void -GitVersion.OutputVariables.VersionVariablesJsonModel.Patch.get -> int? -GitVersion.OutputVariables.VersionVariablesJsonModel.Patch.set -> void -GitVersion.OutputVariables.VersionVariablesJsonModel.PreReleaseLabel.get -> string? -GitVersion.OutputVariables.VersionVariablesJsonModel.PreReleaseLabel.set -> void -GitVersion.OutputVariables.VersionVariablesJsonModel.PreReleaseLabelWithDash.get -> string? -GitVersion.OutputVariables.VersionVariablesJsonModel.PreReleaseLabelWithDash.set -> void -GitVersion.OutputVariables.VersionVariablesJsonModel.PreReleaseNumber.get -> int? -GitVersion.OutputVariables.VersionVariablesJsonModel.PreReleaseNumber.set -> void -GitVersion.OutputVariables.VersionVariablesJsonModel.PreReleaseTag.get -> string? -GitVersion.OutputVariables.VersionVariablesJsonModel.PreReleaseTag.set -> void -GitVersion.OutputVariables.VersionVariablesJsonModel.PreReleaseTagWithDash.get -> string? -GitVersion.OutputVariables.VersionVariablesJsonModel.PreReleaseTagWithDash.set -> void -GitVersion.OutputVariables.VersionVariablesJsonModel.SemVer.get -> string? -GitVersion.OutputVariables.VersionVariablesJsonModel.SemVer.set -> void -GitVersion.OutputVariables.VersionVariablesJsonModel.Sha.get -> string? -GitVersion.OutputVariables.VersionVariablesJsonModel.Sha.set -> void -GitVersion.OutputVariables.VersionVariablesJsonModel.ShortSha.get -> string? -GitVersion.OutputVariables.VersionVariablesJsonModel.ShortSha.set -> void -GitVersion.OutputVariables.VersionVariablesJsonModel.UncommittedChanges.get -> int? -GitVersion.OutputVariables.VersionVariablesJsonModel.UncommittedChanges.set -> void -GitVersion.OutputVariables.VersionVariablesJsonModel.VersionSourceSha.get -> string? -GitVersion.OutputVariables.VersionVariablesJsonModel.VersionSourceSha.set -> void -GitVersion.OutputVariables.VersionVariablesJsonModel.VersionVariablesJsonModel() -> void -GitVersion.OutputVariables.VersionVariablesJsonModel.WeightedPreReleaseNumber.get -> int? -GitVersion.OutputVariables.VersionVariablesJsonModel.WeightedPreReleaseNumber.set -> void -GitVersion.OutputVariables.VersionVariablesJsonStringConverter -GitVersion.OutputVariables.VersionVariablesJsonStringConverter.VersionVariablesJsonStringConverter() -> void -GitVersion.RefSpecDirection -GitVersion.RefSpecDirection.Fetch = 0 -> GitVersion.RefSpecDirection -GitVersion.RefSpecDirection.Push = 1 -> GitVersion.RefSpecDirection -GitVersion.ReferenceName -GitVersion.ReferenceName.Canonical.get -> string! -GitVersion.ReferenceName.CompareTo(GitVersion.ReferenceName? other) -> int -GitVersion.ReferenceName.Equals(GitVersion.ReferenceName? other) -> bool -GitVersion.ReferenceName.EquivalentTo(string? name) -> bool -GitVersion.ReferenceName.Friendly.get -> string! -GitVersion.ReferenceName.IsLocalBranch.get -> bool -GitVersion.ReferenceName.IsPullRequest.get -> bool -GitVersion.ReferenceName.IsRemoteBranch.get -> bool -GitVersion.ReferenceName.IsTag.get -> bool -GitVersion.ReferenceName.ReferenceName(string! canonical) -> void -GitVersion.ReferenceName.WithoutOrigin.get -> string! -GitVersion.RepositoryInfo -GitVersion.RepositoryInfo.ClonePath -> string? -GitVersion.RepositoryInfo.CommitId -> string? -GitVersion.RepositoryInfo.RepositoryInfo() -> void -GitVersion.RepositoryInfo.TargetBranch -> string? -GitVersion.RepositoryInfo.TargetUrl -> string? +GitVersion.OutputVariables.VersionVariablesHelper GitVersion.RepositoryStore GitVersion.RepositoryStore.ExcludingBranches(System.Collections.Generic.IEnumerable! branchesToExclude) -> System.Collections.Generic.IEnumerable! GitVersion.RepositoryStore.FindBranch(string? branchName) -> GitVersion.IBranch? -GitVersion.RepositoryStore.FindCommitBranchesWasBranchedFrom(GitVersion.IBranch! branch, GitVersion.Configuration.IGitVersionConfiguration! configuration, params GitVersion.IBranch![]! excludedBranches) -> System.Collections.Generic.IEnumerable! -GitVersion.RepositoryStore.FindCommitBranchesWasBranchedFrom(GitVersion.IBranch! branch, GitVersion.Configuration.IGitVersionConfiguration! configuration, System.Collections.Generic.IEnumerable! excludedBranches) -> System.Collections.Generic.IEnumerable! GitVersion.RepositoryStore.FindCommitBranchWasBranchedFrom(GitVersion.IBranch? branch, GitVersion.Configuration.IGitVersionConfiguration! configuration, params GitVersion.IBranch![]! excludedBranches) -> GitVersion.BranchCommit +GitVersion.RepositoryStore.FindCommitBranchesWasBranchedFrom(GitVersion.IBranch! branch, GitVersion.Configuration.IGitVersionConfiguration! configuration, System.Collections.Generic.IEnumerable! excludedBranches) -> System.Collections.Generic.IEnumerable! +GitVersion.RepositoryStore.FindCommitBranchesWasBranchedFrom(GitVersion.IBranch! branch, GitVersion.Configuration.IGitVersionConfiguration! configuration, params GitVersion.IBranch![]! excludedBranches) -> System.Collections.Generic.IEnumerable! GitVersion.RepositoryStore.FindMainBranch(GitVersion.Configuration.IGitVersionConfiguration! configuration) -> GitVersion.IBranch? GitVersion.RepositoryStore.FindMainlineBranches(GitVersion.Configuration.IGitVersionConfiguration! configuration) -> System.Collections.Generic.IEnumerable! GitVersion.RepositoryStore.FindMergeBase(GitVersion.IBranch? branch, GitVersion.IBranch? otherBranch) -> GitVersion.ICommit? @@ -751,64 +226,14 @@ GitVersion.RepositoryStore.GetMainlineCommitLog(GitVersion.ICommit? baseVersionS GitVersion.RepositoryStore.GetMergeBaseCommits(GitVersion.ICommit? mergeCommit, GitVersion.ICommit? mergedHead, GitVersion.ICommit? findMergeBase) -> System.Collections.Generic.IEnumerable! GitVersion.RepositoryStore.GetNumberOfUncommittedChanges() -> int GitVersion.RepositoryStore.GetReleaseBranches(System.Collections.Generic.IEnumerable>! releaseBranchConfig) -> System.Collections.Generic.IEnumerable! -GitVersion.RepositoryStore.GetSourceBranches(GitVersion.IBranch! branch, GitVersion.Configuration.IGitVersionConfiguration! configuration, params GitVersion.IBranch![]! excludedBranches) -> System.Collections.Generic.IEnumerable! GitVersion.RepositoryStore.GetSourceBranches(GitVersion.IBranch! branch, GitVersion.Configuration.IGitVersionConfiguration! configuration, System.Collections.Generic.IEnumerable! excludedBranches) -> System.Collections.Generic.IEnumerable! +GitVersion.RepositoryStore.GetSourceBranches(GitVersion.IBranch! branch, GitVersion.Configuration.IGitVersionConfiguration! configuration, params GitVersion.IBranch![]! excludedBranches) -> System.Collections.Generic.IEnumerable! GitVersion.RepositoryStore.GetTaggedSemanticVersions(string? labelPrefix, GitVersion.SemanticVersionFormat format) -> System.Collections.Generic.IReadOnlyList! GitVersion.RepositoryStore.GetTaggedSemanticVersionsOnBranch(GitVersion.IBranch! branch, string? labelPrefix, GitVersion.SemanticVersionFormat format) -> System.Collections.Generic.IReadOnlyList! GitVersion.RepositoryStore.GetTargetBranch(string? targetBranchName) -> GitVersion.IBranch! GitVersion.RepositoryStore.GetVersionTagsOnBranch(GitVersion.IBranch! branch, string? labelPrefix, GitVersion.SemanticVersionFormat format) -> System.Collections.Generic.IEnumerable! GitVersion.RepositoryStore.IsCommitOnBranch(GitVersion.ICommit? baseVersionSource, GitVersion.IBranch! branch, GitVersion.ICommit! firstMatchingCommit) -> bool GitVersion.RepositoryStore.RepositoryStore(GitVersion.Logging.ILog! log, GitVersion.IGitRepository! repository) -> void -GitVersion.SemanticVersion -GitVersion.SemanticVersion.BuildMetaData.get -> GitVersion.SemanticVersionBuildMetaData! -GitVersion.SemanticVersion.BuildMetaData.init -> void -GitVersion.SemanticVersion.CompareTo(GitVersion.SemanticVersion? value) -> int -GitVersion.SemanticVersion.CompareTo(GitVersion.SemanticVersion? value, bool includePrerelease) -> int -GitVersion.SemanticVersion.Equals(GitVersion.SemanticVersion? obj) -> bool -GitVersion.SemanticVersion.IncrementVersion(GitVersion.VersionField incrementStrategy, string? label) -> GitVersion.SemanticVersion! -GitVersion.SemanticVersion.IsEmpty() -> bool -GitVersion.SemanticVersion.IsLabeledWith(string! value) -> bool -GitVersion.SemanticVersion.IsMatchForBranchSpecificLabel(string? value) -> bool -GitVersion.SemanticVersion.Major.get -> long -GitVersion.SemanticVersion.Major.init -> void -GitVersion.SemanticVersion.Minor.get -> long -GitVersion.SemanticVersion.Minor.init -> void -GitVersion.SemanticVersion.Patch.get -> long -GitVersion.SemanticVersion.Patch.init -> void -GitVersion.SemanticVersion.PreReleaseTag.get -> GitVersion.SemanticVersionPreReleaseTag! -GitVersion.SemanticVersion.PreReleaseTag.init -> void -GitVersion.SemanticVersion.SemanticVersion(GitVersion.SemanticVersion! semanticVersion) -> void -GitVersion.SemanticVersion.SemanticVersion(long major = 0, long minor = 0, long patch = 0) -> void -GitVersion.SemanticVersion.ToString(string! format) -> string! -GitVersion.SemanticVersion.ToString(string? format, System.IFormatProvider? formatProvider) -> string! -GitVersion.SemanticVersionBuildMetaData -GitVersion.SemanticVersionBuildMetaData.Branch.get -> string? -GitVersion.SemanticVersionBuildMetaData.Branch.init -> void -GitVersion.SemanticVersionBuildMetaData.CommitDate.get -> System.DateTimeOffset? -GitVersion.SemanticVersionBuildMetaData.CommitDate.init -> void -GitVersion.SemanticVersionBuildMetaData.CommitsSinceTag.get -> long? -GitVersion.SemanticVersionBuildMetaData.CommitsSinceTag.init -> void -GitVersion.SemanticVersionBuildMetaData.CommitsSinceVersionSource.get -> long? -GitVersion.SemanticVersionBuildMetaData.CommitsSinceVersionSource.init -> void -GitVersion.SemanticVersionBuildMetaData.Equals(GitVersion.SemanticVersionBuildMetaData? other) -> bool -GitVersion.SemanticVersionBuildMetaData.OtherMetaData.get -> string? -GitVersion.SemanticVersionBuildMetaData.OtherMetaData.init -> void -GitVersion.SemanticVersionBuildMetaData.SemanticVersionBuildMetaData() -> void -GitVersion.SemanticVersionBuildMetaData.SemanticVersionBuildMetaData(GitVersion.SemanticVersionBuildMetaData! buildMetaData) -> void -GitVersion.SemanticVersionBuildMetaData.SemanticVersionBuildMetaData(string? versionSourceSha, int? commitsSinceTag, string? branch, string? commitSha, string? commitShortSha, System.DateTimeOffset? commitDate, int numberOfUnCommittedChanges, string? otherMetadata = null) -> void -GitVersion.SemanticVersionBuildMetaData.Sha.get -> string? -GitVersion.SemanticVersionBuildMetaData.Sha.init -> void -GitVersion.SemanticVersionBuildMetaData.ShortSha.get -> string? -GitVersion.SemanticVersionBuildMetaData.ShortSha.init -> void -GitVersion.SemanticVersionBuildMetaData.ToString(string! format) -> string! -GitVersion.SemanticVersionBuildMetaData.ToString(string? format, System.IFormatProvider? formatProvider) -> string! -GitVersion.SemanticVersionBuildMetaData.UncommittedChanges.get -> long -GitVersion.SemanticVersionBuildMetaData.UncommittedChanges.init -> void -GitVersion.SemanticVersionBuildMetaData.VersionSourceSha.get -> string? -GitVersion.SemanticVersionBuildMetaData.VersionSourceSha.init -> void -GitVersion.SemanticVersionFormat -GitVersion.SemanticVersionFormat.Loose = 1 -> GitVersion.SemanticVersionFormat -GitVersion.SemanticVersionFormat.Strict = 0 -> GitVersion.SemanticVersionFormat GitVersion.SemanticVersionFormatValues GitVersion.SemanticVersionFormatValues.AssemblyFileSemVer.get -> string? GitVersion.SemanticVersionFormatValues.AssemblySemVer.get -> string? @@ -836,33 +261,6 @@ GitVersion.SemanticVersionFormatValues.ShortSha.get -> string? GitVersion.SemanticVersionFormatValues.UncommittedChanges.get -> string! GitVersion.SemanticVersionFormatValues.VersionSourceSha.get -> string? GitVersion.SemanticVersionFormatValues.WeightedPreReleaseNumber.get -> string! -GitVersion.SemanticVersionPreReleaseTag -GitVersion.SemanticVersionPreReleaseTag.CompareTo(GitVersion.SemanticVersionPreReleaseTag? other) -> int -GitVersion.SemanticVersionPreReleaseTag.Equals(GitVersion.SemanticVersionPreReleaseTag? other) -> bool -GitVersion.SemanticVersionPreReleaseTag.HasTag() -> bool -GitVersion.SemanticVersionPreReleaseTag.Name.get -> string! -GitVersion.SemanticVersionPreReleaseTag.Name.init -> void -GitVersion.SemanticVersionPreReleaseTag.Number.get -> long? -GitVersion.SemanticVersionPreReleaseTag.Number.init -> void -GitVersion.SemanticVersionPreReleaseTag.PromotedFromCommits.get -> bool? -GitVersion.SemanticVersionPreReleaseTag.PromotedFromCommits.init -> void -GitVersion.SemanticVersionPreReleaseTag.SemanticVersionPreReleaseTag() -> void -GitVersion.SemanticVersionPreReleaseTag.SemanticVersionPreReleaseTag(GitVersion.SemanticVersionPreReleaseTag! preReleaseTag) -> void -GitVersion.SemanticVersionPreReleaseTag.SemanticVersionPreReleaseTag(string! name, long? number) -> void -GitVersion.SemanticVersionPreReleaseTag.ToString(string! format) -> string! -GitVersion.SemanticVersionPreReleaseTag.ToString(string? format, System.IFormatProvider? formatProvider) -> string! -GitVersion.SemanticVersionWithTag -GitVersion.SemanticVersionWithTag.SemanticVersionWithTag(GitVersion.SemanticVersion! Value, GitVersion.ITag! Tag) -> void -GitVersion.SemanticVersionWithTag.Tag.get -> GitVersion.ITag! -GitVersion.SemanticVersionWithTag.Tag.init -> void -GitVersion.SemanticVersionWithTag.Value.get -> GitVersion.SemanticVersion! -GitVersion.SemanticVersionWithTag.Value.init -> void -GitVersion.Settings -GitVersion.Settings.NoCache -> bool -GitVersion.Settings.NoFetch -> bool -GitVersion.Settings.NoNormalize -> bool -GitVersion.Settings.OnlyTrackedBranches -> bool -GitVersion.Settings.Settings() -> void GitVersion.VersionCalculation.BaseVersion GitVersion.VersionCalculation.BaseVersion.BaseVersion(GitVersion.VersionCalculation.BaseVersion! baseVersion) -> void GitVersion.VersionCalculation.BaseVersion.BaseVersion(string! source, bool shouldIncrement, GitVersion.SemanticVersion! semanticVersion, GitVersion.ICommit? baseVersionSource, string? branchNameOverride) -> void @@ -878,9 +276,10 @@ GitVersion.VersionCalculation.BaseVersion.Source.get -> string! GitVersion.VersionCalculation.BaseVersion.Source.init -> void GitVersion.VersionCalculation.Caching.GitVersionCache GitVersion.VersionCalculation.Caching.GitVersionCache.GetCacheDirectory() -> string! +GitVersion.VersionCalculation.Caching.GitVersionCache.GetCacheFileName(GitVersion.VersionCalculation.Caching.GitVersionCacheKey! cacheKey) -> string! GitVersion.VersionCalculation.Caching.GitVersionCache.GitVersionCache(GitVersion.IFileSystem! fileSystem, GitVersion.Logging.ILog! log, GitVersion.IGitRepositoryInfo! repositoryInfo) -> void -GitVersion.VersionCalculation.Caching.GitVersionCache.LoadVersionVariablesFromDiskCache(GitVersion.VersionCalculation.Caching.GitVersionCacheKey! key) -> GitVersion.OutputVariables.VersionVariables? -GitVersion.VersionCalculation.Caching.GitVersionCache.WriteVariablesToDiskCache(GitVersion.VersionCalculation.Caching.GitVersionCacheKey! cacheKey, GitVersion.OutputVariables.VersionVariables! variablesFromCache) -> void +GitVersion.VersionCalculation.Caching.GitVersionCache.LoadVersionVariablesFromDiskCache(GitVersion.VersionCalculation.Caching.GitVersionCacheKey! key) -> GitVersion.OutputVariables.GitVersionVariables? +GitVersion.VersionCalculation.Caching.GitVersionCache.WriteVariablesToDiskCache(GitVersion.VersionCalculation.Caching.GitVersionCacheKey! cacheKey, GitVersion.OutputVariables.GitVersionVariables! variablesFromCache) -> void GitVersion.VersionCalculation.Caching.GitVersionCacheKey GitVersion.VersionCalculation.Caching.GitVersionCacheKey.GitVersionCacheKey(string! value) -> void GitVersion.VersionCalculation.Caching.GitVersionCacheKey.Value.get -> string! @@ -889,14 +288,11 @@ GitVersion.VersionCalculation.Caching.GitVersionCacheKeyFactory.Create(System.Co GitVersion.VersionCalculation.Caching.GitVersionCacheKeyFactory.GitVersionCacheKeyFactory(GitVersion.IFileSystem! fileSystem, GitVersion.Logging.ILog! log, Microsoft.Extensions.Options.IOptions! options, GitVersion.Configuration.IConfigurationFileLocator! configFileLocator, GitVersion.IGitRepository! gitRepository, GitVersion.IGitRepositoryInfo! repositoryInfo) -> void GitVersion.VersionCalculation.Caching.IGitVersionCache GitVersion.VersionCalculation.Caching.IGitVersionCache.GetCacheDirectory() -> string! -GitVersion.VersionCalculation.Caching.IGitVersionCache.LoadVersionVariablesFromDiskCache(GitVersion.VersionCalculation.Caching.GitVersionCacheKey! key) -> GitVersion.OutputVariables.VersionVariables? -GitVersion.VersionCalculation.Caching.IGitVersionCache.WriteVariablesToDiskCache(GitVersion.VersionCalculation.Caching.GitVersionCacheKey! cacheKey, GitVersion.OutputVariables.VersionVariables! variablesFromCache) -> void +GitVersion.VersionCalculation.Caching.IGitVersionCache.GetCacheFileName(GitVersion.VersionCalculation.Caching.GitVersionCacheKey! cacheKey) -> string! +GitVersion.VersionCalculation.Caching.IGitVersionCache.LoadVersionVariablesFromDiskCache(GitVersion.VersionCalculation.Caching.GitVersionCacheKey! key) -> GitVersion.OutputVariables.GitVersionVariables? +GitVersion.VersionCalculation.Caching.IGitVersionCache.WriteVariablesToDiskCache(GitVersion.VersionCalculation.Caching.GitVersionCacheKey! cacheKey, GitVersion.OutputVariables.GitVersionVariables! variablesFromCache) -> void GitVersion.VersionCalculation.Caching.IGitVersionCacheKeyFactory GitVersion.VersionCalculation.Caching.IGitVersionCacheKeyFactory.Create(System.Collections.Generic.IReadOnlyDictionary? overrideConfiguration) -> GitVersion.VersionCalculation.Caching.GitVersionCacheKey! -GitVersion.VersionCalculation.CommitMessageIncrementMode -GitVersion.VersionCalculation.CommitMessageIncrementMode.Disabled = 1 -> GitVersion.VersionCalculation.CommitMessageIncrementMode -GitVersion.VersionCalculation.CommitMessageIncrementMode.Enabled = 0 -> GitVersion.VersionCalculation.CommitMessageIncrementMode -GitVersion.VersionCalculation.CommitMessageIncrementMode.MergeMessageOnly = 2 -> GitVersion.VersionCalculation.CommitMessageIncrementMode GitVersion.VersionCalculation.ConfigNextVersionVersionStrategy GitVersion.VersionCalculation.ConfigNextVersionVersionStrategy.ConfigNextVersionVersionStrategy(System.Lazy! versionContext) -> void GitVersion.VersionCalculation.EffectiveBranchConfigurationFinder @@ -909,17 +305,17 @@ GitVersion.VersionCalculation.IIncrementStrategyFinder.GetIncrementForCommits(st GitVersion.VersionCalculation.IMainlineVersionCalculator GitVersion.VersionCalculation.IMainlineVersionCalculator.CreateVersionBuildMetaData(GitVersion.ICommit? baseVersionSource) -> GitVersion.SemanticVersionBuildMetaData! GitVersion.VersionCalculation.IMainlineVersionCalculator.FindMainlineModeVersion(GitVersion.VersionCalculation.NextVersion! nextVersion) -> GitVersion.SemanticVersion! -GitVersion.VersionCalculation.IncrementStrategyFinder.DetermineIncrementedField(GitVersion.ICommit? currentCommit, GitVersion.VersionCalculation.BaseVersion! baseVersion, GitVersion.Configuration.EffectiveConfiguration! configuration) -> GitVersion.VersionField -GitVersion.VersionCalculation.IncrementStrategyFinder.GetIncrementForCommits(string? majorVersionBumpMessage, string? minorVersionBumpMessage, string? patchVersionBumpMessage, string? noBumpMessage, System.Collections.Generic.IEnumerable! commits) -> GitVersion.VersionField? GitVersion.VersionCalculation.INextVersionCalculator GitVersion.VersionCalculation.INextVersionCalculator.FindVersion() -> GitVersion.VersionCalculation.NextVersion! GitVersion.VersionCalculation.IVariableProvider -GitVersion.VersionCalculation.IVariableProvider.GetVariablesFor(GitVersion.SemanticVersion! semanticVersion, GitVersion.Configuration.EffectiveConfiguration! configuration, GitVersion.SemanticVersion? currentCommitTaggedVersion) -> GitVersion.OutputVariables.VersionVariables! +GitVersion.VersionCalculation.IVariableProvider.GetVariablesFor(GitVersion.SemanticVersion! semanticVersion, GitVersion.Configuration.EffectiveConfiguration! configuration, GitVersion.SemanticVersion? currentCommitTaggedVersion) -> GitVersion.OutputVariables.GitVersionVariables! GitVersion.VersionCalculation.IVersionFilter GitVersion.VersionCalculation.IVersionFilter.Exclude(GitVersion.VersionCalculation.BaseVersion! version, out string? reason) -> bool GitVersion.VersionCalculation.IVersionStrategy GitVersion.VersionCalculation.IVersionStrategy.GetBaseVersions(GitVersion.Configuration.EffectiveBranchConfiguration! configuration) -> System.Collections.Generic.IEnumerable! GitVersion.VersionCalculation.IncrementStrategyFinder +GitVersion.VersionCalculation.IncrementStrategyFinder.DetermineIncrementedField(GitVersion.ICommit? currentCommit, GitVersion.VersionCalculation.BaseVersion! baseVersion, GitVersion.Configuration.EffectiveConfiguration! configuration) -> GitVersion.VersionField +GitVersion.VersionCalculation.IncrementStrategyFinder.GetIncrementForCommits(string? majorVersionBumpMessage, string? minorVersionBumpMessage, string? patchVersionBumpMessage, string? noBumpMessage, System.Collections.Generic.IEnumerable! commits) -> GitVersion.VersionField? GitVersion.VersionCalculation.IncrementStrategyFinder.IncrementStrategyFinder(GitVersion.IGitRepository! repository) -> void GitVersion.VersionCalculation.MergeMessageVersionStrategy GitVersion.VersionCalculation.MergeMessageVersionStrategy.MergeMessageVersionStrategy(GitVersion.Logging.ILog! log, System.Lazy! versionContext, GitVersion.Common.IRepositoryStore! repositoryStore) -> void @@ -945,7 +341,7 @@ GitVersion.VersionCalculation.TaggedCommitVersionStrategy.TaggedCommitVersionStr GitVersion.VersionCalculation.TrackReleaseBranchesVersionStrategy GitVersion.VersionCalculation.TrackReleaseBranchesVersionStrategy.TrackReleaseBranchesVersionStrategy(GitVersion.Common.IRepositoryStore! repositoryStore, System.Lazy! versionContext) -> void GitVersion.VersionCalculation.VariableProvider -GitVersion.VersionCalculation.VariableProvider.GetVariablesFor(GitVersion.SemanticVersion! semanticVersion, GitVersion.Configuration.EffectiveConfiguration! configuration, GitVersion.SemanticVersion? currentCommitTaggedVersion) -> GitVersion.OutputVariables.VersionVariables! +GitVersion.VersionCalculation.VariableProvider.GetVariablesFor(GitVersion.SemanticVersion! semanticVersion, GitVersion.Configuration.EffectiveConfiguration! configuration, GitVersion.SemanticVersion? currentCommitTaggedVersion) -> GitVersion.OutputVariables.GitVersionVariables! GitVersion.VersionCalculation.VariableProvider.VariableProvider(GitVersion.IEnvironment! environment) -> void GitVersion.VersionCalculation.VersionCalculationModule GitVersion.VersionCalculation.VersionCalculationModule.RegisterTypes(Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> void @@ -956,29 +352,8 @@ GitVersion.VersionCalculation.VersionStrategyBase GitVersion.VersionCalculation.VersionStrategyBase.Context.get -> GitVersion.GitVersionContext! GitVersion.VersionCalculation.VersionStrategyBase.VersionStrategyBase(System.Lazy! versionContext) -> void GitVersion.VersionCalculation.VersionStrategyModule +GitVersion.VersionCalculation.VersionStrategyModule.RegisterTypes(Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> void GitVersion.VersionCalculation.VersionStrategyModule.VersionStrategyModule() -> void -GitVersion.VersionCalculation.VersioningMode -GitVersion.VersionCalculation.VersioningMode.ContinuousDelivery = 0 -> GitVersion.VersionCalculation.VersioningMode -GitVersion.VersionCalculation.VersioningMode.ContinuousDeployment = 1 -> GitVersion.VersionCalculation.VersioningMode -GitVersion.VersionCalculation.VersioningMode.Mainline = 2 -> GitVersion.VersionCalculation.VersioningMode -GitVersion.VersionField -GitVersion.VersionField.Major = 3 -> GitVersion.VersionField -GitVersion.VersionField.Minor = 2 -> GitVersion.VersionField -GitVersion.VersionField.None = 0 -> GitVersion.VersionField -GitVersion.VersionField.Patch = 1 -> GitVersion.VersionField -GitVersion.WarningException -GitVersion.WarningException.WarningException() -> void -GitVersion.WarningException.WarningException(string! message) -> void -GitVersion.WarningException.WarningException(string? message, System.Exception? innerException) -> void -GitVersion.WixInfo -GitVersion.WixInfo.UpdateWixVersionFile -> bool -GitVersion.WixInfo.WixInfo() -> void -abstract GitVersion.Agents.BuildAgentBase.EnvironmentVariable.get -> string! -abstract GitVersion.Agents.BuildAgentBase.GenerateSetParameterMessage(string! name, string! value) -> string![]! -abstract GitVersion.Agents.BuildAgentBase.GenerateSetVersionMessage(GitVersion.OutputVariables.VersionVariables! variables) -> string? -abstract GitVersion.Configuration.Init.Wizard.ConfigInitWizardStep.DefaultResult.get -> string? -abstract GitVersion.Configuration.Init.Wizard.ConfigInitWizardStep.GetPrompt(GitVersion.Configuration.GitVersionConfiguration! configuration, string! workingDirectory) -> string! -abstract GitVersion.GitVersionModule.RegisterTypes(Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> void abstract GitVersion.VersionCalculation.VersionStrategyBase.GetBaseVersions(GitVersion.Configuration.EffectiveBranchConfiguration! configuration) -> System.Collections.Generic.IEnumerable! const GitVersion.Configuration.ConfigurationConstants.BranchNamePlaceholder = "{BranchName}" -> string! const GitVersion.Configuration.ConfigurationConstants.DefaultLabelPrefix = "[vV]?" -> string! @@ -1001,83 +376,18 @@ const GitVersion.Configuration.ConfigurationConstants.UnknownBranchKey = "unknow const GitVersion.Configuration.ConfigurationConstants.UnknownBranchRegex = ".*" -> string! const GitVersion.Configuration.ConfigurationFileLocator.DefaultAlternativeFileName = "GitVersion.yaml" -> string! const GitVersion.Configuration.ConfigurationFileLocator.DefaultFileName = "GitVersion.yml" -> string! -const GitVersion.ReferenceName.LocalBranchPrefix = "refs/heads/" -> string! -const GitVersion.ReferenceName.OriginPrefix = "origin/" -> string! -const GitVersion.ReferenceName.RemoteTrackingBranchPrefix = "refs/remotes/" -> string! -const GitVersion.ReferenceName.TagPrefix = "refs/tags/" -> string! const GitVersion.VersionCalculation.IncrementStrategyFinder.DefaultMajorPattern = "\\+semver:\\s?(breaking|major)" -> string! const GitVersion.VersionCalculation.IncrementStrategyFinder.DefaultMinorPattern = "\\+semver:\\s?(feature|minor)" -> string! const GitVersion.VersionCalculation.IncrementStrategyFinder.DefaultNoBumpPattern = "\\+semver:\\s?(none|skip)" -> string! const GitVersion.VersionCalculation.IncrementStrategyFinder.DefaultPatchPattern = "\\+semver:\\s?(fix|patch)" -> string! override GitVersion.Agents.LocalBuild.CanApplyToCurrentContext() -> bool override GitVersion.Agents.LocalBuild.EnvironmentVariable.get -> string! -override GitVersion.Agents.LocalBuild.GenerateSetParameterMessage(string! name, string! value) -> string![]! -override GitVersion.Agents.LocalBuild.GenerateSetVersionMessage(GitVersion.OutputVariables.VersionVariables! variables) -> string? +override GitVersion.Agents.LocalBuild.GenerateSetParameterMessage(string! name, string? value) -> string![]! +override GitVersion.Agents.LocalBuild.GenerateSetVersionMessage(GitVersion.OutputVariables.GitVersionVariables! variables) -> string? override GitVersion.Agents.LocalBuild.IsDefault.get -> bool -override GitVersion.BranchCommit.Equals(object? obj) -> bool -override GitVersion.BranchCommit.GetHashCode() -> int override GitVersion.Configuration.GitVersionConfiguration.Inherit(GitVersion.Configuration.IBranchConfiguration! configuration) -> GitVersion.Configuration.IBranchConfiguration! override GitVersion.Configuration.GitVersionConfiguration.ToString() -> string! -override GitVersion.Configuration.Init.EditConfigStep.DefaultResult.get -> string? -override GitVersion.Configuration.Init.EditConfigStep.GetPrompt(GitVersion.Configuration.GitVersionConfiguration! configuration, string! workingDirectory) -> string! -override GitVersion.Configuration.Init.EditConfigStep.HandleResult(string? result, System.Collections.Generic.Queue! steps, GitVersion.Configuration.GitVersionConfiguration! configuration, string! workingDirectory) -> GitVersion.Configuration.Init.StepResult! -override GitVersion.Configuration.Init.GitVersionInitModule.RegisterTypes(Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> void -override GitVersion.Configuration.Init.SetConfig.AssemblyVersioningSchemeSetting.DefaultResult.get -> string! -override GitVersion.Configuration.Init.SetConfig.AssemblyVersioningSchemeSetting.GetPrompt(GitVersion.Configuration.GitVersionConfiguration! configuration, string! workingDirectory) -> string! -override GitVersion.Configuration.Init.SetConfig.AssemblyVersioningSchemeSetting.HandleResult(string? result, System.Collections.Generic.Queue! steps, GitVersion.Configuration.GitVersionConfiguration! configuration, string! workingDirectory) -> GitVersion.Configuration.Init.StepResult! -override GitVersion.Configuration.Init.SetConfig.ConfigureBranch.DefaultResult.get -> string! -override GitVersion.Configuration.Init.SetConfig.ConfigureBranch.GetPrompt(GitVersion.Configuration.GitVersionConfiguration! configuration, string! workingDirectory) -> string! -override GitVersion.Configuration.Init.SetConfig.ConfigureBranch.HandleResult(string? result, System.Collections.Generic.Queue! steps, GitVersion.Configuration.GitVersionConfiguration! configuration, string! workingDirectory) -> GitVersion.Configuration.Init.StepResult! -override GitVersion.Configuration.Init.SetConfig.ConfigureBranches.DefaultResult.get -> string! -override GitVersion.Configuration.Init.SetConfig.ConfigureBranches.GetPrompt(GitVersion.Configuration.GitVersionConfiguration! configuration, string! workingDirectory) -> string! -override GitVersion.Configuration.Init.SetConfig.ConfigureBranches.HandleResult(string? result, System.Collections.Generic.Queue! steps, GitVersion.Configuration.GitVersionConfiguration! configuration, string! workingDirectory) -> GitVersion.Configuration.Init.StepResult! -override GitVersion.Configuration.Init.SetConfig.GlobalModeSetting.DefaultResult.get -> string! -override GitVersion.Configuration.Init.SetConfig.GlobalModeSetting.GetPrompt(GitVersion.Configuration.GitVersionConfiguration! configuration, string! workingDirectory) -> string! -override GitVersion.Configuration.Init.SetConfig.GlobalModeSetting.HandleResult(string? result, System.Collections.Generic.Queue! steps, GitVersion.Configuration.GitVersionConfiguration! configuration, string! workingDirectory) -> GitVersion.Configuration.Init.StepResult! -override GitVersion.Configuration.Init.SetConfig.SetBranchIncrementMode.DefaultResult.get -> string! -override GitVersion.Configuration.Init.SetConfig.SetBranchIncrementMode.GetPrompt(GitVersion.Configuration.GitVersionConfiguration! configuration, string! workingDirectory) -> string! -override GitVersion.Configuration.Init.SetConfig.SetBranchIncrementMode.HandleResult(string? result, System.Collections.Generic.Queue! steps, GitVersion.Configuration.GitVersionConfiguration! configuration, string! workingDirectory) -> GitVersion.Configuration.Init.StepResult! -override GitVersion.Configuration.Init.SetConfig.SetBranchTag.DefaultResult.get -> string! -override GitVersion.Configuration.Init.SetConfig.SetBranchTag.GetPrompt(GitVersion.Configuration.GitVersionConfiguration! configuration, string! workingDirectory) -> string! -override GitVersion.Configuration.Init.SetConfig.SetBranchTag.HandleResult(string? result, System.Collections.Generic.Queue! steps, GitVersion.Configuration.GitVersionConfiguration! configuration, string! workingDirectory) -> GitVersion.Configuration.Init.StepResult! -override GitVersion.Configuration.Init.SetNextVersion.DefaultResult.get -> string? -override GitVersion.Configuration.Init.SetNextVersion.GetPrompt(GitVersion.Configuration.GitVersionConfiguration! configuration, string! workingDirectory) -> string! -override GitVersion.Configuration.Init.SetNextVersion.HandleResult(string? result, System.Collections.Generic.Queue! steps, GitVersion.Configuration.GitVersionConfiguration! configuration, string! workingDirectory) -> GitVersion.Configuration.Init.StepResult! -override GitVersion.Configuration.Init.Wizard.FinishedSetupStep.GetPrompt(GitVersion.Configuration.GitVersionConfiguration! configuration, string! workingDirectory) -> string! -override GitVersion.Configuration.Init.Wizard.GitFlowSetupStep.GetPrompt(GitVersion.Configuration.GitVersionConfiguration! configuration, string! workingDirectory) -> string! -override GitVersion.Configuration.Init.Wizard.GitHubFlowStep.GetPrompt(GitVersion.Configuration.GitVersionConfiguration! configuration, string! workingDirectory) -> string! -override GitVersion.Configuration.Init.Wizard.PickBranchingStrategy1Step.DefaultResult.get -> string? -override GitVersion.Configuration.Init.Wizard.PickBranchingStrategy1Step.GetPrompt(GitVersion.Configuration.GitVersionConfiguration! configuration, string! workingDirectory) -> string! -override GitVersion.Configuration.Init.Wizard.PickBranchingStrategy1Step.HandleResult(string? result, System.Collections.Generic.Queue! steps, GitVersion.Configuration.GitVersionConfiguration! configuration, string! workingDirectory) -> GitVersion.Configuration.Init.StepResult! -override GitVersion.Configuration.Init.Wizard.PickBranchingStrategy2Step.DefaultResult.get -> string? -override GitVersion.Configuration.Init.Wizard.PickBranchingStrategy2Step.GetPrompt(GitVersion.Configuration.GitVersionConfiguration! configuration, string! workingDirectory) -> string! -override GitVersion.Configuration.Init.Wizard.PickBranchingStrategy2Step.HandleResult(string? result, System.Collections.Generic.Queue! steps, GitVersion.Configuration.GitVersionConfiguration! configuration, string! workingDirectory) -> GitVersion.Configuration.Init.StepResult! -override GitVersion.Configuration.Init.Wizard.PickBranchingStrategy3Step.DefaultResult.get -> string? -override GitVersion.Configuration.Init.Wizard.PickBranchingStrategy3Step.GetPrompt(GitVersion.Configuration.GitVersionConfiguration! configuration, string! workingDirectory) -> string! -override GitVersion.Configuration.Init.Wizard.PickBranchingStrategy3Step.HandleResult(string? result, System.Collections.Generic.Queue! steps, GitVersion.Configuration.GitVersionConfiguration! configuration, string! workingDirectory) -> GitVersion.Configuration.Init.StepResult! -override GitVersion.Configuration.Init.Wizard.PickBranchingStrategyStep.DefaultResult.get -> string? -override GitVersion.Configuration.Init.Wizard.PickBranchingStrategyStep.GetPrompt(GitVersion.Configuration.GitVersionConfiguration! configuration, string! workingDirectory) -> string! -override GitVersion.Configuration.Init.Wizard.PickBranchingStrategyStep.HandleResult(string? result, System.Collections.Generic.Queue! steps, GitVersion.Configuration.GitVersionConfiguration! configuration, string! workingDirectory) -> GitVersion.Configuration.Init.StepResult! -override GitVersion.Helpers.LambdaKeyComparer.Compare(TSource? x, TSource? y) -> int override GitVersion.Logging.Log.ToString() -> string! -override GitVersion.OutputVariables.VersionVariables.ToString() -> string! -override GitVersion.OutputVariables.VersionVariablesJsonStringConverter.CanConvert(System.Type! typeToConvert) -> bool -override GitVersion.OutputVariables.VersionVariablesJsonStringConverter.HandleNull.get -> bool -override GitVersion.OutputVariables.VersionVariablesJsonStringConverter.Read(ref System.Text.Json.Utf8JsonReader reader, System.Type! typeToConvert, System.Text.Json.JsonSerializerOptions! options) -> string! -override GitVersion.OutputVariables.VersionVariablesJsonStringConverter.Write(System.Text.Json.Utf8JsonWriter! writer, string? value, System.Text.Json.JsonSerializerOptions! options) -> void -override GitVersion.ReferenceName.Equals(object? obj) -> bool -override GitVersion.ReferenceName.GetHashCode() -> int -override GitVersion.ReferenceName.ToString() -> string! -override GitVersion.SemanticVersion.Equals(object? obj) -> bool -override GitVersion.SemanticVersion.GetHashCode() -> int -override GitVersion.SemanticVersion.ToString() -> string! -override GitVersion.SemanticVersionBuildMetaData.Equals(object? obj) -> bool -override GitVersion.SemanticVersionBuildMetaData.GetHashCode() -> int -override GitVersion.SemanticVersionBuildMetaData.ToString() -> string! -override GitVersion.SemanticVersionPreReleaseTag.Equals(object? obj) -> bool -override GitVersion.SemanticVersionPreReleaseTag.GetHashCode() -> int -override GitVersion.SemanticVersionPreReleaseTag.ToString() -> string! -override GitVersion.SemanticVersionWithTag.ToString() -> string! override GitVersion.VersionCalculation.BaseVersion.ToString() -> string! override GitVersion.VersionCalculation.ConfigNextVersionVersionStrategy.GetBaseVersions(GitVersion.Configuration.EffectiveBranchConfiguration! configuration) -> System.Collections.Generic.IEnumerable! override GitVersion.VersionCalculation.MergeMessageVersionStrategy.GetBaseVersions(GitVersion.Configuration.EffectiveBranchConfiguration! configuration) -> System.Collections.Generic.IEnumerable! @@ -1087,14 +397,6 @@ override GitVersion.VersionCalculation.NextVersion.ToString() -> string! override GitVersion.VersionCalculation.TaggedCommitVersionStrategy.GetBaseVersions(GitVersion.Configuration.EffectiveBranchConfiguration! configuration) -> System.Collections.Generic.IEnumerable! override GitVersion.VersionCalculation.TrackReleaseBranchesVersionStrategy.GetBaseVersions(GitVersion.Configuration.EffectiveBranchConfiguration! configuration) -> System.Collections.Generic.IEnumerable! override GitVersion.VersionCalculation.VersionInBranchNameVersionStrategy.GetBaseVersions(GitVersion.Configuration.EffectiveBranchConfiguration! configuration) -> System.Collections.Generic.IEnumerable! -override GitVersion.VersionCalculation.VersionStrategyModule.RegisterTypes(Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> void -readonly GitVersion.Agents.BuildAgentBase.Log -> GitVersion.Logging.ILog! -readonly GitVersion.Configuration.Init.Wizard.ConfigInitWizardStep.Console -> GitVersion.Logging.IConsole! -readonly GitVersion.Configuration.Init.Wizard.ConfigInitWizardStep.FileSystem -> GitVersion.IFileSystem! -readonly GitVersion.Configuration.Init.Wizard.ConfigInitWizardStep.Log -> GitVersion.Logging.ILog! -readonly GitVersion.Configuration.Init.Wizard.ConfigInitWizardStep.StepFactory -> GitVersion.Configuration.Init.Wizard.IConfigInitStepFactory! -static GitVersion.BranchCommit.operator !=(GitVersion.BranchCommit left, GitVersion.BranchCommit right) -> bool -static GitVersion.BranchCommit.operator ==(GitVersion.BranchCommit left, GitVersion.BranchCommit right) -> bool static GitVersion.Configuration.BranchConfigurationBuilder.New.get -> GitVersion.Configuration.BranchConfigurationBuilder! static GitVersion.Configuration.ConfigurationExtensions.FindGitDir(this string! path) -> (string! GitDirectory, string! WorkingTreeDirectory)? static GitVersion.Configuration.ConfigurationExtensions.GetBranchConfiguration(this GitVersion.Configuration.IGitVersionConfiguration! configuration, GitVersion.IBranch! branch) -> GitVersion.Configuration.IBranchConfiguration! @@ -1117,135 +419,38 @@ static GitVersion.Configuration.Init.StepResult.Ok() -> GitVersion.Configuration static GitVersion.Configuration.Init.StepResult.SaveAndExit() -> GitVersion.Configuration.Init.StepResult! static GitVersion.Extensions.AssemblyVersionsGeneratorExtensions.GetAssemblyFileVersion(this GitVersion.SemanticVersion! sv, GitVersion.Extensions.AssemblyFileVersioningScheme scheme) -> string? static GitVersion.Extensions.AssemblyVersionsGeneratorExtensions.GetAssemblyVersion(this GitVersion.SemanticVersion! sv, GitVersion.Extensions.AssemblyVersioningScheme scheme) -> string? -static GitVersion.Extensions.CommonExtensions.NotNull(this T? value, string! name = "") -> T! -static GitVersion.Extensions.CommonExtensions.NotNullOrEmpty(this string? value, string! name = "") -> string! -static GitVersion.Extensions.CommonExtensions.NotNullOrWhitespace(this string? value, string! name = "") -> string! static GitVersion.Extensions.DictionaryExtensions.GetOrAdd(this System.Collections.Generic.IDictionary! dict, TKey key, System.Func! getValue) -> TValue static GitVersion.Extensions.EnumerableExtensions.OnlyOrDefault(this System.Collections.Generic.IEnumerable! source) -> T? static GitVersion.Extensions.GitExtensions.CreateGitLogArgs(int? maxCommits) -> string! static GitVersion.Extensions.GitExtensions.DumpGraph(string! workingDirectory, System.Action? writer = null, int? maxCommits = null) -> void static GitVersion.Extensions.ObjectExtensions.Deconstruct(this System.Collections.Generic.KeyValuePair kvp, out TKey key, out TValue value) -> void static GitVersion.Extensions.ObjectExtensions.GetProperties(this object! obj) -> System.Collections.Generic.Dictionary! -static GitVersion.Extensions.ReadEmbeddedResourceExtensions.ReadAsStringFromEmbeddedResource(this string! resourceName, System.Reflection.Assembly! assembly) -> string! -static GitVersion.Extensions.ReadEmbeddedResourceExtensions.ReadAsStringFromEmbeddedResource(this string! resourceName) -> string! static GitVersion.Extensions.ServiceCollectionExtensions.AddModule(this Microsoft.Extensions.DependencyInjection.IServiceCollection! serviceCollection, GitVersion.IGitVersionModule! gitVersionModule) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static GitVersion.Extensions.ServiceCollectionExtensions.GetServiceForType(this System.IServiceProvider! serviceProvider) -> TService -static GitVersion.Extensions.StringExtensions.AppendLineFormat(this System.Text.StringBuilder! stringBuilder, string! format, params object![]! args) -> void -static GitVersion.Extensions.StringExtensions.ArgumentRequiresValue(this string! argument, int argumentIndex) -> bool -static GitVersion.Extensions.StringExtensions.IsEmpty(this string? value) -> bool -static GitVersion.Extensions.StringExtensions.IsEquivalentTo(this string! self, string? other) -> bool -static GitVersion.Extensions.StringExtensions.IsFalse(this string? value) -> bool -static GitVersion.Extensions.StringExtensions.IsHelp(this string! singleArgument) -> bool -static GitVersion.Extensions.StringExtensions.IsInit(this string! singleArgument) -> bool -static GitVersion.Extensions.StringExtensions.IsNullOrEmpty(this string? value) -> bool -static GitVersion.Extensions.StringExtensions.IsNullOrWhiteSpace(this string? value) -> bool -static GitVersion.Extensions.StringExtensions.IsSwitch(this string? value, string! switchName) -> bool -static GitVersion.Extensions.StringExtensions.IsSwitchArgument(this string? value) -> bool -static GitVersion.Extensions.StringExtensions.IsTrue(this string? value) -> bool -static GitVersion.Extensions.StringExtensions.IsValidPath(this string? path) -> bool -static GitVersion.Extensions.StringExtensions.RegexReplace(this string! input, string! pattern, string! replace, System.Text.RegularExpressions.RegexOptions options = System.Text.RegularExpressions.RegexOptions.None) -> string! -static GitVersion.GitVersionModule.FindAllDerivedTypes(System.Reflection.Assembly? assembly) -> System.Collections.Generic.IEnumerable! -static GitVersion.Helpers.EncodingHelper.DetectEncoding(System.Collections.Generic.IList! bytes) -> System.Text.Encoding? -static GitVersion.Helpers.EncodingHelper.DetectEncoding(string? filename) -> System.Text.Encoding? -static GitVersion.Helpers.PathHelper.Combine(string? path1) -> string! -static GitVersion.Helpers.PathHelper.Combine(string? path1, string? path2) -> string! -static GitVersion.Helpers.PathHelper.Combine(string? path1, string? path2, string? path3) -> string! -static GitVersion.Helpers.PathHelper.Combine(string? path1, string? path2, string? path3, string? path4) -> string! -static GitVersion.Helpers.PathHelper.GetFullPath(string? path) -> string! static GitVersion.Helpers.ProcessHelper.Run(System.Action! output, System.Action! errorOutput, System.IO.TextReader? input, string! exe, string! args, string! workingDirectory, params System.Collections.Generic.KeyValuePair[]! environmentalVariables) -> int -static GitVersion.Helpers.ServiceMessageEscapeHelper.EscapeValue(string? value) -> string? -static GitVersion.IncrementStrategyExtensions.ToVersionField(this GitVersion.IncrementStrategy strategy) -> GitVersion.VersionField -static GitVersion.Logging.Disposable.Create(System.Action! disposer) -> System.IDisposable! -static GitVersion.Logging.LogExtensions.Debug(this GitVersion.Logging.ILog! log, GitVersion.Logging.LogAction! logAction) -> void -static GitVersion.Logging.LogExtensions.Debug(this GitVersion.Logging.ILog! log, GitVersion.Logging.Verbosity verbosity, GitVersion.Logging.LogAction! logAction) -> void -static GitVersion.Logging.LogExtensions.Debug(this GitVersion.Logging.ILog! log, GitVersion.Logging.Verbosity verbosity, string! format, params object![]! args) -> void -static GitVersion.Logging.LogExtensions.Debug(this GitVersion.Logging.ILog! log, string! format, params object![]! args) -> void -static GitVersion.Logging.LogExtensions.DiagnosticVerbosity(this GitVersion.Logging.ILog! log) -> System.IDisposable! -static GitVersion.Logging.LogExtensions.Error(this GitVersion.Logging.ILog! log, GitVersion.Logging.LogAction! logAction) -> void -static GitVersion.Logging.LogExtensions.Error(this GitVersion.Logging.ILog! log, GitVersion.Logging.Verbosity verbosity, GitVersion.Logging.LogAction! logAction) -> void -static GitVersion.Logging.LogExtensions.Error(this GitVersion.Logging.ILog! log, GitVersion.Logging.Verbosity verbosity, string! format, params object![]! args) -> void -static GitVersion.Logging.LogExtensions.Error(this GitVersion.Logging.ILog! log, string! format, params object![]! args) -> void -static GitVersion.Logging.LogExtensions.GetVerbosityForLevel(GitVersion.Logging.LogLevel level) -> GitVersion.Logging.Verbosity -static GitVersion.Logging.LogExtensions.Info(this GitVersion.Logging.ILog! log, GitVersion.Logging.LogAction! logAction) -> void -static GitVersion.Logging.LogExtensions.Info(this GitVersion.Logging.ILog! log, GitVersion.Logging.Verbosity verbosity, GitVersion.Logging.LogAction! logAction) -> void -static GitVersion.Logging.LogExtensions.Info(this GitVersion.Logging.ILog! log, GitVersion.Logging.Verbosity verbosity, string! format, params object![]! args) -> void -static GitVersion.Logging.LogExtensions.Info(this GitVersion.Logging.ILog! log, string! format, params object![]! args) -> void -static GitVersion.Logging.LogExtensions.MinimalVerbosity(this GitVersion.Logging.ILog! log) -> System.IDisposable! -static GitVersion.Logging.LogExtensions.NormalVerbosity(this GitVersion.Logging.ILog! log) -> System.IDisposable! -static GitVersion.Logging.LogExtensions.QuietVerbosity(this GitVersion.Logging.ILog! log) -> System.IDisposable! -static GitVersion.Logging.LogExtensions.Verbose(this GitVersion.Logging.ILog! log, GitVersion.Logging.LogAction! logAction) -> void -static GitVersion.Logging.LogExtensions.Verbose(this GitVersion.Logging.ILog! log, GitVersion.Logging.Verbosity verbosity, GitVersion.Logging.LogAction! logAction) -> void -static GitVersion.Logging.LogExtensions.Verbose(this GitVersion.Logging.ILog! log, GitVersion.Logging.Verbosity verbosity, string! format, params object![]! args) -> void -static GitVersion.Logging.LogExtensions.Verbose(this GitVersion.Logging.ILog! log, string! format, params object![]! args) -> void -static GitVersion.Logging.LogExtensions.VerboseVerbosity(this GitVersion.Logging.ILog! log) -> System.IDisposable! -static GitVersion.Logging.LogExtensions.Warning(this GitVersion.Logging.ILog! log, GitVersion.Logging.LogAction! logAction) -> void -static GitVersion.Logging.LogExtensions.Warning(this GitVersion.Logging.ILog! log, GitVersion.Logging.Verbosity verbosity, GitVersion.Logging.LogAction! logAction) -> void -static GitVersion.Logging.LogExtensions.Warning(this GitVersion.Logging.ILog! log, GitVersion.Logging.Verbosity verbosity, string! format, params object![]! args) -> void -static GitVersion.Logging.LogExtensions.Warning(this GitVersion.Logging.ILog! log, string! format, params object![]! args) -> void -static GitVersion.Logging.LogExtensions.Write(this GitVersion.Logging.ILog! log, GitVersion.Logging.LogLevel level, string! format, params object![]! args) -> void -static GitVersion.OutputVariables.VersionVariables.AvailableVariables.get -> System.Collections.Generic.IEnumerable! -static GitVersion.OutputVariables.VersionVariables.FromFile(string! filePath, GitVersion.IFileSystem! fileSystem) -> GitVersion.OutputVariables.VersionVariables! -static GitVersion.OutputVariables.VersionVariables.FromJson(string! json) -> GitVersion.OutputVariables.VersionVariables! -static GitVersion.ReferenceName.FromBranchName(string! branchName) -> GitVersion.ReferenceName! -static GitVersion.ReferenceName.Parse(string! canonicalName) -> GitVersion.ReferenceName! -static GitVersion.ReferenceName.TryParse(out GitVersion.ReferenceName? value, string! canonicalName) -> bool -static GitVersion.SemanticVersion.Parse(string! version, string? tagPrefixRegex, GitVersion.SemanticVersionFormat versionFormat = GitVersion.SemanticVersionFormat.Strict) -> GitVersion.SemanticVersion! -static GitVersion.SemanticVersion.TryParse(string! version, string? tagPrefixRegex, out GitVersion.SemanticVersion? semanticVersion, GitVersion.SemanticVersionFormat format = GitVersion.SemanticVersionFormat.Strict) -> bool -static GitVersion.SemanticVersion.operator !=(GitVersion.SemanticVersion? v1, GitVersion.SemanticVersion? v2) -> bool -static GitVersion.SemanticVersion.operator <(GitVersion.SemanticVersion! v1, GitVersion.SemanticVersion! v2) -> bool -static GitVersion.SemanticVersion.operator <=(GitVersion.SemanticVersion! v1, GitVersion.SemanticVersion! v2) -> bool -static GitVersion.SemanticVersion.operator ==(GitVersion.SemanticVersion? v1, GitVersion.SemanticVersion? v2) -> bool -static GitVersion.SemanticVersion.operator >(GitVersion.SemanticVersion! v1, GitVersion.SemanticVersion! v2) -> bool -static GitVersion.SemanticVersion.operator >=(GitVersion.SemanticVersion! v1, GitVersion.SemanticVersion! v2) -> bool -static GitVersion.SemanticVersionBuildMetaData.Parse(string? buildMetaData) -> GitVersion.SemanticVersionBuildMetaData! -static GitVersion.SemanticVersionBuildMetaData.implicit operator GitVersion.SemanticVersionBuildMetaData!(string! preReleaseTag) -> GitVersion.SemanticVersionBuildMetaData! -static GitVersion.SemanticVersionBuildMetaData.implicit operator string?(GitVersion.SemanticVersionBuildMetaData? preReleaseTag) -> string? -static GitVersion.SemanticVersionBuildMetaData.operator !=(GitVersion.SemanticVersionBuildMetaData? left, GitVersion.SemanticVersionBuildMetaData? right) -> bool -static GitVersion.SemanticVersionBuildMetaData.operator ==(GitVersion.SemanticVersionBuildMetaData? left, GitVersion.SemanticVersionBuildMetaData? right) -> bool -static GitVersion.SemanticVersionPreReleaseTag.Parse(string? preReleaseTag) -> GitVersion.SemanticVersionPreReleaseTag! -static GitVersion.SemanticVersionPreReleaseTag.implicit operator GitVersion.SemanticVersionPreReleaseTag!(string? preReleaseTag) -> GitVersion.SemanticVersionPreReleaseTag! -static GitVersion.SemanticVersionPreReleaseTag.implicit operator string?(GitVersion.SemanticVersionPreReleaseTag? preReleaseTag) -> string? -static GitVersion.SemanticVersionPreReleaseTag.operator !=(GitVersion.SemanticVersionPreReleaseTag? left, GitVersion.SemanticVersionPreReleaseTag? right) -> bool -static GitVersion.SemanticVersionPreReleaseTag.operator <(GitVersion.SemanticVersionPreReleaseTag? left, GitVersion.SemanticVersionPreReleaseTag? right) -> bool -static GitVersion.SemanticVersionPreReleaseTag.operator <=(GitVersion.SemanticVersionPreReleaseTag? left, GitVersion.SemanticVersionPreReleaseTag? right) -> bool -static GitVersion.SemanticVersionPreReleaseTag.operator ==(GitVersion.SemanticVersionPreReleaseTag? left, GitVersion.SemanticVersionPreReleaseTag? right) -> bool -static GitVersion.SemanticVersionPreReleaseTag.operator >(GitVersion.SemanticVersionPreReleaseTag? left, GitVersion.SemanticVersionPreReleaseTag? right) -> bool -static GitVersion.SemanticVersionPreReleaseTag.operator >=(GitVersion.SemanticVersionPreReleaseTag? left, GitVersion.SemanticVersionPreReleaseTag? right) -> bool +static GitVersion.OutputVariables.VersionVariablesHelper.FromFile(string! filePath, GitVersion.IFileSystem! fileSystem) -> GitVersion.OutputVariables.GitVersionVariables! +static GitVersion.OutputVariables.VersionVariablesHelper.FromJson(string! json) -> GitVersion.OutputVariables.GitVersionVariables! static GitVersion.VersionCalculation.NextVersion.operator !=(GitVersion.VersionCalculation.NextVersion! left, GitVersion.VersionCalculation.NextVersion! right) -> bool static GitVersion.VersionCalculation.NextVersion.operator <(GitVersion.VersionCalculation.NextVersion! left, GitVersion.VersionCalculation.NextVersion! right) -> bool static GitVersion.VersionCalculation.NextVersion.operator <=(GitVersion.VersionCalculation.NextVersion! left, GitVersion.VersionCalculation.NextVersion! right) -> bool static GitVersion.VersionCalculation.NextVersion.operator ==(GitVersion.VersionCalculation.NextVersion! left, GitVersion.VersionCalculation.NextVersion? right) -> bool static GitVersion.VersionCalculation.NextVersion.operator >(GitVersion.VersionCalculation.NextVersion! left, GitVersion.VersionCalculation.NextVersion! right) -> bool static GitVersion.VersionCalculation.NextVersion.operator >=(GitVersion.VersionCalculation.NextVersion! left, GitVersion.VersionCalculation.NextVersion! right) -> bool -static readonly GitVersion.BranchCommit.Empty -> GitVersion.BranchCommit -static readonly GitVersion.Helpers.StringComparerUtils.IgnoreCaseComparer -> System.StringComparer! -static readonly GitVersion.Helpers.StringComparerUtils.OsDependentComparer -> System.StringComparer! -static readonly GitVersion.Helpers.StringComparerUtils.OsDependentComparison -> System.StringComparison -static readonly GitVersion.Logging.Disposable.Empty -> System.IDisposable! -static readonly GitVersion.SemanticVersion.Empty -> GitVersion.SemanticVersion! -static readonly GitVersion.SemanticVersionBuildMetaData.Empty -> GitVersion.SemanticVersionBuildMetaData! -static readonly GitVersion.SemanticVersionPreReleaseTag.Empty -> GitVersion.SemanticVersionPreReleaseTag! -virtual GitVersion.Agents.BuildAgentBase.CanApplyToCurrentContext() -> bool -virtual GitVersion.Agents.BuildAgentBase.GetCurrentBranch(bool usingDynamicRepos) -> string? -virtual GitVersion.Agents.BuildAgentBase.IsDefault.get -> bool -virtual GitVersion.Agents.BuildAgentBase.PreventFetch() -> bool -virtual GitVersion.Agents.BuildAgentBase.ShouldCleanUpRemotes() -> bool -virtual GitVersion.Agents.BuildAgentBase.WriteIntegration(System.Action! writer, GitVersion.OutputVariables.VersionVariables! variables, bool updateBuildNumber = true) -> void virtual GitVersion.Configuration.BranchConfiguration.Inherit(GitVersion.Configuration.IBranchConfiguration! configuration) -> GitVersion.Configuration.IBranchConfiguration! virtual GitVersion.Configuration.BranchConfigurationBuilder.WithCommitMessageIncrementing(GitVersion.VersionCalculation.CommitMessageIncrementMode? value) -> GitVersion.Configuration.BranchConfigurationBuilder! virtual GitVersion.Configuration.BranchConfigurationBuilder.WithConfiguration(GitVersion.Configuration.IBranchConfiguration! value) -> GitVersion.Configuration.BranchConfigurationBuilder! virtual GitVersion.Configuration.BranchConfigurationBuilder.WithIncrement(GitVersion.IncrementStrategy value) -> GitVersion.Configuration.BranchConfigurationBuilder! virtual GitVersion.Configuration.BranchConfigurationBuilder.WithIsMainline(bool? value) -> GitVersion.Configuration.BranchConfigurationBuilder! virtual GitVersion.Configuration.BranchConfigurationBuilder.WithIsReleaseBranch(bool? value) -> GitVersion.Configuration.BranchConfigurationBuilder! -virtual GitVersion.Configuration.BranchConfigurationBuilder.WithIsSourceBranchFor(params string![]! values) -> GitVersion.Configuration.BranchConfigurationBuilder! virtual GitVersion.Configuration.BranchConfigurationBuilder.WithIsSourceBranchFor(System.Collections.Generic.IEnumerable! values) -> GitVersion.Configuration.BranchConfigurationBuilder! +virtual GitVersion.Configuration.BranchConfigurationBuilder.WithIsSourceBranchFor(params string![]! values) -> GitVersion.Configuration.BranchConfigurationBuilder! virtual GitVersion.Configuration.BranchConfigurationBuilder.WithLabel(string? value) -> GitVersion.Configuration.BranchConfigurationBuilder! virtual GitVersion.Configuration.BranchConfigurationBuilder.WithLabelNumberPattern(string? value) -> GitVersion.Configuration.BranchConfigurationBuilder! virtual GitVersion.Configuration.BranchConfigurationBuilder.WithPreReleaseWeight(int? value) -> GitVersion.Configuration.BranchConfigurationBuilder! virtual GitVersion.Configuration.BranchConfigurationBuilder.WithPreventIncrementOfMergedBranchVersion(bool? value) -> GitVersion.Configuration.BranchConfigurationBuilder! virtual GitVersion.Configuration.BranchConfigurationBuilder.WithRegularExpression(string? value) -> GitVersion.Configuration.BranchConfigurationBuilder! -virtual GitVersion.Configuration.BranchConfigurationBuilder.WithSourceBranches(params string![]! values) -> GitVersion.Configuration.BranchConfigurationBuilder! virtual GitVersion.Configuration.BranchConfigurationBuilder.WithSourceBranches(System.Collections.Generic.IEnumerable! values) -> GitVersion.Configuration.BranchConfigurationBuilder! +virtual GitVersion.Configuration.BranchConfigurationBuilder.WithSourceBranches(params string![]! values) -> GitVersion.Configuration.BranchConfigurationBuilder! virtual GitVersion.Configuration.BranchConfigurationBuilder.WithTrackMergeMessage(bool? value) -> GitVersion.Configuration.BranchConfigurationBuilder! virtual GitVersion.Configuration.BranchConfigurationBuilder.WithTrackMergeTarget(bool? value) -> GitVersion.Configuration.BranchConfigurationBuilder! virtual GitVersion.Configuration.BranchConfigurationBuilder.WithTracksReleaseBranches(bool? value) -> GitVersion.Configuration.BranchConfigurationBuilder! diff --git a/src/GitVersion.Output/PublicAPI.Unshipped.txt b/src/GitVersion.Output/PublicAPI.Unshipped.txt index 7f53efbd7b..dded25941b 100644 --- a/src/GitVersion.Output/PublicAPI.Unshipped.txt +++ b/src/GitVersion.Output/PublicAPI.Unshipped.txt @@ -1,10 +1,15 @@ #nullable enable GitVersion.GitVersionOutputTool -GitVersion.GitVersionOutputTool.GenerateGitVersionInformation(GitVersion.OutputVariables.VersionVariables! variables, GitVersion.FileWriteInfo! fileWriteInfo) -> void +GitVersion.GitVersionOutputTool.GenerateGitVersionInformation(GitVersion.OutputVariables.GitVersionVariables! variables, GitVersion.FileWriteInfo! fileWriteInfo) -> void GitVersion.GitVersionOutputTool.GitVersionOutputTool(Microsoft.Extensions.Options.IOptions! options, GitVersion.Output.OutputGenerator.IOutputGenerator! outputGenerator, GitVersion.Output.WixUpdater.IWixVersionFileUpdater! wixVersionFileUpdater, GitVersion.Output.GitVersionInfo.IGitVersionInfoGenerator! gitVersionInfoGenerator, GitVersion.Output.AssemblyInfo.IAssemblyInfoFileUpdater! assemblyInfoFileUpdater, GitVersion.Output.AssemblyInfo.IProjectFileUpdater! projectFileUpdater) -> void -GitVersion.GitVersionOutputTool.OutputVariables(GitVersion.OutputVariables.VersionVariables! variables, bool updateBuildNumber) -> void -GitVersion.GitVersionOutputTool.UpdateAssemblyInfo(GitVersion.OutputVariables.VersionVariables! variables) -> void -GitVersion.GitVersionOutputTool.UpdateWixVersionFile(GitVersion.OutputVariables.VersionVariables! variables) -> void +GitVersion.GitVersionOutputTool.OutputVariables(GitVersion.OutputVariables.GitVersionVariables! variables, bool updateBuildNumber) -> void +GitVersion.GitVersionOutputTool.UpdateAssemblyInfo(GitVersion.OutputVariables.GitVersionVariables! variables) -> void +GitVersion.GitVersionOutputTool.UpdateWixVersionFile(GitVersion.OutputVariables.GitVersionVariables! variables) -> void +GitVersion.IGitVersionOutputTool +GitVersion.IGitVersionOutputTool.GenerateGitVersionInformation(GitVersion.OutputVariables.GitVersionVariables! variables, GitVersion.FileWriteInfo! fileWriteInfo) -> void +GitVersion.IGitVersionOutputTool.OutputVariables(GitVersion.OutputVariables.GitVersionVariables! variables, bool updateBuildNumber) -> void +GitVersion.IGitVersionOutputTool.UpdateAssemblyInfo(GitVersion.OutputVariables.GitVersionVariables! variables) -> void +GitVersion.IGitVersionOutputTool.UpdateWixVersionFile(GitVersion.OutputVariables.GitVersionVariables! variables) -> void GitVersion.Output.AssemblyInfo.AssemblyInfoContext GitVersion.Output.AssemblyInfo.AssemblyInfoContext.AssemblyInfoContext() -> void GitVersion.Output.AssemblyInfo.AssemblyInfoContext.AssemblyInfoContext(string! workingDirectory, bool ensureAssemblyInfo, params string![]! assemblyInfoFiles) -> void @@ -14,14 +19,14 @@ GitVersion.Output.AssemblyInfo.AssemblyInfoContext.WorkingDirectory.get -> strin GitVersion.Output.AssemblyInfo.AssemblyInfoFileUpdater GitVersion.Output.AssemblyInfo.AssemblyInfoFileUpdater.AssemblyInfoFileUpdater(GitVersion.Logging.ILog! log, GitVersion.IFileSystem! fileSystem) -> void GitVersion.Output.AssemblyInfo.AssemblyInfoFileUpdater.Dispose() -> void -GitVersion.Output.AssemblyInfo.AssemblyInfoFileUpdater.Execute(GitVersion.OutputVariables.VersionVariables! variables, GitVersion.Output.AssemblyInfo.AssemblyInfoContext context) -> void +GitVersion.Output.AssemblyInfo.AssemblyInfoFileUpdater.Execute(GitVersion.OutputVariables.GitVersionVariables! variables, GitVersion.Output.AssemblyInfo.AssemblyInfoContext context) -> void GitVersion.Output.AssemblyInfo.IAssemblyInfoFileUpdater GitVersion.Output.AssemblyInfo.IProjectFileUpdater GitVersion.Output.AssemblyInfo.IProjectFileUpdater.CanUpdateProjectFile(System.Xml.Linq.XElement! xmlRoot) -> bool GitVersion.Output.AssemblyInfo.ProjectFileUpdater GitVersion.Output.AssemblyInfo.ProjectFileUpdater.CanUpdateProjectFile(System.Xml.Linq.XElement! xmlRoot) -> bool GitVersion.Output.AssemblyInfo.ProjectFileUpdater.Dispose() -> void -GitVersion.Output.AssemblyInfo.ProjectFileUpdater.Execute(GitVersion.OutputVariables.VersionVariables! variables, GitVersion.Output.AssemblyInfo.AssemblyInfoContext context) -> void +GitVersion.Output.AssemblyInfo.ProjectFileUpdater.Execute(GitVersion.OutputVariables.GitVersionVariables! variables, GitVersion.Output.AssemblyInfo.AssemblyInfoContext context) -> void GitVersion.Output.AssemblyInfo.ProjectFileUpdater.ProjectFileUpdater(GitVersion.Logging.ILog! log, GitVersion.IFileSystem! fileSystem) -> void GitVersion.Output.GitVersionInfo.GitVersionInfoContext GitVersion.Output.GitVersionInfo.GitVersionInfoContext.FileExtension.get -> string! @@ -31,7 +36,7 @@ GitVersion.Output.GitVersionInfo.GitVersionInfoContext.GitVersionInfoContext(str GitVersion.Output.GitVersionInfo.GitVersionInfoContext.WorkingDirectory.get -> string! GitVersion.Output.GitVersionInfo.GitVersionInfoGenerator GitVersion.Output.GitVersionInfo.GitVersionInfoGenerator.Dispose() -> void -GitVersion.Output.GitVersionInfo.GitVersionInfoGenerator.Execute(GitVersion.OutputVariables.VersionVariables! variables, GitVersion.Output.GitVersionInfo.GitVersionInfoContext context) -> void +GitVersion.Output.GitVersionInfo.GitVersionInfoGenerator.Execute(GitVersion.OutputVariables.GitVersionVariables! variables, GitVersion.Output.GitVersionInfo.GitVersionInfoContext context) -> void GitVersion.Output.GitVersionInfo.GitVersionInfoGenerator.GitVersionInfoGenerator(GitVersion.IFileSystem! fileSystem) -> void GitVersion.Output.GitVersionInfo.IGitVersionInfoGenerator GitVersion.Output.GitVersionOutputModule @@ -46,7 +51,7 @@ GitVersion.Output.OutputGenerator.OutputContext.UpdateBuildNumber.get -> bool? GitVersion.Output.OutputGenerator.OutputContext.WorkingDirectory.get -> string! GitVersion.Output.OutputGenerator.OutputGenerator GitVersion.Output.OutputGenerator.OutputGenerator.Dispose() -> void -GitVersion.Output.OutputGenerator.OutputGenerator.Execute(GitVersion.OutputVariables.VersionVariables! variables, GitVersion.Output.OutputGenerator.OutputContext context) -> void +GitVersion.Output.OutputGenerator.OutputGenerator.Execute(GitVersion.OutputVariables.GitVersionVariables! variables, GitVersion.Output.OutputGenerator.OutputContext context) -> void GitVersion.Output.OutputGenerator.OutputGenerator.OutputGenerator(GitVersion.Agents.ICurrentBuildAgent! buildAgent, GitVersion.Logging.IConsole! console, GitVersion.IFileSystem! fileSystem, GitVersion.IEnvironment! environment, Microsoft.Extensions.Options.IOptions! options) -> void GitVersion.Output.WixUpdater.IWixVersionFileUpdater GitVersion.Output.WixUpdater.WixVersionContext @@ -55,6 +60,6 @@ GitVersion.Output.WixUpdater.WixVersionContext.WixVersionContext(string! working GitVersion.Output.WixUpdater.WixVersionContext.WorkingDirectory.get -> string! GitVersion.Output.WixUpdater.WixVersionFileUpdater GitVersion.Output.WixUpdater.WixVersionFileUpdater.Dispose() -> void -GitVersion.Output.WixUpdater.WixVersionFileUpdater.Execute(GitVersion.OutputVariables.VersionVariables! variables, GitVersion.Output.WixUpdater.WixVersionContext context) -> void +GitVersion.Output.WixUpdater.WixVersionFileUpdater.Execute(GitVersion.OutputVariables.GitVersionVariables! variables, GitVersion.Output.WixUpdater.WixVersionContext context) -> void GitVersion.Output.WixUpdater.WixVersionFileUpdater.WixVersionFileUpdater(GitVersion.Logging.ILog! log, GitVersion.IFileSystem! fileSystem) -> void const GitVersion.Output.WixUpdater.WixVersionFileUpdater.WixVersionFileName = "GitVersion_WixVersion.wxi" -> string!