Skip to content

Commit ad1164f

Browse files
committed
Merge pull request #96 from GeertvanHorrik/master
GV-90: Renamed all solution directories, packages and usages from GitFlowVersion to GitVersion
2 parents 3554bd4 + 85899c2 commit ad1164f

File tree

128 files changed

+297
-255
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

128 files changed

+297
-255
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ ForSample/
4848
_ReSharper*
4949

5050
!GitFlowRepo/**/*
51+
!GitFlowVersionRepo/**/*
52+
!GitVersionRepo/**/*
5153

5254
# Others
5355
[Bb]in

CommonAssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
using System.Reflection;
22
using System.Runtime.CompilerServices;
33

4-
[assembly: AssemblyTitle("GitFlowVersion")]
5-
[assembly: AssemblyProduct("GitFlowVersion")]
4+
[assembly: AssemblyTitle("GitVersion")]
5+
[assembly: AssemblyProduct("GitVersion")]
66
[assembly: AssemblyVersion("0.19.0")]
77
[assembly: AssemblyFileVersion("0.19.0")]
88
[assembly: InternalsVisibleTo("Tests")]

GitFlowVersion/GemAssets/gitflowversion

Lines changed: 0 additions & 2 deletions
This file was deleted.

GitFlowVersion/NugetExeAssets/chocolateyInstall.ps1

Lines changed: 0 additions & 2 deletions
This file was deleted.

GitFlowVersion/NugetExeAssets/chocolateyUninstall.ps1

Lines changed: 0 additions & 3 deletions
This file was deleted.

GitFlowVersion/OutputFormatters/BuildOutputFormatter.cs

Lines changed: 0 additions & 13 deletions
This file was deleted.

GitFlowVersion.sln renamed to GitVersion.sln

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio 2012
4-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GitFlowVersion", "GitFlowVersion\GitFlowVersion.csproj", "{C3578A7B-09A6-4444-9383-0DEAFA4958BD}"
4+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GitVersion", "GitVersion\GitVersion.csproj", "{C3578A7B-09A6-4444-9383-0DEAFA4958BD}"
55
EndProject
66
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests", "Tests\Tests.csproj", "{5A86453B-96FB-4B6E-A283-225BB9F753D3}"
77
EndProject
8-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GitFlowVersionTask", "GitFlowVersionTask\GitFlowVersionTask.csproj", "{F7AC0E71-3E9A-4F6D-B986-E004825A48E1}"
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GitVersionTask", "GitVersionTask\GitVersionTask.csproj", "{F7AC0E71-3E9A-4F6D-B986-E004825A48E1}"
99
EndProject
1010
Global
1111
GlobalSection(SolutionConfigurationPlatforms) = preSolution
File renamed without changes.

GitVersion.sln.GhostDoc.xml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<GhostDoc>
2+
<SpellChecker>
3+
<IncludeExtensions>
4+
</IncludeExtensions>
5+
<IgnoreExtensions>
6+
</IgnoreExtensions>
7+
<IgnoreFiles>
8+
</IgnoreFiles>
9+
</SpellChecker>
10+
<HelpConfigurations selected="HelpFile">
11+
<HelpConfiguration name="HelpFile">
12+
<OutputPath>C:\Source\GitVersion\Help</OutputPath>
13+
<ImageFolderPath />
14+
<HtmlFormats>
15+
<HtmlHelp>true</HtmlHelp>
16+
<MSHelpViewer>false</MSHelpViewer>
17+
<MSHelp2>false</MSHelp2>
18+
<Website>false</Website>
19+
</HtmlFormats>
20+
<IncludeScopes>
21+
<Public>true</Public>
22+
<Internal>false</Internal>
23+
<Protected>false</Protected>
24+
<Private>false</Private>
25+
<Inherited>true</Inherited>
26+
<EnableTags>false</EnableTags>
27+
<TagList />
28+
</IncludeScopes>
29+
<ResolveCrefLinks>true</ResolveCrefLinks>
30+
<HeaderText />
31+
<FooterText />
32+
<SelectedProjects />
33+
</HelpConfiguration>
34+
</HelpConfigurations>
35+
</GhostDoc>
File renamed without changes.

GitFlowVersion/ArgumentParser.cs renamed to GitVersion/ArgumentParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace GitFlowVersion
1+
namespace GitVersion
22
{
33
using System;
44
using System.Collections.Generic;

GitFlowVersion/Arguments.cs renamed to GitVersion/Arguments.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace GitFlowVersion
1+
namespace GitVersion
22
{
33
class Arguments
44
{

GitFlowVersion/BuildServers/BuildServerList.cs renamed to GitVersion/BuildServers/BuildServerList.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace GitFlowVersion
1+
namespace GitVersion
22
{
33
using System;
44
using System.Collections.Generic;

GitFlowVersion/BuildServers/ContinuaCi.cs renamed to GitVersion/BuildServers/ContinuaCi.cs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
namespace GitFlowVersion
1+
namespace GitVersion
22
{
3-
using GitFlowVersion;
43
using Microsoft.Win32;
54

65
public class ContinuaCi : IBuildServer
@@ -23,9 +22,12 @@ public void PerformPreProcessingSteps(string gitDirectory)
2322
GitHelper.NormalizeGitDirectory(gitDirectory);
2423
}
2524

26-
public string GenerateSetParameterMessage(string name, string value)
25+
public string[] GenerateSetParameterMessage(string name, string value)
2726
{
28-
return string.Format("@@continua[setVariable name='GitFlowVersion.{0}' value='{1}']", name, value);
27+
return new []
28+
{
29+
string.Format("@@continua[setVariable name='GitVersion.{0}' value='{1}']", name, value)
30+
};
2931
}
3032

3133
public string GenerateSetVersionMessage(string versionToUseForBuildNumber)

GitFlowVersion/BuildServers/GitHelper.cs renamed to GitVersion/BuildServers/GitHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace GitFlowVersion.GitFlowVersion
1+
namespace GitVersion
22
{
33
using System;
44
using System.Linq;
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
namespace GitFlowVersion
1+
namespace GitVersion
22
{
33
public interface IBuildServer
44
{
55
bool CanApplyToCurrentContext();
66
void PerformPreProcessingSteps(string gitDirectory);
77
string GenerateSetVersionMessage(string versionToUseForBuildNumber);
8-
string GenerateSetParameterMessage(string name, string value);
8+
string[] GenerateSetParameterMessage(string name, string value);
99
}
1010
}

GitFlowVersion/BuildServers/TeamCity.cs renamed to GitVersion/BuildServers/TeamCity.cs

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
namespace GitFlowVersion
1+
namespace GitVersion
22
{
33
using System;
4-
using GitFlowVersion;
54

65
public class TeamCity : IBuildServer
76
{
@@ -20,9 +19,14 @@ public void PerformPreProcessingSteps(string gitDirectory)
2019
GitHelper.NormalizeGitDirectory(gitDirectory);
2120
}
2221

23-
public string GenerateSetParameterMessage(string name, string value)
22+
public string[] GenerateSetParameterMessage(string name, string value)
2423
{
25-
return string.Format("##teamcity[setParameter name='GitFlowVersion.{0}' value='{1}']", name, EscapeValue(value));
24+
return new[]
25+
{
26+
// Note: see discussion at https://github.com/Particular/GitVersion/issues/90, keep GitFlowVersion for now
27+
string.Format("##teamcity[setParameter name='GitFlowVersion.{0}' value='{1}']", name, EscapeValue(value)),
28+
string.Format("##teamcity[setParameter name='GitVersion.{0}' value='{1}']", name, EscapeValue(value))
29+
};
2630
}
2731

2832
public string GenerateSetVersionMessage(string versionToUseForBuildNumber)

GitFlowVersion/CachedVersion.cs renamed to GitVersion/CachedVersion.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace GitFlowVersion
1+
namespace GitVersion
22
{
33
class CachedVersion
44
{

GitFlowVersion/DirectoryDateFinder.cs renamed to GitVersion/DirectoryDateFinder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace GitFlowVersion
1+
namespace GitVersion
22
{
33
using System;
44
using System.IO;

GitFlowVersion/ErrorException.cs renamed to GitVersion/ErrorException.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace GitFlowVersion
1+
namespace GitVersion
22
{
33
using System;
44
using System.Runtime.Serialization;

GitFlowVersion/ExtensionMethods.cs renamed to GitVersion/ExtensionMethods.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace GitFlowVersion
1+
namespace GitVersion
22
{
33
using System;
44
using System.Text;
File renamed without changes.
File renamed without changes.

GitVersion/GemAssets/gitversion

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
result = system(File.dirname(__FILE__) + "/GitVersion.exe " + ARGV.join(' '))
2+
exit 1 unless result
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
Gem::Specification.new do |spec|
22
spec.platform = Gem::Platform::RUBY
3-
spec.name = 'gitflowversion'
3+
spec.name = 'gitversion'
44
spec.licenses = ['MIT']
55
spec.version = '0.14.0'
66
spec.files = Dir['bin/**/*']
77
spec.bindir = 'bin'
8-
spec.executables << 'gitflowversion'
8+
spec.executables << 'gitversion'
99

1010
spec.summary = 'Derives SemVer information from a repository following GitFlow.'
1111
spec.description = <<-EOF
@@ -14,6 +14,6 @@ EOF
1414

1515
spec.authors = ['NServiceBus','Simon Cropp']
1616
spec.email = '[email protected]'
17-
spec.homepage = 'http://github.com/Particular/GitFlowVersion'
18-
spec.rubyforge_project = 'GitFlowVersion'
17+
spec.homepage = 'http://github.com/Particular/GitVersion'
18+
spec.rubyforge_project = 'GitVersion'
1919
end

GitFlowVersion/GitDirFinder.cs renamed to GitVersion/GitDirFinder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace GitFlowVersion
1+
namespace GitVersion
22
{
33
using System.IO;
44
using LibGit2Sharp;

GitFlowVersion/GitFlow/BranchClassifier.cs renamed to GitVersion/GitFlow/BranchClassifier.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace GitFlowVersion
1+
namespace GitVersion
22
{
33
using System;
44
using LibGit2Sharp;

GitFlowVersion/GitFlow/BranchFinders/DevelopBasedVersionFinderBase.cs renamed to GitVersion/GitFlow/BranchFinders/DevelopBasedVersionFinderBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace GitFlowVersion
1+
namespace GitVersion
22
{
33
using System.Linq;
44
using LibGit2Sharp;

GitFlowVersion/GitFlow/BranchFinders/DevelopVersionFinder.cs renamed to GitVersion/GitFlow/BranchFinders/DevelopVersionFinder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace GitFlowVersion
1+
namespace GitVersion
22
{
33
using System.Linq;
44

GitFlowVersion/GitFlow/BranchFinders/FeatureVersionFinder.cs renamed to GitVersion/GitFlow/BranchFinders/FeatureVersionFinder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace GitFlowVersion
1+
namespace GitVersion
22
{
33
class FeatureVersionFinder : DevelopBasedVersionFinderBase
44
{

GitFlowVersion/GitFlow/BranchFinders/HotfixVersionFinder.cs renamed to GitVersion/GitFlow/BranchFinders/HotfixVersionFinder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace GitFlowVersion
1+
namespace GitVersion
22
{
33
class HotfixVersionFinder : OptionallyTaggedBranchVersionFinderBase
44
{

GitFlowVersion/GitFlow/BranchFinders/MasterVersionFinder.cs renamed to GitVersion/GitFlow/BranchFinders/MasterVersionFinder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace GitFlowVersion
1+
namespace GitVersion
22
{
33
using LibGit2Sharp;
44

GitFlowVersion/GitFlow/BranchFinders/OptionallyTaggedBranchVersionFinderBase.cs renamed to GitVersion/GitFlow/BranchFinders/OptionallyTaggedBranchVersionFinderBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace GitFlowVersion
1+
namespace GitVersion
22
{
33
using System;
44
using System.Collections.Generic;

GitFlowVersion/GitFlow/BranchFinders/PullVersionFinder.cs renamed to GitVersion/GitFlow/BranchFinders/PullVersionFinder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace GitFlowVersion
1+
namespace GitVersion
22
{
33
class PullVersionFinder : DevelopBasedVersionFinderBase
44
{

GitFlowVersion/GitFlow/BranchFinders/ReleaseVersionFinder.cs renamed to GitVersion/GitFlow/BranchFinders/ReleaseVersionFinder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace GitFlowVersion
1+
namespace GitVersion
22
{
33
class ReleaseVersionFinder : OptionallyTaggedBranchVersionFinderBase
44
{

GitFlowVersion/GitFlow/BranchType.cs renamed to GitVersion/GitFlow/BranchType.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace GitFlowVersion
1+
namespace GitVersion
22
{
33
public enum BranchType
44
{

GitFlowVersion/GitFlow/GitFlowVariableProvider.cs renamed to GitVersion/GitFlow/GitFlowVariableProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace GitFlowVersion
1+
namespace GitVersion
22
{
33
using System;
44
using System.Collections.Generic;

GitFlowVersion/GitFlow/GitFlowVersionFinder.cs renamed to GitVersion/GitFlow/GitFlowVersionFinder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace GitFlowVersion
1+
namespace GitVersion
22
{
33
public class GitFlowVersionFinder
44
{

GitFlowVersion/GitFlow/MergeMessageParser.cs renamed to GitVersion/GitFlow/MergeMessageParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace GitFlowVersion
1+
namespace GitVersion
22
{
33
using System.Linq;
44
using LibGit2Sharp;

GitFlowVersion/GitFlow/ReleaseInformation.cs renamed to GitVersion/GitFlow/ReleaseInformation.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace GitFlowVersion
1+
namespace GitVersion
22
{
33
public class ReleaseInformation
44
{

GitFlowVersion/GitFlow/ReleaseInformationCalculator.cs renamed to GitVersion/GitFlow/ReleaseInformationCalculator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace GitFlowVersion
1+
namespace GitVersion
22
{
33
using System;
44
using System.Text.RegularExpressions;

GitFlowVersion/GitFlow/Stability.cs renamed to GitVersion/GitFlow/Stability.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace GitFlowVersion
1+
namespace GitVersion
22
{
33
public enum Stability
44
{

GitFlowVersion/GitFlow/VersionAndBranch.cs renamed to GitVersion/GitFlow/VersionAndBranch.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace GitFlowVersion
1+
namespace GitVersion
22
{
33
public class VersionAndBranch
44
{

GitFlowVersion/GitFlow/VersionAndBranchAndDate.cs renamed to GitVersion/GitFlow/VersionAndBranchAndDate.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace GitFlowVersion
1+
namespace GitVersion
22
{
33
public class VersionAndBranchAndDate : VersionAndBranch
44
{

GitFlowVersion/GitHubFlow/BuildNumberCalculator.cs renamed to GitVersion/GitHubFlow/BuildNumberCalculator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace GitFlowVersion
1+
namespace GitVersion
22
{
33
using System;
44
using System.Linq;

GitFlowVersion/GitHubFlow/GitHubFlowVersionFinder.cs renamed to GitVersion/GitHubFlow/GitHubFlowVersionFinder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace GitFlowVersion
1+
namespace GitVersion
22
{
33
public class GitHubFlowVersionFinder
44
{

GitFlowVersion/GitHubFlow/LastTaggedReleaseFinder.cs renamed to GitVersion/GitHubFlow/LastTaggedReleaseFinder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace GitFlowVersion
1+
namespace GitVersion
22
{
33
using System;
44
using System.IO;

GitFlowVersion/GitHubFlow/NextSemverCalculator.cs renamed to GitVersion/GitHubFlow/NextSemverCalculator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace GitFlowVersion
1+
namespace GitVersion
22
{
33
public class NextSemverCalculator
44
{

GitFlowVersion/GitHubFlow/NextVersionTxtFileFinder.cs renamed to GitVersion/GitHubFlow/NextVersionTxtFileFinder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace GitFlowVersion
1+
namespace GitVersion
22
{
33
using System;
44
using System.IO;

GitFlowVersion/GitHubFlow/VersionTaggedCommit.cs renamed to GitVersion/GitHubFlow/VersionTaggedCommit.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace GitFlowVersion
1+
namespace GitVersion
22
{
33
using LibGit2Sharp;
44

0 commit comments

Comments
 (0)