From 9a9e49183b98cd443f2dfed715733e7c00eca0bc Mon Sep 17 00:00:00 2001 From: Andre Hofmeister <9199345+HofmeisterAn@users.noreply.github.com> Date: Wed, 15 Jun 2022 17:25:48 +0200 Subject: [PATCH] feat(#476): Update configuration files (remove DotNet prefix) --- .cake-scripts/parameters.cake | 2 +- .cake-scripts/projects.cake | 2 +- .editorconfig | 4 ++-- CONTRIBUTING.md | 4 ++-- Directory.Build.props | 14 +++++++------- README.md | 8 ++++---- build.cake | 4 ++-- 7 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.cake-scripts/parameters.cake b/.cake-scripts/parameters.cake index 978e9a6c4..60c0cf092 100644 --- a/.cake-scripts/parameters.cake +++ b/.cake-scripts/parameters.cake @@ -32,7 +32,7 @@ internal sealed class BuildParameters public static BuildParameters Instance(ICakeContext context) { const string propertiesFilePath = "Directory.Build.props"; - const string solutionFilePath = "DotNet.Testcontainers.sln"; + const string solutionFilePath = "Testcontainers.sln"; var buildInformation = BuildInformation.Instance(context, propertiesFilePath); diff --git a/.cake-scripts/projects.cake b/.cake-scripts/projects.cake index 12ebccea8..a9b3e4216 100644 --- a/.cake-scripts/projects.cake +++ b/.cake-scripts/projects.cake @@ -18,7 +18,7 @@ internal sealed class BuildProjects All = allProjects, NoneTests = allProjects.Where(project => !project.Name.EndsWith("Tests")).ToList(), OnlyTests = allProjects.Where(project => project.Name.EndsWith("Tests")).ToList(), - Testcontainers = allProjects.Single(project => "DotNet.Testcontainers".Equals(project.Name)) + Testcontainers = allProjects.Single(project => "Testcontainers".Equals(project.Name)) }; } } diff --git a/.editorconfig b/.editorconfig index 19e609103..d6a6d46b5 100644 --- a/.editorconfig +++ b/.editorconfig @@ -467,8 +467,8 @@ resharper_arrange_object_creation_when_type_evident_highlighting = do_not_show resharper_convert_to_using_declaration_highlighting = do_not_show ########################################## -# DotNet.Testcontainers.Tests +# Testcontainers.Tests ########################################## -[tests/DotNet.Testcontainers.Tests/**/*.cs] +[tests/Testcontainers.Tests/**/*.cs] dotnet_code_quality.CA1711.allowed_suffixes = Exception diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 271ba631a..34f822f91 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,6 +1,6 @@ # Contributing -You are thinking about contributing to .NET Testcontainers? Awesome, it’s absolutely appreciated. When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change. Or pick an already existing issue. +You are thinking about contributing to Testcontainers? Awesome, it’s absolutely appreciated. When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change. Or pick an already existing issue. ## Guidelines @@ -8,7 +8,7 @@ You are thinking about contributing to .NET Testcontainers? Awesome, it’s abso To build the project just run the provided Cake script, `dotnet cake --target=Build`. -1. Fork the .NET Testcontainers repository. +1. Fork the Testcontainers repository. 2. Create a branch to work with and use `feature/` or `bugfix/` as a prefix. 3. Do not forget the unit tests and keep the SonarCloud statistics in mind. 4. If you are finished rebase and create a pull request. diff --git a/Directory.Build.props b/Directory.Build.props index e23774c23..41962ed08 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,7 +1,7 @@ - $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), DotNet.Testcontainers.sln))/ + $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), Testcontainers.sln))/ $(SolutionDir)build/ $(BuildDir)obj/$(MSBuildProjectName) $(BaseIntermediateOutputPath) @@ -14,19 +14,19 @@ 1.7.0 $(Version) $(Version) - .NET Testcontainers + Testcontainers Copyright (c) 2019 - 2021 Andre Hofmeister and other authors Andre Hofmeister and contributors Andre Hofmeister A lightweight library to run tests with throwaway instances of Docker containers. - .NET Testcontainers makes it easy to run tests with Docker containers. Create reliable and fast environments within seconds and throw them away if not needed anymore. + Testcontainers makes it easy to run tests with Docker containers. Create reliable and fast environments within seconds and throw them away if not needed anymore. Logo.png - https://github.com/HofmeisterAn/dotnet-testcontainers/raw/develop/docs/Logo.png + https://github.com/testcontainers/testcontainers-dotnet/raw/develop/docs/Logo.png LICENSE - https://github.com/HofmeisterAn/dotnet-testcontainers + https://github.com/testcontainers/testcontainers-dotnet .NET;Docker;Container;Test git - https://github.com/HofmeisterAn/dotnet-testcontainers + https://github.com/testcontainers/testcontainers-dotnet true @@ -40,7 +40,7 @@ - <_Parameter1>DotNet.Testcontainers.Tests + <_Parameter1>Testcontainers.Tests diff --git a/README.md b/README.md index a5eba2824..da57813ee 100755 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ To configure a container, use the `TestcontainersBuilder toClean.Add("build"); } - Information("Building version {0} of .NET Testcontainers ({1}@{2})", param.Version, param.Branch, param.Sha); + Information("Building version {0} of Testcontainers ({1}@{2})", param.Version, param.Branch, param.Sha); }); Teardown(context => @@ -110,7 +110,7 @@ Task("Sonar-Begin") Version = param.Version.Substring(0, 5), PullRequestProvider = "GitHub", PullRequestGithubEndpoint = "https://api.github.com/", - PullRequestGithubRepository = "HofmeisterAn/dotnet-testcontainers", + PullRequestGithubRepository = "testcontainers/testcontainers-dotnet", PullRequestKey = param.IsPullRequest && System.Int32.TryParse(param.PullRequestId, out var id) ? id : (int?)null, PullRequestBranch = param.SourceBranch, PullRequestBase = param.TargetBranch,