Skip to content

GV-90: Renamed all solution directories, packages and usages from GitFlowVersion to GitVersion #96

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 8, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ ForSample/
_ReSharper*

!GitFlowRepo/**/*
!GitFlowVersionRepo/**/*
!GitVersionRepo/**/*

# Others
[Bb]in
Expand Down
4 changes: 2 additions & 2 deletions CommonAssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System.Reflection;
using System.Runtime.CompilerServices;

[assembly: AssemblyTitle("GitFlowVersion")]
[assembly: AssemblyProduct("GitFlowVersion")]
[assembly: AssemblyTitle("GitVersion")]
[assembly: AssemblyProduct("GitVersion")]
[assembly: AssemblyVersion("0.19.0")]
[assembly: AssemblyFileVersion("0.19.0")]
[assembly: InternalsVisibleTo("Tests")]
2 changes: 0 additions & 2 deletions GitFlowVersion/GemAssets/gitflowversion

This file was deleted.

2 changes: 0 additions & 2 deletions GitFlowVersion/NugetExeAssets/chocolateyInstall.ps1

This file was deleted.

3 changes: 0 additions & 3 deletions GitFlowVersion/NugetExeAssets/chocolateyUninstall.ps1

This file was deleted.

13 changes: 0 additions & 13 deletions GitFlowVersion/OutputFormatters/BuildOutputFormatter.cs

This file was deleted.

4 changes: 2 additions & 2 deletions GitFlowVersion.sln → GitVersion.sln
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GitFlowVersion", "GitFlowVersion\GitFlowVersion.csproj", "{C3578A7B-09A6-4444-9383-0DEAFA4958BD}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GitVersion", "GitVersion\GitVersion.csproj", "{C3578A7B-09A6-4444-9383-0DEAFA4958BD}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests", "Tests\Tests.csproj", "{5A86453B-96FB-4B6E-A283-225BB9F753D3}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GitFlowVersionTask", "GitFlowVersionTask\GitFlowVersionTask.csproj", "{F7AC0E71-3E9A-4F6D-B986-E004825A48E1}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GitVersionTask", "GitVersionTask\GitVersionTask.csproj", "{F7AC0E71-3E9A-4F6D-B986-E004825A48E1}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
File renamed without changes.
35 changes: 35 additions & 0 deletions GitVersion.sln.GhostDoc.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<GhostDoc>
<SpellChecker>
<IncludeExtensions>
</IncludeExtensions>
<IgnoreExtensions>
</IgnoreExtensions>
<IgnoreFiles>
</IgnoreFiles>
</SpellChecker>
<HelpConfigurations selected="HelpFile">
<HelpConfiguration name="HelpFile">
<OutputPath>C:\Source\GitVersion\Help</OutputPath>
<ImageFolderPath />
<HtmlFormats>
<HtmlHelp>true</HtmlHelp>
<MSHelpViewer>false</MSHelpViewer>
<MSHelp2>false</MSHelp2>
<Website>false</Website>
</HtmlFormats>
<IncludeScopes>
<Public>true</Public>
<Internal>false</Internal>
<Protected>false</Protected>
<Private>false</Private>
<Inherited>true</Inherited>
<EnableTags>false</EnableTags>
<TagList />
</IncludeScopes>
<ResolveCrefLinks>true</ResolveCrefLinks>
<HeaderText />
<FooterText />
<SelectedProjects />
</HelpConfiguration>
</HelpConfigurations>
</GhostDoc>
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace GitFlowVersion
namespace GitVersion
{
using System;
using System.Collections.Generic;
Expand Down
2 changes: 1 addition & 1 deletion GitFlowVersion/Arguments.cs → GitVersion/Arguments.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace GitFlowVersion
namespace GitVersion
{
class Arguments
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace GitFlowVersion
namespace GitVersion
{
using System;
using System.Collections.Generic;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
namespace GitFlowVersion
namespace GitVersion
{
using GitFlowVersion;
using Microsoft.Win32;

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

public string GenerateSetParameterMessage(string name, string value)
public string[] GenerateSetParameterMessage(string name, string value)
{
return string.Format("@@continua[setVariable name='GitFlowVersion.{0}' value='{1}']", name, value);
return new []
{
string.Format("@@continua[setVariable name='GitVersion.{0}' value='{1}']", name, value)
};
}

public string GenerateSetVersionMessage(string versionToUseForBuildNumber)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace GitFlowVersion.GitFlowVersion
namespace GitVersion
{
using System;
using System.Linq;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
namespace GitFlowVersion
namespace GitVersion
{
public interface IBuildServer
{
bool CanApplyToCurrentContext();
void PerformPreProcessingSteps(string gitDirectory);
string GenerateSetVersionMessage(string versionToUseForBuildNumber);
string GenerateSetParameterMessage(string name, string value);
string[] GenerateSetParameterMessage(string name, string value);
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
namespace GitFlowVersion
namespace GitVersion
{
using System;
using GitFlowVersion;

public class TeamCity : IBuildServer
{
Expand All @@ -20,9 +19,14 @@ public void PerformPreProcessingSteps(string gitDirectory)
GitHelper.NormalizeGitDirectory(gitDirectory);
}

public string GenerateSetParameterMessage(string name, string value)
public string[] GenerateSetParameterMessage(string name, string value)
{
return string.Format("##teamcity[setParameter name='GitFlowVersion.{0}' value='{1}']", name, EscapeValue(value));
return new[]
{
// Note: see discussion at https://github.com/Particular/GitVersion/issues/90, keep GitFlowVersion for now
string.Format("##teamcity[setParameter name='GitFlowVersion.{0}' value='{1}']", name, EscapeValue(value)),
string.Format("##teamcity[setParameter name='GitVersion.{0}' value='{1}']", name, EscapeValue(value))
};
}

public string GenerateSetVersionMessage(string versionToUseForBuildNumber)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace GitFlowVersion
namespace GitVersion
{
class CachedVersion
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace GitFlowVersion
namespace GitVersion
{
using System;
using System.IO;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace GitFlowVersion
namespace GitVersion
{
using System;
using System.Runtime.Serialization;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace GitFlowVersion
namespace GitVersion
{
using System;
using System.Text;
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions GitVersion/GemAssets/gitversion
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
result = system(File.dirname(__FILE__) + "/GitVersion.exe " + ARGV.join(' '))
exit 1 unless result
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Gem::Specification.new do |spec|
spec.platform = Gem::Platform::RUBY
spec.name = 'gitflowversion'
spec.name = 'gitversion'
spec.licenses = ['MIT']
spec.version = '0.14.0'
spec.files = Dir['bin/**/*']
spec.bindir = 'bin'
spec.executables << 'gitflowversion'
spec.executables << 'gitversion'

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

spec.authors = ['NServiceBus','Simon Cropp']
spec.email = '[email protected]'
spec.homepage = 'http://github.com/Particular/GitFlowVersion'
spec.rubyforge_project = 'GitFlowVersion'
spec.homepage = 'http://github.com/Particular/GitVersion'
spec.rubyforge_project = 'GitVersion'
end
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace GitFlowVersion
namespace GitVersion
{
using System.IO;
using LibGit2Sharp;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace GitFlowVersion
namespace GitVersion
{
using System;
using LibGit2Sharp;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace GitFlowVersion
namespace GitVersion
{
using System.Linq;
using LibGit2Sharp;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace GitFlowVersion
namespace GitVersion
{
using System.Linq;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace GitFlowVersion
namespace GitVersion
{
class FeatureVersionFinder : DevelopBasedVersionFinderBase
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace GitFlowVersion
namespace GitVersion
{
class HotfixVersionFinder : OptionallyTaggedBranchVersionFinderBase
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace GitFlowVersion
namespace GitVersion
{
using LibGit2Sharp;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace GitFlowVersion
namespace GitVersion
{
using System;
using System.Collections.Generic;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace GitFlowVersion
namespace GitVersion
{
class PullVersionFinder : DevelopBasedVersionFinderBase
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace GitFlowVersion
namespace GitVersion
{
class ReleaseVersionFinder : OptionallyTaggedBranchVersionFinderBase
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace GitFlowVersion
namespace GitVersion
{
public enum BranchType
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace GitFlowVersion
namespace GitVersion
{
using System;
using System.Collections.Generic;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace GitFlowVersion
namespace GitVersion
{
public class GitFlowVersionFinder
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace GitFlowVersion
namespace GitVersion
{
using System.Linq;
using LibGit2Sharp;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace GitFlowVersion
namespace GitVersion
{
public class ReleaseInformation
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace GitFlowVersion
namespace GitVersion
{
using System;
using System.Text.RegularExpressions;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace GitFlowVersion
namespace GitVersion
{
public enum Stability
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace GitFlowVersion
namespace GitVersion
{
public class VersionAndBranch
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace GitFlowVersion
namespace GitVersion
{
public class VersionAndBranchAndDate : VersionAndBranch
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace GitFlowVersion
namespace GitVersion
{
using System;
using System.Linq;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace GitFlowVersion
namespace GitVersion
{
public class GitHubFlowVersionFinder
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace GitFlowVersion
namespace GitVersion
{
using System;
using System.IO;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace GitFlowVersion
namespace GitVersion
{
public class NextSemverCalculator
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace GitFlowVersion
namespace GitVersion
{
using System;
using System.IO;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace GitFlowVersion
namespace GitVersion
{
using LibGit2Sharp;

Expand Down
Loading