From 8971fbfe996bd0e51475bf5552e4b54fea9e1bc3 Mon Sep 17 00:00:00 2001 From: Rasmus Mikkelsen Date: Tue, 9 Jan 2024 19:44:29 +0100 Subject: [PATCH 1/6] Started on nullable --- Source/Bake.Tests/Helpers/BakeTest.cs | 3 +- Source/Bake/Commands/ArgumentAttribute.cs | 6 +- Source/Bake/Commands/CommandFactory.cs | 30 ++++------ .../Bake/Exceptions/BuildFailedException.cs | 33 ++++++++++ Source/Bake/Services/GitHub.cs | 60 +++++++++++-------- Source/Bake/Services/IGitHub.cs | 3 +- Source/Bake/ValueObjects/Platform.cs | 2 - Source/Directory.Build.props | 10 ++++ 8 files changed, 96 insertions(+), 51 deletions(-) create mode 100644 Source/Bake/Exceptions/BuildFailedException.cs create mode 100644 Source/Directory.Build.props diff --git a/Source/Bake.Tests/Helpers/BakeTest.cs b/Source/Bake.Tests/Helpers/BakeTest.cs index d5c2ff3c..67a01ef3 100644 --- a/Source/Bake.Tests/Helpers/BakeTest.cs +++ b/Source/Bake.Tests/Helpers/BakeTest.cs @@ -126,8 +126,7 @@ public Task CreateReleaseAsync( return Task.CompletedTask; } - public Task GetPullRequestInformationAsync( - GitInformation gitInformation, + public Task GetPullRequestInformationAsync(GitInformation gitInformation, GitHubInformation gitHubInformation, CancellationToken cancellationToken) { diff --git a/Source/Bake/Commands/ArgumentAttribute.cs b/Source/Bake/Commands/ArgumentAttribute.cs index 5ba5f9dd..856794d8 100644 --- a/Source/Bake/Commands/ArgumentAttribute.cs +++ b/Source/Bake/Commands/ArgumentAttribute.cs @@ -20,8 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; - namespace Bake.Commands { public class ArgumentAttribute : Attribute @@ -31,10 +29,10 @@ public class ArgumentAttribute : Attribute public ArgumentAttribute( string description, - string defaultValue = null) + string? defaultValue = null) { Description = description; - DefaultValue = defaultValue; + DefaultValue = defaultValue ?? string.Empty; } } } diff --git a/Source/Bake/Commands/CommandFactory.cs b/Source/Bake/Commands/CommandFactory.cs index 5ab98dd3..446c9469 100644 --- a/Source/Bake/Commands/CommandFactory.cs +++ b/Source/Bake/Commands/CommandFactory.cs @@ -20,14 +20,9 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Collections.Generic; using System.Globalization; -using System.Linq; using System.Reflection; using System.Text.RegularExpressions; -using System.Threading; -using System.Threading.Tasks; using Bake.Core; using Bake.Extensions; using Bake.Services; @@ -88,7 +83,7 @@ public CommandLineApplication Create(IEnumerable types) { if (value == null) { - return null; + return null!; } if (!_destinationParser.TryParse(value, out var destination)) @@ -113,7 +108,7 @@ public CommandLineApplication Create(IEnumerable types) return destination; }) - .ToArray(); + .ToArray() ?? Array.Empty(); })); app.ValueParsers.Add(ValueParser.Create( typeof(Platform), @@ -121,7 +116,7 @@ public CommandLineApplication Create(IEnumerable types) { if (value == null) { - return null; + return null!; } if (!_platformParser.TryParse(value, out var platform)) @@ -135,7 +130,8 @@ public CommandLineApplication Create(IEnumerable types) typeof(Platform[]), (argName, value, _) => { - return value?.Split(",", StringSplitOptions.RemoveEmptyEntries) + return value? + .Split(",", StringSplitOptions.RemoveEmptyEntries) .Select(v => { if (!_platformParser.TryParse(v, out var platform)) @@ -146,7 +142,7 @@ public CommandLineApplication Create(IEnumerable types) return platform; }) - .ToArray(); + .ToArray() ?? Array.Empty(); })); @@ -204,7 +200,7 @@ project follows. var command = app.Command(commandAttribute.Name, cmd => { - var options = new List<(CommandOption, Type)>(); + var options = new List<(CommandOption?, Type)>(); foreach (var parameterInfo in methodInfo.GetParameters()) { if (parameterInfo.ParameterType == cancellationTokenType) @@ -214,9 +210,9 @@ project follows. } var argumentAttribute = parameterInfo.GetCustomAttribute(); - var argumentName = UpperReplacer.Replace(parameterInfo.Name, m => $"-{m.Groups["char"].Value.ToLowerInvariant()}"); + var argumentName = UpperReplacer.Replace(parameterInfo.Name!, m => $"-{m.Groups["char"].Value.ToLowerInvariant()}"); - string defaultValue = null; + string? defaultValue = null; if (parameterInfo.HasDefaultValue) { if (parameterInfo.DefaultValue != null) @@ -247,13 +243,13 @@ project follows. var values = options .Select(t => t.Item2 == cancellationTokenType ? c - : Parse(t.Item1, GetParser(app.ValueParsers, t.Item2))) + : Parse(t.Item1!, GetParser(app.ValueParsers, t.Item2))) .ToArray(); try { - return await (Task) methodInfo.Invoke(command, values); + return await (Task) methodInfo.Invoke(command, values)!; } catch (Exception e) { @@ -274,7 +270,7 @@ project follows. private static string GetVersion() { - return typeof(CommandFactory).Assembly.GetName().Version.ToString(); + return typeof(CommandFactory).Assembly.GetName().Version!.ToString(); } private static IValueParser GetParser( @@ -291,7 +287,7 @@ private static IValueParser GetParser( return valueParser; } - private static object Parse( + private static object? Parse( CommandOption option, IValueParser valueParser) { diff --git a/Source/Bake/Exceptions/BuildFailedException.cs b/Source/Bake/Exceptions/BuildFailedException.cs new file mode 100644 index 00000000..7f901d1d --- /dev/null +++ b/Source/Bake/Exceptions/BuildFailedException.cs @@ -0,0 +1,33 @@ +// MIT License +// +// Copyright (c) 2021-2023 Rasmus Mikkelsen +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + +namespace Bake.Exceptions +{ + public class BuildFailedException : Exception + { + public BuildFailedException( + string message) + : base(message) + { + } + } +} diff --git a/Source/Bake/Services/GitHub.cs b/Source/Bake/Services/GitHub.cs index 6247a562..b10c53bc 100644 --- a/Source/Bake/Services/GitHub.cs +++ b/Source/Bake/Services/GitHub.cs @@ -21,11 +21,9 @@ // SOFTWARE. using System.Diagnostics; -using System.Linq; using System.Text.RegularExpressions; -using System.Threading; -using System.Threading.Tasks; using Bake.Core; +using Bake.Exceptions; using Bake.ValueObjects; using Microsoft.Extensions.Logging; using Octokit; @@ -58,6 +56,11 @@ public async Task CreateReleaseAsync( CancellationToken cancellationToken) { var gitHubClient = await CreateGitHubClientAsync(gitHubInformation, cancellationToken); + if (gitHubClient == null) + { + throw new BuildFailedException( + "Could not create a GitHub release due to missing credentials"); + } var tag = $"v{release.Version}"; @@ -73,7 +76,7 @@ public async Task CreateReleaseAsync( Name = $"v{release.Version}", }); - if (release.Files.Any()) + if (release.Files.Count == 0) { var uploadTasks = release.Files .Select(f => UploadFileAsync(f, gitHubRelease, gitHubClient, cancellationToken)); @@ -89,31 +92,15 @@ await gitHubClient.Repository.Release.Edit( gitHubReleaseUpdate); } - public async Task GetPullRequestInformationAsync( + public async Task GetPullRequestInformationAsync( GitInformation gitInformation, GitHubInformation gitHubInformation, CancellationToken cancellationToken) { var gitHubClient = await CreateGitHubClientAsync(gitHubInformation, cancellationToken); - - async Task SearchAsync(string c) + if (gitHubClient == null) { - var issues = await gitHubClient.Search.SearchIssues(new SearchIssuesRequest(c) - { - Type = IssueTypeQualifier.PullRequest, - Repos = new RepositoryCollection - { - {gitHubInformation.Owner, gitHubInformation.Repository}, - } - }); - if (issues.Items.Count != 1) - { - return null; - } - - var issue = issues.Items.Single(); - return new PullRequestInformation( - issue.Labels.Select(l => l.Name).ToArray()); + return null; } var pullRequestInformation = await SearchAsync(gitInformation.Sha); @@ -138,9 +125,29 @@ async Task SearchAsync(string c) match.Groups["pr"].Value, match.Groups["base"].Value); return await SearchAsync(match.Groups["pr"].Value); + + async Task SearchAsync(string c) + { + var issues = await gitHubClient.Search.SearchIssues(new SearchIssuesRequest(c) + { + Type = IssueTypeQualifier.PullRequest, + Repos = new RepositoryCollection + { + {gitHubInformation.Owner, gitHubInformation.Repository}, + } + }); + if (issues.Items.Count != 1) + { + return null; + } + + var issue = issues.Items.Single(); + return new PullRequestInformation( + issue.Labels.Select(l => l.Name).ToArray()); + } } - private async Task CreateGitHubClientAsync( + private async Task CreateGitHubClientAsync( GitHubInformation gitHubInformation, CancellationToken cancellationToken) { @@ -148,6 +155,11 @@ private async Task CreateGitHubClientAsync( gitHubInformation.Url, cancellationToken); + if (string.IsNullOrEmpty(token)) + { + return null; + } + var gitHubClient = await _gitHubClientFactory.CreateAsync( token, gitHubInformation.ApiUrl, diff --git a/Source/Bake/Services/IGitHub.cs b/Source/Bake/Services/IGitHub.cs index aeb161c9..53afdd3f 100644 --- a/Source/Bake/Services/IGitHub.cs +++ b/Source/Bake/Services/IGitHub.cs @@ -33,8 +33,7 @@ Task CreateReleaseAsync( GitHubInformation gitHubInformation, CancellationToken cancellationToken); - Task GetPullRequestInformationAsync( - GitInformation gitInformation, + Task GetPullRequestInformationAsync(GitInformation gitInformation, GitHubInformation gitHubInformation, CancellationToken cancellationToken); } diff --git a/Source/Bake/ValueObjects/Platform.cs b/Source/Bake/ValueObjects/Platform.cs index 2423d1bb..c371b051 100644 --- a/Source/Bake/ValueObjects/Platform.cs +++ b/Source/Bake/ValueObjects/Platform.cs @@ -20,9 +20,7 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; using System.Collections.Concurrent; -using System.Collections.Generic; using YamlDotNet.Serialization; namespace Bake.ValueObjects diff --git a/Source/Directory.Build.props b/Source/Directory.Build.props new file mode 100644 index 00000000..fd000dba --- /dev/null +++ b/Source/Directory.Build.props @@ -0,0 +1,10 @@ + + + + enable + enable + true + + + + From 315f569a4eddd7c816ec58064a4d6523446e2c5c Mon Sep 17 00:00:00 2001 From: Rasmus Mikkelsen Date: Tue, 9 Jan 2024 20:24:33 +0100 Subject: [PATCH 2/6] Going through the motions of handling nullable --- Source/Bake/Commands/CommandFactory.cs | 11 +++--- Source/Bake/Commands/Plan/PlanCommand.cs | 10 ++---- Source/Bake/Commands/Run/RunCommand.cs | 9 ++--- Source/Bake/Constants.cs | 2 +- .../Bake/Cooking/Composers/DockerComposer.cs | 6 ++-- .../Bake/Cooking/Composers/DotNetComposer.cs | 8 +---- .../Composers/GitHubReleaseComposer.cs | 13 ++++--- Source/Bake/Cooking/Composers/GoComposer.cs | 8 +---- Source/Bake/Cooking/Composers/HelmComposer.cs | 9 ++--- .../Bake/Cooking/Composers/MkDocsComposer.cs | 7 +--- .../Bake/Cooking/Composers/NodeJsComposer.cs | 8 +---- .../Cooking/Composers/PythonFlaskComposer.cs | 7 +--- Source/Bake/Cooking/Cooks/Cook.cs | 5 +-- .../Cooking/Cooks/Docker/DockerBuildCook.cs | 8 +---- .../Cooking/Cooks/Docker/DockerPushCook.cs | 9 ++--- .../Cooks/DotNet/DotNetDockerFileCook.cs | 5 +-- .../Cooking/Cooks/GitHub/GitHubReleaseCook.cs | 8 +---- .../Ingredients/Gathers/DescriptionGather.cs | 6 ---- .../Cooking/Ingredients/Gathers/GitGather.cs | 30 ++++++++-------- .../Ingredients/Gathers/GitHubGather.cs | 15 +++----- .../Ingredients/Gathers/ReleaseNotesGather.cs | 7 +--- Source/Bake/Cooking/Kitchen.cs | 9 ++--- Source/Bake/Core/Credentials.cs | 2 +- Source/Bake/Core/DisposableAction.cs | 9 ++--- Source/Bake/Core/FileSystem.cs | 8 +---- Source/Bake/Core/GitRemoteParser.cs | 12 +++---- Source/Bake/Core/ICredentials.cs | 5 +-- Source/Bake/Core/SemVer.cs | 34 +++++++++---------- Source/Bake/Core/Yaml.cs | 13 +++---- Source/Bake/Program.cs | 8 ++--- Source/Bake/Services/GitHub.cs | 34 +++++++++++++++++-- Source/Bake/Services/IGitHub.cs | 5 +-- Source/Bake/ValueObjects/CookResult.cs | 6 ++-- .../ValueObjects/Credentials/DockerLogin.cs | 4 +-- Source/Bake/ValueObjects/GitInformation.cs | 3 +- Source/Bake/ValueObjects/Ingredients.cs | 30 ++++++++-------- Source/Bake/ValueObjects/Recipes/Recipe.cs | 5 ++- Source/Bake/ValueObjects/ValueObject.cs | 13 +++---- 38 files changed, 153 insertions(+), 238 deletions(-) diff --git a/Source/Bake/Commands/CommandFactory.cs b/Source/Bake/Commands/CommandFactory.cs index 446c9469..d259b2d8 100644 --- a/Source/Bake/Commands/CommandFactory.cs +++ b/Source/Bake/Commands/CommandFactory.cs @@ -35,11 +35,12 @@ namespace Bake.Commands { - public class CommandFactory : ICommandFactory + public partial class CommandFactory : ICommandFactory { private const string MethodName = "ExecuteAsync"; - private static readonly Regex UpperReplacer = new( - "(?[A-Z])", RegexOptions.Compiled); + + [GeneratedRegex("(?[A-Z])")] + private static partial Regex UpperReplacer(); private readonly ILogger _logger; private readonly IServiceProvider _serviceProvider; @@ -210,7 +211,7 @@ project follows. } var argumentAttribute = parameterInfo.GetCustomAttribute(); - var argumentName = UpperReplacer.Replace(parameterInfo.Name!, m => $"-{m.Groups["char"].Value.ToLowerInvariant()}"); + var argumentName = UpperReplacer().Replace(parameterInfo.Name!, m => $"-{m.Groups["char"].Value.ToLowerInvariant()}"); string? defaultValue = null; if (parameterInfo.HasDefaultValue) @@ -226,7 +227,7 @@ project follows. } var option = cmd.Option( - $"--{argumentName} <{parameterInfo.Name.ToUpperInvariant()}>", + $"--{argumentName} <{parameterInfo.Name!.ToUpperInvariant()}>", argumentAttribute?.Description ?? string.Empty, parameterInfo.HasDefaultValue ? CommandOptionType.SingleOrNoValue diff --git a/Source/Bake/Commands/Plan/PlanCommand.cs b/Source/Bake/Commands/Plan/PlanCommand.cs index 8025794d..d57bc351 100644 --- a/Source/Bake/Commands/Plan/PlanCommand.cs +++ b/Source/Bake/Commands/Plan/PlanCommand.cs @@ -20,11 +20,7 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System.IO; -using System.Linq; using System.Text; -using System.Threading; -using System.Threading.Tasks; using Bake.Cooking; using Bake.Core; using Bake.ValueObjects; @@ -63,9 +59,9 @@ public async Task ExecuteAsync( CancellationToken cancellationToken, bool force = false, Convention convention = Convention.Default, - Destination[] destination = null, + Destination[]? destination = null, LogEventLevel logLevel = LogEventLevel.Information, - Platform[] targetPlatform = null) + Platform[]? targetPlatform = null) { _logCollector.LogLevel = logLevel; @@ -81,7 +77,7 @@ public async Task ExecuteAsync( _logger.LogInformation( "No directory located at {DirectoryPath}, creating it", directoryPath); - Directory.CreateDirectory(directoryPath); + Directory.CreateDirectory(directoryPath!); } if (System.IO.File.Exists(planPath)) diff --git a/Source/Bake/Commands/Run/RunCommand.cs b/Source/Bake/Commands/Run/RunCommand.cs index 7d1ad67c..a77a777e 100644 --- a/Source/Bake/Commands/Run/RunCommand.cs +++ b/Source/Bake/Commands/Run/RunCommand.cs @@ -20,12 +20,7 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.IO; -using System.Linq; using System.Text; -using System.Threading; -using System.Threading.Tasks; using Bake.Cooking; using Bake.Core; using Bake.ValueObjects; @@ -65,10 +60,10 @@ public async Task ExecuteAsync( SemVer buildVersion, CancellationToken cancellationToken, Convention convention = Convention.Default, - Destination[] destination = null, + Destination[]? destination = null, LogEventLevel logLevel = LogEventLevel.Information, bool printPlan = true, - Platform[] targetPlatform = null) + Platform[]? targetPlatform = null) { _logCollector.LogLevel = logLevel; diff --git a/Source/Bake/Constants.cs b/Source/Bake/Constants.cs index f64f1242..40f28451 100644 --- a/Source/Bake/Constants.cs +++ b/Source/Bake/Constants.cs @@ -24,6 +24,6 @@ namespace Bake { public static class Constants { - public static readonly string Version = typeof(Constants).Assembly.GetName().Version?.ToString(); + public static readonly string Version = typeof(Constants).Assembly.GetName().Version!.ToString(); } } diff --git a/Source/Bake/Cooking/Composers/DockerComposer.cs b/Source/Bake/Cooking/Composers/DockerComposer.cs index 8faf2575..62d0c995 100644 --- a/Source/Bake/Cooking/Composers/DockerComposer.cs +++ b/Source/Bake/Cooking/Composers/DockerComposer.cs @@ -97,7 +97,7 @@ public override async Task> ComposeAsync( dockerFilePaths); var containerName = await GetContainerNameAsync( - Path.GetDirectoryName(dockerFilePath), + Path.GetDirectoryName(dockerFilePath)!, cancellationToken); recipes.AddRange(CreateRecipes(dockerFilePath, containerName, ingredients.Version, urls)); @@ -172,7 +172,7 @@ private IEnumerable CreateRecipes( _containerTagParser.Validate(tags); - var npmRcPath = Path.Combine(workingDirectory, ".npmrc"); + var npmRcPath = Path.Combine(workingDirectory!, ".npmrc"); if (File.Exists(npmRcPath)) { _logger.LogInformation( @@ -182,7 +182,7 @@ private IEnumerable CreateRecipes( } yield return new DockerBuildRecipe( - workingDirectory, + workingDirectory!, slug, tags, _defaults.DockerBuildCompress, diff --git a/Source/Bake/Cooking/Composers/DotNetComposer.cs b/Source/Bake/Cooking/Composers/DotNetComposer.cs index 10749966..c45c882c 100644 --- a/Source/Bake/Cooking/Composers/DotNetComposer.cs +++ b/Source/Bake/Cooking/Composers/DotNetComposer.cs @@ -20,12 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Threading; -using System.Threading.Tasks; using Bake.Core; using Bake.Services; using Bake.ValueObjects; @@ -151,7 +145,7 @@ private async Task LoadVisualStudioProjectAsync( var bakeProjectFilePath = Path.Combine( Path.GetDirectoryName(projectPath)!, "bake.yaml"); - string preferredName = null; + string? preferredName = null; if (_fileSystem.FileExists(bakeProjectFilePath)) { diff --git a/Source/Bake/Cooking/Composers/GitHubReleaseComposer.cs b/Source/Bake/Cooking/Composers/GitHubReleaseComposer.cs index 3c1b2c0c..1e2aa857 100644 --- a/Source/Bake/Cooking/Composers/GitHubReleaseComposer.cs +++ b/Source/Bake/Cooking/Composers/GitHubReleaseComposer.cs @@ -20,10 +20,7 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System.Collections.Generic; -using System.Linq; -using System.Threading; -using System.Threading.Tasks; +using Bake.Exceptions; using Bake.Services; using Bake.ValueObjects.Artifacts; using Bake.ValueObjects.Destinations; @@ -58,6 +55,12 @@ public override Task> ComposeAsync( IContext context, CancellationToken cancellationToken) { + if (context.Ingredients.GitHub == null || + context.Ingredients.Git == null) + { + throw new BuildFailedException("Missing git or GitHub information!"); + } + if (!_conventionInterpreter.ShouldArtifactsBePublished(context.Ingredients.Convention)) { return Task.FromResult(EmptyRecipes); @@ -89,7 +92,7 @@ public override Task> ComposeAsync( context.Ingredients.GitHub, context.Ingredients.Version, context.Ingredients.Git.Sha, - context.Ingredients.ReleaseNotes, + context.Ingredients.ReleaseNotes!, artifacts) }); } diff --git a/Source/Bake/Cooking/Composers/GoComposer.cs b/Source/Bake/Cooking/Composers/GoComposer.cs index 4bb184bd..5814a9be 100644 --- a/Source/Bake/Cooking/Composers/GoComposer.cs +++ b/Source/Bake/Cooking/Composers/GoComposer.cs @@ -20,12 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Threading; -using System.Threading.Tasks; using Bake.Core; using Bake.Services; using Bake.ValueObjects; @@ -75,7 +69,7 @@ public override async Task> ComposeAsync( return (await Task.WhenAll( goModFilePaths - .Select(Path.GetDirectoryName) + .Select(d => Path.GetDirectoryName(d)!) .Select(p => CreateRecipesAsync(p, context, labels, cancellationToken)))) .SelectMany(l => l) .ToArray(); diff --git a/Source/Bake/Cooking/Composers/HelmComposer.cs b/Source/Bake/Cooking/Composers/HelmComposer.cs index e8a5e702..6f5ffc4c 100644 --- a/Source/Bake/Cooking/Composers/HelmComposer.cs +++ b/Source/Bake/Cooking/Composers/HelmComposer.cs @@ -20,11 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Threading; -using System.Threading.Tasks; using Bake.Core; using Bake.ValueObjects.Artifacts; using Bake.ValueObjects.Recipes; @@ -80,9 +75,9 @@ private async Task> CreateRecipes( yaml, cancellationToken); - var chartDirectory = Path.GetDirectoryName(chartFilePath); + var chartDirectory = Path.GetDirectoryName(chartFilePath)!; var chartFileName = $"{chart.Name}-{ingredients.Version}.tgz"; - var parentDirectory = Path.GetDirectoryName(chartDirectory); + var parentDirectory = Path.GetDirectoryName(chartDirectory)!; recipes.Add(new HelmLintRecipe( chartDirectory)); diff --git a/Source/Bake/Cooking/Composers/MkDocsComposer.cs b/Source/Bake/Cooking/Composers/MkDocsComposer.cs index 5316d0b9..a84e20c4 100644 --- a/Source/Bake/Cooking/Composers/MkDocsComposer.cs +++ b/Source/Bake/Cooking/Composers/MkDocsComposer.cs @@ -20,11 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Threading; -using System.Threading.Tasks; using Bake.Core; using Bake.ValueObjects.Artifacts; using Bake.ValueObjects.Recipes; @@ -68,7 +63,7 @@ public override async Task> ComposeAsync( private static IEnumerable CreateRecipes( string mkDocsFilePath) { - var workingDirectory = Path.GetDirectoryName(mkDocsFilePath); + var workingDirectory = Path.GetDirectoryName(mkDocsFilePath)!; var requirementsFilePath = Path.Combine( workingDirectory, "requirements.txt"); diff --git a/Source/Bake/Cooking/Composers/NodeJsComposer.cs b/Source/Bake/Cooking/Composers/NodeJsComposer.cs index fa3cb960..399c3f31 100644 --- a/Source/Bake/Cooking/Composers/NodeJsComposer.cs +++ b/Source/Bake/Cooking/Composers/NodeJsComposer.cs @@ -20,12 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Threading; -using System.Threading.Tasks; using Bake.Core; using Bake.Extensions; using Bake.Services; @@ -89,7 +83,7 @@ private async Task> CreateRecipesAsync( string packageJsonPath, CancellationToken cancellationToken) { - var workingDirectory = Path.GetDirectoryName(packageJsonPath); + var workingDirectory = Path.GetDirectoryName(packageJsonPath)!; var packageJson = JsonConvert.DeserializeObject( await System.IO.File.ReadAllTextAsync(packageJsonPath, cancellationToken)); diff --git a/Source/Bake/Cooking/Composers/PythonFlaskComposer.cs b/Source/Bake/Cooking/Composers/PythonFlaskComposer.cs index 62f172d0..5542de79 100644 --- a/Source/Bake/Cooking/Composers/PythonFlaskComposer.cs +++ b/Source/Bake/Cooking/Composers/PythonFlaskComposer.cs @@ -20,11 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Threading; -using System.Threading.Tasks; using Bake.Core; using Bake.Extensions; using Bake.Services; @@ -74,7 +69,7 @@ private static IEnumerable CreateRecipes( string appFilePath, Dictionary labels) { - var directory = Path.GetDirectoryName(appFilePath); + var directory = Path.GetDirectoryName(appFilePath)!; var dockerfilePath = Path.Combine(directory, "Dockerfile"); var name = Path.GetFileName(directory).ToSlug(); diff --git a/Source/Bake/Cooking/Cooks/Cook.cs b/Source/Bake/Cooking/Cooks/Cook.cs index 478ccb5b..90996483 100644 --- a/Source/Bake/Cooking/Cooks/Cook.cs +++ b/Source/Bake/Cooking/Cooks/Cook.cs @@ -20,10 +20,7 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; using System.Reflection; -using System.Threading; -using System.Threading.Tasks; using Bake.Extensions; using Bake.ValueObjects.Recipes; @@ -32,7 +29,7 @@ namespace Bake.Cooking.Cooks public abstract class Cook : ICook where T : Recipe { - protected static readonly string Name = ((RecipeAttribute) typeof(T).GetCustomAttribute(typeof(RecipeAttribute))).Name; + protected static readonly string Name = ((RecipeAttribute) typeof(T).GetCustomAttribute(typeof(RecipeAttribute))!).Name; public Type CanCook { get; } = typeof(T); diff --git a/Source/Bake/Cooking/Cooks/Docker/DockerBuildCook.cs b/Source/Bake/Cooking/Cooks/Docker/DockerBuildCook.cs index aa651aa9..d563044b 100644 --- a/Source/Bake/Cooking/Cooks/Docker/DockerBuildCook.cs +++ b/Source/Bake/Cooking/Cooks/Docker/DockerBuildCook.cs @@ -20,10 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System.Collections.Generic; -using System.IO; -using System.Threading; -using System.Threading.Tasks; using Bake.Services; using Bake.Services.Tools; using Bake.Services.Tools.DockerArguments; @@ -36,8 +32,6 @@ namespace Bake.Cooking.Cooks.Docker { public class DockerBuildCook : Cook { - private static readonly IReadOnlyDictionary Empty = new Dictionary(); - private readonly ILogger _logger; private readonly IDockerIgnores _dockerIgnores; private readonly IDocker _docker; @@ -57,7 +51,7 @@ protected override async Task CookAsync( DockerBuildRecipe recipe, CancellationToken cancellationToken) { - var directoryPath = Path.GetDirectoryName(recipe.WorkingDirectory); + var directoryPath = Path.GetDirectoryName(recipe.WorkingDirectory)!; var dockerIgnoreFilePath = Path.Join(directoryPath, ".dockerignore"); if (!File.Exists(dockerIgnoreFilePath)) { diff --git a/Source/Bake/Cooking/Cooks/Docker/DockerPushCook.cs b/Source/Bake/Cooking/Cooks/Docker/DockerPushCook.cs index 9cb416c7..f286c03b 100644 --- a/Source/Bake/Cooking/Cooks/Docker/DockerPushCook.cs +++ b/Source/Bake/Cooking/Cooks/Docker/DockerPushCook.cs @@ -20,10 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System.Collections.Generic; -using System.Linq; -using System.Threading; -using System.Threading.Tasks; using Bake.Core; using Bake.Services; using Bake.Services.Tools; @@ -73,12 +69,11 @@ protected override async Task CookAsync( var dockerLogins = (await Task.WhenAll(containerTags .Select(t => _credentials.TryGetDockerLoginAsync(t, cancellationToken)))) .Where(l => l != null) - .Distinct() - .ToArray(); + .Distinct(); foreach (var dockerLogin in dockerLogins) { - var argument = new DockerLoginArgument(dockerLogin); + var argument = new DockerLoginArgument(dockerLogin!); using var toolResult = await _docker.LoginAsync( argument, cancellationToken); diff --git a/Source/Bake/Cooking/Cooks/DotNet/DotNetDockerFileCook.cs b/Source/Bake/Cooking/Cooks/DotNet/DotNetDockerFileCook.cs index f2b52e27..44e138cd 100644 --- a/Source/Bake/Cooking/Cooks/DotNet/DotNetDockerFileCook.cs +++ b/Source/Bake/Cooking/Cooks/DotNet/DotNetDockerFileCook.cs @@ -20,9 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System.IO; -using System.Threading; -using System.Threading.Tasks; using Bake.Services; using Bake.ValueObjects.Recipes.DotNet; @@ -79,7 +76,7 @@ protected override async Task CookAsync( return false; } - var directoryPath = Path.GetDirectoryName(recipe.ProjectPath); + var directoryPath = Path.GetDirectoryName(recipe.ProjectPath)!; var dockerFilePath = Path.Combine(directoryPath, "Dockerfile"); var labels = _dockerLabels.Serialize(recipe.Labels); diff --git a/Source/Bake/Cooking/Cooks/GitHub/GitHubReleaseCook.cs b/Source/Bake/Cooking/Cooks/GitHub/GitHubReleaseCook.cs index a347d3f7..de2f5083 100644 --- a/Source/Bake/Cooking/Cooks/GitHub/GitHubReleaseCook.cs +++ b/Source/Bake/Cooking/Cooks/GitHub/GitHubReleaseCook.cs @@ -20,15 +20,9 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; using System.Collections.Concurrent; -using System.Collections.Generic; -using System.IO; using System.IO.Compression; -using System.Linq; using System.Text; -using System.Threading; -using System.Threading.Tasks; using Bake.Core; using Bake.Services; using Bake.ValueObjects; @@ -128,7 +122,7 @@ protected override async Task CookAsync( Path.GetTempPath(), Guid.NewGuid().ToString("N"), "documentation.zip"); - Directory.CreateDirectory(Path.GetDirectoryName(documentationZipFilePath)); + Directory.CreateDirectory(Path.GetDirectoryName(documentationZipFilePath)!); ZipFile.CreateFromDirectory(documentationSite.Path, documentationZipFilePath); var file = _fileSystem.Open(documentationZipFilePath); releaseFiles.Add(new ReleaseFile( diff --git a/Source/Bake/Cooking/Ingredients/Gathers/DescriptionGather.cs b/Source/Bake/Cooking/Ingredients/Gathers/DescriptionGather.cs index 5f7a9af3..1a80753f 100644 --- a/Source/Bake/Cooking/Ingredients/Gathers/DescriptionGather.cs +++ b/Source/Bake/Cooking/Ingredients/Gathers/DescriptionGather.cs @@ -20,12 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Threading; -using System.Threading.Tasks; using Bake.ValueObjects; namespace Bake.Cooking.Ingredients.Gathers diff --git a/Source/Bake/Cooking/Ingredients/Gathers/GitGather.cs b/Source/Bake/Cooking/Ingredients/Gathers/GitGather.cs index 55334942..3da94045 100644 --- a/Source/Bake/Cooking/Ingredients/Gathers/GitGather.cs +++ b/Source/Bake/Cooking/Ingredients/Gathers/GitGather.cs @@ -20,11 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.IO; -using System.Linq; -using System.Threading; -using System.Threading.Tasks; using Bake.Core; using Bake.ValueObjects; using LibGit2Sharp; @@ -44,10 +39,11 @@ public GitGather( _logger = logger; } - public async Task GatherAsync(ValueObjects.Ingredients ingredients, + public async Task GatherAsync( + ValueObjects.Ingredients ingredients, CancellationToken cancellationToken) { - GitInformation gitInformation = null; + GitInformation? gitInformation = null; await Task.Factory.StartNew( () => gitInformation = Gather( @@ -67,11 +63,11 @@ await Task.Factory.StartNew( } } - private GitInformation Gather( + private GitInformation? Gather( string workingDirectory, CancellationToken _) { - static string Get(string d) + static string? Get(string d) { while (true) { @@ -86,26 +82,32 @@ static string Get(string d) } } - workingDirectory = Get(workingDirectory); - if (string.IsNullOrEmpty(workingDirectory)) + var projectRoot = Get(workingDirectory); + if (string.IsNullOrEmpty(projectRoot)) { _logger.LogWarning("No git repository found"); return null; } - using var repository = new Repository(workingDirectory); + using var repository = new Repository(projectRoot); var originUrl = GetRemote(repository); var sha = repository.Head?.Tip?.Sha; var message = repository.Head?.Tip?.Message; + if (originUrl == null || + string.IsNullOrEmpty(sha)) + { + return null; + } + return new GitInformation( sha, originUrl, - message); + message ?? string.Empty); } - private Uri GetRemote(Repository repository) + private Uri? GetRemote(Repository repository) { var remote = repository.Network.Remotes.FirstOrDefault( r => string.Equals(r.Name, Origin, StringComparison.OrdinalIgnoreCase)); diff --git a/Source/Bake/Cooking/Ingredients/Gathers/GitHubGather.cs b/Source/Bake/Cooking/Ingredients/Gathers/GitHubGather.cs index df354e0c..ee24bc5e 100644 --- a/Source/Bake/Cooking/Ingredients/Gathers/GitHubGather.cs +++ b/Source/Bake/Cooking/Ingredients/Gathers/GitHubGather.cs @@ -20,11 +20,7 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Linq; using System.Text.RegularExpressions; -using System.Threading; -using System.Threading.Tasks; using Bake.Core; using Bake.Services; using Bake.ValueObjects; @@ -32,11 +28,10 @@ namespace Bake.Cooking.Ingredients.Gathers { - public class GitHubGather : IGather + public partial class GitHubGather : IGather { - private static readonly Regex GitHubUrlExtractor = new( - @"^/(?[^/]+)/(?.+)", - RegexOptions.Compiled | RegexOptions.IgnoreCase); + [GeneratedRegex("^/(?[^/]+)/(?.+)", RegexOptions.IgnoreCase)] + private static partial Regex GitHubUrlExtractor(); public static readonly Uri GitHubApiUrl = new("https://api.github.com/", UriKind.Absolute); private readonly ILogger _logger; @@ -109,7 +104,7 @@ public async Task GatherAsync( return; } - var match = GitHubUrlExtractor.Match(gitInformation.OriginUrl.LocalPath); + var match = GitHubUrlExtractor().Match(gitInformation.OriginUrl.LocalPath); if (!match.Success) { _logger.LogWarning( @@ -135,7 +130,7 @@ public async Task GatherAsync( apiUrl); ingredients.GitHub = gitHubInformation; - PullRequestInformation pullRequestInformation; + PullRequestInformation? pullRequestInformation; try { pullRequestInformation = await _gitHub.GetPullRequestInformationAsync( diff --git a/Source/Bake/Cooking/Ingredients/Gathers/ReleaseNotesGather.cs b/Source/Bake/Cooking/Ingredients/Gathers/ReleaseNotesGather.cs index 6c88b411..c0cbb6b7 100644 --- a/Source/Bake/Cooking/Ingredients/Gathers/ReleaseNotesGather.cs +++ b/Source/Bake/Cooking/Ingredients/Gathers/ReleaseNotesGather.cs @@ -20,11 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Threading; -using System.Threading.Tasks; using Bake.Core; using Bake.Extensions; using Bake.Services; @@ -98,7 +93,7 @@ public async Task GatherAsync( releaseNotes); } - private ReleaseNotes PickReleaseNotes( + private ReleaseNotes? PickReleaseNotes( SemVer version, IReadOnlyCollection releaseNotes) { diff --git a/Source/Bake/Cooking/Kitchen.cs b/Source/Bake/Cooking/Kitchen.cs index 92e9688d..d0041dc8 100644 --- a/Source/Bake/Cooking/Kitchen.cs +++ b/Source/Bake/Cooking/Kitchen.cs @@ -20,13 +20,8 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Collections.Generic; using System.Diagnostics; -using System.Linq; using System.Reflection; -using System.Threading; -using System.Threading.Tasks; using Bake.Cooking.Cooks; using Bake.Extensions; using Bake.ValueObjects; @@ -101,7 +96,7 @@ public async Task CookAsync( recipeName, stopwatch.Elapsed, success, - recipe.Artifacts)); + recipe.Artifacts!)); if (success) { @@ -147,7 +142,7 @@ private static void PrintTimings(List cookResults) private static void PrintArtifacts(IEnumerable cookResults) { var groupedArtifacts = cookResults - .SelectMany(r => r.Artifacts ?? Enumerable.Empty()) + .SelectMany(r => r.Artifacts) .GroupBy(a => { var type = a.GetType(); diff --git a/Source/Bake/Core/Credentials.cs b/Source/Bake/Core/Credentials.cs index 83a33138..8e74cb24 100644 --- a/Source/Bake/Core/Credentials.cs +++ b/Source/Bake/Core/Credentials.cs @@ -153,7 +153,7 @@ public async Task TryGetOctopusDeployApiKeyAsync( return value; } - public async Task TryGetDockerLoginAsync( + public async Task TryGetDockerLoginAsync( ContainerTag containerTag, CancellationToken cancellationToken) { diff --git a/Source/Bake/Core/DisposableAction.cs b/Source/Bake/Core/DisposableAction.cs index e225d8f9..e385235a 100644 --- a/Source/Bake/Core/DisposableAction.cs +++ b/Source/Bake/Core/DisposableAction.cs @@ -20,18 +20,15 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Threading; - namespace Bake.Core { public sealed class DisposableAction : IDisposable { - public static readonly DisposableAction Empty = new DisposableAction(null); + public static readonly DisposableAction Empty = new(null); - private Action _disposeAction; + private Action? _disposeAction; - public DisposableAction(Action disposeAction) + public DisposableAction(Action? disposeAction) { _disposeAction = disposeAction; } diff --git a/Source/Bake/Core/FileSystem.cs b/Source/Bake/Core/FileSystem.cs index f7fbde32..25d742f5 100644 --- a/Source/Bake/Core/FileSystem.cs +++ b/Source/Bake/Core/FileSystem.cs @@ -20,15 +20,9 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; using System.Collections.Concurrent; -using System.Collections.Generic; using System.Diagnostics; -using System.IO; using System.IO.Compression; -using System.Linq; -using System.Threading; -using System.Threading.Tasks; using Bake.Extensions; using Bake.ValueObjects; using Microsoft.Extensions.Logging; @@ -73,7 +67,7 @@ public async Task> FindFilesAsync( foreach (var filePath in filePaths) { - if (ShouldBeSkipped(Path.GetDirectoryName(filePath))) + if (ShouldBeSkipped(Path.GetDirectoryName(filePath)!)) { skippedPaths.Add(filePath); } diff --git a/Source/Bake/Core/GitRemoteParser.cs b/Source/Bake/Core/GitRemoteParser.cs index 0403a1e2..0439267c 100644 --- a/Source/Bake/Core/GitRemoteParser.cs +++ b/Source/Bake/Core/GitRemoteParser.cs @@ -20,20 +20,20 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; using System.Text.RegularExpressions; namespace Bake.Core { - public static class GitRemoteParser + public static partial class GitRemoteParser { - private static readonly Regex Parser = new Regex( + [GeneratedRegex( "^(?(http|https)://){0,1}[^@]*?(?[^:/]+)(:|/)(?.*)$", - RegexOptions.IgnoreCase | RegexOptions.Compiled); + RegexOptions.IgnoreCase)] + private static partial Regex Parser(); - public static bool TryParse(string str, out Uri url) + public static bool TryParse(string str, out Uri? url) { - var match = Parser.Match(str); + var match = Parser().Match(str); if (!match.Success) { url = null; diff --git a/Source/Bake/Core/ICredentials.cs b/Source/Bake/Core/ICredentials.cs index 5d58df15..c721a6b5 100644 --- a/Source/Bake/Core/ICredentials.cs +++ b/Source/Bake/Core/ICredentials.cs @@ -20,9 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Threading; -using System.Threading.Tasks; using Bake.ValueObjects; using Bake.ValueObjects.Credentials; @@ -34,7 +31,7 @@ Task TryGetNuGetApiKeyAsync( Uri url, CancellationToken cancellationToken); - Task TryGetDockerLoginAsync( + Task TryGetDockerLoginAsync( ContainerTag containerTag, CancellationToken cancellationToken); diff --git a/Source/Bake/Core/SemVer.cs b/Source/Bake/Core/SemVer.cs index 45e491c3..e3b06837 100644 --- a/Source/Bake/Core/SemVer.cs +++ b/Source/Bake/Core/SemVer.cs @@ -20,17 +20,17 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; using System.Text; using System.Text.RegularExpressions; namespace Bake.Core { - public class SemVer : IComparable, IEquatable, IComparable + public partial class SemVer : IComparable, IEquatable, IComparable { - private static readonly Regex VersionParser = new( + [GeneratedRegex( @"^(v|version){0,1}\s*(?\d+)(\.(?\d+)(\.(?\d+)){0,1}){0,1}(\-(?[a-z0-9\-_]+)){0,1}$", - RegexOptions.Compiled | RegexOptions.IgnoreCase); + RegexOptions.IgnoreCase)] + private static partial Regex VersionParser(); private static readonly Random R = new(); @@ -50,17 +50,17 @@ public static SemVer Parse(string str, bool allowNoMinor = false) throw exception; } - return version; + return version!; } - public static bool TryParse(string str, out SemVer version, bool allowNoMinor = false) + public static bool TryParse(string str, out SemVer? version, bool allowNoMinor = false) { return InternalTryParse(str, out version, allowNoMinor) == null; } - public static Exception InternalTryParse( + public static Exception? InternalTryParse( string str, - out SemVer version, + out SemVer? version, bool allowNoMinor) { version = null; @@ -69,7 +69,7 @@ public static Exception InternalTryParse( return new ArgumentNullException(nameof(str)); } - var match = VersionParser.Match(str); + var match = VersionParser().Match(str); if (!match.Success) { return new ArgumentException($"'{str}' is not a valid version string"); @@ -105,7 +105,7 @@ public static SemVer With( int major, int? minor = 0, int? patch = 0, - string meta = null) + string? meta = null) { return new SemVer(major, minor, patch, meta); } @@ -123,7 +123,7 @@ private SemVer( int major, int? minor, int? patch , - string meta) + string? meta) { Major = major; Minor = minor; @@ -161,7 +161,7 @@ public int CompareTo(object? obj) return CompareTo(obj as SemVer); } - public bool IsSubset(SemVer other) + public bool IsSubset(SemVer? other) { if (other == null) { @@ -174,7 +174,7 @@ public bool IsSubset(SemVer other) Minor == other.Minor; } - public int CompareTo(SemVer other) + public int CompareTo(SemVer? other) { if (ReferenceEquals(this, other)) return 0; if (ReferenceEquals(null, other)) return 1; @@ -187,7 +187,7 @@ public int CompareTo(SemVer other) return string.Compare(Meta, other.Meta, StringComparison.OrdinalIgnoreCase); } - public bool Equals(SemVer other) + public bool Equals(SemVer? other) { if (ReferenceEquals(null, other)) return false; if (ReferenceEquals(this, other)) return true; @@ -199,7 +199,7 @@ public bool Equals(SemVer other) string.Equals(Meta, other.Meta, StringComparison.OrdinalIgnoreCase); } - public override bool Equals(object obj) + public override bool Equals(object? obj) { if (ReferenceEquals(null, obj)) return false; if (ReferenceEquals(this, obj)) return true; @@ -216,12 +216,12 @@ public override int GetHashCode() Meta); } - public static bool operator ==(SemVer lhs, SemVer rhs) + public static bool operator ==(SemVer? lhs, SemVer? rhs) { if (lhs is { }) return lhs.Equals(rhs); return rhs is null; } - public static bool operator !=(SemVer lhs, SemVer rhs) => !(lhs == rhs); + public static bool operator !=(SemVer? lhs, SemVer? rhs) => !(lhs == rhs); } } diff --git a/Source/Bake/Core/Yaml.cs b/Source/Bake/Core/Yaml.cs index 30834696..830a6540 100644 --- a/Source/Bake/Core/Yaml.cs +++ b/Source/Bake/Core/Yaml.cs @@ -20,13 +20,8 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Collections.Generic; using System.Globalization; -using System.Linq; using System.Reflection; -using System.Threading; -using System.Threading.Tasks; using Bake.ValueObjects; using Bake.ValueObjects.Artifacts; using Bake.ValueObjects.Destinations; @@ -106,7 +101,7 @@ public async Task DeserializeAsync( CancellationToken cancellationToken) { return await Task.Factory.StartNew( - () => (T) Deserializer.Deserialize(yaml, typeof(T)), + () => (T) Deserializer.Deserialize(yaml, typeof(T))!, cancellationToken, TaskCreationOptions.LongRunning, TaskScheduler.Default); @@ -141,7 +136,7 @@ private class DateTimeOffsetTypeConverter : IYamlTypeConverter public object? ReadYaml(IParser parser, Type type) { - var value = (string)ValueDeserializer.DeserializeValue(parser, typeof(string), new SerializerState(), ValueDeserializer); + var value = (string)ValueDeserializer.DeserializeValue(parser, typeof(string), new SerializerState(), ValueDeserializer)!; if (!DateTimeOffset.TryParseExact(value, "O", CultureInfo.InvariantCulture, DateTimeStyles.RoundtripKind, out var dateTimeOffset)) { throw new FormatException($"'{value}' is not a valid DateTimeOffset"); @@ -177,7 +172,7 @@ private class SemVerYamlTypeConverter : IYamlTypeConverter public object? ReadYaml(IParser parser, Type type) { - var value = (string) ValueDeserializer.DeserializeValue(parser, typeof(string), new SerializerState(), ValueDeserializer); + var value = (string) ValueDeserializer.DeserializeValue(parser, typeof(string), new SerializerState(), ValueDeserializer)!; if (!SemVer.TryParse(value, out var semVer)) { throw new FormatException($"'{value}' is not a valid SemVer"); @@ -188,7 +183,7 @@ private class SemVerYamlTypeConverter : IYamlTypeConverter public void WriteYaml(IEmitter emitter, object? value, Type type) { - var semVer = (SemVer) value; + var semVer = (SemVer) value!; ValueSerializer.SerializeValue(emitter, semVer?.ToString(), typeof(string)); } } diff --git a/Source/Bake/Program.cs b/Source/Bake/Program.cs index c154038d..662a6e6b 100644 --- a/Source/Bake/Program.cs +++ b/Source/Bake/Program.cs @@ -20,10 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Linq; -using System.Threading; -using System.Threading.Tasks; using Bake.Commands; using Bake.Core; using Bake.Extensions; @@ -46,7 +42,7 @@ public static Task Main(string[] args) public static async Task EntryAsync( string[] args, - Action overrides, + Action? overrides, CancellationToken cancellationToken) { using var exit = CancellationTokenSource.CreateLinkedTokenSource(cancellationToken); @@ -73,7 +69,7 @@ public static async Task EntryAsync( var executor = serviceProvider.GetRequiredService(); var returnCode = await executor.ExecuteAsync( args, - commandTypes, + commandTypes!, cancellationToken); return returnCode; diff --git a/Source/Bake/Services/GitHub.cs b/Source/Bake/Services/GitHub.cs index 57ad2319..7b98ca7d 100644 --- a/Source/Bake/Services/GitHub.cs +++ b/Source/Bake/Services/GitHub.cs @@ -20,8 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Collections.Generic; using System.Diagnostics; using System.Text.RegularExpressions; using Bake.Core; @@ -100,6 +98,31 @@ await gitHubClient.Repository.Release.Edit( gitHubReleaseUpdate); } + public async Task> GetTagsAsync( + GitHubInformation gitHubInformation, + CancellationToken cancellationToken) + { + var gitHubClient = await CreateGitHubClientAsync(gitHubInformation, cancellationToken); + if (gitHubClient == null) + { + return Array.Empty(); + } + + var releases = await gitHubClient.Repository.GetAllTags( + gitHubInformation.Owner, + gitHubInformation.Repository); + + return releases + .Select(t => new + { + version = SemVer.TryParse(t.Name, out var v, true) ? v : null, + tag = t, + }) + .Where(a => !ReferenceEquals(a.version, null)) + .Select(a => new Tag(a.version!, a.tag.Commit.Sha)) + .ToArray(); + } + public async Task GetPullRequestInformationAsync( GitInformation gitInformation, GitHubInformation gitHubInformation, @@ -224,6 +247,11 @@ public async Task> GetPullRequestsAsync( gitHubInformation, cancellationToken); + if (commits.Count == 0) + { + return Array.Empty(); + } + var pullRequestTasks = commits .Select(c => IsMergeCommit.Match(c.Message)) .Where(m => m.Success) @@ -233,7 +261,7 @@ public async Task> GetPullRequestsAsync( return pullRequests .Where(pr => pr != null) - .ToArray(); + .ToArray()!; } public async Task GetPullRequestAsync( diff --git a/Source/Bake/Services/IGitHub.cs b/Source/Bake/Services/IGitHub.cs index 099ec8cb..66237d28 100644 --- a/Source/Bake/Services/IGitHub.cs +++ b/Source/Bake/Services/IGitHub.cs @@ -20,9 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System.Collections.Generic; -using System.Threading; -using System.Threading.Tasks; using Bake.ValueObjects; namespace Bake.Services @@ -44,7 +41,7 @@ Task> GetPullRequestsAsync(string baseSha, GitHubInformation gitHubInformation, CancellationToken cancellationToken); - Task GetPullRequestAsync( + Task GetPullRequestAsync( GitHubInformation gitHubInformation, int number, CancellationToken cancellationToken); diff --git a/Source/Bake/ValueObjects/CookResult.cs b/Source/Bake/ValueObjects/CookResult.cs index 08d06c1e..3789e643 100644 --- a/Source/Bake/ValueObjects/CookResult.cs +++ b/Source/Bake/ValueObjects/CookResult.cs @@ -20,8 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Collections.Generic; using Bake.ValueObjects.Artifacts; namespace Bake.ValueObjects @@ -37,12 +35,12 @@ public CookResult( string name, TimeSpan time, bool success, - IReadOnlyCollection artifacts) + IReadOnlyCollection? artifacts) { Name = name; Time = time; Success = success; - Artifacts = artifacts; + Artifacts = artifacts ?? Array.Empty(); } } } diff --git a/Source/Bake/ValueObjects/Credentials/DockerLogin.cs b/Source/Bake/ValueObjects/Credentials/DockerLogin.cs index abd6ed0d..a472a2d0 100644 --- a/Source/Bake/ValueObjects/Credentials/DockerLogin.cs +++ b/Source/Bake/ValueObjects/Credentials/DockerLogin.cs @@ -20,8 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; - namespace Bake.ValueObjects.Credentials { public class DockerLogin : ValueObject @@ -33,7 +31,7 @@ public class DockerLogin : ValueObject public DockerLogin( string username, string password, - string server) + string? server) { if (string.IsNullOrEmpty(username)) throw new ArgumentNullException(nameof(username)); if (string.IsNullOrEmpty(password)) throw new ArgumentNullException(nameof(password)); diff --git a/Source/Bake/ValueObjects/GitInformation.cs b/Source/Bake/ValueObjects/GitInformation.cs index 9e353e2b..14d3ce2d 100644 --- a/Source/Bake/ValueObjects/GitInformation.cs +++ b/Source/Bake/ValueObjects/GitInformation.cs @@ -20,7 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; using YamlDotNet.Serialization; namespace Bake.ValueObjects @@ -37,7 +36,9 @@ public class GitInformation public string Message { get; [Obsolete] set; } [Obsolete] +#pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. public GitInformation() { } +#pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. public GitInformation( string sha, diff --git a/Source/Bake/ValueObjects/Ingredients.cs b/Source/Bake/ValueObjects/Ingredients.cs index 7297450c..1b8f7787 100644 --- a/Source/Bake/ValueObjects/Ingredients.cs +++ b/Source/Bake/ValueObjects/Ingredients.cs @@ -20,10 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; using Bake.Core; using Bake.ValueObjects.Destinations; using YamlDotNet.Serialization; @@ -35,7 +31,7 @@ public class Ingredients public static Ingredients New( SemVer version, string workingDirectory, - IReadOnlyCollection targetPlatforms = null, + IReadOnlyCollection? targetPlatforms = null, Convention convention = Convention.Default) => new( version, workingDirectory, @@ -60,7 +56,7 @@ public static Ingredients New( public List Destinations { get; [Obsolete] set; } = new(); [YamlMember] - public IReadOnlyDictionary> Changelog + public IReadOnlyDictionary>? Changelog { get => _changelog.Task.IsCompletedSuccessfully ? _changelog.Task.Result : null; set @@ -74,10 +70,10 @@ public IReadOnlyDictionary> Changelog } [YamlMember] - public GitInformation Git + public GitInformation? Git { get => _git.Task.IsCompletedSuccessfully ? _git.Task.Result : null; - [Obsolete] set + set { if (value == null) { @@ -88,10 +84,10 @@ [Obsolete] set } [YamlMember] - public GitHubInformation GitHub + public GitHubInformation? GitHub { get => _gitHub.Task.IsCompletedSuccessfully ? _gitHub.Task.Result : null; - [Obsolete] set + set { if (value == null) { @@ -102,10 +98,10 @@ [Obsolete] set } [YamlMember] - public PullRequestInformation PullRequest + public PullRequestInformation? PullRequest { get => _pullRequest.Task.IsCompletedSuccessfully ? _pullRequest.Task.Result : null; - [Obsolete] set + set { if (value == null) { @@ -116,10 +112,10 @@ [Obsolete] set } [YamlMember] - public Description Description + public Description? Description { get => _description.Task.IsCompletedSuccessfully ? _description.Task.Result : null; - [Obsolete] set + set { if (value == null) { @@ -130,10 +126,10 @@ [Obsolete] set } [YamlMember] - public ReleaseNotes ReleaseNotes + public ReleaseNotes? ReleaseNotes { get => _releaseNotes.Task.IsCompletedSuccessfully ? _releaseNotes.Task.Result : null; - [Obsolete] set + set { if (value == null) { @@ -178,7 +174,9 @@ [Obsolete] set private readonly TaskCompletionSource _pullRequest = new(); [Obsolete] +#pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. public Ingredients() { } +#pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. public Ingredients( SemVer version, diff --git a/Source/Bake/ValueObjects/Recipes/Recipe.cs b/Source/Bake/ValueObjects/Recipes/Recipe.cs index bf88b41e..de427a81 100644 --- a/Source/Bake/ValueObjects/Recipes/Recipe.cs +++ b/Source/Bake/ValueObjects/Recipes/Recipe.cs @@ -20,7 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; using Bake.ValueObjects.Artifacts; using YamlDotNet.Serialization; @@ -32,10 +31,10 @@ public abstract class Recipe public Artifact[] Artifacts { get; [Obsolete] set; } protected Recipe( - Artifact[] artifacts = null) + Artifact[]? artifacts = null) { #pragma warning disable CS0612 // Type or member is obsolete - Artifacts = artifacts; + Artifacts = artifacts ?? Array.Empty(); #pragma warning restore CS0612 // Type or member is obsolete } } diff --git a/Source/Bake/ValueObjects/ValueObject.cs b/Source/Bake/ValueObjects/ValueObject.cs index 9bf49ca5..bdc73632 100644 --- a/Source/Bake/ValueObjects/ValueObject.cs +++ b/Source/Bake/ValueObjects/ValueObject.cs @@ -20,19 +20,16 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; using System.Collections.Concurrent; -using System.Collections.Generic; -using System.Linq; using System.Reflection; namespace Bake.ValueObjects { public abstract class ValueObject { - private static readonly ConcurrentDictionary> TypeProperties = new ConcurrentDictionary>(); + private static readonly ConcurrentDictionary> TypeProperties = new(); - public override bool Equals(object obj) + public override bool Equals(object? obj) { if (ReferenceEquals(this, obj)) return true; if (ReferenceEquals(null, obj)) return false; @@ -49,12 +46,12 @@ public override int GetHashCode() } } - public static bool operator ==(ValueObject left, ValueObject right) + public static bool operator ==(ValueObject? left, ValueObject? right) { return Equals(left, right); } - public static bool operator !=(ValueObject left, ValueObject right) + public static bool operator !=(ValueObject? left, ValueObject? right) { return !Equals(left, right); } @@ -64,7 +61,7 @@ public override string ToString() return $"{{{string.Join(", ", GetProperties().Select(f => $"{f.Name}: {f.GetValue(this)}"))}}}"; } - protected virtual IEnumerable GetEqualityComponents() + protected virtual IEnumerable GetEqualityComponents() { return GetProperties().Select(x => x.GetValue(this)); } From ad8a07d173173d213b23e6443fc4e76decc2db7d Mon Sep 17 00:00:00 2001 From: Rasmus Mikkelsen Date: Thu, 11 Jan 2024 20:35:07 +0100 Subject: [PATCH 3/6] Going through the motions of handling nullable --- Source/Bake.Tests/Bake.Tests.csproj | 1 + .../ExplicitTests/GitHubReleaseCookTests.cs | 9 ++------- Source/Bake.Tests/Helpers/ServiceTest.cs | 2 +- Source/Bake.Tests/Helpers/TestProject.cs | 16 +++++---------- Source/Bake/Commands/CommandFactory.cs | 6 +++--- Source/Bake/Cooking/Composers/GoComposer.cs | 2 +- Source/Bake/Cooking/Composers/HelmComposer.cs | 2 +- .../Cooking/Cooks/Docker/DockerPushCook.cs | 2 +- .../Cooks/DotNet/DotNetDockerFileCook.cs | 2 +- .../Cooks/DotNet/DotNetNuGetPushCook.cs | 2 +- Source/Bake/Core/Credentials.cs | 14 +++++-------- Source/Bake/Core/ICredentials.cs | 3 +-- Source/Bake/Services/ChangeLogBuilder.cs | 9 +++------ Source/Bake/Services/ContainerTagParser.cs | 6 ++---- Source/Bake/Services/CsProjParser.cs | 6 +----- Source/Bake/Services/DestinationParser.cs | 3 +-- Source/Bake/Services/DockerLabels.cs | 7 +------ Source/Bake/Services/DotNetTfmParser.cs | 5 ++--- Source/Bake/Services/GitHubClientFactory.cs | 5 +---- Source/Bake/Services/GoModParser.cs | 3 ++- Source/Bake/Services/IContainerTagParser.cs | 3 +-- Source/Bake/Services/IDestinationParser.cs | 2 +- Source/Bake/Services/IDockerLabels.cs | 3 --- Source/Bake/Services/IDotNetTfmParser.cs | 2 +- Source/Bake/Services/IGoModParser.cs | 2 +- Source/Bake/Services/IPlatformParser.cs | 2 +- Source/Bake/Services/PlatformParser.cs | 4 +--- Source/Bake/Services/ReleaseNotesParser.cs | 8 ++++---- Source/Bake/Services/Runner.cs | 9 ++------- Source/Bake/Services/Tools/DotNet.cs | 10 ++++++---- .../Tools/DotNetArguments/DotNetArgument.cs | 3 +-- .../Bake/ValueObjects/Artifacts/Artifact.cs | 7 ------- .../Artifacts/ContainerArtifact.cs | 15 +++++--------- .../Artifacts/DirectoryArtifact.cs | 20 ++++++------------- .../Artifacts/DockerFileArtifact.cs | 5 +---- .../Artifacts/DocumentationSiteArtifact.cs | 19 ++++++------------ .../Artifacts/ExecutableArtifact.cs | 7 ++----- .../ValueObjects/Artifacts/FileArtifact.cs | 19 ++++++------------ Source/Bake/ValueObjects/Author.cs | 7 ++++--- .../ValueObjects/BakeProjects/BakeProject.cs | 2 +- Source/Bake/ValueObjects/Book.cs | 5 ++--- Source/Bake/ValueObjects/Change.cs | 3 +-- Source/Bake/ValueObjects/Commit.cs | 7 +++---- .../Destinations/ChartMuseumDestination.cs | 3 +-- .../ContainerRegistryDestination.cs | 3 +-- .../Destinations/GitHubReleaseDestination.cs | 5 ++--- .../Destinations/NuGetRegistryDestination.cs | 3 +-- .../Destinations/OctopusDeployDestination.cs | 3 +-- .../DotNet/VisualStudioProject.cs | 2 +- Source/Bake/ValueObjects/GitHubInformation.cs | 9 ++++----- .../ChartMuseum/ChartMuseumUploadRecipe.cs | 5 ++--- .../Recipes/Docker/DockerBuildRecipe.cs | 11 ++++------ .../Recipes/Docker/DockerPushRecipe.cs | 5 +---- .../DotNet/DotNetBuildSolutionRecipe.cs | 10 ++++------ .../DotNet/DotNetCleanSolutionRecipe.cs | 5 ++--- .../Recipes/DotNet/DotNetDockerFileRecipe.cs | 12 +++++------ .../Recipes/DotNet/DotNetNuGetPushRecipe.cs | 7 +++---- .../Recipes/DotNet/DotNetPackProjectRecipe.cs | 10 ++++------ .../Recipes/DotNet/DotNetPublishRecipe.cs | 9 ++++----- .../DotNet/DotNetRestoreSolutionRecipe.cs | 5 ++--- .../DotNet/DotNetTestSolutionRecipe.cs | 5 ++--- .../Recipes/GitHub/GitHubReleaseRecipe.cs | 9 ++++----- .../ValueObjects/Recipes/Go/GoBuildRecipe.cs | 7 +++---- .../Recipes/Go/GoDockerFileRecipe.cs | 10 ++++------ .../ValueObjects/Recipes/Go/GoTestRecipe.cs | 3 +-- .../Recipes/Helm/HelmLintRecipe.cs | 3 +-- .../Recipes/Helm/HelmPackageRecipe.cs | 7 +++---- .../Recipes/MkDocs/MkDocsBuildRecipe.cs | 5 ++--- .../Recipes/NodeJS/NodeJSDockerfileRecipe.cs | 8 +++----- .../Recipes/NodeJS/NpmCIRecipe.cs | 3 +-- .../OctopusDeployPackagePushRecipe.cs | 5 ++--- .../Pip/PipInstallRequirementsRecipe.cs | 5 ++--- .../Python/PythonFlaskDockerfileRecipe.cs | 6 ++---- Source/Bake/ValueObjects/ReleaseNotes.cs | 5 ++--- Source/Bake/ValueObjects/SingleValueObject.cs | 7 ++----- Source/Bake/ValueObjects/Tag.cs | 5 ++--- 76 files changed, 170 insertions(+), 299 deletions(-) diff --git a/Source/Bake.Tests/Bake.Tests.csproj b/Source/Bake.Tests/Bake.Tests.csproj index 858be4f3..bee34d33 100644 --- a/Source/Bake.Tests/Bake.Tests.csproj +++ b/Source/Bake.Tests/Bake.Tests.csproj @@ -21,6 +21,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive + diff --git a/Source/Bake.Tests/ExplicitTests/GitHubReleaseCookTests.cs b/Source/Bake.Tests/ExplicitTests/GitHubReleaseCookTests.cs index 50be04c9..4092ab82 100644 --- a/Source/Bake.Tests/ExplicitTests/GitHubReleaseCookTests.cs +++ b/Source/Bake.Tests/ExplicitTests/GitHubReleaseCookTests.cs @@ -20,11 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Collections.Generic; -using System.IO; -using System.Threading; -using System.Threading.Tasks; using Bake.Cooking.Cooks.GitHub; using Bake.Core; using Bake.Services; @@ -67,7 +62,7 @@ public async Task CreateRelease() // Arrange var result = await Sut.CookAsync( - null, + null!, recipe, CancellationToken.None); @@ -79,7 +74,7 @@ private static string GetToken() { return new ConfigurationBuilder() .AddUserSecrets() - .Build()["github.token"]; + .Build()["github.token"]!; } protected override IServiceCollection Configure(IServiceCollection serviceCollection) diff --git a/Source/Bake.Tests/Helpers/ServiceTest.cs b/Source/Bake.Tests/Helpers/ServiceTest.cs index 11865c74..6ec177e9 100644 --- a/Source/Bake.Tests/Helpers/ServiceTest.cs +++ b/Source/Bake.Tests/Helpers/ServiceTest.cs @@ -38,7 +38,7 @@ public abstract class ServiceTest : TestProject protected T Sut => _lazySut.Value; protected IServiceProvider ServiceProvider => _serviceProvider; - protected ServiceTest(string projectName) : base(projectName) + protected ServiceTest(string? projectName) : base(projectName) { } diff --git a/Source/Bake.Tests/Helpers/TestProject.cs b/Source/Bake.Tests/Helpers/TestProject.cs index 093fcd57..4121baf8 100644 --- a/Source/Bake.Tests/Helpers/TestProject.cs +++ b/Source/Bake.Tests/Helpers/TestProject.cs @@ -20,13 +20,7 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; using System.Diagnostics; -using System.IO; -using System.Linq; -using System.Net.Http; -using System.Threading; -using System.Threading.Tasks; using Bake.Core; using Bake.Extensions; using FluentAssertions; @@ -36,17 +30,17 @@ namespace Bake.Tests.Helpers { public abstract class TestProject : TestIt { - protected string ProjectName { get; } + protected string? ProjectName { get; } protected string WorkingDirectory => Path.Join(_folder.Path, ProjectName); protected string RepositoryUrl => "https://github.com/rasmus/Bake"; - protected string Sha { get; private set; } + protected string Sha { get; private set; } = null!; - private string _previousCurrentDirectory; + private string _previousCurrentDirectory = null!; - private Folder _folder; + private Folder _folder = null!; protected TestProject( - string projectName) + string? projectName) { ProjectName = projectName; } diff --git a/Source/Bake/Commands/CommandFactory.cs b/Source/Bake/Commands/CommandFactory.cs index d259b2d8..9b5fd2f2 100644 --- a/Source/Bake/Commands/CommandFactory.cs +++ b/Source/Bake/Commands/CommandFactory.cs @@ -76,7 +76,7 @@ public CommandLineApplication Create(IEnumerable types) throw new FormatException($"'{value}' is an invalid SemVer value for argument '{argName}'"); } - return version; + return version!; })); app.ValueParsers.Add(ValueParser.Create( typeof(Destination), @@ -92,7 +92,7 @@ public CommandLineApplication Create(IEnumerable types) throw new FormatException($"'{value}' is an invalid Destination value for argument '{argName}'"); } - return destination; + return destination!; })); app.ValueParsers.Add(ValueParser.Create( typeof(Destination[]), @@ -125,7 +125,7 @@ public CommandLineApplication Create(IEnumerable types) throw new FormatException($"'{value}' is an invalid Platform value for argument '{argName}'"); } - return platform; + return platform!; })); app.ValueParsers.Add(ValueParser.Create( typeof(Platform[]), diff --git a/Source/Bake/Cooking/Composers/GoComposer.cs b/Source/Bake/Cooking/Composers/GoComposer.cs index 5814a9be..43a97879 100644 --- a/Source/Bake/Cooking/Composers/GoComposer.cs +++ b/Source/Bake/Cooking/Composers/GoComposer.cs @@ -109,7 +109,7 @@ private async Task> CreateRecipesAsync( throw new InvalidOperationException($"Invalid content of '{goModPath}':{Environment.NewLine}{goModContent}"); } - var windowsOutput = $"{goModuleName.Name}.exe"; + var windowsOutput = $"{goModuleName!.Name}.exe"; var recipes = new List { diff --git a/Source/Bake/Cooking/Composers/HelmComposer.cs b/Source/Bake/Cooking/Composers/HelmComposer.cs index 6f5ffc4c..2a3e714c 100644 --- a/Source/Bake/Cooking/Composers/HelmComposer.cs +++ b/Source/Bake/Cooking/Composers/HelmComposer.cs @@ -94,7 +94,7 @@ private async Task> CreateRecipes( private class HelmChart { [YamlMember(Alias = "name")] - public string Name { get; set; } + public string Name { get; set; } = null!; } } } diff --git a/Source/Bake/Cooking/Cooks/Docker/DockerPushCook.cs b/Source/Bake/Cooking/Cooks/Docker/DockerPushCook.cs index f286c03b..a20d37d1 100644 --- a/Source/Bake/Cooking/Cooks/Docker/DockerPushCook.cs +++ b/Source/Bake/Cooking/Cooks/Docker/DockerPushCook.cs @@ -63,7 +63,7 @@ protected override async Task CookAsync( return false; } - containerTags.Add(containerTag); + containerTags.Add(containerTag!); } var dockerLogins = (await Task.WhenAll(containerTags diff --git a/Source/Bake/Cooking/Cooks/DotNet/DotNetDockerFileCook.cs b/Source/Bake/Cooking/Cooks/DotNet/DotNetDockerFileCook.cs index 44e138cd..2dd7c4f8 100644 --- a/Source/Bake/Cooking/Cooks/DotNet/DotNetDockerFileCook.cs +++ b/Source/Bake/Cooking/Cooks/DotNet/DotNetDockerFileCook.cs @@ -83,7 +83,7 @@ protected override async Task CookAsync( var dockerfileContent = Dockerfile .Replace("{{PATH}}", recipe.ServicePath) .Replace("{{NAME}}", recipe.EntryPoint) - .Replace("{{VERSION}}", $"{targetFrameworkVersion.Version.Major}.{targetFrameworkVersion.Version.Minor}") + .Replace("{{VERSION}}", $"{targetFrameworkVersion!.Version.Major}.{targetFrameworkVersion.Version.Minor}") .Replace("{{LABELS}}", labels); await File.WriteAllTextAsync( diff --git a/Source/Bake/Cooking/Cooks/DotNet/DotNetNuGetPushCook.cs b/Source/Bake/Cooking/Cooks/DotNet/DotNetNuGetPushCook.cs index 9ecf66dc..f03e79e4 100644 --- a/Source/Bake/Cooking/Cooks/DotNet/DotNetNuGetPushCook.cs +++ b/Source/Bake/Cooking/Cooks/DotNet/DotNetNuGetPushCook.cs @@ -57,7 +57,7 @@ protected override async Task CookAsync( } var argument = new DotNetNuGetPushArgument( - recipe.Source, + recipe.Source!, recipe.FilePath); using var toolResult = await _dotNet.NuGetPushAsync( diff --git a/Source/Bake/Core/Credentials.cs b/Source/Bake/Core/Credentials.cs index 8e74cb24..32a82626 100644 --- a/Source/Bake/Core/Credentials.cs +++ b/Source/Bake/Core/Credentials.cs @@ -20,12 +20,7 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Collections.Generic; -using System.Linq; using System.Text.RegularExpressions; -using System.Threading; -using System.Threading.Tasks; using Bake.ValueObjects; using Bake.ValueObjects.Credentials; using Microsoft.Extensions.Logging; @@ -60,7 +55,7 @@ public Credentials( _environmentVariables = environmentVariables; } - public async Task TryGetNuGetApiKeyAsync( + public async Task TryGetNuGetApiKeyAsync( Uri url, CancellationToken cancellationToken) { @@ -96,6 +91,7 @@ public async Task TryGetNuGetApiKeyAsync( "Dit not find any NuGet credentials for {Url} in any of the environment variables {EnvironmentVariables}", url.AbsoluteUri, string.Join(", ", environmentVariables.Keys.OrderBy(n => n, StringComparer.OrdinalIgnoreCase))); + return null; } return value; @@ -120,7 +116,7 @@ public async Task TryGetGitHubTokenAsync( string.Join(", ", environmentVariables.Keys.OrderBy(n => n, StringComparer.OrdinalIgnoreCase))); } - return value; + return value!; } public async Task TryGetOctopusDeployApiKeyAsync( @@ -150,7 +146,7 @@ public async Task TryGetOctopusDeployApiKeyAsync( string.Join(", ", environmentVariables.Keys.OrderBy(n => n, StringComparer.OrdinalIgnoreCase))); } - return value; + return value!; } public async Task TryGetDockerLoginAsync( @@ -181,7 +177,7 @@ public async Task TryGetOctopusDeployApiKeyAsync( possibilities.Add(($"bake_credentials_docker_{cleanedHostname}", containerTag.HostAndPort)); } - DockerLogin Get((string, string) t) + DockerLogin? Get((string, string) t) { var (e, s) = t; var username = environmentVariables.TryGetValue($"{e}_username", out var u) ? u : string.Empty; diff --git a/Source/Bake/Core/ICredentials.cs b/Source/Bake/Core/ICredentials.cs index c721a6b5..9f3cc66d 100644 --- a/Source/Bake/Core/ICredentials.cs +++ b/Source/Bake/Core/ICredentials.cs @@ -27,8 +27,7 @@ namespace Bake.Core { public interface ICredentials { - Task TryGetNuGetApiKeyAsync( - Uri url, + Task TryGetNuGetApiKeyAsync(Uri url, CancellationToken cancellationToken); Task TryGetDockerLoginAsync( diff --git a/Source/Bake/Services/ChangeLogBuilder.cs b/Source/Bake/Services/ChangeLogBuilder.cs index 6291cd88..81058efb 100644 --- a/Source/Bake/Services/ChangeLogBuilder.cs +++ b/Source/Bake/Services/ChangeLogBuilder.cs @@ -20,9 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Collections.Generic; -using System.Linq; using System.Text.RegularExpressions; using Bake.Core; using Bake.ValueObjects; @@ -46,7 +43,7 @@ where m.Success let a = new { fromVersion = SemVer.Parse(m.Groups["from"].Value, true), - to = SemVer.Parse(m.Groups["to"].Value, true), + toVersion = SemVer.Parse(m.Groups["to"].Value, true), dependency = m.Groups["name"].Value, project = p.Success ? p.Value : string.Empty, pr, @@ -61,8 +58,8 @@ into g .Select(x => x.pr.Number) .OrderBy(i => i) .ToArray(), - g.Min(x => x.fromVersion), - g.Max(x => x.to), + g.Min(x => x.fromVersion)!, + g.Max(x => x.toVersion)!, g .SelectMany(x => x.pr.Authors) .Distinct(StringComparer.OrdinalIgnoreCase) diff --git a/Source/Bake/Services/ContainerTagParser.cs b/Source/Bake/Services/ContainerTagParser.cs index d726b91a..5d9acb0b 100644 --- a/Source/Bake/Services/ContainerTagParser.cs +++ b/Source/Bake/Services/ContainerTagParser.cs @@ -20,9 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Collections.Generic; -using System.Linq; using System.Text.RegularExpressions; using Bake.Extensions; using Bake.ValueObjects; @@ -54,7 +51,7 @@ public void Validate(IEnumerable images) } public bool TryParse(string tag, - out ContainerTag containerTag) + out ContainerTag? containerTag) { containerTag = null; if (string.IsNullOrEmpty(tag)) @@ -73,6 +70,7 @@ public bool TryParse(string tag, match.GetIfThere("path"), match.GetIfThere("name"), match.GetIfThere("label")); + return true; } } diff --git a/Source/Bake/Services/CsProjParser.cs b/Source/Bake/Services/CsProjParser.cs index 8da6010b..e5c52116 100644 --- a/Source/Bake/Services/CsProjParser.cs +++ b/Source/Bake/Services/CsProjParser.cs @@ -20,10 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Linq; -using System.Threading; -using System.Threading.Tasks; using System.Xml.Linq; using System.Xml.XPath; using Bake.ValueObjects.DotNet; @@ -67,7 +63,7 @@ public async Task ParseAsync( assemblyName, isPackable, isPublishable, - targetFrameworkVersions); + targetFrameworkVersions!); } private static string ReadString( diff --git a/Source/Bake/Services/DestinationParser.cs b/Source/Bake/Services/DestinationParser.cs index e0c55224..ad725293 100644 --- a/Source/Bake/Services/DestinationParser.cs +++ b/Source/Bake/Services/DestinationParser.cs @@ -20,7 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; using System.Text.RegularExpressions; using Bake.Core; using Bake.ValueObjects.Destinations; @@ -44,7 +43,7 @@ public DestinationParser( _defaults = defaults; } - public bool TryParse(string str, out Destination destination) + public bool TryParse(string str, out Destination? destination) { destination = null; diff --git a/Source/Bake/Services/DockerLabels.cs b/Source/Bake/Services/DockerLabels.cs index d092f812..6b1aaae1 100644 --- a/Source/Bake/Services/DockerLabels.cs +++ b/Source/Bake/Services/DockerLabels.cs @@ -20,11 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading; -using System.Threading.Tasks; using Bake.ValueObjects; namespace Bake.Services @@ -35,7 +30,7 @@ public async Task> FromIngredientsAsync( Ingredients ingredients, CancellationToken cancellationToken) { - async Task GetAsync(Func> getter) + async Task GetAsync(Func> getter) where T : class { try diff --git a/Source/Bake/Services/DotNetTfmParser.cs b/Source/Bake/Services/DotNetTfmParser.cs index ec5ad89b..e5f94bf2 100644 --- a/Source/Bake/Services/DotNetTfmParser.cs +++ b/Source/Bake/Services/DotNetTfmParser.cs @@ -20,8 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Linq; using System.Text.RegularExpressions; using Bake.Core; using Bake.ValueObjects.DotNet; @@ -37,7 +35,7 @@ public class DotNetTfmParser : IDotNetTfmParser @"^net(?standard|coreapp|)(?[0-9\.]+)(-(?[a-z]+)){0,1}$", RegexOptions.Compiled | RegexOptions.IgnoreCase); - public bool TryParse(string moniker, out TargetFrameworkVersion targetFrameworkVersion) + public bool TryParse(string moniker, out TargetFrameworkVersion? targetFrameworkVersion) { targetFrameworkVersion = null; if (string.IsNullOrEmpty(moniker)) @@ -69,6 +67,7 @@ public bool TryParse(string moniker, out TargetFrameworkVersion targetFrameworkV GetPositionOrZero(version, 1), GetPositionOrZero(version, 2)), TargetFramework.NetFramework); + return true; } diff --git a/Source/Bake/Services/GitHubClientFactory.cs b/Source/Bake/Services/GitHubClientFactory.cs index 242670a5..f45cf198 100644 --- a/Source/Bake/Services/GitHubClientFactory.cs +++ b/Source/Bake/Services/GitHubClientFactory.cs @@ -20,9 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Threading; -using System.Threading.Tasks; using Octokit; using Octokit.Internal; using Credentials = Octokit.Credentials; @@ -31,7 +28,7 @@ namespace Bake.Services { public class GitHubClientFactory : IGitHubClientFactory { - private static readonly Version Version = typeof(GitHubClientFactory).Assembly.GetName().Version; + private static readonly Version Version = typeof(GitHubClientFactory).Assembly.GetName().Version!; public Task CreateAsync( string token, diff --git a/Source/Bake/Services/GoModParser.cs b/Source/Bake/Services/GoModParser.cs index 868b7707..2907bac0 100644 --- a/Source/Bake/Services/GoModParser.cs +++ b/Source/Bake/Services/GoModParser.cs @@ -32,7 +32,7 @@ public class GoModParser : IGoModParser @"^\s*module\s+([a-z0-9\-\./]+?/){0,1}?(?[a-z0-9\-_\.]+)(/v(?[0-9\.]+)){0,1}\s*$", RegexOptions.IgnoreCase | RegexOptions.Compiled | RegexOptions.Multiline); - public bool TryParse(string str, out GoModuleName goModuleName) + public bool TryParse(string str, out GoModuleName? goModuleName) { goModuleName = null; if (string.IsNullOrEmpty(str)) @@ -49,6 +49,7 @@ public bool TryParse(string str, out GoModuleName goModuleName) goModuleName = new GoModuleName( match.Groups["name"].Value, match.GetIfThere("version")); + return true; } } diff --git a/Source/Bake/Services/IContainerTagParser.cs b/Source/Bake/Services/IContainerTagParser.cs index f44c0fd1..ebce578a 100644 --- a/Source/Bake/Services/IContainerTagParser.cs +++ b/Source/Bake/Services/IContainerTagParser.cs @@ -20,7 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System.Collections.Generic; using Bake.ValueObjects; namespace Bake.Services @@ -32,6 +31,6 @@ void Validate( bool TryParse( string tag, - out ContainerTag containerTag); + out ContainerTag? containerTag); } } diff --git a/Source/Bake/Services/IDestinationParser.cs b/Source/Bake/Services/IDestinationParser.cs index b13aa2d6..3559c953 100644 --- a/Source/Bake/Services/IDestinationParser.cs +++ b/Source/Bake/Services/IDestinationParser.cs @@ -26,6 +26,6 @@ namespace Bake.Services { public interface IDestinationParser { - bool TryParse(string str, out Destination destination); + bool TryParse(string str, out Destination? destination); } } diff --git a/Source/Bake/Services/IDockerLabels.cs b/Source/Bake/Services/IDockerLabels.cs index 45855521..82f0277e 100644 --- a/Source/Bake/Services/IDockerLabels.cs +++ b/Source/Bake/Services/IDockerLabels.cs @@ -20,9 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System.Collections.Generic; -using System.Threading; -using System.Threading.Tasks; using Bake.ValueObjects; namespace Bake.Services diff --git a/Source/Bake/Services/IDotNetTfmParser.cs b/Source/Bake/Services/IDotNetTfmParser.cs index f59da9af..f0d4f755 100644 --- a/Source/Bake/Services/IDotNetTfmParser.cs +++ b/Source/Bake/Services/IDotNetTfmParser.cs @@ -26,6 +26,6 @@ namespace Bake.Services { public interface IDotNetTfmParser { - bool TryParse(string moniker, out TargetFrameworkVersion targetFrameworkVersion); + bool TryParse(string moniker, out TargetFrameworkVersion? targetFrameworkVersion); } } diff --git a/Source/Bake/Services/IGoModParser.cs b/Source/Bake/Services/IGoModParser.cs index defcccb4..a0478c42 100644 --- a/Source/Bake/Services/IGoModParser.cs +++ b/Source/Bake/Services/IGoModParser.cs @@ -26,6 +26,6 @@ namespace Bake.Services { public interface IGoModParser { - bool TryParse(string str, out GoModuleName goModuleName); + bool TryParse(string str, out GoModuleName? goModuleName); } } diff --git a/Source/Bake/Services/IPlatformParser.cs b/Source/Bake/Services/IPlatformParser.cs index 80098122..c92cfbd9 100644 --- a/Source/Bake/Services/IPlatformParser.cs +++ b/Source/Bake/Services/IPlatformParser.cs @@ -26,6 +26,6 @@ namespace Bake.Services { public interface IPlatformParser { - bool TryParse(string str, out Platform platform); + bool TryParse(string str, out Platform? platform); } } diff --git a/Source/Bake/Services/PlatformParser.cs b/Source/Bake/Services/PlatformParser.cs index f3a4cc91..f08f1f38 100644 --- a/Source/Bake/Services/PlatformParser.cs +++ b/Source/Bake/Services/PlatformParser.cs @@ -20,9 +20,7 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; using System.Collections.Concurrent; -using System.Collections.Generic; using Bake.ValueObjects; // ReSharper disable StringLiteralTypo @@ -50,7 +48,7 @@ public class PlatformParser : IPlatformParser ["macosx"] = ExecutableOperatingSystem.MacOSX, }; - public bool TryParse(string str, out Platform platform) + public bool TryParse(string str, out Platform? platform) { platform = null; diff --git a/Source/Bake/Services/ReleaseNotesParser.cs b/Source/Bake/Services/ReleaseNotesParser.cs index 17b5266d..4b6610cd 100644 --- a/Source/Bake/Services/ReleaseNotesParser.cs +++ b/Source/Bake/Services/ReleaseNotesParser.cs @@ -58,8 +58,8 @@ public async Task> ParseAsync( private IEnumerable ParseLines(IEnumerable lines) { - List releaseNotes = null; - SemVer version = null; + List? releaseNotes = null; + SemVer? version = null; foreach (var line in lines) { @@ -72,7 +72,7 @@ private IEnumerable ParseLines(IEnumerable lines) { if (releaseNotes != null) { - yield return Create(version, releaseNotes); + yield return Create(version!, releaseNotes); releaseNotes = null; } @@ -97,7 +97,7 @@ private IEnumerable ParseLines(IEnumerable lines) if (releaseNotes != null) { - yield return Create(version, releaseNotes); + yield return Create(version!, releaseNotes); } } diff --git a/Source/Bake/Services/Runner.cs b/Source/Bake/Services/Runner.cs index f51aab62..cf767f01 100644 --- a/Source/Bake/Services/Runner.cs +++ b/Source/Bake/Services/Runner.cs @@ -20,12 +20,8 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Collections.Generic; using System.Diagnostics; using System.Reactive.Subjects; -using System.Threading; -using System.Threading.Tasks; using Bake.Core; using Microsoft.Extensions.Logging; @@ -131,10 +127,9 @@ private void OnStdErr(object sender, DataReceivedEventArgs e) _stdErr.OnNext(output); } - private static string CleanupOutput(string str) + private static string CleanupOutput(string? str) { - return (str ?? string.Empty) - .Trim('\n', '\r'); + return (str ?? string.Empty).Trim('\n', '\r'); } private static Process CreateProcess( diff --git a/Source/Bake/Services/Tools/DotNet.cs b/Source/Bake/Services/Tools/DotNet.cs index c2ade822..05faece9 100644 --- a/Source/Bake/Services/Tools/DotNet.cs +++ b/Source/Bake/Services/Tools/DotNet.cs @@ -21,11 +21,8 @@ // SOFTWARE. using System.Collections.Concurrent; -using System.Collections.Generic; -using System.IO; -using System.Threading; -using System.Threading.Tasks; using Bake.Core; +using Bake.Exceptions; using Bake.Extensions; using Bake.Services.Tools.DotNetArguments; using Bake.ValueObjects; @@ -229,6 +226,11 @@ public async Task NuGetPushAsync( argument.Source, cancellationToken); + if (string.IsNullOrEmpty(apiKey)) + { + throw new BuildFailedException($"No NuGet API key found for {argument.Source.Host}"); + } + var arguments = new List { "nuget", "push", diff --git a/Source/Bake/Services/Tools/DotNetArguments/DotNetArgument.cs b/Source/Bake/Services/Tools/DotNetArguments/DotNetArgument.cs index 5fcba2e1..58f3f51b 100644 --- a/Source/Bake/Services/Tools/DotNetArguments/DotNetArgument.cs +++ b/Source/Bake/Services/Tools/DotNetArguments/DotNetArgument.cs @@ -20,7 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System.IO; using Bake.Core; namespace Bake.Services.Tools.DotNetArguments @@ -33,7 +32,7 @@ public abstract class DotNetArgument : Argument protected DotNetArgument(string filePath) { FilePath = Path.GetFullPath(filePath); - WorkingDirectory = Path.GetDirectoryName(filePath); + WorkingDirectory = Path.GetDirectoryName(filePath)!; } } } diff --git a/Source/Bake/ValueObjects/Artifacts/Artifact.cs b/Source/Bake/ValueObjects/Artifacts/Artifact.cs index c20d64f6..c4fc9b39 100644 --- a/Source/Bake/ValueObjects/Artifacts/Artifact.cs +++ b/Source/Bake/ValueObjects/Artifacts/Artifact.cs @@ -20,19 +20,12 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Collections.Generic; -using System.Threading; - namespace Bake.ValueObjects.Artifacts { public abstract class Artifact : ValueObject { public static IReadOnlyCollection Empty { get; } = new Artifact[] { }; - [Obsolete] - protected Artifact() { } - public abstract IAsyncEnumerable ValidateAsync( CancellationToken cancellationToken); diff --git a/Source/Bake/ValueObjects/Artifacts/ContainerArtifact.cs b/Source/Bake/ValueObjects/Artifacts/ContainerArtifact.cs index b14d46d0..d8b08314 100644 --- a/Source/Bake/ValueObjects/Artifacts/ContainerArtifact.cs +++ b/Source/Bake/ValueObjects/Artifacts/ContainerArtifact.cs @@ -20,11 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Collections.Generic; -using System.Linq; -using System.Runtime.CompilerServices; -using System.Threading; using YamlDotNet.Serialization; namespace Bake.ValueObjects.Artifacts @@ -33,10 +28,10 @@ namespace Bake.ValueObjects.Artifacts public class ContainerArtifact : Artifact { [YamlMember] - public string Name { get; [Obsolete] set; } + public string Name { get; [Obsolete] set; } = null!; [YamlMember] - public string[] Tags { get; [Obsolete] set; } + public string[] Tags { get; [Obsolete] set; } = null!; [Obsolete] public ContainerArtifact() { } @@ -51,10 +46,10 @@ public ContainerArtifact( } #pragma warning restore CS0612 // Type or member is obsolete - public override async IAsyncEnumerable ValidateAsync( - [EnumeratorCancellation] CancellationToken _) + public override IAsyncEnumerable ValidateAsync( + /*[EnumeratorCancellation]*/ CancellationToken _) { - yield break; + return AsyncEnumerable.Empty(); } public override IEnumerable PrettyNames() diff --git a/Source/Bake/ValueObjects/Artifacts/DirectoryArtifact.cs b/Source/Bake/ValueObjects/Artifacts/DirectoryArtifact.cs index 30142eb6..96543eee 100644 --- a/Source/Bake/ValueObjects/Artifacts/DirectoryArtifact.cs +++ b/Source/Bake/ValueObjects/Artifacts/DirectoryArtifact.cs @@ -20,19 +20,12 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Runtime.CompilerServices; -using System.Threading; - namespace Bake.ValueObjects.Artifacts { [Artifact(Names.Artifacts.DirectoryArtifact)] public class DirectoryArtifact : Artifact { - public string Path { get; [Obsolete] set; } + public string Path { get; [Obsolete] set; } = null!; public DirectoryArtifact( string path) @@ -45,13 +38,12 @@ public DirectoryArtifact( [Obsolete] public DirectoryArtifact() { } - public override async IAsyncEnumerable ValidateAsync( - [EnumeratorCancellation] CancellationToken _) + public override IAsyncEnumerable ValidateAsync( + /*[EnumeratorCancellation]*/ CancellationToken _) { - if (!Directory.Exists(Path)) - { - yield return $"Directory {Path} does not exist"; - } + return !Directory.Exists(Path) + ? AsyncEnumerable.Repeat($"Directory {Path} does not exist", 1) + : AsyncEnumerable.Empty(); } public override IEnumerable PrettyNames() diff --git a/Source/Bake/ValueObjects/Artifacts/DockerFileArtifact.cs b/Source/Bake/ValueObjects/Artifacts/DockerFileArtifact.cs index 26f90d59..93616e90 100644 --- a/Source/Bake/ValueObjects/Artifacts/DockerFileArtifact.cs +++ b/Source/Bake/ValueObjects/Artifacts/DockerFileArtifact.cs @@ -20,9 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Collections.Generic; -using System.Linq; using YamlDotNet.Serialization; namespace Bake.ValueObjects.Artifacts @@ -31,7 +28,7 @@ namespace Bake.ValueObjects.Artifacts public class DockerFileArtifact : FileArtifact { [YamlMember] - public string Name { get; [Obsolete] set; } + public string Name { get; [Obsolete] set; } = null!; [Obsolete] public DockerFileArtifact() { } diff --git a/Source/Bake/ValueObjects/Artifacts/DocumentationSiteArtifact.cs b/Source/Bake/ValueObjects/Artifacts/DocumentationSiteArtifact.cs index 290f8ec5..4710ce8b 100644 --- a/Source/Bake/ValueObjects/Artifacts/DocumentationSiteArtifact.cs +++ b/Source/Bake/ValueObjects/Artifacts/DocumentationSiteArtifact.cs @@ -20,18 +20,12 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Collections.Generic; -using System.IO; -using System.Runtime.CompilerServices; -using System.Threading; - namespace Bake.ValueObjects.Artifacts { [Artifact(Names.Artifacts.DocumentationSiteArtifact)] public class DocumentationSiteArtifact : Artifact { - public string Path { get; [Obsolete] set; } + public string Path { get; [Obsolete] set; } = null!; #pragma warning disable CS0612 // Type or member is obsolete public DocumentationSiteArtifact( @@ -44,13 +38,12 @@ public DocumentationSiteArtifact( [Obsolete] public DocumentationSiteArtifact() { } - public override async IAsyncEnumerable ValidateAsync( - [EnumeratorCancellation] CancellationToken _) + public override IAsyncEnumerable ValidateAsync( + /*[EnumeratorCancellation]*/ CancellationToken _) { - if (!Directory.Exists(Path)) - { - yield return $"Directory {Path} does not exist"; - } + return !Directory.Exists(Path) + ? AsyncEnumerable.Repeat($"Directory {Path} does not exist", 0) + : AsyncEnumerable.Empty(); } public override IEnumerable PrettyNames() diff --git a/Source/Bake/ValueObjects/Artifacts/ExecutableArtifact.cs b/Source/Bake/ValueObjects/Artifacts/ExecutableArtifact.cs index bddcb7fb..623583a1 100644 --- a/Source/Bake/ValueObjects/Artifacts/ExecutableArtifact.cs +++ b/Source/Bake/ValueObjects/Artifacts/ExecutableArtifact.cs @@ -20,9 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Collections.Generic; -using System.IO; using YamlDotNet.Serialization; namespace Bake.ValueObjects.Artifacts @@ -31,10 +28,10 @@ namespace Bake.ValueObjects.Artifacts public class ExecutableArtifact : FileArtifact { [YamlMember] - public string Name { get; [Obsolete] set; } + public string Name { get; [Obsolete] set; } = null!; [YamlMember] - public Platform Platform { get; [Obsolete] set; } + public Platform Platform { get; [Obsolete] set; } = null!; [Obsolete] public ExecutableArtifact() { } diff --git a/Source/Bake/ValueObjects/Artifacts/FileArtifact.cs b/Source/Bake/ValueObjects/Artifacts/FileArtifact.cs index 1db80d5b..cd2759c8 100644 --- a/Source/Bake/ValueObjects/Artifacts/FileArtifact.cs +++ b/Source/Bake/ValueObjects/Artifacts/FileArtifact.cs @@ -20,17 +20,11 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Collections.Generic; -using System.IO; -using System.Runtime.CompilerServices; -using System.Threading; - namespace Bake.ValueObjects.Artifacts { public abstract class FileArtifact : Artifact { - public string Path { get; [Obsolete] set; } + public string Path { get; [Obsolete] set; } = null!; [Obsolete] protected FileArtifact() { } @@ -43,13 +37,12 @@ protected FileArtifact( } #pragma warning restore CS0612 // Type or member is obsolete - public override async IAsyncEnumerable ValidateAsync( - [EnumeratorCancellation] CancellationToken _) + public override IAsyncEnumerable ValidateAsync( + /*[EnumeratorCancellation]*/ CancellationToken _) { - if (!File.Exists(Path)) - { - yield return $"File {Path} does not exist"; - } + return !File.Exists(Path) + ? AsyncEnumerable.Repeat($"File {Path} does not exist", 0) + : AsyncEnumerable.Empty(); } } } diff --git a/Source/Bake/ValueObjects/Author.cs b/Source/Bake/ValueObjects/Author.cs index 2fd02e40..66998ad1 100644 --- a/Source/Bake/ValueObjects/Author.cs +++ b/Source/Bake/ValueObjects/Author.cs @@ -20,7 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; using YamlDotNet.Serialization; namespace Bake.ValueObjects @@ -28,10 +27,10 @@ namespace Bake.ValueObjects public class Author { [YamlMember] - public string Name { get; [Obsolete] set; } + public string Name { get; [Obsolete] set; } = null!; [YamlMember] - public string Email { get; [Obsolete] set; } + public string Email { get; [Obsolete] set; } = null!; [Obsolete] public Author() { } @@ -40,8 +39,10 @@ public Author( string name, string email) { +#pragma warning disable CS0612 // Type or member is obsolete Name = name; Email = email; +#pragma warning restore CS0612 // Type or member is obsolete } } } diff --git a/Source/Bake/ValueObjects/BakeProjects/BakeProject.cs b/Source/Bake/ValueObjects/BakeProjects/BakeProject.cs index 3dea36f5..53cf1c04 100644 --- a/Source/Bake/ValueObjects/BakeProjects/BakeProject.cs +++ b/Source/Bake/ValueObjects/BakeProjects/BakeProject.cs @@ -33,6 +33,6 @@ public class BakeProject public BakeProjectType Type { get; set; } [YamlMember] - public BakeProjectService Service { get; set; } + public BakeProjectService Service { get; set; } = null!; } } diff --git a/Source/Bake/ValueObjects/Book.cs b/Source/Bake/ValueObjects/Book.cs index 91da074b..20a9671a 100644 --- a/Source/Bake/ValueObjects/Book.cs +++ b/Source/Bake/ValueObjects/Book.cs @@ -20,7 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; using Bake.ValueObjects.Recipes; using YamlDotNet.Serialization; @@ -29,10 +28,10 @@ namespace Bake.ValueObjects public class Book { [YamlMember] - public Ingredients Ingredients { get; [Obsolete] set; } + public Ingredients Ingredients { get; [Obsolete] set; } = null!; [YamlMember] - public Recipe[] Recipes { get; [Obsolete] set; } + public Recipe[] Recipes { get; [Obsolete] set; } = null!; [Obsolete] public Book() { } diff --git a/Source/Bake/ValueObjects/Change.cs b/Source/Bake/ValueObjects/Change.cs index c12145b5..5b5246a1 100644 --- a/Source/Bake/ValueObjects/Change.cs +++ b/Source/Bake/ValueObjects/Change.cs @@ -20,7 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; using YamlDotNet.Serialization; namespace Bake.ValueObjects @@ -31,7 +30,7 @@ public class Change public ChangeType Type { get; [Obsolete] set; } [YamlMember] - public string Text { get; [Obsolete] set; } + public string Text { get; [Obsolete] set; } = null!; [Obsolete] public Change() { } diff --git a/Source/Bake/ValueObjects/Commit.cs b/Source/Bake/ValueObjects/Commit.cs index 5fe066d3..1fea720a 100644 --- a/Source/Bake/ValueObjects/Commit.cs +++ b/Source/Bake/ValueObjects/Commit.cs @@ -20,7 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; using YamlDotNet.Serialization; namespace Bake.ValueObjects @@ -28,13 +27,13 @@ namespace Bake.ValueObjects public class Commit { [YamlMember] - public string Message { get; [Obsolete] set; } + public string Message { get; [Obsolete] set; } = null!; [YamlMember] - public string Sha { get; [Obsolete] set; } + public string Sha { get; [Obsolete] set; } = null!; [YamlMember] - public Author Author { get; [Obsolete] set; } + public Author Author { get; [Obsolete] set; } = null!; [YamlMember] public DateTimeOffset Time { get; [Obsolete] set; } diff --git a/Source/Bake/ValueObjects/Destinations/ChartMuseumDestination.cs b/Source/Bake/ValueObjects/Destinations/ChartMuseumDestination.cs index b4c825cc..046605ec 100644 --- a/Source/Bake/ValueObjects/Destinations/ChartMuseumDestination.cs +++ b/Source/Bake/ValueObjects/Destinations/ChartMuseumDestination.cs @@ -20,7 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; using YamlDotNet.Serialization; namespace Bake.ValueObjects.Destinations @@ -29,7 +28,7 @@ namespace Bake.ValueObjects.Destinations public class ChartMuseumDestination : Destination { [YamlMember(typeof(string))] - public string Url { get; [Obsolete] set; } + public string Url { get; [Obsolete] set; } = null!; [Obsolete] public ChartMuseumDestination() { } diff --git a/Source/Bake/ValueObjects/Destinations/ContainerRegistryDestination.cs b/Source/Bake/ValueObjects/Destinations/ContainerRegistryDestination.cs index e5a5d791..f3d3434a 100644 --- a/Source/Bake/ValueObjects/Destinations/ContainerRegistryDestination.cs +++ b/Source/Bake/ValueObjects/Destinations/ContainerRegistryDestination.cs @@ -20,7 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; using YamlDotNet.Serialization; namespace Bake.ValueObjects.Destinations @@ -29,7 +28,7 @@ namespace Bake.ValueObjects.Destinations public class ContainerRegistryDestination : Destination { [YamlMember(typeof(string))] - public string Url { get; [Obsolete] set; } + public string Url { get; [Obsolete] set; } = null!; [Obsolete] public ContainerRegistryDestination() { } diff --git a/Source/Bake/ValueObjects/Destinations/GitHubReleaseDestination.cs b/Source/Bake/ValueObjects/Destinations/GitHubReleaseDestination.cs index ad1283b1..ee6644eb 100644 --- a/Source/Bake/ValueObjects/Destinations/GitHubReleaseDestination.cs +++ b/Source/Bake/ValueObjects/Destinations/GitHubReleaseDestination.cs @@ -20,7 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; using YamlDotNet.Serialization; namespace Bake.ValueObjects.Destinations @@ -29,10 +28,10 @@ namespace Bake.ValueObjects.Destinations public class GitHubReleaseDestination : Destination { [YamlMember(typeof(string))] - public string Owner { get; [Obsolete] set; } + public string Owner { get; [Obsolete] set; } = null!; [YamlMember(typeof(string))] - public string Repository { get; [Obsolete] set; } + public string Repository { get; [Obsolete] set; } = null!; [Obsolete] public GitHubReleaseDestination() { } diff --git a/Source/Bake/ValueObjects/Destinations/NuGetRegistryDestination.cs b/Source/Bake/ValueObjects/Destinations/NuGetRegistryDestination.cs index 925a0359..b184bd6c 100644 --- a/Source/Bake/ValueObjects/Destinations/NuGetRegistryDestination.cs +++ b/Source/Bake/ValueObjects/Destinations/NuGetRegistryDestination.cs @@ -20,7 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; using YamlDotNet.Serialization; namespace Bake.ValueObjects.Destinations @@ -29,7 +28,7 @@ namespace Bake.ValueObjects.Destinations public class NuGetRegistryDestination : Destination { [YamlMember(typeof(string))] - public Uri Url { get; [Obsolete] set; } + public Uri Url { get; [Obsolete] set; } = null!; [Obsolete] public NuGetRegistryDestination() { } diff --git a/Source/Bake/ValueObjects/Destinations/OctopusDeployDestination.cs b/Source/Bake/ValueObjects/Destinations/OctopusDeployDestination.cs index cd6d15bc..c5d19be1 100644 --- a/Source/Bake/ValueObjects/Destinations/OctopusDeployDestination.cs +++ b/Source/Bake/ValueObjects/Destinations/OctopusDeployDestination.cs @@ -20,7 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; using YamlDotNet.Serialization; namespace Bake.ValueObjects.Destinations @@ -29,7 +28,7 @@ namespace Bake.ValueObjects.Destinations public class OctopusDeployDestination : Destination { [YamlMember(typeof(string))] - public string Url { get; [Obsolete] set; } + public string Url { get; [Obsolete] set; } = null!; [Obsolete] public OctopusDeployDestination() { } diff --git a/Source/Bake/ValueObjects/DotNet/VisualStudioProject.cs b/Source/Bake/ValueObjects/DotNet/VisualStudioProject.cs index 784faded..7b55e8a5 100644 --- a/Source/Bake/ValueObjects/DotNet/VisualStudioProject.cs +++ b/Source/Bake/ValueObjects/DotNet/VisualStudioProject.cs @@ -44,7 +44,7 @@ public VisualStudioProject( CsProj = csProj; Name = name; PreferredName = preferredName; - Directory = System.IO.Path.GetDirectoryName(path); + Directory = System.IO.Path.GetDirectoryName(path)!; } } } diff --git a/Source/Bake/ValueObjects/GitHubInformation.cs b/Source/Bake/ValueObjects/GitHubInformation.cs index 99590c24..b8f7bc82 100644 --- a/Source/Bake/ValueObjects/GitHubInformation.cs +++ b/Source/Bake/ValueObjects/GitHubInformation.cs @@ -20,7 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; using YamlDotNet.Serialization; namespace Bake.ValueObjects @@ -28,16 +27,16 @@ namespace Bake.ValueObjects public class GitHubInformation { [YamlMember] - public string Owner { get; [Obsolete] set; } + public string Owner { get; [Obsolete] set; } = null!; [YamlMember] - public string Repository { get; [Obsolete] set; } + public string Repository { get; [Obsolete] set; } = null!; [YamlMember(typeof(string))] - public Uri Url { get; [Obsolete] set; } + public Uri Url { get; [Obsolete] set; } = null!; [YamlMember(typeof(string))] - public Uri ApiUrl { get; [Obsolete] set; } + public Uri ApiUrl { get; [Obsolete] set; } = null!; [Obsolete] public GitHubInformation() { } diff --git a/Source/Bake/ValueObjects/Recipes/ChartMuseum/ChartMuseumUploadRecipe.cs b/Source/Bake/ValueObjects/Recipes/ChartMuseum/ChartMuseumUploadRecipe.cs index 461906a1..383bd7cb 100644 --- a/Source/Bake/ValueObjects/Recipes/ChartMuseum/ChartMuseumUploadRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/ChartMuseum/ChartMuseumUploadRecipe.cs @@ -20,7 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; using YamlDotNet.Serialization; namespace Bake.ValueObjects.Recipes.ChartMuseum @@ -29,10 +28,10 @@ namespace Bake.ValueObjects.Recipes.ChartMuseum public class ChartMuseumUploadRecipe : Recipe { [YamlMember(SerializeAs = typeof(string))] - public Uri Url { get; [Obsolete] set; } + public Uri Url { get; [Obsolete] set; } = null!; [YamlMember] - public string[] Packages { get; [Obsolete] set; } + public string[] Packages { get; [Obsolete] set; } = null!; [Obsolete] public ChartMuseumUploadRecipe() { } diff --git a/Source/Bake/ValueObjects/Recipes/Docker/DockerBuildRecipe.cs b/Source/Bake/ValueObjects/Recipes/Docker/DockerBuildRecipe.cs index 6d8e61df..cd7fd17f 100644 --- a/Source/Bake/ValueObjects/Recipes/Docker/DockerBuildRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/Docker/DockerBuildRecipe.cs @@ -20,9 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Collections.Generic; -using System.Linq; using Bake.ValueObjects.Artifacts; using YamlDotNet.Serialization; @@ -32,19 +29,19 @@ namespace Bake.ValueObjects.Recipes.Docker public class DockerBuildRecipe : Recipe { [YamlMember] - public string WorkingDirectory { get; [Obsolete] set; } + public string WorkingDirectory { get; [Obsolete] set; } = null!; [YamlMember] - public string Name { get; [Obsolete] set; } + public string Name { get; [Obsolete] set; } = null!; [YamlMember] - public string[] Tags { get; [Obsolete] set; } + public string[] Tags { get; [Obsolete] set; } = null!; [YamlMember] public bool Compress { get; [Obsolete] set; } [YamlMember] - public Dictionary SecretMounts { get; [Obsolete] set; } + public Dictionary SecretMounts { get; [Obsolete] set; } = null!; [Obsolete] public DockerBuildRecipe() { } diff --git a/Source/Bake/ValueObjects/Recipes/Docker/DockerPushRecipe.cs b/Source/Bake/ValueObjects/Recipes/Docker/DockerPushRecipe.cs index f71e6886..b562b0d7 100644 --- a/Source/Bake/ValueObjects/Recipes/Docker/DockerPushRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/Docker/DockerPushRecipe.cs @@ -20,9 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Collections.Generic; -using System.Linq; using YamlDotNet.Serialization; namespace Bake.ValueObjects.Recipes.Docker @@ -31,7 +28,7 @@ namespace Bake.ValueObjects.Recipes.Docker public class DockerPushRecipe : Recipe { [YamlMember] - public string[] Tags { get; [Obsolete] set; } + public string[] Tags { get; [Obsolete] set; } = null!; [Obsolete] public DockerPushRecipe() { } diff --git a/Source/Bake/ValueObjects/Recipes/DotNet/DotNetBuildSolutionRecipe.cs b/Source/Bake/ValueObjects/Recipes/DotNet/DotNetBuildSolutionRecipe.cs index d79d47de..50eb3b6a 100644 --- a/Source/Bake/ValueObjects/Recipes/DotNet/DotNetBuildSolutionRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/DotNet/DotNetBuildSolutionRecipe.cs @@ -20,8 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Collections.Generic; using Bake.Core; using YamlDotNet.Serialization; @@ -31,10 +29,10 @@ namespace Bake.ValueObjects.Recipes.DotNet public class DotNetBuildSolutionRecipe : Recipe { [YamlMember] - public string Path { get; [Obsolete] set; } + public string Path { get; [Obsolete] set; } = null!; [YamlMember] - public string Configuration { get; [Obsolete] set; } + public string Configuration { get; [Obsolete] set; } = null!; [YamlMember] public bool Restore { get; [Obsolete] set; } @@ -43,10 +41,10 @@ public class DotNetBuildSolutionRecipe : Recipe public bool Incremental { get; [Obsolete] set; } [YamlMember] - public SemVer Version { get; [Obsolete] set; } + public SemVer Version { get; [Obsolete] set; } = null!; [YamlMember] - public Dictionary Properties { get; [Obsolete] set; } + public Dictionary Properties { get; [Obsolete] set; } = null!; [Obsolete] public DotNetBuildSolutionRecipe() { } diff --git a/Source/Bake/ValueObjects/Recipes/DotNet/DotNetCleanSolutionRecipe.cs b/Source/Bake/ValueObjects/Recipes/DotNet/DotNetCleanSolutionRecipe.cs index 7ff53114..dd1a0dea 100644 --- a/Source/Bake/ValueObjects/Recipes/DotNet/DotNetCleanSolutionRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/DotNet/DotNetCleanSolutionRecipe.cs @@ -20,7 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; using YamlDotNet.Serialization; namespace Bake.ValueObjects.Recipes.DotNet @@ -29,10 +28,10 @@ namespace Bake.ValueObjects.Recipes.DotNet public class DotNetCleanSolutionRecipe : Recipe { [YamlMember] - public string Path { get; [Obsolete] set; } + public string Path { get; [Obsolete] set; } = null!; [YamlMember] - public string Configuration { get; [Obsolete] set; } + public string Configuration { get; [Obsolete] set; } = null!; [Obsolete] public DotNetCleanSolutionRecipe() { } diff --git a/Source/Bake/ValueObjects/Recipes/DotNet/DotNetDockerFileRecipe.cs b/Source/Bake/ValueObjects/Recipes/DotNet/DotNetDockerFileRecipe.cs index 21c06447..ecce6eee 100644 --- a/Source/Bake/ValueObjects/Recipes/DotNet/DotNetDockerFileRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/DotNet/DotNetDockerFileRecipe.cs @@ -20,8 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Collections.Generic; using Bake.ValueObjects.Artifacts; using YamlDotNet.Serialization; @@ -31,19 +29,19 @@ namespace Bake.ValueObjects.Recipes.DotNet public class DotNetDockerFileRecipe : Recipe { [YamlMember] - public string ProjectPath { get; [Obsolete] set; } + public string ProjectPath { get; [Obsolete] set; } = null!; [YamlMember] - public string ServicePath { get; [Obsolete] set; } + public string ServicePath { get; [Obsolete] set; } = null!; [YamlMember] - public string EntryPoint { get; [Obsolete] set; } + public string EntryPoint { get; [Obsolete] set; } = null!; [YamlMember] - public string Moniker { get; [Obsolete] set; } + public string Moniker { get; [Obsolete] set; } = null!; [YamlMember] - public Dictionary Labels { get; [Obsolete] set; } + public Dictionary Labels { get; [Obsolete] set; } = null!; [Obsolete] public DotNetDockerFileRecipe() { } diff --git a/Source/Bake/ValueObjects/Recipes/DotNet/DotNetNuGetPushRecipe.cs b/Source/Bake/ValueObjects/Recipes/DotNet/DotNetNuGetPushRecipe.cs index 93c12ae6..117640b1 100644 --- a/Source/Bake/ValueObjects/Recipes/DotNet/DotNetNuGetPushRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/DotNet/DotNetNuGetPushRecipe.cs @@ -20,7 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; using YamlDotNet.Serialization; namespace Bake.ValueObjects.Recipes.DotNet @@ -29,17 +28,17 @@ namespace Bake.ValueObjects.Recipes.DotNet public class DotNetNuGetPushRecipe : Recipe { [YamlMember] - public string FilePath { get; [Obsolete] set; } + public string FilePath { get; [Obsolete] set; } = null!; [YamlMember(typeof(string))] - public Uri Source { get; [Obsolete] set; } + public Uri? Source { get; [Obsolete] set; } [Obsolete] public DotNetNuGetPushRecipe() { } public DotNetNuGetPushRecipe( string filePath, - Uri source = null) + Uri? source = null) { #pragma warning disable CS0612 // Type or member is obsolete FilePath = filePath; diff --git a/Source/Bake/ValueObjects/Recipes/DotNet/DotNetPackProjectRecipe.cs b/Source/Bake/ValueObjects/Recipes/DotNet/DotNetPackProjectRecipe.cs index 91a0d606..e729274e 100644 --- a/Source/Bake/ValueObjects/Recipes/DotNet/DotNetPackProjectRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/DotNet/DotNetPackProjectRecipe.cs @@ -20,8 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Collections.Generic; using Bake.Core; using Bake.ValueObjects.Artifacts; using YamlDotNet.Serialization; @@ -32,7 +30,7 @@ namespace Bake.ValueObjects.Recipes.DotNet public class DotNetPackProjectRecipe : Recipe { [YamlMember] - public string Path { get; [Obsolete] set; } + public string Path { get; [Obsolete] set; } = null!; [YamlMember] public bool Restore { get; [Obsolete] set; } @@ -47,13 +45,13 @@ public class DotNetPackProjectRecipe : Recipe public bool IncludeSource { get; [Obsolete] set; } [YamlMember] - public string Configuration { get; [Obsolete] set; } + public string Configuration { get; [Obsolete] set; } = null!; [YamlMember] - public SemVer Version { get; [Obsolete] set; } + public SemVer Version { get; [Obsolete] set; } = null!; [YamlMember] - public Dictionary Properties { get; [Obsolete] set; } + public Dictionary Properties { get; [Obsolete] set; } = null!; [Obsolete] public DotNetPackProjectRecipe() { } diff --git a/Source/Bake/ValueObjects/Recipes/DotNet/DotNetPublishRecipe.cs b/Source/Bake/ValueObjects/Recipes/DotNet/DotNetPublishRecipe.cs index 55400b46..9549494c 100644 --- a/Source/Bake/ValueObjects/Recipes/DotNet/DotNetPublishRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/DotNet/DotNetPublishRecipe.cs @@ -20,7 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; using Bake.ValueObjects.Artifacts; using YamlDotNet.Serialization; @@ -30,7 +29,7 @@ namespace Bake.ValueObjects.Recipes.DotNet public class DotNetPublishRecipe : Recipe { [YamlMember] - public string Path { get; [Obsolete] set; } + public string Path { get; [Obsolete] set; } = null!; [YamlMember] public bool PublishSingleFile { get; [Obsolete] set; } @@ -42,13 +41,13 @@ public class DotNetPublishRecipe : Recipe public bool Build { get; [Obsolete] set; } [YamlMember] - public string Configuration { get; [Obsolete] set; } + public string Configuration { get; [Obsolete] set; } = null!; [YamlMember] - public Platform Platform { get; [Obsolete] set; } + public Platform Platform { get; [Obsolete] set; } = null!; [YamlMember] - public string Output { get; [Obsolete] set; } + public string Output { get; [Obsolete] set; } = null!; [Obsolete] public DotNetPublishRecipe() { } diff --git a/Source/Bake/ValueObjects/Recipes/DotNet/DotNetRestoreSolutionRecipe.cs b/Source/Bake/ValueObjects/Recipes/DotNet/DotNetRestoreSolutionRecipe.cs index b06be5a5..a80ed5c0 100644 --- a/Source/Bake/ValueObjects/Recipes/DotNet/DotNetRestoreSolutionRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/DotNet/DotNetRestoreSolutionRecipe.cs @@ -20,7 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; using YamlDotNet.Serialization; namespace Bake.ValueObjects.Recipes.DotNet @@ -29,13 +28,13 @@ namespace Bake.ValueObjects.Recipes.DotNet public class DotNetRestoreSolutionRecipe : Recipe { [YamlMember] - public string Path { get; [Obsolete] set; } + public string Path { get; [Obsolete] set; } = null!; [YamlMember] public bool ClearLocalHttpCache { get; [Obsolete] set; } [YamlMember] - public string[] Sources { get; [Obsolete] set; } + public string[] Sources { get; [Obsolete] set; } = null!; [Obsolete] public DotNetRestoreSolutionRecipe() { } diff --git a/Source/Bake/ValueObjects/Recipes/DotNet/DotNetTestSolutionRecipe.cs b/Source/Bake/ValueObjects/Recipes/DotNet/DotNetTestSolutionRecipe.cs index 42e7efe4..2252d741 100644 --- a/Source/Bake/ValueObjects/Recipes/DotNet/DotNetTestSolutionRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/DotNet/DotNetTestSolutionRecipe.cs @@ -20,7 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; using YamlDotNet.Serialization; namespace Bake.ValueObjects.Recipes.DotNet @@ -29,7 +28,7 @@ namespace Bake.ValueObjects.Recipes.DotNet public class DotNetTestSolutionRecipe : Recipe { [YamlMember] - public string Path { get; [Obsolete] set; } + public string Path { get; [Obsolete] set; } = null!; [YamlMember] public bool Build { get; [Obsolete] set; } @@ -38,7 +37,7 @@ public class DotNetTestSolutionRecipe : Recipe public bool Restore { get; [Obsolete] set; } [YamlMember] - public string Configuration { get; [Obsolete] set; } + public string Configuration { get; [Obsolete] set; } = null!; [Obsolete] public DotNetTestSolutionRecipe() { } diff --git a/Source/Bake/ValueObjects/Recipes/GitHub/GitHubReleaseRecipe.cs b/Source/Bake/ValueObjects/Recipes/GitHub/GitHubReleaseRecipe.cs index a4ac9fa0..9c94d8c6 100644 --- a/Source/Bake/ValueObjects/Recipes/GitHub/GitHubReleaseRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/GitHub/GitHubReleaseRecipe.cs @@ -20,7 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; using Bake.Core; using Bake.ValueObjects.Artifacts; using YamlDotNet.Serialization; @@ -31,16 +30,16 @@ namespace Bake.ValueObjects.Recipes.GitHub public class GitHubReleaseRecipe : Recipe { [YamlMember] - public GitHubInformation GitHubInformation { get; [Obsolete] set; } + public GitHubInformation GitHubInformation { get; [Obsolete] set; } = null!; [YamlMember] - public SemVer Version { get; [Obsolete] set; } + public SemVer Version { get; [Obsolete] set; } = null!; [YamlMember] - public string Sha { get; [Obsolete] set; } + public string Sha { get; [Obsolete] set; } = null!; [YamlMember] - public ReleaseNotes ReleaseNotes { get; [Obsolete] set; } + public ReleaseNotes ReleaseNotes { get; [Obsolete] set; } = null!; [Obsolete] public GitHubReleaseRecipe() { } diff --git a/Source/Bake/ValueObjects/Recipes/Go/GoBuildRecipe.cs b/Source/Bake/ValueObjects/Recipes/Go/GoBuildRecipe.cs index 8f0cf79c..4f1cdb62 100644 --- a/Source/Bake/ValueObjects/Recipes/Go/GoBuildRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/Go/GoBuildRecipe.cs @@ -20,7 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; using Bake.ValueObjects.Artifacts; using YamlDotNet.Serialization; @@ -30,13 +29,13 @@ namespace Bake.ValueObjects.Recipes.Go public class GoBuildRecipe : Recipe { [YamlMember] - public string Output { get; [Obsolete] set; } + public string Output { get; [Obsolete] set; } = null!; [YamlMember] - public string WorkingDirectory { get; [Obsolete] set; } + public string WorkingDirectory { get; [Obsolete] set; } = null!; [YamlMember] - public Platform Platform { get; [Obsolete] set; } + public Platform Platform { get; [Obsolete] set; } = null!; [Obsolete] public GoBuildRecipe() { } diff --git a/Source/Bake/ValueObjects/Recipes/Go/GoDockerFileRecipe.cs b/Source/Bake/ValueObjects/Recipes/Go/GoDockerFileRecipe.cs index 0e136edc..6abd3514 100644 --- a/Source/Bake/ValueObjects/Recipes/Go/GoDockerFileRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/Go/GoDockerFileRecipe.cs @@ -20,8 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Collections.Generic; using Bake.ValueObjects.Artifacts; using YamlDotNet.Serialization; @@ -31,19 +29,19 @@ namespace Bake.ValueObjects.Recipes.Go public class GoDockerFileRecipe : Recipe { [YamlMember] - public string Name { get; [Obsolete] set; } + public string Name { get; [Obsolete] set; } = null!; [YamlMember] public int Port { get; [Obsolete] set; } [YamlMember] - public string ProjectPath { get; [Obsolete] set; } + public string ProjectPath { get; [Obsolete] set; } = null!; [YamlMember] - public Dictionary Labels { get; [Obsolete] set; } + public Dictionary Labels { get; [Obsolete] set; } = null!; [YamlMember] - public string Output { get; [Obsolete] set; } + public string Output { get; [Obsolete] set; } = null!; [Obsolete] public GoDockerFileRecipe() { } diff --git a/Source/Bake/ValueObjects/Recipes/Go/GoTestRecipe.cs b/Source/Bake/ValueObjects/Recipes/Go/GoTestRecipe.cs index 60627ccd..49b42e98 100644 --- a/Source/Bake/ValueObjects/Recipes/Go/GoTestRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/Go/GoTestRecipe.cs @@ -20,7 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; using YamlDotNet.Serialization; namespace Bake.ValueObjects.Recipes.Go @@ -29,7 +28,7 @@ namespace Bake.ValueObjects.Recipes.Go public class GoTestRecipe : Recipe { [YamlMember] - public string WorkingDirectory { get; [Obsolete] set; } + public string WorkingDirectory { get; [Obsolete] set; } = null!; [Obsolete] public GoTestRecipe() { } diff --git a/Source/Bake/ValueObjects/Recipes/Helm/HelmLintRecipe.cs b/Source/Bake/ValueObjects/Recipes/Helm/HelmLintRecipe.cs index bded53aa..c02d69e9 100644 --- a/Source/Bake/ValueObjects/Recipes/Helm/HelmLintRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/Helm/HelmLintRecipe.cs @@ -20,7 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; using YamlDotNet.Serialization; namespace Bake.ValueObjects.Recipes.Helm @@ -29,7 +28,7 @@ namespace Bake.ValueObjects.Recipes.Helm public class HelmLintRecipe : Recipe { [YamlMember] - public string ChartDirectory { get; [Obsolete] set; } + public string ChartDirectory { get; [Obsolete] set; } = null!; [Obsolete] public HelmLintRecipe() { } diff --git a/Source/Bake/ValueObjects/Recipes/Helm/HelmPackageRecipe.cs b/Source/Bake/ValueObjects/Recipes/Helm/HelmPackageRecipe.cs index 6d6a4d05..a1c6c174 100644 --- a/Source/Bake/ValueObjects/Recipes/Helm/HelmPackageRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/Helm/HelmPackageRecipe.cs @@ -20,7 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; using Bake.Core; using Bake.ValueObjects.Artifacts; using YamlDotNet.Serialization; @@ -31,13 +30,13 @@ namespace Bake.ValueObjects.Recipes.Helm public class HelmPackageRecipe : Recipe { [YamlMember] - public string ChartDirectory { get; [Obsolete] set; } + public string ChartDirectory { get; [Obsolete] set; } = null!; [YamlMember] - public string OutputDirectory { get; [Obsolete] set; } + public string OutputDirectory { get; [Obsolete] set; } = null!; [YamlMember] - public SemVer Version { get; [Obsolete] set; } + public SemVer Version { get; [Obsolete] set; } = null!; [Obsolete] public HelmPackageRecipe() { } diff --git a/Source/Bake/ValueObjects/Recipes/MkDocs/MkDocsBuildRecipe.cs b/Source/Bake/ValueObjects/Recipes/MkDocs/MkDocsBuildRecipe.cs index 0d33f57b..c73a82bc 100644 --- a/Source/Bake/ValueObjects/Recipes/MkDocs/MkDocsBuildRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/MkDocs/MkDocsBuildRecipe.cs @@ -20,7 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; using Bake.ValueObjects.Artifacts; using YamlDotNet.Serialization; @@ -30,7 +29,7 @@ namespace Bake.ValueObjects.Recipes.MkDocs public class MkDocsBuildRecipe : Recipe { [YamlMember] - public string WorkingDirectory { get; [Obsolete] set; } + public string WorkingDirectory { get; [Obsolete] set; } = null!; [YamlMember] public bool UseDirectoryUrls { get; [Obsolete] set; } @@ -39,7 +38,7 @@ public class MkDocsBuildRecipe : Recipe public bool Strict { get; [Obsolete] set; } [YamlMember] - public string OutputDirectory { get; } + public string OutputDirectory { get; } = null!; [Obsolete] public MkDocsBuildRecipe() {} diff --git a/Source/Bake/ValueObjects/Recipes/NodeJS/NodeJSDockerfileRecipe.cs b/Source/Bake/ValueObjects/Recipes/NodeJS/NodeJSDockerfileRecipe.cs index 753a078e..dfae61c2 100644 --- a/Source/Bake/ValueObjects/Recipes/NodeJS/NodeJSDockerfileRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/NodeJS/NodeJSDockerfileRecipe.cs @@ -20,8 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Collections.Generic; using Bake.ValueObjects.Artifacts; using YamlDotNet.Serialization; @@ -31,13 +29,13 @@ namespace Bake.ValueObjects.Recipes.NodeJS public class NodeJSDockerfileRecipe : Recipe { [YamlMember] - public string WorkingDirectory { get; [Obsolete] set; } + public string WorkingDirectory { get; [Obsolete] set; } = null!; [YamlMember] - public string Main { get; [Obsolete] set; } + public string Main { get; [Obsolete] set; } = null!; [YamlMember] - public Dictionary Labels { get; [Obsolete] set; } + public Dictionary Labels { get; [Obsolete] set; } = null!; [Obsolete] public NodeJSDockerfileRecipe() { } diff --git a/Source/Bake/ValueObjects/Recipes/NodeJS/NpmCIRecipe.cs b/Source/Bake/ValueObjects/Recipes/NodeJS/NpmCIRecipe.cs index f6da1e48..ed4a36d3 100644 --- a/Source/Bake/ValueObjects/Recipes/NodeJS/NpmCIRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/NodeJS/NpmCIRecipe.cs @@ -20,7 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; using YamlDotNet.Serialization; namespace Bake.ValueObjects.Recipes.NodeJS @@ -29,7 +28,7 @@ namespace Bake.ValueObjects.Recipes.NodeJS public class NpmCIRecipe : Recipe { [YamlMember] - public string WorkingDirectory { get; [Obsolete] set; } + public string WorkingDirectory { get; [Obsolete] set; } = null!; [Obsolete] public NpmCIRecipe() { } diff --git a/Source/Bake/ValueObjects/Recipes/OctopusDeploy/OctopusDeployPackagePushRecipe.cs b/Source/Bake/ValueObjects/Recipes/OctopusDeploy/OctopusDeployPackagePushRecipe.cs index 626bb459..053077ee 100644 --- a/Source/Bake/ValueObjects/Recipes/OctopusDeploy/OctopusDeployPackagePushRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/OctopusDeploy/OctopusDeployPackagePushRecipe.cs @@ -20,7 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; using YamlDotNet.Serialization; namespace Bake.ValueObjects.Recipes.OctopusDeploy @@ -29,10 +28,10 @@ namespace Bake.ValueObjects.Recipes.OctopusDeploy public class OctopusDeployPackagePushRecipe : Recipe { [YamlMember(SerializeAs = typeof(string))] - public Uri Url { get; [Obsolete] set; } + public Uri Url { get; [Obsolete] set; } = null!; [YamlMember] - public string[] Packages { get; [Obsolete] set; } + public string[] Packages { get; [Obsolete] set; } = null!; [Obsolete] public OctopusDeployPackagePushRecipe() { } diff --git a/Source/Bake/ValueObjects/Recipes/Pip/PipInstallRequirementsRecipe.cs b/Source/Bake/ValueObjects/Recipes/Pip/PipInstallRequirementsRecipe.cs index cca4c5a7..72186842 100644 --- a/Source/Bake/ValueObjects/Recipes/Pip/PipInstallRequirementsRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/Pip/PipInstallRequirementsRecipe.cs @@ -20,7 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; using YamlDotNet.Serialization; namespace Bake.ValueObjects.Recipes.Pip @@ -29,10 +28,10 @@ namespace Bake.ValueObjects.Recipes.Pip public class PipInstallRequirementsRecipe : Recipe { [YamlMember] - public string Path { get; [Obsolete] set; } + public string Path { get; [Obsolete] set; } = null!; [YamlMember] - public string WorkingDirectory { get; [Obsolete] set; } + public string WorkingDirectory { get; [Obsolete] set; } = null!; [Obsolete] public PipInstallRequirementsRecipe() { } diff --git a/Source/Bake/ValueObjects/Recipes/Python/PythonFlaskDockerfileRecipe.cs b/Source/Bake/ValueObjects/Recipes/Python/PythonFlaskDockerfileRecipe.cs index 00c7382f..9a331164 100644 --- a/Source/Bake/ValueObjects/Recipes/Python/PythonFlaskDockerfileRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/Python/PythonFlaskDockerfileRecipe.cs @@ -20,8 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Collections.Generic; using Bake.ValueObjects.Artifacts; using YamlDotNet.Serialization; @@ -31,10 +29,10 @@ namespace Bake.ValueObjects.Recipes.Python public class PythonFlaskDockerfileRecipe : Recipe { [YamlMember] - public string Directory { get; [Obsolete] set; } + public string Directory { get; [Obsolete] set; } = null!; [YamlMember] - public Dictionary Labels { get; [Obsolete] set; } + public Dictionary Labels { get; [Obsolete] set; } = null!; [Obsolete] public PythonFlaskDockerfileRecipe() { } diff --git a/Source/Bake/ValueObjects/ReleaseNotes.cs b/Source/Bake/ValueObjects/ReleaseNotes.cs index 6ffc8801..2af635ae 100644 --- a/Source/Bake/ValueObjects/ReleaseNotes.cs +++ b/Source/Bake/ValueObjects/ReleaseNotes.cs @@ -20,7 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; using Bake.Core; using YamlDotNet.Serialization; @@ -29,10 +28,10 @@ namespace Bake.ValueObjects public class ReleaseNotes { [YamlMember] - public SemVer Version { get; [Obsolete] set; } + public SemVer Version { get; [Obsolete] set; } = null!; [YamlMember] - public string Notes { get; [Obsolete] set; } + public string Notes { get; [Obsolete] set; } = null!; [Obsolete] public ReleaseNotes() { } diff --git a/Source/Bake/ValueObjects/SingleValueObject.cs b/Source/Bake/ValueObjects/SingleValueObject.cs index 2c246309..e83a5aa2 100644 --- a/Source/Bake/ValueObjects/SingleValueObject.cs +++ b/Source/Bake/ValueObjects/SingleValueObject.cs @@ -20,10 +20,7 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Collections.Generic; using System.Reflection; -using System.Text; using Bake.Extensions; namespace Bake.ValueObjects @@ -46,7 +43,7 @@ protected SingleValueObject(T value) Value = value; } - public int CompareTo(object obj) + public int CompareTo(object? obj) { if (ReferenceEquals(null, obj)) { @@ -71,7 +68,7 @@ public override string ToString() { return ReferenceEquals(Value, null) ? string.Empty - : Value.ToString(); + : Value.ToString()!; } public object GetValue() diff --git a/Source/Bake/ValueObjects/Tag.cs b/Source/Bake/ValueObjects/Tag.cs index aa8a95fb..5cfc3421 100644 --- a/Source/Bake/ValueObjects/Tag.cs +++ b/Source/Bake/ValueObjects/Tag.cs @@ -20,7 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; using Bake.Core; using YamlDotNet.Serialization; @@ -29,10 +28,10 @@ namespace Bake.ValueObjects public class Tag { [YamlMember] - public SemVer Version { get; [Obsolete] set; } + public SemVer Version { get; [Obsolete] set; } = null!; [YamlMember] - public string Sha { get; [Obsolete] set; } + public string Sha { get; [Obsolete] set; } = null!; [Obsolete] public Tag(){} From 13ee5591807eb501019d0cd9b2b09bc99edd72f9 Mon Sep 17 00:00:00 2001 From: Rasmus Mikkelsen Date: Thu, 11 Jan 2024 21:09:49 +0100 Subject: [PATCH 4/6] Going through the motions of handling nullable --- .../Bake.Tests/ExplicitTests/GitHubTests.cs | 2 +- Source/Bake.Tests/Helpers/BakeTest.cs | 28 ++++--------------- Source/Bake.Tests/Helpers/DockerHelper.cs | 4 +-- Source/Bake.Tests/Helpers/ProjectHelper.cs | 8 ++---- Source/Bake.Tests/Helpers/ServiceTest.cs | 12 ++++---- Source/Bake.Tests/Helpers/SocketHelper.cs | 2 +- Source/Bake.Tests/Helpers/TestFor.cs | 7 ++--- Source/Bake.Tests/Helpers/TestIt.cs | 15 ++++------ Source/Bake.Tests/Helpers/TestProject.cs | 2 +- Source/Bake.Tests/Helpers/TestState.cs | 7 ++--- .../ServiceTests/GitHubTests.cs | 8 ++---- .../UnitTests/Commands/CommandFactoryTests.cs | 5 +--- .../Gathers/ReleaseNotesGatherTests.cs | 11 ++------ .../UnitTests/Core/FileSystemTests.cs | 6 +--- .../UnitTests/Core/GitRemoteParserTests.cs | 2 +- .../UnitTests/Core/NuGetConfigurationTests.cs | 5 +--- .../Services/ComposerOrderingTests.cs | 6 +--- .../Services/ContainerTagParserTests.cs | 2 +- .../Services/DestinationParserTests.cs | 8 +++--- .../Services/DotNetTfmParserTests.cs | 2 +- .../UnitTests/Services/GoModParserTests.cs | 2 +- .../UnitTests/Services/PlatformParserTests.cs | 2 +- .../UnitTests/Services/RunnerFactoryTests.cs | 7 +---- .../UnitTests/Services/YamlTests.cs | 4 +-- 24 files changed, 47 insertions(+), 110 deletions(-) diff --git a/Source/Bake.Tests/ExplicitTests/GitHubTests.cs b/Source/Bake.Tests/ExplicitTests/GitHubTests.cs index 282ce765..89855f5e 100644 --- a/Source/Bake.Tests/ExplicitTests/GitHubTests.cs +++ b/Source/Bake.Tests/ExplicitTests/GitHubTests.cs @@ -96,7 +96,7 @@ private static string GetToken() { return new ConfigurationBuilder() .AddUserSecrets() - .Build()["github:token"]; + .Build()["github:token"]!; } protected override IServiceCollection Configure(IServiceCollection serviceCollection) diff --git a/Source/Bake.Tests/Helpers/BakeTest.cs b/Source/Bake.Tests/Helpers/BakeTest.cs index 0128dda5..d677bcfc 100644 --- a/Source/Bake.Tests/Helpers/BakeTest.cs +++ b/Source/Bake.Tests/Helpers/BakeTest.cs @@ -20,11 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading; -using System.Threading.Tasks; using Bake.Core; using Bake.Extensions; using Bake.Services; @@ -38,9 +33,9 @@ namespace Bake.Tests.Helpers { public abstract class BakeTest : TestProject { - private CancellationTokenSource _timeout; + private CancellationTokenSource? _timeout; - private List _releases; + private List _releases = null!; protected IReadOnlyCollection Releases => _releases; protected BakeTest(string projectName) : base(projectName) @@ -57,7 +52,7 @@ public void SetUpBakeTest() [TearDown] public void TearDownBakeTest() { - _timeout.Dispose(); + _timeout?.Dispose(); _timeout = null; } @@ -132,20 +127,7 @@ public Task CreateReleaseAsync( GitHubInformation gitHubInformation, CancellationToken cancellationToken) { - return Task.FromResult(null); - } - - public Task> GetCommitsAsync(string baseSha, string headSha, - GitHubInformation gitHubInformation, - CancellationToken cancellationToken) - { - var commits = new List - { - new("Wrote some awesome tests", "c2dbe6e", DateTimeOffset.Now, new Author("Rasmus Mikkelsen", "r@smus.nu")), - new("Got it working", "4d79e4e", DateTimeOffset.Now, new Author("Rasmus Mikkelsen", "r@smus.nu")) - }; - - return Task.FromResult>(commits); + return Task.FromResult(null); } public Task> GetPullRequestsAsync(string baseSha, @@ -156,7 +138,7 @@ public Task> GetPullRequestsAsync(string baseSh throw new NotImplementedException(); } - public Task GetPullRequestAsync( + public Task GetPullRequestAsync( GitHubInformation gitHubInformation, int number, CancellationToken cancellationToken) diff --git a/Source/Bake.Tests/Helpers/DockerHelper.cs b/Source/Bake.Tests/Helpers/DockerHelper.cs index 76bbe3a3..a6a2b687 100644 --- a/Source/Bake.Tests/Helpers/DockerHelper.cs +++ b/Source/Bake.Tests/Helpers/DockerHelper.cs @@ -70,8 +70,8 @@ await Client.Containers.StartContainerAsync( null, cancellationToken); - var autoResetEvent = new AutoResetEvent(false); - Task.Run(async () => + // TODO: What to do here? + var _ = Task.Run(async () => { await Client.Containers.GetContainerLogsAsync( createContainerResponse.ID, diff --git a/Source/Bake.Tests/Helpers/ProjectHelper.cs b/Source/Bake.Tests/Helpers/ProjectHelper.cs index e3971e60..da421b2a 100644 --- a/Source/Bake.Tests/Helpers/ProjectHelper.cs +++ b/Source/Bake.Tests/Helpers/ProjectHelper.cs @@ -20,24 +20,20 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.IO; -using System.Linq; - namespace Bake.Tests.Helpers { public static class ProjectHelper { public static string GetRoot() { - var uri = new Uri(typeof(LicenseHeader).Assembly.CodeBase); + var uri = new Uri(typeof(LicenseHeader).Assembly.Location); var directory = Path.GetDirectoryName(uri.LocalPath); while (true) { if (string.IsNullOrEmpty(directory)) { - throw new Exception($"Could not find repository root from '{typeof(LicenseHeader).Assembly.CodeBase}'"); + throw new Exception($"Could not find repository root from '{typeof(LicenseHeader).Assembly.Location}'"); } var isRepositoryRoot = Directory.GetFiles(directory) diff --git a/Source/Bake.Tests/Helpers/ServiceTest.cs b/Source/Bake.Tests/Helpers/ServiceTest.cs index 6ec177e9..a1f6eb67 100644 --- a/Source/Bake.Tests/Helpers/ServiceTest.cs +++ b/Source/Bake.Tests/Helpers/ServiceTest.cs @@ -20,8 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Threading; using Bake.Core; using Microsoft.Extensions.DependencyInjection; using NUnit.Framework; @@ -32,11 +30,11 @@ namespace Bake.Tests.Helpers public abstract class ServiceTest : TestProject where T : class { - private Lazy _lazySut; - private ServiceProvider _serviceProvider; + private Lazy? _lazySut; + private ServiceProvider? _serviceProvider; - protected T Sut => _lazySut.Value; - protected IServiceProvider ServiceProvider => _serviceProvider; + protected T Sut => _lazySut!.Value; + protected IServiceProvider ServiceProvider => _serviceProvider!; protected ServiceTest(string? projectName) : base(projectName) { @@ -51,7 +49,7 @@ public void SetUpServiceTest() [TearDown] public void TearDownServiceTest() { - _serviceProvider.Dispose(); + _serviceProvider?.Dispose(); _serviceProvider = null; } diff --git a/Source/Bake.Tests/Helpers/SocketHelper.cs b/Source/Bake.Tests/Helpers/SocketHelper.cs index d1d9652c..d5b0ba8a 100644 --- a/Source/Bake.Tests/Helpers/SocketHelper.cs +++ b/Source/Bake.Tests/Helpers/SocketHelper.cs @@ -35,7 +35,7 @@ public static int FreeTcpPort() { var ipEndPoint = new IPEndPoint(IPAddress.Loopback, 0); socket.Bind(ipEndPoint); - ipEndPoint = (IPEndPoint)socket.LocalEndPoint; + ipEndPoint = (IPEndPoint)socket.LocalEndPoint!; port = ipEndPoint.Port; } finally diff --git a/Source/Bake.Tests/Helpers/TestFor.cs b/Source/Bake.Tests/Helpers/TestFor.cs index f1d58c3a..283cf1f5 100644 --- a/Source/Bake.Tests/Helpers/TestFor.cs +++ b/Source/Bake.Tests/Helpers/TestFor.cs @@ -20,7 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; using AutoFixture; using Bake.Core; using Microsoft.Extensions.DependencyInjection; @@ -33,9 +32,9 @@ namespace Bake.Tests.Helpers { public class TestFor : TestIt { - private Lazy _lazySut; - private ServiceProvider _serviceProvider; - private Logger _logger; + private Lazy _lazySut = null!; + private ServiceProvider _serviceProvider = null!; + private Logger _logger = null!; protected T Sut => _lazySut.Value; [SetUp] diff --git a/Source/Bake.Tests/Helpers/TestIt.cs b/Source/Bake.Tests/Helpers/TestIt.cs index 84e1e566..4f06ad11 100644 --- a/Source/Bake.Tests/Helpers/TestIt.cs +++ b/Source/Bake.Tests/Helpers/TestIt.cs @@ -20,11 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Threading.Tasks; using AutoFixture; using AutoFixture.AutoNSubstitute; using NSubstitute; @@ -36,9 +31,9 @@ namespace Bake.Tests.Helpers { public abstract class TestIt { - private List _filesToDelete; + private List _filesToDelete = null!; - protected IFixture Fixture { get; private set; } + protected IFixture Fixture { get; private set; } = null!; [SetUp] public void SetUpTestIt() @@ -53,9 +48,9 @@ public void TearDownTestIt() { foreach (var file in _filesToDelete) { - if (System.IO.File.Exists(file)) + if (File.Exists(file)) { - System.IO.File.Delete(file); + File.Delete(file); } } } @@ -100,7 +95,7 @@ protected async Task ReadEmbeddedAsync( .ToList(); var resourceName = resourceNames.Single(n => n.EndsWith(fileEnding, StringComparison.OrdinalIgnoreCase)); await using var stream = assembly.GetManifestResourceStream(resourceName); - using var streamReader = new StreamReader(stream); + using var streamReader = new StreamReader(stream!); return await streamReader.ReadToEndAsync(); } diff --git a/Source/Bake.Tests/Helpers/TestProject.cs b/Source/Bake.Tests/Helpers/TestProject.cs index 4121baf8..279787e6 100644 --- a/Source/Bake.Tests/Helpers/TestProject.cs +++ b/Source/Bake.Tests/Helpers/TestProject.cs @@ -92,7 +92,7 @@ protected string AssertFileExists(params string[] path) Path.Combine); System.IO.File.Exists(filePath).Should().BeTrue( - $"'{Path.GetFileName(filePath)}' should be among: {Environment.NewLine}{PrettyPrintDirectory(Path.GetDirectoryName(filePath))}'"); + $"'{Path.GetFileName(filePath)}' should be among: {Environment.NewLine}{PrettyPrintDirectory(Path.GetDirectoryName(filePath)!)}'"); Console.WriteLine($"File {filePath} exists"); diff --git a/Source/Bake.Tests/Helpers/TestState.cs b/Source/Bake.Tests/Helpers/TestState.cs index a2773180..07ebf465 100644 --- a/Source/Bake.Tests/Helpers/TestState.cs +++ b/Source/Bake.Tests/Helpers/TestState.cs @@ -20,9 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Collections.Generic; -using System.Linq; using Microsoft.Extensions.DependencyInjection; namespace Bake.Tests.Helpers @@ -35,12 +32,12 @@ public class TestState new Dictionary(StringComparer.OrdinalIgnoreCase)); public string[] Arguments { get; } - public Action Overrides { get; } + public Action? Overrides { get; } public IReadOnlyDictionary EnvironmentVariables { get; } private TestState( string[] arguments, - Action overrides, + Action? overrides, IReadOnlyDictionary environmentVariables) { Arguments = arguments; diff --git a/Source/Bake.Tests/IntegrationTests/ServiceTests/GitHubTests.cs b/Source/Bake.Tests/IntegrationTests/ServiceTests/GitHubTests.cs index c729a894..9e7bdc64 100644 --- a/Source/Bake.Tests/IntegrationTests/ServiceTests/GitHubTests.cs +++ b/Source/Bake.Tests/IntegrationTests/ServiceTests/GitHubTests.cs @@ -20,10 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Linq; -using System.Threading; -using System.Threading.Tasks; using Bake.Core; using Bake.Services; using Bake.Tests.Helpers; @@ -50,7 +46,7 @@ public void SetUp() var credentials = Substitute.For(); credentials .TryGetGitHubTokenAsync(Arg.Any(), Arg.Any()) - .Returns(Task.FromResult(testToken)); + .Returns(Task.FromResult(testToken!)); Inject(credentials); Inject(new GitHubClientFactory()); @@ -74,7 +70,7 @@ public async Task T() // Assert pullRequestInformation.Should().NotBeNull(); - pullRequestInformation.Labels.Should().NotBeEmpty(); + pullRequestInformation!.Labels.Should().NotBeEmpty(); } } } diff --git a/Source/Bake.Tests/UnitTests/Commands/CommandFactoryTests.cs b/Source/Bake.Tests/UnitTests/Commands/CommandFactoryTests.cs index 7ce1f721..39f7011e 100644 --- a/Source/Bake.Tests/UnitTests/Commands/CommandFactoryTests.cs +++ b/Source/Bake.Tests/UnitTests/Commands/CommandFactoryTests.cs @@ -20,9 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Threading; -using System.Threading.Tasks; using Bake.Commands; using Bake.Core; using Bake.Services; @@ -52,7 +49,7 @@ public Task ExecuteAsync( int exitCode = 42, bool throwException = false, CancellationToken cancellationToken = default, - Destination[] destination = null) + Destination[]? destination = null) { if (throwException) throw new Exception(); diff --git a/Source/Bake.Tests/UnitTests/Cooking/Ingredients/Gathers/ReleaseNotesGatherTests.cs b/Source/Bake.Tests/UnitTests/Cooking/Ingredients/Gathers/ReleaseNotesGatherTests.cs index 53afc6ad..b4b18ea4 100644 --- a/Source/Bake.Tests/UnitTests/Cooking/Ingredients/Gathers/ReleaseNotesGatherTests.cs +++ b/Source/Bake.Tests/UnitTests/Cooking/Ingredients/Gathers/ReleaseNotesGatherTests.cs @@ -20,11 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading; -using System.Threading.Tasks; using Bake.Cooking.Ingredients.Gathers; using Bake.Core; using Bake.Services; @@ -38,8 +33,8 @@ namespace Bake.Tests.UnitTests.Cooking.Ingredients.Gathers { public class ReleaseNotesGatherTests : TestFor { - private IReleaseNotesParser _releaseNotesParserMock; - private IFileSystem _fileSystemMock; + private IReleaseNotesParser _releaseNotesParserMock = null!; + private IFileSystem _fileSystemMock = null!; [SetUp] public void SetUp() @@ -85,7 +80,7 @@ public async Task PickExpectedVersion( await Sut.GatherAsync(ingredients, CancellationToken.None); // Assert - ingredients.ReleaseNotes.Version.ToString().Should().Be(expectedVersion); + ingredients.ReleaseNotes!.Version.ToString().Should().Be(expectedVersion); } } } diff --git a/Source/Bake.Tests/UnitTests/Core/FileSystemTests.cs b/Source/Bake.Tests/UnitTests/Core/FileSystemTests.cs index cfb3b47e..58039e07 100644 --- a/Source/Bake.Tests/UnitTests/Core/FileSystemTests.cs +++ b/Source/Bake.Tests/UnitTests/Core/FileSystemTests.cs @@ -20,10 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.IO; -using System.Threading; -using System.Threading.Tasks; using Bake.Core; using Bake.Tests.Helpers; using FluentAssertions; @@ -64,7 +60,7 @@ private static async Task CreateFolderStructureAsync( foreach (var file in files) { var filePath = Path.Combine(folder.Path, Path.Combine(file.Split('/'))); - var directoryPath = Path.GetDirectoryName(filePath); + var directoryPath = Path.GetDirectoryName(filePath)!; if (!Directory.Exists(directoryPath)) { Directory.CreateDirectory(directoryPath); diff --git a/Source/Bake.Tests/UnitTests/Core/GitRemoteParserTests.cs b/Source/Bake.Tests/UnitTests/Core/GitRemoteParserTests.cs index 611d0198..3d585663 100644 --- a/Source/Bake.Tests/UnitTests/Core/GitRemoteParserTests.cs +++ b/Source/Bake.Tests/UnitTests/Core/GitRemoteParserTests.cs @@ -51,7 +51,7 @@ public void TryParse( GitRemoteParser.TryParse(input, out var url).Should().BeTrue(); // Assert - url.Scheme.Should().Be(expectedScheme, url.AbsoluteUri); + url!.Scheme.Should().Be(expectedScheme, url.AbsoluteUri); url.Host.Should().Be(expectedHost, url.AbsoluteUri); url.PathAndQuery.Should().Be(expectedPath, url.AbsoluteUri); } diff --git a/Source/Bake.Tests/UnitTests/Core/NuGetConfigurationTests.cs b/Source/Bake.Tests/UnitTests/Core/NuGetConfigurationTests.cs index 25996278..e9ee6318 100644 --- a/Source/Bake.Tests/UnitTests/Core/NuGetConfigurationTests.cs +++ b/Source/Bake.Tests/UnitTests/Core/NuGetConfigurationTests.cs @@ -20,9 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Threading; -using System.Threading.Tasks; using Bake.Core; using Bake.Tests.Helpers; using Bake.ValueObjects; @@ -44,7 +41,7 @@ public async Task GenerateAsync() }; var credentialsMock = InjectMock(); credentialsMock - .TryGetNuGetApiKeyAsync(Arg.Any(), Arg.Any()) + .TryGetNuGetApiKeyAsync(Arg.Any(), Arg.Any())! .Returns(Task.FromResult("IllNeverTell")); // Act diff --git a/Source/Bake.Tests/UnitTests/Services/ComposerOrderingTests.cs b/Source/Bake.Tests/UnitTests/Services/ComposerOrderingTests.cs index 7f9038f5..bcc04045 100644 --- a/Source/Bake.Tests/UnitTests/Services/ComposerOrderingTests.cs +++ b/Source/Bake.Tests/UnitTests/Services/ComposerOrderingTests.cs @@ -20,10 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System.Collections.Generic; -using System.Linq; -using System.Threading; -using System.Threading.Tasks; using AutoFixture.Kernel; using Bake.Cooking; using Bake.Services; @@ -66,7 +62,7 @@ public void Current() .ToList(); // Act - IReadOnlyCollection ordered = null; + IReadOnlyCollection? ordered = null; Assert.DoesNotThrow(() => ordered = Sut.Order(composers)); ordered.Should().NotBeNull(); ordered.Should().HaveCount(composers.Count); diff --git a/Source/Bake.Tests/UnitTests/Services/ContainerTagParserTests.cs b/Source/Bake.Tests/UnitTests/Services/ContainerTagParserTests.cs index 4f87ce03..8cde2045 100644 --- a/Source/Bake.Tests/UnitTests/Services/ContainerTagParserTests.cs +++ b/Source/Bake.Tests/UnitTests/Services/ContainerTagParserTests.cs @@ -84,7 +84,7 @@ public void SuccessTryParse( Sut.TryParse(image, out var containerImage).Should().BeTrue(); // Assert - containerImage.HostAndPort.Should().Be(expectedHostAndPort); + containerImage!.HostAndPort.Should().Be(expectedHostAndPort); containerImage.Path.Should().Be(expectedPath); containerImage.Name.Should().Be(expectedName); containerImage.Label.Should().Be(expectedTag); diff --git a/Source/Bake.Tests/UnitTests/Services/DestinationParserTests.cs b/Source/Bake.Tests/UnitTests/Services/DestinationParserTests.cs index cc2b8ab9..403e7df0 100644 --- a/Source/Bake.Tests/UnitTests/Services/DestinationParserTests.cs +++ b/Source/Bake.Tests/UnitTests/Services/DestinationParserTests.cs @@ -53,7 +53,7 @@ public void NuGetRegistry( Sut.TryParse(input, out var destination).Should().BeTrue(); // Assert - ((NuGetRegistryDestination) destination).Url.AbsoluteUri.Should().Be(expectedRegistryUrl); + ((NuGetRegistryDestination) destination!).Url.AbsoluteUri.Should().Be(expectedRegistryUrl); } [TestCase( @@ -73,7 +73,7 @@ public void DockerRegistry( Sut.TryParse(input, out var destination).Should().BeTrue(); // Assert - ((ContainerRegistryDestination)destination).Url.Should().Be(expectedRegistryUrl); + ((ContainerRegistryDestination)destination!).Url.Should().Be(expectedRegistryUrl); } [TestCase( @@ -87,7 +87,7 @@ public void HelmChart( Sut.TryParse(input, out var destination).Should().BeTrue(); // Assert - ((OctopusDeployDestination)destination).Url.Should().Be(expectedRegistryUrl); + ((OctopusDeployDestination)destination!).Url.Should().Be(expectedRegistryUrl); } [TestCase( @@ -111,7 +111,7 @@ public void Dynamics( Sut.TryParse(input, out var destination).Should().BeTrue(); // Assert - var dynamicDestination = (DynamicDestination)destination; + var dynamicDestination = (DynamicDestination)destination!; dynamicDestination.ArtifactType.Should().Be(expectedArtifactType); dynamicDestination.Destination.Should().Be(expectedDestination); } diff --git a/Source/Bake.Tests/UnitTests/Services/DotNetTfmParserTests.cs b/Source/Bake.Tests/UnitTests/Services/DotNetTfmParserTests.cs index 9345d5bd..3c83fd8d 100644 --- a/Source/Bake.Tests/UnitTests/Services/DotNetTfmParserTests.cs +++ b/Source/Bake.Tests/UnitTests/Services/DotNetTfmParserTests.cs @@ -77,7 +77,7 @@ public void Success( // Assert targetFrameworkVersion.Should().NotBeNull(); - targetFrameworkVersion.Moniker.Should().Be(moniker); + targetFrameworkVersion!.Moniker.Should().Be(moniker); targetFrameworkVersion.Version.ToString().Should().Be(expectedVersion); targetFrameworkVersion.Framework.Should().Be(expectedTargetFramework); } diff --git a/Source/Bake.Tests/UnitTests/Services/GoModParserTests.cs b/Source/Bake.Tests/UnitTests/Services/GoModParserTests.cs index a614c006..d5931d26 100644 --- a/Source/Bake.Tests/UnitTests/Services/GoModParserTests.cs +++ b/Source/Bake.Tests/UnitTests/Services/GoModParserTests.cs @@ -69,7 +69,7 @@ public void Success(string str, string expectedName, string expectedVersion) Sut.TryParse(str, out var goModuleName).Should().BeTrue(); // Assert - goModuleName.Name.Should().Be(expectedName); + goModuleName!.Name.Should().Be(expectedName); goModuleName.Version.Should().Be(expectedVersion); } } diff --git a/Source/Bake.Tests/UnitTests/Services/PlatformParserTests.cs b/Source/Bake.Tests/UnitTests/Services/PlatformParserTests.cs index ca7c128b..c2fab476 100644 --- a/Source/Bake.Tests/UnitTests/Services/PlatformParserTests.cs +++ b/Source/Bake.Tests/UnitTests/Services/PlatformParserTests.cs @@ -41,7 +41,7 @@ public void Success( Sut.TryParse(str, out var targetPlatform).Should().BeTrue(); // Assert - targetPlatform.Os.Should().Be(executableOs); + targetPlatform!.Os.Should().Be(executableOs); targetPlatform.Arch.Should().Be(expectedArch); } } diff --git a/Source/Bake.Tests/UnitTests/Services/RunnerFactoryTests.cs b/Source/Bake.Tests/UnitTests/Services/RunnerFactoryTests.cs index 008449a3..d91281da 100644 --- a/Source/Bake.Tests/UnitTests/Services/RunnerFactoryTests.cs +++ b/Source/Bake.Tests/UnitTests/Services/RunnerFactoryTests.cs @@ -20,12 +20,7 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.Collections.Generic; -using System.Linq; using System.Reactive.Linq; -using System.Threading; -using System.Threading.Tasks; using Bake.Core; using Bake.Services; using Bake.Tests.Helpers; @@ -54,7 +49,7 @@ public async Task ReadStdOut() null, "black", "magic"); var output = new List(); - IRunnerResult runnerResult = null; + IRunnerResult? runnerResult = null; try { diff --git a/Source/Bake.Tests/UnitTests/Services/YamlTests.cs b/Source/Bake.Tests/UnitTests/Services/YamlTests.cs index 8cebed3f..ce5791f1 100644 --- a/Source/Bake.Tests/UnitTests/Services/YamlTests.cs +++ b/Source/Bake.Tests/UnitTests/Services/YamlTests.cs @@ -20,8 +20,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System.Threading; -using System.Threading.Tasks; using Bake.Core; using Bake.Tests.Helpers; using Bake.ValueObjects.Recipes; @@ -84,7 +82,7 @@ public async Task Recipe() // Assert var dotNetRestore = recipe as DotNetRestoreSolutionRecipe; dotNetRestore.Should().NotBeNull(); - dotNetRestore.Path.Should().Be("/tmp"); + dotNetRestore!.Path.Should().Be("/tmp"); dotNetRestore.ClearLocalHttpCache.Should().BeTrue(); } } From 2a5efb8dd07f4bed0659f61c1dab9248472f2123 Mon Sep 17 00:00:00 2001 From: Rasmus Mikkelsen Date: Thu, 11 Jan 2024 21:11:01 +0100 Subject: [PATCH 5/6] Update license header --- Source/Bake.Tests/ExplicitTests/GitHubReleaseCookTests.cs | 2 +- Source/Bake.Tests/ExplicitTests/GitHubTests.cs | 2 +- Source/Bake.Tests/Files/license.txt | 2 +- Source/Bake.Tests/Helpers/BakeTest.cs | 2 +- Source/Bake.Tests/Helpers/DockerArguments.cs | 2 +- Source/Bake.Tests/Helpers/DockerHelper.cs | 2 +- Source/Bake.Tests/Helpers/GitHelper.cs | 2 +- Source/Bake.Tests/Helpers/NuGetHelper.cs | 2 +- Source/Bake.Tests/Helpers/OctopusDeployMock.cs | 2 +- Source/Bake.Tests/Helpers/ProjectHelper.cs | 2 +- Source/Bake.Tests/Helpers/ServiceTest.cs | 2 +- Source/Bake.Tests/Helpers/SocketHelper.cs | 2 +- Source/Bake.Tests/Helpers/TestEnvironmentVariables.cs | 2 +- Source/Bake.Tests/Helpers/TestFor.cs | 2 +- Source/Bake.Tests/Helpers/TestIt.cs | 2 +- Source/Bake.Tests/Helpers/TestProject.cs | 2 +- Source/Bake.Tests/Helpers/TestState.cs | 2 +- .../IntegrationTests/BakeTests/DockerFileSimpleTests.cs | 2 +- .../IntegrationTests/BakeTests/GoLangServiceTests.cs | 2 +- .../IntegrationTests/BakeTests/HelmChartTests.cs | 2 +- .../Bake.Tests/IntegrationTests/BakeTests/MkDocsSimple.cs | 2 +- .../IntegrationTests/BakeTests/NetCoreConsoleTests.cs | 2 +- .../IntegrationTests/BakeTests/NetCorePackageTests.cs | 2 +- .../IntegrationTests/BakeTests/NetCoreServiceTests.cs | 2 +- .../IntegrationTests/BakeTests/NetV8ServiceTests.cs | 2 +- .../Bake.Tests/IntegrationTests/BakeTests/NodeJSService.cs | 2 +- .../IntegrationTests/BakeTests/Python3FlaskTests.cs | 2 +- .../ServiceTests/DotNetComposerServiceTests.cs | 2 +- .../IntegrationTests/ServiceTests/GitHubTests.cs | 2 +- Source/Bake.Tests/LicenseHeader.cs | 7 +------ .../Bake.Tests/UnitTests/Commands/CommandFactoryTests.cs | 2 +- .../Cooking/Ingredients/Gathers/ReleaseNotesGatherTests.cs | 2 +- Source/Bake.Tests/UnitTests/Core/CredentialsTests.cs | 2 +- .../Bake.Tests/UnitTests/Core/EnvironmentVariablesTests.cs | 2 +- Source/Bake.Tests/UnitTests/Core/FileSystemTests.cs | 2 +- Source/Bake.Tests/UnitTests/Core/GitRemoteParserTests.cs | 2 +- .../Bake.Tests/UnitTests/Core/NuGetConfigurationTests.cs | 2 +- Source/Bake.Tests/UnitTests/Core/SemVerTests.cs | 2 +- .../UnitTests/Extensions/StringExtensionsTests.cs | 2 +- .../UnitTests/Ingredients/Gathers/GitHubGatherTests.cs | 2 +- .../UnitTests/Services/BakeProjectParserTests.cs | 2 +- .../Bake.Tests/UnitTests/Services/ChangeLogBuilderTests.cs | 4 ++-- .../Bake.Tests/UnitTests/Services/ComposerOrderingTests.cs | 2 +- .../UnitTests/Services/ContainerTagParserTests.cs | 2 +- Source/Bake.Tests/UnitTests/Services/CsProjParserTests.cs | 2 +- .../UnitTests/Services/DescriptionLimiterTests.cs | 2 +- .../UnitTests/Services/DestinationParserTests.cs | 2 +- .../Bake.Tests/UnitTests/Services/DotNetTfmParserTests.cs | 2 +- Source/Bake.Tests/UnitTests/Services/GoModParserTests.cs | 2 +- .../Bake.Tests/UnitTests/Services/PlatformParserTests.cs | 2 +- .../UnitTests/Services/ReleaseNotesParserTests.cs | 2 +- Source/Bake.Tests/UnitTests/Services/RunnerFactoryTests.cs | 2 +- Source/Bake.Tests/UnitTests/Services/YamlTests.cs | 2 +- Source/Bake/Commands/Apply/ApplyCommand.cs | 2 +- Source/Bake/Commands/ArgumentAttribute.cs | 2 +- Source/Bake/Commands/CommandAttribute.cs | 2 +- Source/Bake/Commands/CommandFactory.cs | 2 +- Source/Bake/Commands/ICommand.cs | 2 +- Source/Bake/Commands/ICommandFactory.cs | 2 +- Source/Bake/Commands/Plan/PlanCommand.cs | 2 +- Source/Bake/Commands/Run/RunCommand.cs | 2 +- Source/Bake/Constants.cs | 2 +- Source/Bake/Context.cs | 2 +- Source/Bake/Cooking/Composer.cs | 2 +- Source/Bake/Cooking/Composers/ChartMuseumComposer.cs | 2 +- Source/Bake/Cooking/Composers/DockerComposer.cs | 2 +- Source/Bake/Cooking/Composers/DotNetComposer.cs | 2 +- Source/Bake/Cooking/Composers/GitHubReleaseComposer.cs | 2 +- Source/Bake/Cooking/Composers/GoComposer.cs | 2 +- Source/Bake/Cooking/Composers/HelmComposer.cs | 2 +- Source/Bake/Cooking/Composers/MkDocsComposer.cs | 2 +- Source/Bake/Cooking/Composers/NodeJsComposer.cs | 2 +- .../Bake/Cooking/Composers/OctopusDeployPackageComposer.cs | 2 +- Source/Bake/Cooking/Composers/PythonFlaskComposer.cs | 2 +- .../Cooking/Cooks/ChartMuseum/ChartMuseumUploadCook.cs | 2 +- Source/Bake/Cooking/Cooks/Cook.cs | 2 +- Source/Bake/Cooking/Cooks/Docker/DockerBuildCook.cs | 2 +- Source/Bake/Cooking/Cooks/Docker/DockerPushCook.cs | 2 +- Source/Bake/Cooking/Cooks/DotNet/DotNetBuildCook.cs | 2 +- Source/Bake/Cooking/Cooks/DotNet/DotNetCleanCook.cs | 2 +- Source/Bake/Cooking/Cooks/DotNet/DotNetDockerFileCook.cs | 2 +- Source/Bake/Cooking/Cooks/DotNet/DotNetNuGetPushCook.cs | 2 +- Source/Bake/Cooking/Cooks/DotNet/DotNetPackCook.cs | 2 +- Source/Bake/Cooking/Cooks/DotNet/DotNetPublishCook.cs | 2 +- Source/Bake/Cooking/Cooks/DotNet/DotNetRestoreCook.cs | 2 +- Source/Bake/Cooking/Cooks/DotNet/DotNetTestCook.cs | 2 +- Source/Bake/Cooking/Cooks/GitHub/GitHubReleaseCook.cs | 2 +- Source/Bake/Cooking/Cooks/Go/GoBuildCook.cs | 2 +- Source/Bake/Cooking/Cooks/Go/GoDockerFileCook.cs | 2 +- Source/Bake/Cooking/Cooks/Go/GoTestCook.cs | 2 +- Source/Bake/Cooking/Cooks/Helm/HelmLintCook.cs | 2 +- Source/Bake/Cooking/Cooks/Helm/HelmPackageCook.cs | 2 +- Source/Bake/Cooking/Cooks/ICook.cs | 2 +- Source/Bake/Cooking/Cooks/MkDocs/MkDocsBuildCook.cs | 2 +- Source/Bake/Cooking/Cooks/NodeJS/NodeJSDockerfileCook.cs | 2 +- Source/Bake/Cooking/Cooks/NodeJS/NpmCICook.cs | 2 +- .../Cooks/OctopusDeploy/OctopusDeployPackagePushCook.cs | 2 +- .../Bake/Cooking/Cooks/Pip/PipInstallRequirementsCook.cs | 2 +- .../Bake/Cooking/Cooks/Python/PythonFlaskDockerfileCook.cs | 2 +- Source/Bake/Cooking/Editor.cs | 2 +- Source/Bake/Cooking/IComposer.cs | 2 +- Source/Bake/Cooking/IEditor.cs | 2 +- Source/Bake/Cooking/IKitchen.cs | 2 +- Source/Bake/Cooking/Ingredients/Gathers/ChangelogGather.cs | 2 +- .../Bake/Cooking/Ingredients/Gathers/DescriptionGather.cs | 2 +- .../Ingredients/Gathers/DynamicDestinationGather.cs | 2 +- Source/Bake/Cooking/Ingredients/Gathers/GitGather.cs | 2 +- Source/Bake/Cooking/Ingredients/Gathers/GitHubGather.cs | 2 +- Source/Bake/Cooking/Ingredients/Gathers/IGather.cs | 2 +- .../Bake/Cooking/Ingredients/Gathers/ReleaseNotesGather.cs | 2 +- Source/Bake/Cooking/Kitchen.cs | 2 +- Source/Bake/Core/Argument.cs | 2 +- Source/Bake/Core/Credentials.cs | 2 +- Source/Bake/Core/Defaults.cs | 2 +- Source/Bake/Core/DisposableAction.cs | 2 +- Source/Bake/Core/EnvironmentVariables.cs | 2 +- Source/Bake/Core/File.cs | 2 +- Source/Bake/Core/FileSystem.cs | 2 +- Source/Bake/Core/Folder.cs | 2 +- Source/Bake/Core/GitRemoteParser.cs | 2 +- Source/Bake/Core/ICredentials.cs | 2 +- Source/Bake/Core/IDefaults.cs | 2 +- Source/Bake/Core/IEnvironmentVariables.cs | 2 +- Source/Bake/Core/IFile.cs | 2 +- Source/Bake/Core/IFileSystem.cs | 2 +- Source/Bake/Core/ILogCollector.cs | 2 +- Source/Bake/Core/INuGetConfiguration.cs | 2 +- Source/Bake/Core/IRandom.cs | 2 +- Source/Bake/Core/IYaml.cs | 2 +- Source/Bake/Core/LogCollector.cs | 2 +- Source/Bake/Core/LogSink.cs | 2 +- Source/Bake/Core/LoggerBuilder.cs | 2 +- Source/Bake/Core/NuGetConfiguration.cs | 2 +- Source/Bake/Core/RandomWrapper.cs | 2 +- Source/Bake/Core/SemVer.cs | 2 +- Source/Bake/Core/Yaml.cs | 2 +- Source/Bake/Exceptions/BuildFailedException.cs | 4 ++-- Source/Bake/Executor.cs | 2 +- Source/Bake/ExitCodes.cs | 2 +- Source/Bake/Extensions/EnumerableExtensions.cs | 2 +- Source/Bake/Extensions/LoggerExtensions.cs | 2 +- Source/Bake/Extensions/LongExtensions.cs | 2 +- Source/Bake/Extensions/MatchExtensions.cs | 2 +- Source/Bake/Extensions/RunnerFactoryExtensions.cs | 2 +- Source/Bake/Extensions/ServiceCollectionExtensions.cs | 2 +- Source/Bake/Extensions/StringExtensions.cs | 2 +- Source/Bake/Extensions/TypeExtensions.cs | 2 +- Source/Bake/IChangeLogBuilder.cs | 2 +- Source/Bake/IContext.cs | 2 +- Source/Bake/IExecutor.cs | 2 +- Source/Bake/Names.cs | 2 +- Source/Bake/Program.cs | 2 +- Source/Bake/Services/BakeProjectParser.cs | 2 +- Source/Bake/Services/ChangeLogBuilder.cs | 2 +- Source/Bake/Services/ComposerOrdering.cs | 2 +- Source/Bake/Services/ContainerTagParser.cs | 2 +- Source/Bake/Services/ConventionInterpreter.cs | 2 +- Source/Bake/Services/CsProjParser.cs | 2 +- Source/Bake/Services/DescriptionLimiter.cs | 2 +- Source/Bake/Services/DestinationParser.cs | 2 +- Source/Bake/Services/DockerIgnores.cs | 2 +- Source/Bake/Services/DockerLabels.cs | 2 +- Source/Bake/Services/DotNetTfmParser.cs | 2 +- Source/Bake/Services/GitHub.cs | 2 +- Source/Bake/Services/GitHubClientFactory.cs | 2 +- Source/Bake/Services/GoModParser.cs | 2 +- Source/Bake/Services/IBakeProjectParser.cs | 2 +- Source/Bake/Services/IComposerOrdering.cs | 2 +- Source/Bake/Services/IContainerTagParser.cs | 2 +- Source/Bake/Services/IConventionInterpreter.cs | 2 +- Source/Bake/Services/ICsProjParser.cs | 2 +- Source/Bake/Services/IDescriptionLimiter.cs | 2 +- Source/Bake/Services/IDestinationParser.cs | 2 +- Source/Bake/Services/IDockerIgnores.cs | 2 +- Source/Bake/Services/IDockerLabels.cs | 2 +- Source/Bake/Services/IDotNetTfmParser.cs | 2 +- Source/Bake/Services/IGitHub.cs | 2 +- Source/Bake/Services/IGitHubClientFactory.cs | 2 +- Source/Bake/Services/IGoModParser.cs | 2 +- Source/Bake/Services/IPlatformParser.cs | 2 +- Source/Bake/Services/IReleaseNotesParser.cs | 2 +- Source/Bake/Services/IRunner.cs | 2 +- Source/Bake/Services/IRunnerFactory.cs | 2 +- Source/Bake/Services/IRunnerResult.cs | 2 +- Source/Bake/Services/IUploader.cs | 2 +- Source/Bake/Services/PlatformParser.cs | 2 +- Source/Bake/Services/ReleaseNotesParser.cs | 2 +- Source/Bake/Services/Runner.cs | 2 +- Source/Bake/Services/RunnerFactory.cs | 2 +- Source/Bake/Services/RunnerResult.cs | 2 +- Source/Bake/Services/Tools/Docker.cs | 2 +- .../Services/Tools/DockerArguments/DockerBuildArgument.cs | 2 +- .../Services/Tools/DockerArguments/DockerLoginArgument.cs | 2 +- .../Services/Tools/DockerArguments/DockerPushArgument.cs | 2 +- Source/Bake/Services/Tools/DotNet.cs | 2 +- .../Bake/Services/Tools/DotNetArguments/DotNetArgument.cs | 2 +- .../Services/Tools/DotNetArguments/DotNetBuildArgument.cs | 2 +- .../Services/Tools/DotNetArguments/DotNetCleanArgument.cs | 2 +- .../Tools/DotNetArguments/DotNetNuGetPushArgument.cs | 2 +- .../Services/Tools/DotNetArguments/DotNetPackArgument.cs | 2 +- .../Tools/DotNetArguments/DotNetPublishArgument.cs | 2 +- .../Tools/DotNetArguments/DotNetRestoreArgument.cs | 2 +- .../Services/Tools/DotNetArguments/DotNetTestArgument.cs | 2 +- Source/Bake/Services/Tools/Go.cs | 2 +- Source/Bake/Services/Tools/GoArguments/GoBuildArgument.cs | 2 +- Source/Bake/Services/Tools/GoArguments/GoTestArgument.cs | 2 +- Source/Bake/Services/Tools/Helm.cs | 2 +- .../Bake/Services/Tools/HelmArguments/HelmLintArgument.cs | 2 +- .../Services/Tools/HelmArguments/HelmPackageArgument.cs | 2 +- Source/Bake/Services/Tools/IDocker.cs | 2 +- Source/Bake/Services/Tools/IDotNet.cs | 2 +- Source/Bake/Services/Tools/IGo.cs | 2 +- Source/Bake/Services/Tools/IHelm.cs | 2 +- Source/Bake/Services/Tools/IMkDocs.cs | 2 +- Source/Bake/Services/Tools/INPM.cs | 2 +- Source/Bake/Services/Tools/IPip.cs | 2 +- Source/Bake/Services/Tools/IToolResult.cs | 2 +- Source/Bake/Services/Tools/MkDocs.cs | 2 +- .../Services/Tools/MkDocsArguments/MkDocsBuildArgument.cs | 2 +- Source/Bake/Services/Tools/NPM.cs | 2 +- Source/Bake/Services/Tools/NPMArguments/NPMCIArgument.cs | 2 +- Source/Bake/Services/Tools/Pip.cs | 2 +- .../Tools/PipArguments/PipInstallRequirementsArguments.cs | 2 +- Source/Bake/Services/Tools/ToolResult.cs | 2 +- Source/Bake/Services/Uploader.cs | 2 +- Source/Bake/ValueObjects/Artifacts/Artifact.cs | 2 +- Source/Bake/ValueObjects/Artifacts/ArtifactAttribute.cs | 2 +- Source/Bake/ValueObjects/Artifacts/ArtifactType.cs | 2 +- Source/Bake/ValueObjects/Artifacts/ContainerArtifact.cs | 2 +- Source/Bake/ValueObjects/Artifacts/DirectoryArtifact.cs | 2 +- Source/Bake/ValueObjects/Artifacts/DockerFileArtifact.cs | 2 +- .../ValueObjects/Artifacts/DocumentationSiteArtifact.cs | 2 +- Source/Bake/ValueObjects/Artifacts/ExecutableArtifact.cs | 2 +- Source/Bake/ValueObjects/Artifacts/FileArtifact.cs | 2 +- Source/Bake/ValueObjects/Artifacts/HelmChartArtifact.cs | 2 +- Source/Bake/ValueObjects/Artifacts/NuGetArtifact.cs | 2 +- Source/Bake/ValueObjects/Author.cs | 2 +- Source/Bake/ValueObjects/BakeProjects/BakeProject.cs | 2 +- .../Bake/ValueObjects/BakeProjects/BakeProjectService.cs | 2 +- Source/Bake/ValueObjects/BakeProjects/BakeProjectType.cs | 2 +- Source/Bake/ValueObjects/Book.cs | 2 +- Source/Bake/ValueObjects/Change.cs | 2 +- Source/Bake/ValueObjects/ChangeType.cs | 2 +- Source/Bake/ValueObjects/Commit.cs | 2 +- Source/Bake/ValueObjects/CompressionAlgorithm.cs | 2 +- Source/Bake/ValueObjects/ContainerTag.cs | 2 +- Source/Bake/ValueObjects/Convention.cs | 2 +- Source/Bake/ValueObjects/CookResult.cs | 2 +- Source/Bake/ValueObjects/Credentials/DockerLogin.cs | 2 +- Source/Bake/ValueObjects/Description.cs | 2 +- .../ValueObjects/Destinations/ChartMuseumDestination.cs | 2 +- .../Destinations/ContainerRegistryDestination.cs | 2 +- Source/Bake/ValueObjects/Destinations/Destination.cs | 2 +- .../Bake/ValueObjects/Destinations/DestinationAttribute.cs | 2 +- .../Bake/ValueObjects/Destinations/DynamicDestination.cs | 2 +- .../ValueObjects/Destinations/GitHubReleaseDestination.cs | 2 +- .../ValueObjects/Destinations/NuGetRegistryDestination.cs | 2 +- .../ValueObjects/Destinations/OctopusDeployDestination.cs | 2 +- Source/Bake/ValueObjects/DotNet/CsProj.cs | 2 +- Source/Bake/ValueObjects/DotNet/TargetFramework.cs | 2 +- Source/Bake/ValueObjects/DotNet/TargetFrameworkVersion.cs | 2 +- Source/Bake/ValueObjects/DotNet/VisualStudioProject.cs | 2 +- Source/Bake/ValueObjects/DotNet/VisualStudioSolution.cs | 2 +- Source/Bake/ValueObjects/ExecutableArchitecture.cs | 2 +- Source/Bake/ValueObjects/ExecutableOperatingSystem.cs | 2 +- Source/Bake/ValueObjects/GitHubInformation.cs | 2 +- Source/Bake/ValueObjects/GitInformation.cs | 2 +- Source/Bake/ValueObjects/GoModuleName.cs | 2 +- Source/Bake/ValueObjects/HashAlgorithm.cs | 2 +- Source/Bake/ValueObjects/ISingleValueObject.cs | 2 +- Source/Bake/ValueObjects/IYamlTag.cs | 2 +- Source/Bake/ValueObjects/Ingredients.cs | 2 +- Source/Bake/ValueObjects/NuGetSource.cs | 2 +- Source/Bake/ValueObjects/PackageJson.cs | 2 +- Source/Bake/ValueObjects/Platform.cs | 2 +- Source/Bake/ValueObjects/PullRequest.cs | 2 +- Source/Bake/ValueObjects/PullRequestInformation.cs | 2 +- .../Recipes/ChartMuseum/ChartMuseumUploadRecipe.cs | 2 +- .../Bake/ValueObjects/Recipes/Docker/DockerBuildRecipe.cs | 2 +- .../Bake/ValueObjects/Recipes/Docker/DockerPushRecipe.cs | 2 +- .../Recipes/DotNet/DotNetBuildSolutionRecipe.cs | 2 +- .../Recipes/DotNet/DotNetCleanSolutionRecipe.cs | 2 +- .../ValueObjects/Recipes/DotNet/DotNetDockerFileRecipe.cs | 2 +- .../ValueObjects/Recipes/DotNet/DotNetNuGetPushRecipe.cs | 2 +- .../ValueObjects/Recipes/DotNet/DotNetPackProjectRecipe.cs | 2 +- .../ValueObjects/Recipes/DotNet/DotNetPublishRecipe.cs | 2 +- .../Recipes/DotNet/DotNetRestoreSolutionRecipe.cs | 2 +- .../Recipes/DotNet/DotNetTestSolutionRecipe.cs | 2 +- .../ValueObjects/Recipes/GitHub/GitHubReleaseRecipe.cs | 2 +- Source/Bake/ValueObjects/Recipes/Go/GoBuildRecipe.cs | 2 +- Source/Bake/ValueObjects/Recipes/Go/GoDockerFileRecipe.cs | 2 +- Source/Bake/ValueObjects/Recipes/Go/GoTestRecipe.cs | 2 +- Source/Bake/ValueObjects/Recipes/Helm/HelmLintRecipe.cs | 2 +- Source/Bake/ValueObjects/Recipes/Helm/HelmPackageRecipe.cs | 2 +- .../Bake/ValueObjects/Recipes/MkDocs/MkDocsBuildRecipe.cs | 2 +- .../ValueObjects/Recipes/NodeJS/NodeJSDockerfileRecipe.cs | 2 +- Source/Bake/ValueObjects/Recipes/NodeJS/NpmCIRecipe.cs | 2 +- .../OctopusDeploy/OctopusDeployPackagePushRecipe.cs | 2 +- .../Recipes/Pip/PipInstallRequirementsRecipe.cs | 2 +- .../Recipes/Python/PythonFlaskDockerfileRecipe.cs | 2 +- Source/Bake/ValueObjects/Recipes/Recipe.cs | 2 +- Source/Bake/ValueObjects/Recipes/RecipeAttribute.cs | 2 +- Source/Bake/ValueObjects/Release.cs | 2 +- Source/Bake/ValueObjects/ReleaseFile.cs | 2 +- Source/Bake/ValueObjects/ReleaseNotes.cs | 2 +- Source/Bake/ValueObjects/SingleValueObject.cs | 2 +- Source/Bake/ValueObjects/Tag.cs | 4 ++-- Source/Bake/ValueObjects/ValueObject.cs | 2 +- TestProjects/NetCore.Console/Program.cs | 2 +- TestProjects/NetCore.Package/Dummy.cs | 2 +- .../NetCore.Service/Source/NetCore.Service/Program.cs | 2 +- .../NetCore.Service/Source/NetCore.Service/Startup.cs | 2 +- TestProjects/NetV8.Service/Source/Program.cs | 2 +- 313 files changed, 316 insertions(+), 321 deletions(-) diff --git a/Source/Bake.Tests/ExplicitTests/GitHubReleaseCookTests.cs b/Source/Bake.Tests/ExplicitTests/GitHubReleaseCookTests.cs index 4092ab82..b41521d7 100644 --- a/Source/Bake.Tests/ExplicitTests/GitHubReleaseCookTests.cs +++ b/Source/Bake.Tests/ExplicitTests/GitHubReleaseCookTests.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/ExplicitTests/GitHubTests.cs b/Source/Bake.Tests/ExplicitTests/GitHubTests.cs index 89855f5e..499622a5 100644 --- a/Source/Bake.Tests/ExplicitTests/GitHubTests.cs +++ b/Source/Bake.Tests/ExplicitTests/GitHubTests.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/Files/license.txt b/Source/Bake.Tests/Files/license.txt index 42235879..e185bb9e 100644 --- a/Source/Bake.Tests/Files/license.txt +++ b/Source/Bake.Tests/Files/license.txt @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/Helpers/BakeTest.cs b/Source/Bake.Tests/Helpers/BakeTest.cs index d677bcfc..6cdbdad0 100644 --- a/Source/Bake.Tests/Helpers/BakeTest.cs +++ b/Source/Bake.Tests/Helpers/BakeTest.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/Helpers/DockerArguments.cs b/Source/Bake.Tests/Helpers/DockerArguments.cs index d049990a..e491f936 100644 --- a/Source/Bake.Tests/Helpers/DockerArguments.cs +++ b/Source/Bake.Tests/Helpers/DockerArguments.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/Helpers/DockerHelper.cs b/Source/Bake.Tests/Helpers/DockerHelper.cs index a6a2b687..ab595635 100644 --- a/Source/Bake.Tests/Helpers/DockerHelper.cs +++ b/Source/Bake.Tests/Helpers/DockerHelper.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/Helpers/GitHelper.cs b/Source/Bake.Tests/Helpers/GitHelper.cs index d7b03613..c2c66e7f 100644 --- a/Source/Bake.Tests/Helpers/GitHelper.cs +++ b/Source/Bake.Tests/Helpers/GitHelper.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/Helpers/NuGetHelper.cs b/Source/Bake.Tests/Helpers/NuGetHelper.cs index 2b3715e2..9cafdb90 100644 --- a/Source/Bake.Tests/Helpers/NuGetHelper.cs +++ b/Source/Bake.Tests/Helpers/NuGetHelper.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/Helpers/OctopusDeployMock.cs b/Source/Bake.Tests/Helpers/OctopusDeployMock.cs index 479e483a..7293d783 100644 --- a/Source/Bake.Tests/Helpers/OctopusDeployMock.cs +++ b/Source/Bake.Tests/Helpers/OctopusDeployMock.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/Helpers/ProjectHelper.cs b/Source/Bake.Tests/Helpers/ProjectHelper.cs index da421b2a..35b2d14e 100644 --- a/Source/Bake.Tests/Helpers/ProjectHelper.cs +++ b/Source/Bake.Tests/Helpers/ProjectHelper.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/Helpers/ServiceTest.cs b/Source/Bake.Tests/Helpers/ServiceTest.cs index a1f6eb67..0e6c3771 100644 --- a/Source/Bake.Tests/Helpers/ServiceTest.cs +++ b/Source/Bake.Tests/Helpers/ServiceTest.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/Helpers/SocketHelper.cs b/Source/Bake.Tests/Helpers/SocketHelper.cs index d5b0ba8a..42bb68b1 100644 --- a/Source/Bake.Tests/Helpers/SocketHelper.cs +++ b/Source/Bake.Tests/Helpers/SocketHelper.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/Helpers/TestEnvironmentVariables.cs b/Source/Bake.Tests/Helpers/TestEnvironmentVariables.cs index 6012e045..5002a4e1 100644 --- a/Source/Bake.Tests/Helpers/TestEnvironmentVariables.cs +++ b/Source/Bake.Tests/Helpers/TestEnvironmentVariables.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/Helpers/TestFor.cs b/Source/Bake.Tests/Helpers/TestFor.cs index 283cf1f5..5d1f3e6f 100644 --- a/Source/Bake.Tests/Helpers/TestFor.cs +++ b/Source/Bake.Tests/Helpers/TestFor.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/Helpers/TestIt.cs b/Source/Bake.Tests/Helpers/TestIt.cs index 4f06ad11..753f362b 100644 --- a/Source/Bake.Tests/Helpers/TestIt.cs +++ b/Source/Bake.Tests/Helpers/TestIt.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/Helpers/TestProject.cs b/Source/Bake.Tests/Helpers/TestProject.cs index 279787e6..cff5c2b5 100644 --- a/Source/Bake.Tests/Helpers/TestProject.cs +++ b/Source/Bake.Tests/Helpers/TestProject.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/Helpers/TestState.cs b/Source/Bake.Tests/Helpers/TestState.cs index 07ebf465..e45bc0cd 100644 --- a/Source/Bake.Tests/Helpers/TestState.cs +++ b/Source/Bake.Tests/Helpers/TestState.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/IntegrationTests/BakeTests/DockerFileSimpleTests.cs b/Source/Bake.Tests/IntegrationTests/BakeTests/DockerFileSimpleTests.cs index 492c1eec..adc7b93c 100644 --- a/Source/Bake.Tests/IntegrationTests/BakeTests/DockerFileSimpleTests.cs +++ b/Source/Bake.Tests/IntegrationTests/BakeTests/DockerFileSimpleTests.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/IntegrationTests/BakeTests/GoLangServiceTests.cs b/Source/Bake.Tests/IntegrationTests/BakeTests/GoLangServiceTests.cs index d72d420a..a8975fc8 100644 --- a/Source/Bake.Tests/IntegrationTests/BakeTests/GoLangServiceTests.cs +++ b/Source/Bake.Tests/IntegrationTests/BakeTests/GoLangServiceTests.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/IntegrationTests/BakeTests/HelmChartTests.cs b/Source/Bake.Tests/IntegrationTests/BakeTests/HelmChartTests.cs index 7c974b32..07c89599 100644 --- a/Source/Bake.Tests/IntegrationTests/BakeTests/HelmChartTests.cs +++ b/Source/Bake.Tests/IntegrationTests/BakeTests/HelmChartTests.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/IntegrationTests/BakeTests/MkDocsSimple.cs b/Source/Bake.Tests/IntegrationTests/BakeTests/MkDocsSimple.cs index e4612b52..4af99079 100644 --- a/Source/Bake.Tests/IntegrationTests/BakeTests/MkDocsSimple.cs +++ b/Source/Bake.Tests/IntegrationTests/BakeTests/MkDocsSimple.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/IntegrationTests/BakeTests/NetCoreConsoleTests.cs b/Source/Bake.Tests/IntegrationTests/BakeTests/NetCoreConsoleTests.cs index 0c843b98..d89f8352 100644 --- a/Source/Bake.Tests/IntegrationTests/BakeTests/NetCoreConsoleTests.cs +++ b/Source/Bake.Tests/IntegrationTests/BakeTests/NetCoreConsoleTests.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/IntegrationTests/BakeTests/NetCorePackageTests.cs b/Source/Bake.Tests/IntegrationTests/BakeTests/NetCorePackageTests.cs index 47c6a0f4..c2e05a74 100644 --- a/Source/Bake.Tests/IntegrationTests/BakeTests/NetCorePackageTests.cs +++ b/Source/Bake.Tests/IntegrationTests/BakeTests/NetCorePackageTests.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/IntegrationTests/BakeTests/NetCoreServiceTests.cs b/Source/Bake.Tests/IntegrationTests/BakeTests/NetCoreServiceTests.cs index 962054f4..e245e7f5 100644 --- a/Source/Bake.Tests/IntegrationTests/BakeTests/NetCoreServiceTests.cs +++ b/Source/Bake.Tests/IntegrationTests/BakeTests/NetCoreServiceTests.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/IntegrationTests/BakeTests/NetV8ServiceTests.cs b/Source/Bake.Tests/IntegrationTests/BakeTests/NetV8ServiceTests.cs index 7521015b..e028ff24 100644 --- a/Source/Bake.Tests/IntegrationTests/BakeTests/NetV8ServiceTests.cs +++ b/Source/Bake.Tests/IntegrationTests/BakeTests/NetV8ServiceTests.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/IntegrationTests/BakeTests/NodeJSService.cs b/Source/Bake.Tests/IntegrationTests/BakeTests/NodeJSService.cs index 09f302a9..e84fe891 100644 --- a/Source/Bake.Tests/IntegrationTests/BakeTests/NodeJSService.cs +++ b/Source/Bake.Tests/IntegrationTests/BakeTests/NodeJSService.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/IntegrationTests/BakeTests/Python3FlaskTests.cs b/Source/Bake.Tests/IntegrationTests/BakeTests/Python3FlaskTests.cs index 540b6925..77948a08 100644 --- a/Source/Bake.Tests/IntegrationTests/BakeTests/Python3FlaskTests.cs +++ b/Source/Bake.Tests/IntegrationTests/BakeTests/Python3FlaskTests.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/IntegrationTests/ServiceTests/DotNetComposerServiceTests.cs b/Source/Bake.Tests/IntegrationTests/ServiceTests/DotNetComposerServiceTests.cs index 8ce0a2e6..ef6ee34f 100644 --- a/Source/Bake.Tests/IntegrationTests/ServiceTests/DotNetComposerServiceTests.cs +++ b/Source/Bake.Tests/IntegrationTests/ServiceTests/DotNetComposerServiceTests.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/IntegrationTests/ServiceTests/GitHubTests.cs b/Source/Bake.Tests/IntegrationTests/ServiceTests/GitHubTests.cs index 9e7bdc64..661c01f1 100644 --- a/Source/Bake.Tests/IntegrationTests/ServiceTests/GitHubTests.cs +++ b/Source/Bake.Tests/IntegrationTests/ServiceTests/GitHubTests.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/LicenseHeader.cs b/Source/Bake.Tests/LicenseHeader.cs index f37c2fb9..4f8b93e8 100644 --- a/Source/Bake.Tests/LicenseHeader.cs +++ b/Source/Bake.Tests/LicenseHeader.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal @@ -20,13 +20,8 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using System; -using System.IO; -using System.Linq; using System.Text; using System.Text.RegularExpressions; -using System.Threading; -using System.Threading.Tasks; using Bake.Tests.Helpers; using NUnit.Framework; diff --git a/Source/Bake.Tests/UnitTests/Commands/CommandFactoryTests.cs b/Source/Bake.Tests/UnitTests/Commands/CommandFactoryTests.cs index 39f7011e..34116bc6 100644 --- a/Source/Bake.Tests/UnitTests/Commands/CommandFactoryTests.cs +++ b/Source/Bake.Tests/UnitTests/Commands/CommandFactoryTests.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/UnitTests/Cooking/Ingredients/Gathers/ReleaseNotesGatherTests.cs b/Source/Bake.Tests/UnitTests/Cooking/Ingredients/Gathers/ReleaseNotesGatherTests.cs index b4b18ea4..2cd96659 100644 --- a/Source/Bake.Tests/UnitTests/Cooking/Ingredients/Gathers/ReleaseNotesGatherTests.cs +++ b/Source/Bake.Tests/UnitTests/Cooking/Ingredients/Gathers/ReleaseNotesGatherTests.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/UnitTests/Core/CredentialsTests.cs b/Source/Bake.Tests/UnitTests/Core/CredentialsTests.cs index 3d322b8d..abd91226 100644 --- a/Source/Bake.Tests/UnitTests/Core/CredentialsTests.cs +++ b/Source/Bake.Tests/UnitTests/Core/CredentialsTests.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/UnitTests/Core/EnvironmentVariablesTests.cs b/Source/Bake.Tests/UnitTests/Core/EnvironmentVariablesTests.cs index d623f415..6b57cbcc 100644 --- a/Source/Bake.Tests/UnitTests/Core/EnvironmentVariablesTests.cs +++ b/Source/Bake.Tests/UnitTests/Core/EnvironmentVariablesTests.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/UnitTests/Core/FileSystemTests.cs b/Source/Bake.Tests/UnitTests/Core/FileSystemTests.cs index 58039e07..eb970750 100644 --- a/Source/Bake.Tests/UnitTests/Core/FileSystemTests.cs +++ b/Source/Bake.Tests/UnitTests/Core/FileSystemTests.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/UnitTests/Core/GitRemoteParserTests.cs b/Source/Bake.Tests/UnitTests/Core/GitRemoteParserTests.cs index 3d585663..846c65ad 100644 --- a/Source/Bake.Tests/UnitTests/Core/GitRemoteParserTests.cs +++ b/Source/Bake.Tests/UnitTests/Core/GitRemoteParserTests.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/UnitTests/Core/NuGetConfigurationTests.cs b/Source/Bake.Tests/UnitTests/Core/NuGetConfigurationTests.cs index e9ee6318..37698af0 100644 --- a/Source/Bake.Tests/UnitTests/Core/NuGetConfigurationTests.cs +++ b/Source/Bake.Tests/UnitTests/Core/NuGetConfigurationTests.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/UnitTests/Core/SemVerTests.cs b/Source/Bake.Tests/UnitTests/Core/SemVerTests.cs index bafc360e..62a80adf 100644 --- a/Source/Bake.Tests/UnitTests/Core/SemVerTests.cs +++ b/Source/Bake.Tests/UnitTests/Core/SemVerTests.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/UnitTests/Extensions/StringExtensionsTests.cs b/Source/Bake.Tests/UnitTests/Extensions/StringExtensionsTests.cs index f298e198..cea7b52f 100644 --- a/Source/Bake.Tests/UnitTests/Extensions/StringExtensionsTests.cs +++ b/Source/Bake.Tests/UnitTests/Extensions/StringExtensionsTests.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/UnitTests/Ingredients/Gathers/GitHubGatherTests.cs b/Source/Bake.Tests/UnitTests/Ingredients/Gathers/GitHubGatherTests.cs index 64f7fcf8..bcd878fc 100644 --- a/Source/Bake.Tests/UnitTests/Ingredients/Gathers/GitHubGatherTests.cs +++ b/Source/Bake.Tests/UnitTests/Ingredients/Gathers/GitHubGatherTests.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/UnitTests/Services/BakeProjectParserTests.cs b/Source/Bake.Tests/UnitTests/Services/BakeProjectParserTests.cs index a74b11f3..c147c3ef 100644 --- a/Source/Bake.Tests/UnitTests/Services/BakeProjectParserTests.cs +++ b/Source/Bake.Tests/UnitTests/Services/BakeProjectParserTests.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/UnitTests/Services/ChangeLogBuilderTests.cs b/Source/Bake.Tests/UnitTests/Services/ChangeLogBuilderTests.cs index 6f853f46..3816c283 100644 --- a/Source/Bake.Tests/UnitTests/Services/ChangeLogBuilderTests.cs +++ b/Source/Bake.Tests/UnitTests/Services/ChangeLogBuilderTests.cs @@ -1,6 +1,6 @@ -// MIT License +// MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/UnitTests/Services/ComposerOrderingTests.cs b/Source/Bake.Tests/UnitTests/Services/ComposerOrderingTests.cs index bcc04045..01023f16 100644 --- a/Source/Bake.Tests/UnitTests/Services/ComposerOrderingTests.cs +++ b/Source/Bake.Tests/UnitTests/Services/ComposerOrderingTests.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/UnitTests/Services/ContainerTagParserTests.cs b/Source/Bake.Tests/UnitTests/Services/ContainerTagParserTests.cs index 8cde2045..2d74b49b 100644 --- a/Source/Bake.Tests/UnitTests/Services/ContainerTagParserTests.cs +++ b/Source/Bake.Tests/UnitTests/Services/ContainerTagParserTests.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/UnitTests/Services/CsProjParserTests.cs b/Source/Bake.Tests/UnitTests/Services/CsProjParserTests.cs index 4c8cba64..c87f0be9 100644 --- a/Source/Bake.Tests/UnitTests/Services/CsProjParserTests.cs +++ b/Source/Bake.Tests/UnitTests/Services/CsProjParserTests.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/UnitTests/Services/DescriptionLimiterTests.cs b/Source/Bake.Tests/UnitTests/Services/DescriptionLimiterTests.cs index 37f13892..bde47357 100644 --- a/Source/Bake.Tests/UnitTests/Services/DescriptionLimiterTests.cs +++ b/Source/Bake.Tests/UnitTests/Services/DescriptionLimiterTests.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/UnitTests/Services/DestinationParserTests.cs b/Source/Bake.Tests/UnitTests/Services/DestinationParserTests.cs index 403e7df0..e6321423 100644 --- a/Source/Bake.Tests/UnitTests/Services/DestinationParserTests.cs +++ b/Source/Bake.Tests/UnitTests/Services/DestinationParserTests.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/UnitTests/Services/DotNetTfmParserTests.cs b/Source/Bake.Tests/UnitTests/Services/DotNetTfmParserTests.cs index 3c83fd8d..dc661a43 100644 --- a/Source/Bake.Tests/UnitTests/Services/DotNetTfmParserTests.cs +++ b/Source/Bake.Tests/UnitTests/Services/DotNetTfmParserTests.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/UnitTests/Services/GoModParserTests.cs b/Source/Bake.Tests/UnitTests/Services/GoModParserTests.cs index d5931d26..55baba5e 100644 --- a/Source/Bake.Tests/UnitTests/Services/GoModParserTests.cs +++ b/Source/Bake.Tests/UnitTests/Services/GoModParserTests.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/UnitTests/Services/PlatformParserTests.cs b/Source/Bake.Tests/UnitTests/Services/PlatformParserTests.cs index c2fab476..b560e52d 100644 --- a/Source/Bake.Tests/UnitTests/Services/PlatformParserTests.cs +++ b/Source/Bake.Tests/UnitTests/Services/PlatformParserTests.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/UnitTests/Services/ReleaseNotesParserTests.cs b/Source/Bake.Tests/UnitTests/Services/ReleaseNotesParserTests.cs index 4d5b1aa7..e88bb45e 100644 --- a/Source/Bake.Tests/UnitTests/Services/ReleaseNotesParserTests.cs +++ b/Source/Bake.Tests/UnitTests/Services/ReleaseNotesParserTests.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/UnitTests/Services/RunnerFactoryTests.cs b/Source/Bake.Tests/UnitTests/Services/RunnerFactoryTests.cs index d91281da..59225596 100644 --- a/Source/Bake.Tests/UnitTests/Services/RunnerFactoryTests.cs +++ b/Source/Bake.Tests/UnitTests/Services/RunnerFactoryTests.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake.Tests/UnitTests/Services/YamlTests.cs b/Source/Bake.Tests/UnitTests/Services/YamlTests.cs index ce5791f1..ed494352 100644 --- a/Source/Bake.Tests/UnitTests/Services/YamlTests.cs +++ b/Source/Bake.Tests/UnitTests/Services/YamlTests.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Commands/Apply/ApplyCommand.cs b/Source/Bake/Commands/Apply/ApplyCommand.cs index e14afa20..59ad4d13 100644 --- a/Source/Bake/Commands/Apply/ApplyCommand.cs +++ b/Source/Bake/Commands/Apply/ApplyCommand.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Commands/ArgumentAttribute.cs b/Source/Bake/Commands/ArgumentAttribute.cs index 856794d8..9a8dec98 100644 --- a/Source/Bake/Commands/ArgumentAttribute.cs +++ b/Source/Bake/Commands/ArgumentAttribute.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Commands/CommandAttribute.cs b/Source/Bake/Commands/CommandAttribute.cs index a2c83535..e80b45bc 100644 --- a/Source/Bake/Commands/CommandAttribute.cs +++ b/Source/Bake/Commands/CommandAttribute.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Commands/CommandFactory.cs b/Source/Bake/Commands/CommandFactory.cs index 9b5fd2f2..6f9aa41a 100644 --- a/Source/Bake/Commands/CommandFactory.cs +++ b/Source/Bake/Commands/CommandFactory.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Commands/ICommand.cs b/Source/Bake/Commands/ICommand.cs index 4cb71916..8664e2b5 100644 --- a/Source/Bake/Commands/ICommand.cs +++ b/Source/Bake/Commands/ICommand.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Commands/ICommandFactory.cs b/Source/Bake/Commands/ICommandFactory.cs index b12378a1..d3e07fec 100644 --- a/Source/Bake/Commands/ICommandFactory.cs +++ b/Source/Bake/Commands/ICommandFactory.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Commands/Plan/PlanCommand.cs b/Source/Bake/Commands/Plan/PlanCommand.cs index d57bc351..993bd256 100644 --- a/Source/Bake/Commands/Plan/PlanCommand.cs +++ b/Source/Bake/Commands/Plan/PlanCommand.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Commands/Run/RunCommand.cs b/Source/Bake/Commands/Run/RunCommand.cs index a77a777e..729c7892 100644 --- a/Source/Bake/Commands/Run/RunCommand.cs +++ b/Source/Bake/Commands/Run/RunCommand.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Constants.cs b/Source/Bake/Constants.cs index 40f28451..e78edc45 100644 --- a/Source/Bake/Constants.cs +++ b/Source/Bake/Constants.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Context.cs b/Source/Bake/Context.cs index 51e4186e..d87970cd 100644 --- a/Source/Bake/Context.cs +++ b/Source/Bake/Context.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Composer.cs b/Source/Bake/Cooking/Composer.cs index dcc5f355..1ff1e375 100644 --- a/Source/Bake/Cooking/Composer.cs +++ b/Source/Bake/Cooking/Composer.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Composers/ChartMuseumComposer.cs b/Source/Bake/Cooking/Composers/ChartMuseumComposer.cs index e3f05a14..a0e4173a 100644 --- a/Source/Bake/Cooking/Composers/ChartMuseumComposer.cs +++ b/Source/Bake/Cooking/Composers/ChartMuseumComposer.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Composers/DockerComposer.cs b/Source/Bake/Cooking/Composers/DockerComposer.cs index 62d0c995..fad0d301 100644 --- a/Source/Bake/Cooking/Composers/DockerComposer.cs +++ b/Source/Bake/Cooking/Composers/DockerComposer.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Composers/DotNetComposer.cs b/Source/Bake/Cooking/Composers/DotNetComposer.cs index c45c882c..dc66b027 100644 --- a/Source/Bake/Cooking/Composers/DotNetComposer.cs +++ b/Source/Bake/Cooking/Composers/DotNetComposer.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Composers/GitHubReleaseComposer.cs b/Source/Bake/Cooking/Composers/GitHubReleaseComposer.cs index 1e2aa857..ffa7e498 100644 --- a/Source/Bake/Cooking/Composers/GitHubReleaseComposer.cs +++ b/Source/Bake/Cooking/Composers/GitHubReleaseComposer.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Composers/GoComposer.cs b/Source/Bake/Cooking/Composers/GoComposer.cs index 43a97879..52448b73 100644 --- a/Source/Bake/Cooking/Composers/GoComposer.cs +++ b/Source/Bake/Cooking/Composers/GoComposer.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Composers/HelmComposer.cs b/Source/Bake/Cooking/Composers/HelmComposer.cs index 2a3e714c..6fa4f60c 100644 --- a/Source/Bake/Cooking/Composers/HelmComposer.cs +++ b/Source/Bake/Cooking/Composers/HelmComposer.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Composers/MkDocsComposer.cs b/Source/Bake/Cooking/Composers/MkDocsComposer.cs index a84e20c4..a3d65dab 100644 --- a/Source/Bake/Cooking/Composers/MkDocsComposer.cs +++ b/Source/Bake/Cooking/Composers/MkDocsComposer.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Composers/NodeJsComposer.cs b/Source/Bake/Cooking/Composers/NodeJsComposer.cs index 399c3f31..8ccf48b8 100644 --- a/Source/Bake/Cooking/Composers/NodeJsComposer.cs +++ b/Source/Bake/Cooking/Composers/NodeJsComposer.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Composers/OctopusDeployPackageComposer.cs b/Source/Bake/Cooking/Composers/OctopusDeployPackageComposer.cs index 9f86f19c..0fb45ba1 100644 --- a/Source/Bake/Cooking/Composers/OctopusDeployPackageComposer.cs +++ b/Source/Bake/Cooking/Composers/OctopusDeployPackageComposer.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Composers/PythonFlaskComposer.cs b/Source/Bake/Cooking/Composers/PythonFlaskComposer.cs index 5542de79..a959a5c9 100644 --- a/Source/Bake/Cooking/Composers/PythonFlaskComposer.cs +++ b/Source/Bake/Cooking/Composers/PythonFlaskComposer.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Cooks/ChartMuseum/ChartMuseumUploadCook.cs b/Source/Bake/Cooking/Cooks/ChartMuseum/ChartMuseumUploadCook.cs index fcd2a519..57bdcf13 100644 --- a/Source/Bake/Cooking/Cooks/ChartMuseum/ChartMuseumUploadCook.cs +++ b/Source/Bake/Cooking/Cooks/ChartMuseum/ChartMuseumUploadCook.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Cooks/Cook.cs b/Source/Bake/Cooking/Cooks/Cook.cs index 90996483..2be45134 100644 --- a/Source/Bake/Cooking/Cooks/Cook.cs +++ b/Source/Bake/Cooking/Cooks/Cook.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Cooks/Docker/DockerBuildCook.cs b/Source/Bake/Cooking/Cooks/Docker/DockerBuildCook.cs index d563044b..edd7382e 100644 --- a/Source/Bake/Cooking/Cooks/Docker/DockerBuildCook.cs +++ b/Source/Bake/Cooking/Cooks/Docker/DockerBuildCook.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Cooks/Docker/DockerPushCook.cs b/Source/Bake/Cooking/Cooks/Docker/DockerPushCook.cs index a20d37d1..c9368d1d 100644 --- a/Source/Bake/Cooking/Cooks/Docker/DockerPushCook.cs +++ b/Source/Bake/Cooking/Cooks/Docker/DockerPushCook.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Cooks/DotNet/DotNetBuildCook.cs b/Source/Bake/Cooking/Cooks/DotNet/DotNetBuildCook.cs index be0cb649..5945556e 100644 --- a/Source/Bake/Cooking/Cooks/DotNet/DotNetBuildCook.cs +++ b/Source/Bake/Cooking/Cooks/DotNet/DotNetBuildCook.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Cooks/DotNet/DotNetCleanCook.cs b/Source/Bake/Cooking/Cooks/DotNet/DotNetCleanCook.cs index b3af8b06..3c6b1ab3 100644 --- a/Source/Bake/Cooking/Cooks/DotNet/DotNetCleanCook.cs +++ b/Source/Bake/Cooking/Cooks/DotNet/DotNetCleanCook.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Cooks/DotNet/DotNetDockerFileCook.cs b/Source/Bake/Cooking/Cooks/DotNet/DotNetDockerFileCook.cs index 2dd7c4f8..05077b5d 100644 --- a/Source/Bake/Cooking/Cooks/DotNet/DotNetDockerFileCook.cs +++ b/Source/Bake/Cooking/Cooks/DotNet/DotNetDockerFileCook.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Cooks/DotNet/DotNetNuGetPushCook.cs b/Source/Bake/Cooking/Cooks/DotNet/DotNetNuGetPushCook.cs index f03e79e4..838b7098 100644 --- a/Source/Bake/Cooking/Cooks/DotNet/DotNetNuGetPushCook.cs +++ b/Source/Bake/Cooking/Cooks/DotNet/DotNetNuGetPushCook.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Cooks/DotNet/DotNetPackCook.cs b/Source/Bake/Cooking/Cooks/DotNet/DotNetPackCook.cs index 373000e4..1d38b696 100644 --- a/Source/Bake/Cooking/Cooks/DotNet/DotNetPackCook.cs +++ b/Source/Bake/Cooking/Cooks/DotNet/DotNetPackCook.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Cooks/DotNet/DotNetPublishCook.cs b/Source/Bake/Cooking/Cooks/DotNet/DotNetPublishCook.cs index a543e34b..7eddb23c 100644 --- a/Source/Bake/Cooking/Cooks/DotNet/DotNetPublishCook.cs +++ b/Source/Bake/Cooking/Cooks/DotNet/DotNetPublishCook.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Cooks/DotNet/DotNetRestoreCook.cs b/Source/Bake/Cooking/Cooks/DotNet/DotNetRestoreCook.cs index 85961549..fbc62fa0 100644 --- a/Source/Bake/Cooking/Cooks/DotNet/DotNetRestoreCook.cs +++ b/Source/Bake/Cooking/Cooks/DotNet/DotNetRestoreCook.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Cooks/DotNet/DotNetTestCook.cs b/Source/Bake/Cooking/Cooks/DotNet/DotNetTestCook.cs index 5f0406f3..7ba4f171 100644 --- a/Source/Bake/Cooking/Cooks/DotNet/DotNetTestCook.cs +++ b/Source/Bake/Cooking/Cooks/DotNet/DotNetTestCook.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Cooks/GitHub/GitHubReleaseCook.cs b/Source/Bake/Cooking/Cooks/GitHub/GitHubReleaseCook.cs index de2f5083..3f0c3069 100644 --- a/Source/Bake/Cooking/Cooks/GitHub/GitHubReleaseCook.cs +++ b/Source/Bake/Cooking/Cooks/GitHub/GitHubReleaseCook.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Cooks/Go/GoBuildCook.cs b/Source/Bake/Cooking/Cooks/Go/GoBuildCook.cs index e1fdf600..db68a67b 100644 --- a/Source/Bake/Cooking/Cooks/Go/GoBuildCook.cs +++ b/Source/Bake/Cooking/Cooks/Go/GoBuildCook.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Cooks/Go/GoDockerFileCook.cs b/Source/Bake/Cooking/Cooks/Go/GoDockerFileCook.cs index d91cc566..d988d900 100644 --- a/Source/Bake/Cooking/Cooks/Go/GoDockerFileCook.cs +++ b/Source/Bake/Cooking/Cooks/Go/GoDockerFileCook.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Cooks/Go/GoTestCook.cs b/Source/Bake/Cooking/Cooks/Go/GoTestCook.cs index e2d551e2..04ffa19c 100644 --- a/Source/Bake/Cooking/Cooks/Go/GoTestCook.cs +++ b/Source/Bake/Cooking/Cooks/Go/GoTestCook.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Cooks/Helm/HelmLintCook.cs b/Source/Bake/Cooking/Cooks/Helm/HelmLintCook.cs index 88463c83..b6e92920 100644 --- a/Source/Bake/Cooking/Cooks/Helm/HelmLintCook.cs +++ b/Source/Bake/Cooking/Cooks/Helm/HelmLintCook.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Cooks/Helm/HelmPackageCook.cs b/Source/Bake/Cooking/Cooks/Helm/HelmPackageCook.cs index 370fd411..9be7d490 100644 --- a/Source/Bake/Cooking/Cooks/Helm/HelmPackageCook.cs +++ b/Source/Bake/Cooking/Cooks/Helm/HelmPackageCook.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Cooks/ICook.cs b/Source/Bake/Cooking/Cooks/ICook.cs index 43719da6..3a0899ff 100644 --- a/Source/Bake/Cooking/Cooks/ICook.cs +++ b/Source/Bake/Cooking/Cooks/ICook.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Cooks/MkDocs/MkDocsBuildCook.cs b/Source/Bake/Cooking/Cooks/MkDocs/MkDocsBuildCook.cs index 50057e1f..86227f31 100644 --- a/Source/Bake/Cooking/Cooks/MkDocs/MkDocsBuildCook.cs +++ b/Source/Bake/Cooking/Cooks/MkDocs/MkDocsBuildCook.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Cooks/NodeJS/NodeJSDockerfileCook.cs b/Source/Bake/Cooking/Cooks/NodeJS/NodeJSDockerfileCook.cs index 54a67d57..c1845052 100644 --- a/Source/Bake/Cooking/Cooks/NodeJS/NodeJSDockerfileCook.cs +++ b/Source/Bake/Cooking/Cooks/NodeJS/NodeJSDockerfileCook.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Cooks/NodeJS/NpmCICook.cs b/Source/Bake/Cooking/Cooks/NodeJS/NpmCICook.cs index 45bf06b9..eb58ebe7 100644 --- a/Source/Bake/Cooking/Cooks/NodeJS/NpmCICook.cs +++ b/Source/Bake/Cooking/Cooks/NodeJS/NpmCICook.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Cooks/OctopusDeploy/OctopusDeployPackagePushCook.cs b/Source/Bake/Cooking/Cooks/OctopusDeploy/OctopusDeployPackagePushCook.cs index 8c0dd105..a5f8e140 100644 --- a/Source/Bake/Cooking/Cooks/OctopusDeploy/OctopusDeployPackagePushCook.cs +++ b/Source/Bake/Cooking/Cooks/OctopusDeploy/OctopusDeployPackagePushCook.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Cooks/Pip/PipInstallRequirementsCook.cs b/Source/Bake/Cooking/Cooks/Pip/PipInstallRequirementsCook.cs index f00381be..a673591c 100644 --- a/Source/Bake/Cooking/Cooks/Pip/PipInstallRequirementsCook.cs +++ b/Source/Bake/Cooking/Cooks/Pip/PipInstallRequirementsCook.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Cooks/Python/PythonFlaskDockerfileCook.cs b/Source/Bake/Cooking/Cooks/Python/PythonFlaskDockerfileCook.cs index f754be58..2e54ad77 100644 --- a/Source/Bake/Cooking/Cooks/Python/PythonFlaskDockerfileCook.cs +++ b/Source/Bake/Cooking/Cooks/Python/PythonFlaskDockerfileCook.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Editor.cs b/Source/Bake/Cooking/Editor.cs index 81c34841..7cbba7b7 100644 --- a/Source/Bake/Cooking/Editor.cs +++ b/Source/Bake/Cooking/Editor.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/IComposer.cs b/Source/Bake/Cooking/IComposer.cs index 0a32ce5e..7a73bdf3 100644 --- a/Source/Bake/Cooking/IComposer.cs +++ b/Source/Bake/Cooking/IComposer.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/IEditor.cs b/Source/Bake/Cooking/IEditor.cs index 333f9d86..031d20af 100644 --- a/Source/Bake/Cooking/IEditor.cs +++ b/Source/Bake/Cooking/IEditor.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/IKitchen.cs b/Source/Bake/Cooking/IKitchen.cs index cca2136c..45df8b5e 100644 --- a/Source/Bake/Cooking/IKitchen.cs +++ b/Source/Bake/Cooking/IKitchen.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Ingredients/Gathers/ChangelogGather.cs b/Source/Bake/Cooking/Ingredients/Gathers/ChangelogGather.cs index ac04cdea..52aa618f 100644 --- a/Source/Bake/Cooking/Ingredients/Gathers/ChangelogGather.cs +++ b/Source/Bake/Cooking/Ingredients/Gathers/ChangelogGather.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Ingredients/Gathers/DescriptionGather.cs b/Source/Bake/Cooking/Ingredients/Gathers/DescriptionGather.cs index 1a80753f..c8a0a8bb 100644 --- a/Source/Bake/Cooking/Ingredients/Gathers/DescriptionGather.cs +++ b/Source/Bake/Cooking/Ingredients/Gathers/DescriptionGather.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Ingredients/Gathers/DynamicDestinationGather.cs b/Source/Bake/Cooking/Ingredients/Gathers/DynamicDestinationGather.cs index a75e0750..22cbbeec 100644 --- a/Source/Bake/Cooking/Ingredients/Gathers/DynamicDestinationGather.cs +++ b/Source/Bake/Cooking/Ingredients/Gathers/DynamicDestinationGather.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Ingredients/Gathers/GitGather.cs b/Source/Bake/Cooking/Ingredients/Gathers/GitGather.cs index 3da94045..19995912 100644 --- a/Source/Bake/Cooking/Ingredients/Gathers/GitGather.cs +++ b/Source/Bake/Cooking/Ingredients/Gathers/GitGather.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Ingredients/Gathers/GitHubGather.cs b/Source/Bake/Cooking/Ingredients/Gathers/GitHubGather.cs index ee24bc5e..c9d7f5d1 100644 --- a/Source/Bake/Cooking/Ingredients/Gathers/GitHubGather.cs +++ b/Source/Bake/Cooking/Ingredients/Gathers/GitHubGather.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Ingredients/Gathers/IGather.cs b/Source/Bake/Cooking/Ingredients/Gathers/IGather.cs index d677d268..a2bc4906 100644 --- a/Source/Bake/Cooking/Ingredients/Gathers/IGather.cs +++ b/Source/Bake/Cooking/Ingredients/Gathers/IGather.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Ingredients/Gathers/ReleaseNotesGather.cs b/Source/Bake/Cooking/Ingredients/Gathers/ReleaseNotesGather.cs index c0cbb6b7..6bed7bfd 100644 --- a/Source/Bake/Cooking/Ingredients/Gathers/ReleaseNotesGather.cs +++ b/Source/Bake/Cooking/Ingredients/Gathers/ReleaseNotesGather.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Cooking/Kitchen.cs b/Source/Bake/Cooking/Kitchen.cs index d0041dc8..832f9c44 100644 --- a/Source/Bake/Cooking/Kitchen.cs +++ b/Source/Bake/Cooking/Kitchen.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Core/Argument.cs b/Source/Bake/Core/Argument.cs index 402dd9e0..2e4adc42 100644 --- a/Source/Bake/Core/Argument.cs +++ b/Source/Bake/Core/Argument.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Core/Credentials.cs b/Source/Bake/Core/Credentials.cs index 32a82626..d2f64ac5 100644 --- a/Source/Bake/Core/Credentials.cs +++ b/Source/Bake/Core/Credentials.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Core/Defaults.cs b/Source/Bake/Core/Defaults.cs index c17d95ef..8f9df111 100644 --- a/Source/Bake/Core/Defaults.cs +++ b/Source/Bake/Core/Defaults.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Core/DisposableAction.cs b/Source/Bake/Core/DisposableAction.cs index e385235a..31704b29 100644 --- a/Source/Bake/Core/DisposableAction.cs +++ b/Source/Bake/Core/DisposableAction.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Core/EnvironmentVariables.cs b/Source/Bake/Core/EnvironmentVariables.cs index 5ea61520..d90dfcb7 100644 --- a/Source/Bake/Core/EnvironmentVariables.cs +++ b/Source/Bake/Core/EnvironmentVariables.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Core/File.cs b/Source/Bake/Core/File.cs index feda0580..0da7ee55 100644 --- a/Source/Bake/Core/File.cs +++ b/Source/Bake/Core/File.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Core/FileSystem.cs b/Source/Bake/Core/FileSystem.cs index 25d742f5..eaba8470 100644 --- a/Source/Bake/Core/FileSystem.cs +++ b/Source/Bake/Core/FileSystem.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Core/Folder.cs b/Source/Bake/Core/Folder.cs index 976ea9a9..6ae2bf75 100644 --- a/Source/Bake/Core/Folder.cs +++ b/Source/Bake/Core/Folder.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Core/GitRemoteParser.cs b/Source/Bake/Core/GitRemoteParser.cs index 0439267c..b1155b73 100644 --- a/Source/Bake/Core/GitRemoteParser.cs +++ b/Source/Bake/Core/GitRemoteParser.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Core/ICredentials.cs b/Source/Bake/Core/ICredentials.cs index 9f3cc66d..51ffedc5 100644 --- a/Source/Bake/Core/ICredentials.cs +++ b/Source/Bake/Core/ICredentials.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Core/IDefaults.cs b/Source/Bake/Core/IDefaults.cs index 8593ea79..79f1b493 100644 --- a/Source/Bake/Core/IDefaults.cs +++ b/Source/Bake/Core/IDefaults.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Core/IEnvironmentVariables.cs b/Source/Bake/Core/IEnvironmentVariables.cs index 5b46db3b..562e4a1c 100644 --- a/Source/Bake/Core/IEnvironmentVariables.cs +++ b/Source/Bake/Core/IEnvironmentVariables.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Core/IFile.cs b/Source/Bake/Core/IFile.cs index 6a09a72c..9c3f8ac4 100644 --- a/Source/Bake/Core/IFile.cs +++ b/Source/Bake/Core/IFile.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Core/IFileSystem.cs b/Source/Bake/Core/IFileSystem.cs index e1ca9f01..e2c6a450 100644 --- a/Source/Bake/Core/IFileSystem.cs +++ b/Source/Bake/Core/IFileSystem.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Core/ILogCollector.cs b/Source/Bake/Core/ILogCollector.cs index 5f47fc1f..69b676d5 100644 --- a/Source/Bake/Core/ILogCollector.cs +++ b/Source/Bake/Core/ILogCollector.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Core/INuGetConfiguration.cs b/Source/Bake/Core/INuGetConfiguration.cs index 7e058094..3d4b50b8 100644 --- a/Source/Bake/Core/INuGetConfiguration.cs +++ b/Source/Bake/Core/INuGetConfiguration.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Core/IRandom.cs b/Source/Bake/Core/IRandom.cs index ab6a0944..34281ce9 100644 --- a/Source/Bake/Core/IRandom.cs +++ b/Source/Bake/Core/IRandom.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Core/IYaml.cs b/Source/Bake/Core/IYaml.cs index 09ac15b4..dcf5f693 100644 --- a/Source/Bake/Core/IYaml.cs +++ b/Source/Bake/Core/IYaml.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Core/LogCollector.cs b/Source/Bake/Core/LogCollector.cs index 815ec0ac..19023197 100644 --- a/Source/Bake/Core/LogCollector.cs +++ b/Source/Bake/Core/LogCollector.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Core/LogSink.cs b/Source/Bake/Core/LogSink.cs index 9fc72eea..d2dfbd3a 100644 --- a/Source/Bake/Core/LogSink.cs +++ b/Source/Bake/Core/LogSink.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Core/LoggerBuilder.cs b/Source/Bake/Core/LoggerBuilder.cs index c48287c6..8bfc62d4 100644 --- a/Source/Bake/Core/LoggerBuilder.cs +++ b/Source/Bake/Core/LoggerBuilder.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Core/NuGetConfiguration.cs b/Source/Bake/Core/NuGetConfiguration.cs index 0a110aa3..f95c57dc 100644 --- a/Source/Bake/Core/NuGetConfiguration.cs +++ b/Source/Bake/Core/NuGetConfiguration.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Core/RandomWrapper.cs b/Source/Bake/Core/RandomWrapper.cs index 62288083..ce0f84fd 100644 --- a/Source/Bake/Core/RandomWrapper.cs +++ b/Source/Bake/Core/RandomWrapper.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Core/SemVer.cs b/Source/Bake/Core/SemVer.cs index e3b06837..08e4c316 100644 --- a/Source/Bake/Core/SemVer.cs +++ b/Source/Bake/Core/SemVer.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Core/Yaml.cs b/Source/Bake/Core/Yaml.cs index 830a6540..191b0e21 100644 --- a/Source/Bake/Core/Yaml.cs +++ b/Source/Bake/Core/Yaml.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Exceptions/BuildFailedException.cs b/Source/Bake/Exceptions/BuildFailedException.cs index 7f901d1d..95a76868 100644 --- a/Source/Bake/Exceptions/BuildFailedException.cs +++ b/Source/Bake/Exceptions/BuildFailedException.cs @@ -1,6 +1,6 @@ -// MIT License +// MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Executor.cs b/Source/Bake/Executor.cs index 6f3139e6..9f795f8e 100644 --- a/Source/Bake/Executor.cs +++ b/Source/Bake/Executor.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ExitCodes.cs b/Source/Bake/ExitCodes.cs index 8a64f193..2a4e1c6c 100644 --- a/Source/Bake/ExitCodes.cs +++ b/Source/Bake/ExitCodes.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Extensions/EnumerableExtensions.cs b/Source/Bake/Extensions/EnumerableExtensions.cs index e36e8cb1..f530f07f 100644 --- a/Source/Bake/Extensions/EnumerableExtensions.cs +++ b/Source/Bake/Extensions/EnumerableExtensions.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Extensions/LoggerExtensions.cs b/Source/Bake/Extensions/LoggerExtensions.cs index e267c9ae..27c1d7a6 100644 --- a/Source/Bake/Extensions/LoggerExtensions.cs +++ b/Source/Bake/Extensions/LoggerExtensions.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Extensions/LongExtensions.cs b/Source/Bake/Extensions/LongExtensions.cs index dbd66082..31acc310 100644 --- a/Source/Bake/Extensions/LongExtensions.cs +++ b/Source/Bake/Extensions/LongExtensions.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Extensions/MatchExtensions.cs b/Source/Bake/Extensions/MatchExtensions.cs index c35a2537..41b9fb82 100644 --- a/Source/Bake/Extensions/MatchExtensions.cs +++ b/Source/Bake/Extensions/MatchExtensions.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Extensions/RunnerFactoryExtensions.cs b/Source/Bake/Extensions/RunnerFactoryExtensions.cs index 86a1636e..a41f4bdd 100644 --- a/Source/Bake/Extensions/RunnerFactoryExtensions.cs +++ b/Source/Bake/Extensions/RunnerFactoryExtensions.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Extensions/ServiceCollectionExtensions.cs b/Source/Bake/Extensions/ServiceCollectionExtensions.cs index 05270710..95849330 100644 --- a/Source/Bake/Extensions/ServiceCollectionExtensions.cs +++ b/Source/Bake/Extensions/ServiceCollectionExtensions.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Extensions/StringExtensions.cs b/Source/Bake/Extensions/StringExtensions.cs index 2d8fcaac..1d4d8152 100644 --- a/Source/Bake/Extensions/StringExtensions.cs +++ b/Source/Bake/Extensions/StringExtensions.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Extensions/TypeExtensions.cs b/Source/Bake/Extensions/TypeExtensions.cs index f4e44b36..9b490851 100644 --- a/Source/Bake/Extensions/TypeExtensions.cs +++ b/Source/Bake/Extensions/TypeExtensions.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/IChangeLogBuilder.cs b/Source/Bake/IChangeLogBuilder.cs index c600274e..a11294a9 100644 --- a/Source/Bake/IChangeLogBuilder.cs +++ b/Source/Bake/IChangeLogBuilder.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/IContext.cs b/Source/Bake/IContext.cs index d1b08877..8812815c 100644 --- a/Source/Bake/IContext.cs +++ b/Source/Bake/IContext.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/IExecutor.cs b/Source/Bake/IExecutor.cs index 695b7470..47871fc8 100644 --- a/Source/Bake/IExecutor.cs +++ b/Source/Bake/IExecutor.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Names.cs b/Source/Bake/Names.cs index 544ffa09..fab0fb3e 100644 --- a/Source/Bake/Names.cs +++ b/Source/Bake/Names.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Program.cs b/Source/Bake/Program.cs index 662a6e6b..4d35a17d 100644 --- a/Source/Bake/Program.cs +++ b/Source/Bake/Program.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/BakeProjectParser.cs b/Source/Bake/Services/BakeProjectParser.cs index 41474e27..e4fe3643 100644 --- a/Source/Bake/Services/BakeProjectParser.cs +++ b/Source/Bake/Services/BakeProjectParser.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/ChangeLogBuilder.cs b/Source/Bake/Services/ChangeLogBuilder.cs index 81058efb..e331a810 100644 --- a/Source/Bake/Services/ChangeLogBuilder.cs +++ b/Source/Bake/Services/ChangeLogBuilder.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/ComposerOrdering.cs b/Source/Bake/Services/ComposerOrdering.cs index 8659c3c8..1661d4c6 100644 --- a/Source/Bake/Services/ComposerOrdering.cs +++ b/Source/Bake/Services/ComposerOrdering.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/ContainerTagParser.cs b/Source/Bake/Services/ContainerTagParser.cs index 5d9acb0b..ce5cf2ff 100644 --- a/Source/Bake/Services/ContainerTagParser.cs +++ b/Source/Bake/Services/ContainerTagParser.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/ConventionInterpreter.cs b/Source/Bake/Services/ConventionInterpreter.cs index c4f65b78..4fa87803 100644 --- a/Source/Bake/Services/ConventionInterpreter.cs +++ b/Source/Bake/Services/ConventionInterpreter.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/CsProjParser.cs b/Source/Bake/Services/CsProjParser.cs index e5c52116..9dc79c87 100644 --- a/Source/Bake/Services/CsProjParser.cs +++ b/Source/Bake/Services/CsProjParser.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/DescriptionLimiter.cs b/Source/Bake/Services/DescriptionLimiter.cs index 95fb8213..5e9732b7 100644 --- a/Source/Bake/Services/DescriptionLimiter.cs +++ b/Source/Bake/Services/DescriptionLimiter.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/DestinationParser.cs b/Source/Bake/Services/DestinationParser.cs index ad725293..6583b597 100644 --- a/Source/Bake/Services/DestinationParser.cs +++ b/Source/Bake/Services/DestinationParser.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/DockerIgnores.cs b/Source/Bake/Services/DockerIgnores.cs index f62a2d88..23a94de8 100644 --- a/Source/Bake/Services/DockerIgnores.cs +++ b/Source/Bake/Services/DockerIgnores.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/DockerLabels.cs b/Source/Bake/Services/DockerLabels.cs index 6b1aaae1..362b8ce6 100644 --- a/Source/Bake/Services/DockerLabels.cs +++ b/Source/Bake/Services/DockerLabels.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/DotNetTfmParser.cs b/Source/Bake/Services/DotNetTfmParser.cs index e5f94bf2..00a76e60 100644 --- a/Source/Bake/Services/DotNetTfmParser.cs +++ b/Source/Bake/Services/DotNetTfmParser.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/GitHub.cs b/Source/Bake/Services/GitHub.cs index 7b98ca7d..812c2e5a 100644 --- a/Source/Bake/Services/GitHub.cs +++ b/Source/Bake/Services/GitHub.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/GitHubClientFactory.cs b/Source/Bake/Services/GitHubClientFactory.cs index f45cf198..44d2a3c3 100644 --- a/Source/Bake/Services/GitHubClientFactory.cs +++ b/Source/Bake/Services/GitHubClientFactory.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/GoModParser.cs b/Source/Bake/Services/GoModParser.cs index 2907bac0..1dcbf53a 100644 --- a/Source/Bake/Services/GoModParser.cs +++ b/Source/Bake/Services/GoModParser.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/IBakeProjectParser.cs b/Source/Bake/Services/IBakeProjectParser.cs index 6a1f8479..4bada0d6 100644 --- a/Source/Bake/Services/IBakeProjectParser.cs +++ b/Source/Bake/Services/IBakeProjectParser.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/IComposerOrdering.cs b/Source/Bake/Services/IComposerOrdering.cs index 68e0e619..c13393b1 100644 --- a/Source/Bake/Services/IComposerOrdering.cs +++ b/Source/Bake/Services/IComposerOrdering.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/IContainerTagParser.cs b/Source/Bake/Services/IContainerTagParser.cs index ebce578a..f7c2ef11 100644 --- a/Source/Bake/Services/IContainerTagParser.cs +++ b/Source/Bake/Services/IContainerTagParser.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/IConventionInterpreter.cs b/Source/Bake/Services/IConventionInterpreter.cs index f1a7ec35..e6bc42b2 100644 --- a/Source/Bake/Services/IConventionInterpreter.cs +++ b/Source/Bake/Services/IConventionInterpreter.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/ICsProjParser.cs b/Source/Bake/Services/ICsProjParser.cs index 24432d2a..ee6f13e9 100644 --- a/Source/Bake/Services/ICsProjParser.cs +++ b/Source/Bake/Services/ICsProjParser.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/IDescriptionLimiter.cs b/Source/Bake/Services/IDescriptionLimiter.cs index f9081cb5..dcd06bcd 100644 --- a/Source/Bake/Services/IDescriptionLimiter.cs +++ b/Source/Bake/Services/IDescriptionLimiter.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/IDestinationParser.cs b/Source/Bake/Services/IDestinationParser.cs index 3559c953..78ca75d2 100644 --- a/Source/Bake/Services/IDestinationParser.cs +++ b/Source/Bake/Services/IDestinationParser.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/IDockerIgnores.cs b/Source/Bake/Services/IDockerIgnores.cs index 59c39af8..5c49d4a1 100644 --- a/Source/Bake/Services/IDockerIgnores.cs +++ b/Source/Bake/Services/IDockerIgnores.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/IDockerLabels.cs b/Source/Bake/Services/IDockerLabels.cs index 82f0277e..0210237e 100644 --- a/Source/Bake/Services/IDockerLabels.cs +++ b/Source/Bake/Services/IDockerLabels.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/IDotNetTfmParser.cs b/Source/Bake/Services/IDotNetTfmParser.cs index f0d4f755..f8be6c45 100644 --- a/Source/Bake/Services/IDotNetTfmParser.cs +++ b/Source/Bake/Services/IDotNetTfmParser.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/IGitHub.cs b/Source/Bake/Services/IGitHub.cs index 66237d28..dc7f1b12 100644 --- a/Source/Bake/Services/IGitHub.cs +++ b/Source/Bake/Services/IGitHub.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/IGitHubClientFactory.cs b/Source/Bake/Services/IGitHubClientFactory.cs index fe2280a3..85983fd9 100644 --- a/Source/Bake/Services/IGitHubClientFactory.cs +++ b/Source/Bake/Services/IGitHubClientFactory.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/IGoModParser.cs b/Source/Bake/Services/IGoModParser.cs index a0478c42..f18ce62c 100644 --- a/Source/Bake/Services/IGoModParser.cs +++ b/Source/Bake/Services/IGoModParser.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/IPlatformParser.cs b/Source/Bake/Services/IPlatformParser.cs index c92cfbd9..178b6c42 100644 --- a/Source/Bake/Services/IPlatformParser.cs +++ b/Source/Bake/Services/IPlatformParser.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/IReleaseNotesParser.cs b/Source/Bake/Services/IReleaseNotesParser.cs index 6eb0431a..f78eb25b 100644 --- a/Source/Bake/Services/IReleaseNotesParser.cs +++ b/Source/Bake/Services/IReleaseNotesParser.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/IRunner.cs b/Source/Bake/Services/IRunner.cs index 2f3f9483..fe955b39 100644 --- a/Source/Bake/Services/IRunner.cs +++ b/Source/Bake/Services/IRunner.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/IRunnerFactory.cs b/Source/Bake/Services/IRunnerFactory.cs index 0ceb534e..b3b9c7e9 100644 --- a/Source/Bake/Services/IRunnerFactory.cs +++ b/Source/Bake/Services/IRunnerFactory.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/IRunnerResult.cs b/Source/Bake/Services/IRunnerResult.cs index 74323383..70137967 100644 --- a/Source/Bake/Services/IRunnerResult.cs +++ b/Source/Bake/Services/IRunnerResult.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/IUploader.cs b/Source/Bake/Services/IUploader.cs index 9fb01844..283c7bea 100644 --- a/Source/Bake/Services/IUploader.cs +++ b/Source/Bake/Services/IUploader.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/PlatformParser.cs b/Source/Bake/Services/PlatformParser.cs index f08f1f38..007c709c 100644 --- a/Source/Bake/Services/PlatformParser.cs +++ b/Source/Bake/Services/PlatformParser.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/ReleaseNotesParser.cs b/Source/Bake/Services/ReleaseNotesParser.cs index 4b6610cd..4762b286 100644 --- a/Source/Bake/Services/ReleaseNotesParser.cs +++ b/Source/Bake/Services/ReleaseNotesParser.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/Runner.cs b/Source/Bake/Services/Runner.cs index cf767f01..f75c95bc 100644 --- a/Source/Bake/Services/Runner.cs +++ b/Source/Bake/Services/Runner.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/RunnerFactory.cs b/Source/Bake/Services/RunnerFactory.cs index dd200e5f..cea74885 100644 --- a/Source/Bake/Services/RunnerFactory.cs +++ b/Source/Bake/Services/RunnerFactory.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/RunnerResult.cs b/Source/Bake/Services/RunnerResult.cs index 14f1c834..34dd29c1 100644 --- a/Source/Bake/Services/RunnerResult.cs +++ b/Source/Bake/Services/RunnerResult.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/Tools/Docker.cs b/Source/Bake/Services/Tools/Docker.cs index 06a233ab..e91f634b 100644 --- a/Source/Bake/Services/Tools/Docker.cs +++ b/Source/Bake/Services/Tools/Docker.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/Tools/DockerArguments/DockerBuildArgument.cs b/Source/Bake/Services/Tools/DockerArguments/DockerBuildArgument.cs index ec4d6230..50b47abe 100644 --- a/Source/Bake/Services/Tools/DockerArguments/DockerBuildArgument.cs +++ b/Source/Bake/Services/Tools/DockerArguments/DockerBuildArgument.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/Tools/DockerArguments/DockerLoginArgument.cs b/Source/Bake/Services/Tools/DockerArguments/DockerLoginArgument.cs index f43d7754..6c9814c9 100644 --- a/Source/Bake/Services/Tools/DockerArguments/DockerLoginArgument.cs +++ b/Source/Bake/Services/Tools/DockerArguments/DockerLoginArgument.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/Tools/DockerArguments/DockerPushArgument.cs b/Source/Bake/Services/Tools/DockerArguments/DockerPushArgument.cs index a61648c6..f27a6a9a 100644 --- a/Source/Bake/Services/Tools/DockerArguments/DockerPushArgument.cs +++ b/Source/Bake/Services/Tools/DockerArguments/DockerPushArgument.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/Tools/DotNet.cs b/Source/Bake/Services/Tools/DotNet.cs index 05faece9..0d112837 100644 --- a/Source/Bake/Services/Tools/DotNet.cs +++ b/Source/Bake/Services/Tools/DotNet.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/Tools/DotNetArguments/DotNetArgument.cs b/Source/Bake/Services/Tools/DotNetArguments/DotNetArgument.cs index 58f3f51b..a601b04c 100644 --- a/Source/Bake/Services/Tools/DotNetArguments/DotNetArgument.cs +++ b/Source/Bake/Services/Tools/DotNetArguments/DotNetArgument.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/Tools/DotNetArguments/DotNetBuildArgument.cs b/Source/Bake/Services/Tools/DotNetArguments/DotNetBuildArgument.cs index dab3ef77..768e9389 100644 --- a/Source/Bake/Services/Tools/DotNetArguments/DotNetBuildArgument.cs +++ b/Source/Bake/Services/Tools/DotNetArguments/DotNetBuildArgument.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/Tools/DotNetArguments/DotNetCleanArgument.cs b/Source/Bake/Services/Tools/DotNetArguments/DotNetCleanArgument.cs index 18b6a140..e4d997bc 100644 --- a/Source/Bake/Services/Tools/DotNetArguments/DotNetCleanArgument.cs +++ b/Source/Bake/Services/Tools/DotNetArguments/DotNetCleanArgument.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/Tools/DotNetArguments/DotNetNuGetPushArgument.cs b/Source/Bake/Services/Tools/DotNetArguments/DotNetNuGetPushArgument.cs index e6fbae03..8018ff40 100644 --- a/Source/Bake/Services/Tools/DotNetArguments/DotNetNuGetPushArgument.cs +++ b/Source/Bake/Services/Tools/DotNetArguments/DotNetNuGetPushArgument.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/Tools/DotNetArguments/DotNetPackArgument.cs b/Source/Bake/Services/Tools/DotNetArguments/DotNetPackArgument.cs index 75517e48..d85f1552 100644 --- a/Source/Bake/Services/Tools/DotNetArguments/DotNetPackArgument.cs +++ b/Source/Bake/Services/Tools/DotNetArguments/DotNetPackArgument.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/Tools/DotNetArguments/DotNetPublishArgument.cs b/Source/Bake/Services/Tools/DotNetArguments/DotNetPublishArgument.cs index 777cf2e1..ceb01c94 100644 --- a/Source/Bake/Services/Tools/DotNetArguments/DotNetPublishArgument.cs +++ b/Source/Bake/Services/Tools/DotNetArguments/DotNetPublishArgument.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/Tools/DotNetArguments/DotNetRestoreArgument.cs b/Source/Bake/Services/Tools/DotNetArguments/DotNetRestoreArgument.cs index d87b278d..b92678a0 100644 --- a/Source/Bake/Services/Tools/DotNetArguments/DotNetRestoreArgument.cs +++ b/Source/Bake/Services/Tools/DotNetArguments/DotNetRestoreArgument.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/Tools/DotNetArguments/DotNetTestArgument.cs b/Source/Bake/Services/Tools/DotNetArguments/DotNetTestArgument.cs index 7206aaa3..aa1b20f2 100644 --- a/Source/Bake/Services/Tools/DotNetArguments/DotNetTestArgument.cs +++ b/Source/Bake/Services/Tools/DotNetArguments/DotNetTestArgument.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/Tools/Go.cs b/Source/Bake/Services/Tools/Go.cs index d628b781..90be7f9b 100644 --- a/Source/Bake/Services/Tools/Go.cs +++ b/Source/Bake/Services/Tools/Go.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/Tools/GoArguments/GoBuildArgument.cs b/Source/Bake/Services/Tools/GoArguments/GoBuildArgument.cs index 2efbc3bb..b3eef347 100644 --- a/Source/Bake/Services/Tools/GoArguments/GoBuildArgument.cs +++ b/Source/Bake/Services/Tools/GoArguments/GoBuildArgument.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/Tools/GoArguments/GoTestArgument.cs b/Source/Bake/Services/Tools/GoArguments/GoTestArgument.cs index 0b178070..5fbcbeae 100644 --- a/Source/Bake/Services/Tools/GoArguments/GoTestArgument.cs +++ b/Source/Bake/Services/Tools/GoArguments/GoTestArgument.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/Tools/Helm.cs b/Source/Bake/Services/Tools/Helm.cs index f02304b4..4f456b6c 100644 --- a/Source/Bake/Services/Tools/Helm.cs +++ b/Source/Bake/Services/Tools/Helm.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/Tools/HelmArguments/HelmLintArgument.cs b/Source/Bake/Services/Tools/HelmArguments/HelmLintArgument.cs index a1c80a8d..51a21e80 100644 --- a/Source/Bake/Services/Tools/HelmArguments/HelmLintArgument.cs +++ b/Source/Bake/Services/Tools/HelmArguments/HelmLintArgument.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/Tools/HelmArguments/HelmPackageArgument.cs b/Source/Bake/Services/Tools/HelmArguments/HelmPackageArgument.cs index 0a095a87..21521515 100644 --- a/Source/Bake/Services/Tools/HelmArguments/HelmPackageArgument.cs +++ b/Source/Bake/Services/Tools/HelmArguments/HelmPackageArgument.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/Tools/IDocker.cs b/Source/Bake/Services/Tools/IDocker.cs index 072f01de..26f1dbd7 100644 --- a/Source/Bake/Services/Tools/IDocker.cs +++ b/Source/Bake/Services/Tools/IDocker.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/Tools/IDotNet.cs b/Source/Bake/Services/Tools/IDotNet.cs index d46517c8..8a16e696 100644 --- a/Source/Bake/Services/Tools/IDotNet.cs +++ b/Source/Bake/Services/Tools/IDotNet.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/Tools/IGo.cs b/Source/Bake/Services/Tools/IGo.cs index 729aad52..1de6c998 100644 --- a/Source/Bake/Services/Tools/IGo.cs +++ b/Source/Bake/Services/Tools/IGo.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/Tools/IHelm.cs b/Source/Bake/Services/Tools/IHelm.cs index 6df1dc6e..c528cc43 100644 --- a/Source/Bake/Services/Tools/IHelm.cs +++ b/Source/Bake/Services/Tools/IHelm.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/Tools/IMkDocs.cs b/Source/Bake/Services/Tools/IMkDocs.cs index 72d9ef17..573aa5b6 100644 --- a/Source/Bake/Services/Tools/IMkDocs.cs +++ b/Source/Bake/Services/Tools/IMkDocs.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/Tools/INPM.cs b/Source/Bake/Services/Tools/INPM.cs index f98a86c4..979c05f6 100644 --- a/Source/Bake/Services/Tools/INPM.cs +++ b/Source/Bake/Services/Tools/INPM.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/Tools/IPip.cs b/Source/Bake/Services/Tools/IPip.cs index 5e77ad1a..b4f8725a 100644 --- a/Source/Bake/Services/Tools/IPip.cs +++ b/Source/Bake/Services/Tools/IPip.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/Tools/IToolResult.cs b/Source/Bake/Services/Tools/IToolResult.cs index 58e44b1d..ffeccbca 100644 --- a/Source/Bake/Services/Tools/IToolResult.cs +++ b/Source/Bake/Services/Tools/IToolResult.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/Tools/MkDocs.cs b/Source/Bake/Services/Tools/MkDocs.cs index 984f6bf7..85db600c 100644 --- a/Source/Bake/Services/Tools/MkDocs.cs +++ b/Source/Bake/Services/Tools/MkDocs.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/Tools/MkDocsArguments/MkDocsBuildArgument.cs b/Source/Bake/Services/Tools/MkDocsArguments/MkDocsBuildArgument.cs index 539811cc..6cf4e87e 100644 --- a/Source/Bake/Services/Tools/MkDocsArguments/MkDocsBuildArgument.cs +++ b/Source/Bake/Services/Tools/MkDocsArguments/MkDocsBuildArgument.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/Tools/NPM.cs b/Source/Bake/Services/Tools/NPM.cs index f98596b3..7fa65c04 100644 --- a/Source/Bake/Services/Tools/NPM.cs +++ b/Source/Bake/Services/Tools/NPM.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/Tools/NPMArguments/NPMCIArgument.cs b/Source/Bake/Services/Tools/NPMArguments/NPMCIArgument.cs index 06209c65..3c480df7 100644 --- a/Source/Bake/Services/Tools/NPMArguments/NPMCIArgument.cs +++ b/Source/Bake/Services/Tools/NPMArguments/NPMCIArgument.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/Tools/Pip.cs b/Source/Bake/Services/Tools/Pip.cs index 55d9d077..404c7cc2 100644 --- a/Source/Bake/Services/Tools/Pip.cs +++ b/Source/Bake/Services/Tools/Pip.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/Tools/PipArguments/PipInstallRequirementsArguments.cs b/Source/Bake/Services/Tools/PipArguments/PipInstallRequirementsArguments.cs index abd60f0f..c84f5f22 100644 --- a/Source/Bake/Services/Tools/PipArguments/PipInstallRequirementsArguments.cs +++ b/Source/Bake/Services/Tools/PipArguments/PipInstallRequirementsArguments.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/Tools/ToolResult.cs b/Source/Bake/Services/Tools/ToolResult.cs index 0690593e..677f3a6a 100644 --- a/Source/Bake/Services/Tools/ToolResult.cs +++ b/Source/Bake/Services/Tools/ToolResult.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/Services/Uploader.cs b/Source/Bake/Services/Uploader.cs index d3e77ea1..f34b5e2d 100644 --- a/Source/Bake/Services/Uploader.cs +++ b/Source/Bake/Services/Uploader.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Artifacts/Artifact.cs b/Source/Bake/ValueObjects/Artifacts/Artifact.cs index c4fc9b39..4958879c 100644 --- a/Source/Bake/ValueObjects/Artifacts/Artifact.cs +++ b/Source/Bake/ValueObjects/Artifacts/Artifact.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Artifacts/ArtifactAttribute.cs b/Source/Bake/ValueObjects/Artifacts/ArtifactAttribute.cs index fc96f85d..6e2f9514 100644 --- a/Source/Bake/ValueObjects/Artifacts/ArtifactAttribute.cs +++ b/Source/Bake/ValueObjects/Artifacts/ArtifactAttribute.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Artifacts/ArtifactType.cs b/Source/Bake/ValueObjects/Artifacts/ArtifactType.cs index 6742b37c..fd961a0e 100644 --- a/Source/Bake/ValueObjects/Artifacts/ArtifactType.cs +++ b/Source/Bake/ValueObjects/Artifacts/ArtifactType.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Artifacts/ContainerArtifact.cs b/Source/Bake/ValueObjects/Artifacts/ContainerArtifact.cs index d8b08314..d414a5d9 100644 --- a/Source/Bake/ValueObjects/Artifacts/ContainerArtifact.cs +++ b/Source/Bake/ValueObjects/Artifacts/ContainerArtifact.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Artifacts/DirectoryArtifact.cs b/Source/Bake/ValueObjects/Artifacts/DirectoryArtifact.cs index 96543eee..33b87277 100644 --- a/Source/Bake/ValueObjects/Artifacts/DirectoryArtifact.cs +++ b/Source/Bake/ValueObjects/Artifacts/DirectoryArtifact.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Artifacts/DockerFileArtifact.cs b/Source/Bake/ValueObjects/Artifacts/DockerFileArtifact.cs index 93616e90..cf12af35 100644 --- a/Source/Bake/ValueObjects/Artifacts/DockerFileArtifact.cs +++ b/Source/Bake/ValueObjects/Artifacts/DockerFileArtifact.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Artifacts/DocumentationSiteArtifact.cs b/Source/Bake/ValueObjects/Artifacts/DocumentationSiteArtifact.cs index 4710ce8b..2f1699cc 100644 --- a/Source/Bake/ValueObjects/Artifacts/DocumentationSiteArtifact.cs +++ b/Source/Bake/ValueObjects/Artifacts/DocumentationSiteArtifact.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Artifacts/ExecutableArtifact.cs b/Source/Bake/ValueObjects/Artifacts/ExecutableArtifact.cs index 623583a1..4a8794a4 100644 --- a/Source/Bake/ValueObjects/Artifacts/ExecutableArtifact.cs +++ b/Source/Bake/ValueObjects/Artifacts/ExecutableArtifact.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Artifacts/FileArtifact.cs b/Source/Bake/ValueObjects/Artifacts/FileArtifact.cs index cd2759c8..a46313bc 100644 --- a/Source/Bake/ValueObjects/Artifacts/FileArtifact.cs +++ b/Source/Bake/ValueObjects/Artifacts/FileArtifact.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Artifacts/HelmChartArtifact.cs b/Source/Bake/ValueObjects/Artifacts/HelmChartArtifact.cs index 351d10ac..3e1a814b 100644 --- a/Source/Bake/ValueObjects/Artifacts/HelmChartArtifact.cs +++ b/Source/Bake/ValueObjects/Artifacts/HelmChartArtifact.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Artifacts/NuGetArtifact.cs b/Source/Bake/ValueObjects/Artifacts/NuGetArtifact.cs index 282908de..15d1314f 100644 --- a/Source/Bake/ValueObjects/Artifacts/NuGetArtifact.cs +++ b/Source/Bake/ValueObjects/Artifacts/NuGetArtifact.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Author.cs b/Source/Bake/ValueObjects/Author.cs index 66998ad1..827f2667 100644 --- a/Source/Bake/ValueObjects/Author.cs +++ b/Source/Bake/ValueObjects/Author.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/BakeProjects/BakeProject.cs b/Source/Bake/ValueObjects/BakeProjects/BakeProject.cs index 53cf1c04..17070e76 100644 --- a/Source/Bake/ValueObjects/BakeProjects/BakeProject.cs +++ b/Source/Bake/ValueObjects/BakeProjects/BakeProject.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/BakeProjects/BakeProjectService.cs b/Source/Bake/ValueObjects/BakeProjects/BakeProjectService.cs index bf233736..0f57e915 100644 --- a/Source/Bake/ValueObjects/BakeProjects/BakeProjectService.cs +++ b/Source/Bake/ValueObjects/BakeProjects/BakeProjectService.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/BakeProjects/BakeProjectType.cs b/Source/Bake/ValueObjects/BakeProjects/BakeProjectType.cs index c9032693..cba93dc6 100644 --- a/Source/Bake/ValueObjects/BakeProjects/BakeProjectType.cs +++ b/Source/Bake/ValueObjects/BakeProjects/BakeProjectType.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Book.cs b/Source/Bake/ValueObjects/Book.cs index 20a9671a..4c1b6b3b 100644 --- a/Source/Bake/ValueObjects/Book.cs +++ b/Source/Bake/ValueObjects/Book.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Change.cs b/Source/Bake/ValueObjects/Change.cs index 5b5246a1..39be60b8 100644 --- a/Source/Bake/ValueObjects/Change.cs +++ b/Source/Bake/ValueObjects/Change.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/ChangeType.cs b/Source/Bake/ValueObjects/ChangeType.cs index 6c26fb05..667b14e1 100644 --- a/Source/Bake/ValueObjects/ChangeType.cs +++ b/Source/Bake/ValueObjects/ChangeType.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Commit.cs b/Source/Bake/ValueObjects/Commit.cs index 1fea720a..78f40fc9 100644 --- a/Source/Bake/ValueObjects/Commit.cs +++ b/Source/Bake/ValueObjects/Commit.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/CompressionAlgorithm.cs b/Source/Bake/ValueObjects/CompressionAlgorithm.cs index 7a7501f4..fa5e5417 100644 --- a/Source/Bake/ValueObjects/CompressionAlgorithm.cs +++ b/Source/Bake/ValueObjects/CompressionAlgorithm.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/ContainerTag.cs b/Source/Bake/ValueObjects/ContainerTag.cs index a8f2b286..ee14f096 100644 --- a/Source/Bake/ValueObjects/ContainerTag.cs +++ b/Source/Bake/ValueObjects/ContainerTag.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Convention.cs b/Source/Bake/ValueObjects/Convention.cs index 5ab55e31..917721d7 100644 --- a/Source/Bake/ValueObjects/Convention.cs +++ b/Source/Bake/ValueObjects/Convention.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/CookResult.cs b/Source/Bake/ValueObjects/CookResult.cs index 3789e643..5108aeac 100644 --- a/Source/Bake/ValueObjects/CookResult.cs +++ b/Source/Bake/ValueObjects/CookResult.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Credentials/DockerLogin.cs b/Source/Bake/ValueObjects/Credentials/DockerLogin.cs index a472a2d0..4c18f121 100644 --- a/Source/Bake/ValueObjects/Credentials/DockerLogin.cs +++ b/Source/Bake/ValueObjects/Credentials/DockerLogin.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Description.cs b/Source/Bake/ValueObjects/Description.cs index 33d67043..82923a1b 100644 --- a/Source/Bake/ValueObjects/Description.cs +++ b/Source/Bake/ValueObjects/Description.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Destinations/ChartMuseumDestination.cs b/Source/Bake/ValueObjects/Destinations/ChartMuseumDestination.cs index 046605ec..ede5f9f0 100644 --- a/Source/Bake/ValueObjects/Destinations/ChartMuseumDestination.cs +++ b/Source/Bake/ValueObjects/Destinations/ChartMuseumDestination.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Destinations/ContainerRegistryDestination.cs b/Source/Bake/ValueObjects/Destinations/ContainerRegistryDestination.cs index f3d3434a..ab7afc36 100644 --- a/Source/Bake/ValueObjects/Destinations/ContainerRegistryDestination.cs +++ b/Source/Bake/ValueObjects/Destinations/ContainerRegistryDestination.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Destinations/Destination.cs b/Source/Bake/ValueObjects/Destinations/Destination.cs index 674ee825..7f131d75 100644 --- a/Source/Bake/ValueObjects/Destinations/Destination.cs +++ b/Source/Bake/ValueObjects/Destinations/Destination.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Destinations/DestinationAttribute.cs b/Source/Bake/ValueObjects/Destinations/DestinationAttribute.cs index 932e7bd7..f707d11e 100644 --- a/Source/Bake/ValueObjects/Destinations/DestinationAttribute.cs +++ b/Source/Bake/ValueObjects/Destinations/DestinationAttribute.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Destinations/DynamicDestination.cs b/Source/Bake/ValueObjects/Destinations/DynamicDestination.cs index 7a03d0d2..01734e9f 100644 --- a/Source/Bake/ValueObjects/Destinations/DynamicDestination.cs +++ b/Source/Bake/ValueObjects/Destinations/DynamicDestination.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Destinations/GitHubReleaseDestination.cs b/Source/Bake/ValueObjects/Destinations/GitHubReleaseDestination.cs index ee6644eb..6162971d 100644 --- a/Source/Bake/ValueObjects/Destinations/GitHubReleaseDestination.cs +++ b/Source/Bake/ValueObjects/Destinations/GitHubReleaseDestination.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Destinations/NuGetRegistryDestination.cs b/Source/Bake/ValueObjects/Destinations/NuGetRegistryDestination.cs index b184bd6c..bb490fe2 100644 --- a/Source/Bake/ValueObjects/Destinations/NuGetRegistryDestination.cs +++ b/Source/Bake/ValueObjects/Destinations/NuGetRegistryDestination.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Destinations/OctopusDeployDestination.cs b/Source/Bake/ValueObjects/Destinations/OctopusDeployDestination.cs index c5d19be1..ec4b7cec 100644 --- a/Source/Bake/ValueObjects/Destinations/OctopusDeployDestination.cs +++ b/Source/Bake/ValueObjects/Destinations/OctopusDeployDestination.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/DotNet/CsProj.cs b/Source/Bake/ValueObjects/DotNet/CsProj.cs index a718a51d..d6049f51 100644 --- a/Source/Bake/ValueObjects/DotNet/CsProj.cs +++ b/Source/Bake/ValueObjects/DotNet/CsProj.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/DotNet/TargetFramework.cs b/Source/Bake/ValueObjects/DotNet/TargetFramework.cs index f59314f8..a99c4eb1 100644 --- a/Source/Bake/ValueObjects/DotNet/TargetFramework.cs +++ b/Source/Bake/ValueObjects/DotNet/TargetFramework.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/DotNet/TargetFrameworkVersion.cs b/Source/Bake/ValueObjects/DotNet/TargetFrameworkVersion.cs index a5e0e702..31dda93d 100644 --- a/Source/Bake/ValueObjects/DotNet/TargetFrameworkVersion.cs +++ b/Source/Bake/ValueObjects/DotNet/TargetFrameworkVersion.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/DotNet/VisualStudioProject.cs b/Source/Bake/ValueObjects/DotNet/VisualStudioProject.cs index 7b55e8a5..fbc6c37c 100644 --- a/Source/Bake/ValueObjects/DotNet/VisualStudioProject.cs +++ b/Source/Bake/ValueObjects/DotNet/VisualStudioProject.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/DotNet/VisualStudioSolution.cs b/Source/Bake/ValueObjects/DotNet/VisualStudioSolution.cs index e5ff9fe4..f71b5be2 100644 --- a/Source/Bake/ValueObjects/DotNet/VisualStudioSolution.cs +++ b/Source/Bake/ValueObjects/DotNet/VisualStudioSolution.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/ExecutableArchitecture.cs b/Source/Bake/ValueObjects/ExecutableArchitecture.cs index 1401ddd2..f7083619 100644 --- a/Source/Bake/ValueObjects/ExecutableArchitecture.cs +++ b/Source/Bake/ValueObjects/ExecutableArchitecture.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/ExecutableOperatingSystem.cs b/Source/Bake/ValueObjects/ExecutableOperatingSystem.cs index c75528ab..aea1b17c 100644 --- a/Source/Bake/ValueObjects/ExecutableOperatingSystem.cs +++ b/Source/Bake/ValueObjects/ExecutableOperatingSystem.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/GitHubInformation.cs b/Source/Bake/ValueObjects/GitHubInformation.cs index b8f7bc82..a1a5adc0 100644 --- a/Source/Bake/ValueObjects/GitHubInformation.cs +++ b/Source/Bake/ValueObjects/GitHubInformation.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/GitInformation.cs b/Source/Bake/ValueObjects/GitInformation.cs index 14d3ce2d..7fdee76b 100644 --- a/Source/Bake/ValueObjects/GitInformation.cs +++ b/Source/Bake/ValueObjects/GitInformation.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/GoModuleName.cs b/Source/Bake/ValueObjects/GoModuleName.cs index 13ac3e12..21148fc5 100644 --- a/Source/Bake/ValueObjects/GoModuleName.cs +++ b/Source/Bake/ValueObjects/GoModuleName.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/HashAlgorithm.cs b/Source/Bake/ValueObjects/HashAlgorithm.cs index 1400fd57..0b8570ea 100644 --- a/Source/Bake/ValueObjects/HashAlgorithm.cs +++ b/Source/Bake/ValueObjects/HashAlgorithm.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/ISingleValueObject.cs b/Source/Bake/ValueObjects/ISingleValueObject.cs index fbf7a85c..f9dfd736 100644 --- a/Source/Bake/ValueObjects/ISingleValueObject.cs +++ b/Source/Bake/ValueObjects/ISingleValueObject.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/IYamlTag.cs b/Source/Bake/ValueObjects/IYamlTag.cs index 9b3baf26..db28fb35 100644 --- a/Source/Bake/ValueObjects/IYamlTag.cs +++ b/Source/Bake/ValueObjects/IYamlTag.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Ingredients.cs b/Source/Bake/ValueObjects/Ingredients.cs index 1b8f7787..824b4a9a 100644 --- a/Source/Bake/ValueObjects/Ingredients.cs +++ b/Source/Bake/ValueObjects/Ingredients.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/NuGetSource.cs b/Source/Bake/ValueObjects/NuGetSource.cs index 35d967cf..b064ab32 100644 --- a/Source/Bake/ValueObjects/NuGetSource.cs +++ b/Source/Bake/ValueObjects/NuGetSource.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/PackageJson.cs b/Source/Bake/ValueObjects/PackageJson.cs index 4ed2f1c0..a8ac2f36 100644 --- a/Source/Bake/ValueObjects/PackageJson.cs +++ b/Source/Bake/ValueObjects/PackageJson.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Platform.cs b/Source/Bake/ValueObjects/Platform.cs index c371b051..01df1025 100644 --- a/Source/Bake/ValueObjects/Platform.cs +++ b/Source/Bake/ValueObjects/Platform.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/PullRequest.cs b/Source/Bake/ValueObjects/PullRequest.cs index abc9d1f6..f6b600d1 100644 --- a/Source/Bake/ValueObjects/PullRequest.cs +++ b/Source/Bake/ValueObjects/PullRequest.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/PullRequestInformation.cs b/Source/Bake/ValueObjects/PullRequestInformation.cs index 70427a7a..34dd0bea 100644 --- a/Source/Bake/ValueObjects/PullRequestInformation.cs +++ b/Source/Bake/ValueObjects/PullRequestInformation.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Recipes/ChartMuseum/ChartMuseumUploadRecipe.cs b/Source/Bake/ValueObjects/Recipes/ChartMuseum/ChartMuseumUploadRecipe.cs index 383bd7cb..58a0606c 100644 --- a/Source/Bake/ValueObjects/Recipes/ChartMuseum/ChartMuseumUploadRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/ChartMuseum/ChartMuseumUploadRecipe.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Recipes/Docker/DockerBuildRecipe.cs b/Source/Bake/ValueObjects/Recipes/Docker/DockerBuildRecipe.cs index cd7fd17f..147a31c8 100644 --- a/Source/Bake/ValueObjects/Recipes/Docker/DockerBuildRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/Docker/DockerBuildRecipe.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Recipes/Docker/DockerPushRecipe.cs b/Source/Bake/ValueObjects/Recipes/Docker/DockerPushRecipe.cs index b562b0d7..8845553c 100644 --- a/Source/Bake/ValueObjects/Recipes/Docker/DockerPushRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/Docker/DockerPushRecipe.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Recipes/DotNet/DotNetBuildSolutionRecipe.cs b/Source/Bake/ValueObjects/Recipes/DotNet/DotNetBuildSolutionRecipe.cs index 50eb3b6a..54f88cc8 100644 --- a/Source/Bake/ValueObjects/Recipes/DotNet/DotNetBuildSolutionRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/DotNet/DotNetBuildSolutionRecipe.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Recipes/DotNet/DotNetCleanSolutionRecipe.cs b/Source/Bake/ValueObjects/Recipes/DotNet/DotNetCleanSolutionRecipe.cs index dd1a0dea..26be53bd 100644 --- a/Source/Bake/ValueObjects/Recipes/DotNet/DotNetCleanSolutionRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/DotNet/DotNetCleanSolutionRecipe.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Recipes/DotNet/DotNetDockerFileRecipe.cs b/Source/Bake/ValueObjects/Recipes/DotNet/DotNetDockerFileRecipe.cs index ecce6eee..979f0402 100644 --- a/Source/Bake/ValueObjects/Recipes/DotNet/DotNetDockerFileRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/DotNet/DotNetDockerFileRecipe.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Recipes/DotNet/DotNetNuGetPushRecipe.cs b/Source/Bake/ValueObjects/Recipes/DotNet/DotNetNuGetPushRecipe.cs index 117640b1..6733979a 100644 --- a/Source/Bake/ValueObjects/Recipes/DotNet/DotNetNuGetPushRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/DotNet/DotNetNuGetPushRecipe.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Recipes/DotNet/DotNetPackProjectRecipe.cs b/Source/Bake/ValueObjects/Recipes/DotNet/DotNetPackProjectRecipe.cs index e729274e..80c02329 100644 --- a/Source/Bake/ValueObjects/Recipes/DotNet/DotNetPackProjectRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/DotNet/DotNetPackProjectRecipe.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Recipes/DotNet/DotNetPublishRecipe.cs b/Source/Bake/ValueObjects/Recipes/DotNet/DotNetPublishRecipe.cs index 9549494c..0e791ebf 100644 --- a/Source/Bake/ValueObjects/Recipes/DotNet/DotNetPublishRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/DotNet/DotNetPublishRecipe.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Recipes/DotNet/DotNetRestoreSolutionRecipe.cs b/Source/Bake/ValueObjects/Recipes/DotNet/DotNetRestoreSolutionRecipe.cs index a80ed5c0..70ea350d 100644 --- a/Source/Bake/ValueObjects/Recipes/DotNet/DotNetRestoreSolutionRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/DotNet/DotNetRestoreSolutionRecipe.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Recipes/DotNet/DotNetTestSolutionRecipe.cs b/Source/Bake/ValueObjects/Recipes/DotNet/DotNetTestSolutionRecipe.cs index 2252d741..e63d79d7 100644 --- a/Source/Bake/ValueObjects/Recipes/DotNet/DotNetTestSolutionRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/DotNet/DotNetTestSolutionRecipe.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Recipes/GitHub/GitHubReleaseRecipe.cs b/Source/Bake/ValueObjects/Recipes/GitHub/GitHubReleaseRecipe.cs index 9c94d8c6..37a9d10d 100644 --- a/Source/Bake/ValueObjects/Recipes/GitHub/GitHubReleaseRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/GitHub/GitHubReleaseRecipe.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Recipes/Go/GoBuildRecipe.cs b/Source/Bake/ValueObjects/Recipes/Go/GoBuildRecipe.cs index 4f1cdb62..0ecc2bfd 100644 --- a/Source/Bake/ValueObjects/Recipes/Go/GoBuildRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/Go/GoBuildRecipe.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Recipes/Go/GoDockerFileRecipe.cs b/Source/Bake/ValueObjects/Recipes/Go/GoDockerFileRecipe.cs index 6abd3514..efb1362d 100644 --- a/Source/Bake/ValueObjects/Recipes/Go/GoDockerFileRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/Go/GoDockerFileRecipe.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Recipes/Go/GoTestRecipe.cs b/Source/Bake/ValueObjects/Recipes/Go/GoTestRecipe.cs index 49b42e98..b52b2be5 100644 --- a/Source/Bake/ValueObjects/Recipes/Go/GoTestRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/Go/GoTestRecipe.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Recipes/Helm/HelmLintRecipe.cs b/Source/Bake/ValueObjects/Recipes/Helm/HelmLintRecipe.cs index c02d69e9..c8471226 100644 --- a/Source/Bake/ValueObjects/Recipes/Helm/HelmLintRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/Helm/HelmLintRecipe.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Recipes/Helm/HelmPackageRecipe.cs b/Source/Bake/ValueObjects/Recipes/Helm/HelmPackageRecipe.cs index a1c6c174..03aa8c8f 100644 --- a/Source/Bake/ValueObjects/Recipes/Helm/HelmPackageRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/Helm/HelmPackageRecipe.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Recipes/MkDocs/MkDocsBuildRecipe.cs b/Source/Bake/ValueObjects/Recipes/MkDocs/MkDocsBuildRecipe.cs index c73a82bc..6f199ba3 100644 --- a/Source/Bake/ValueObjects/Recipes/MkDocs/MkDocsBuildRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/MkDocs/MkDocsBuildRecipe.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Recipes/NodeJS/NodeJSDockerfileRecipe.cs b/Source/Bake/ValueObjects/Recipes/NodeJS/NodeJSDockerfileRecipe.cs index dfae61c2..e209bcd9 100644 --- a/Source/Bake/ValueObjects/Recipes/NodeJS/NodeJSDockerfileRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/NodeJS/NodeJSDockerfileRecipe.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Recipes/NodeJS/NpmCIRecipe.cs b/Source/Bake/ValueObjects/Recipes/NodeJS/NpmCIRecipe.cs index ed4a36d3..002b9d2b 100644 --- a/Source/Bake/ValueObjects/Recipes/NodeJS/NpmCIRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/NodeJS/NpmCIRecipe.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Recipes/OctopusDeploy/OctopusDeployPackagePushRecipe.cs b/Source/Bake/ValueObjects/Recipes/OctopusDeploy/OctopusDeployPackagePushRecipe.cs index 053077ee..8ecd6eb6 100644 --- a/Source/Bake/ValueObjects/Recipes/OctopusDeploy/OctopusDeployPackagePushRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/OctopusDeploy/OctopusDeployPackagePushRecipe.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Recipes/Pip/PipInstallRequirementsRecipe.cs b/Source/Bake/ValueObjects/Recipes/Pip/PipInstallRequirementsRecipe.cs index 72186842..d0a1ca0e 100644 --- a/Source/Bake/ValueObjects/Recipes/Pip/PipInstallRequirementsRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/Pip/PipInstallRequirementsRecipe.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Recipes/Python/PythonFlaskDockerfileRecipe.cs b/Source/Bake/ValueObjects/Recipes/Python/PythonFlaskDockerfileRecipe.cs index 9a331164..df620ed4 100644 --- a/Source/Bake/ValueObjects/Recipes/Python/PythonFlaskDockerfileRecipe.cs +++ b/Source/Bake/ValueObjects/Recipes/Python/PythonFlaskDockerfileRecipe.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Recipes/Recipe.cs b/Source/Bake/ValueObjects/Recipes/Recipe.cs index de427a81..2f0b3ff9 100644 --- a/Source/Bake/ValueObjects/Recipes/Recipe.cs +++ b/Source/Bake/ValueObjects/Recipes/Recipe.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Recipes/RecipeAttribute.cs b/Source/Bake/ValueObjects/Recipes/RecipeAttribute.cs index 02e248e1..00a406c1 100644 --- a/Source/Bake/ValueObjects/Recipes/RecipeAttribute.cs +++ b/Source/Bake/ValueObjects/Recipes/RecipeAttribute.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Release.cs b/Source/Bake/ValueObjects/Release.cs index a7f0bf39..23a24122 100644 --- a/Source/Bake/ValueObjects/Release.cs +++ b/Source/Bake/ValueObjects/Release.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/ReleaseFile.cs b/Source/Bake/ValueObjects/ReleaseFile.cs index a6f13864..c53eb24b 100644 --- a/Source/Bake/ValueObjects/ReleaseFile.cs +++ b/Source/Bake/ValueObjects/ReleaseFile.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/ReleaseNotes.cs b/Source/Bake/ValueObjects/ReleaseNotes.cs index 2af635ae..a24afb0c 100644 --- a/Source/Bake/ValueObjects/ReleaseNotes.cs +++ b/Source/Bake/ValueObjects/ReleaseNotes.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/SingleValueObject.cs b/Source/Bake/ValueObjects/SingleValueObject.cs index e83a5aa2..2e9231c9 100644 --- a/Source/Bake/ValueObjects/SingleValueObject.cs +++ b/Source/Bake/ValueObjects/SingleValueObject.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/Tag.cs b/Source/Bake/ValueObjects/Tag.cs index 5cfc3421..6792c396 100644 --- a/Source/Bake/ValueObjects/Tag.cs +++ b/Source/Bake/ValueObjects/Tag.cs @@ -1,6 +1,6 @@ -// MIT License +// MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Source/Bake/ValueObjects/ValueObject.cs b/Source/Bake/ValueObjects/ValueObject.cs index bdc73632..35083f58 100644 --- a/Source/Bake/ValueObjects/ValueObject.cs +++ b/Source/Bake/ValueObjects/ValueObject.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/TestProjects/NetCore.Console/Program.cs b/TestProjects/NetCore.Console/Program.cs index 7dabfccb..068681db 100644 --- a/TestProjects/NetCore.Console/Program.cs +++ b/TestProjects/NetCore.Console/Program.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/TestProjects/NetCore.Package/Dummy.cs b/TestProjects/NetCore.Package/Dummy.cs index 5a35f783..af4abfb9 100644 --- a/TestProjects/NetCore.Package/Dummy.cs +++ b/TestProjects/NetCore.Package/Dummy.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/TestProjects/NetCore.Service/Source/NetCore.Service/Program.cs b/TestProjects/NetCore.Service/Source/NetCore.Service/Program.cs index b335fd67..b6d9c33a 100644 --- a/TestProjects/NetCore.Service/Source/NetCore.Service/Program.cs +++ b/TestProjects/NetCore.Service/Source/NetCore.Service/Program.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/TestProjects/NetCore.Service/Source/NetCore.Service/Startup.cs b/TestProjects/NetCore.Service/Source/NetCore.Service/Startup.cs index 2b9902b5..9442ce5b 100644 --- a/TestProjects/NetCore.Service/Source/NetCore.Service/Startup.cs +++ b/TestProjects/NetCore.Service/Source/NetCore.Service/Startup.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/TestProjects/NetV8.Service/Source/Program.cs b/TestProjects/NetV8.Service/Source/Program.cs index 2ba9b723..88c2e729 100644 --- a/TestProjects/NetV8.Service/Source/Program.cs +++ b/TestProjects/NetV8.Service/Source/Program.cs @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2021-2023 Rasmus Mikkelsen +// Copyright (c) 2021-2024 Rasmus Mikkelsen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal From 7102072fb3b4a4f32d172ed92d9eb973899e4bb6 Mon Sep 17 00:00:00 2001 From: Rasmus Mikkelsen Date: Thu, 11 Jan 2024 21:11:30 +0100 Subject: [PATCH 6/6] Update license files --- LICENSE | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/LICENSE b/LICENSE index 12ed4f57..ff487bbe 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2021-2022 Rasmus Mikkelsen +Copyright (c) 2021-2024 Rasmus Mikkelsen Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 3055a9ee..a4238740 100644 --- a/README.md +++ b/README.md @@ -156,7 +156,7 @@ Here are some examples of common used arguments to Bake ``` MIT License -Copyright (c) 2021-2023 Rasmus Mikkelsen +Copyright (c) 2021-2024 Rasmus Mikkelsen Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal