diff --git a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/BuildServers/AppVeyorBuildServer.cs b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/BuildServers/AppVeyorBuildServer.cs index 7ebe97f1..28aa86d4 100644 --- a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/BuildServers/AppVeyorBuildServer.cs +++ b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/BuildServers/AppVeyorBuildServer.cs @@ -1,17 +1,17 @@ -using Cake.Common.Build; -using Cake.Common.IO; -using Cake.Core.IO; -using Cake.Issues; -using Cake.Issues.PullRequests; -using Cake.Issues.PullRequests.AppVeyor; -using System; - namespace Cake.Frosting.Issues.Recipe { + using Cake.Common.Build; + using Cake.Common.IO; + using Cake.Core.IO; + using Cake.Issues; + using Cake.Issues.PullRequests; + using Cake.Issues.PullRequests.AppVeyor; + using System; + /// /// Support for AppVeyor builds. /// - internal class AppVeyorBuildServer : BaseBuildServer + internal sealed class AppVeyorBuildServer : BaseBuildServer { /// public override Uri DetermineRepositoryRemoteUrl( @@ -20,14 +20,14 @@ public override Uri DetermineRepositoryRemoteUrl( { context.NotNull(nameof(context)); - switch (context.AppVeyor().Environment.Repository.Provider) + return context.AppVeyor().Environment.Repository.Provider switch { - case "bitBucket": return new Uri($"https://bitbucket.org/{context.AppVeyor().Environment.Repository.Name}/src"); - case "gitHub": return new Uri($"https://github.com/{context.AppVeyor().Environment.Repository.Name}.git"); - case "gitLab": return new Uri($"https://gitlab.com/{context.AppVeyor().Environment.Repository.Name}.git"); - case "vso": return new Uri($"https://dev.azure.com/{context.AppVeyor().Environment.Repository.Name}"); - default: return new Uri(context.AppVeyor().Environment.Repository.Name); - } + "bitBucket" => new Uri($"https://bitbucket.org/{context.AppVeyor().Environment.Repository.Name}/src"), + "gitHub" => new Uri($"https://github.com/{context.AppVeyor().Environment.Repository.Name}.git"), + "gitLab" => new Uri($"https://gitlab.com/{context.AppVeyor().Environment.Repository.Name}.git"), + "vso" => new Uri($"https://dev.azure.com/{context.AppVeyor().Environment.Repository.Name}"), + _ => new Uri(context.AppVeyor().Environment.Repository.Name), + }; } /// diff --git a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/BuildServers/AzureDevOpsBuildServer.cs b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/BuildServers/AzureDevOpsBuildServer.cs index 2a50d85e..df43ac75 100644 --- a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/BuildServers/AzureDevOpsBuildServer.cs +++ b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/BuildServers/AzureDevOpsBuildServer.cs @@ -1,20 +1,20 @@ -using Cake.Common; -using Cake.Common.Build; -using Cake.Common.Build.AzurePipelines.Data; -using Cake.Common.IO; -using Cake.Core.IO; -using Cake.Issues; -using Cake.Issues.Reporting; -using Cake.Issues.Reporting.Generic; -using System; -using System.IO; - namespace Cake.Frosting.Issues.Recipe { + using Cake.Common; + using Cake.Common.Build; + using Cake.Common.Build.AzurePipelines.Data; + using Cake.Common.IO; + using Cake.Core.IO; + using Cake.Issues; + using Cake.Issues.Reporting; + using Cake.Issues.Reporting.Generic; + using System; + using System.IO; + /// /// Support for Azure DevOps / Azure Pipelines builds. /// - internal class AzureDevOpsBuildServer : BaseBuildServer + internal sealed class AzureDevOpsBuildServer : BaseBuildServer { /// public override Uri DetermineRepositoryRemoteUrl( diff --git a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/BuildServers/BaseBuildServer.cs b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/BuildServers/BaseBuildServer.cs index d401c496..b7b8573b 100644 --- a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/BuildServers/BaseBuildServer.cs +++ b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/BuildServers/BaseBuildServer.cs @@ -1,9 +1,9 @@ -using Cake.Core.IO; -using Cake.Issues; -using System; - namespace Cake.Frosting.Issues.Recipe { + using Cake.Core.IO; + using Cake.Issues; + using System; + /// /// Basic implementation for all build servers. /// diff --git a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/BuildServers/GitHubActionsBuildServer.cs b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/BuildServers/GitHubActionsBuildServer.cs index ea56890f..9ff76115 100644 --- a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/BuildServers/GitHubActionsBuildServer.cs +++ b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/BuildServers/GitHubActionsBuildServer.cs @@ -1,16 +1,16 @@ -using Cake.Common.Build; -using Cake.Core.IO; -using Cake.Issues; -using Cake.Issues.PullRequests; -using Cake.Issues.PullRequests.GitHubActions; -using System; - namespace Cake.Frosting.Issues.Recipe { + using Cake.Common.Build; + using Cake.Core.IO; + using Cake.Issues; + using Cake.Issues.PullRequests; + using Cake.Issues.PullRequests.GitHubActions; + using System; + /// /// Support for builds running on GitHub Actions. /// - internal class GitHubActionsBuildServer : BaseBuildServer + internal sealed class GitHubActionsBuildServer : BaseBuildServer { /// public override Uri DetermineRepositoryRemoteUrl( diff --git a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/BuildServers/IIssuesBuildServer.cs b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/BuildServers/IIssuesBuildServer.cs index 21f00aba..51b502e2 100644 --- a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/BuildServers/IIssuesBuildServer.cs +++ b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/BuildServers/IIssuesBuildServer.cs @@ -1,8 +1,8 @@ -using Cake.Core.IO; -using System; - namespace Cake.Frosting.Issues.Recipe { + using Cake.Core.IO; + using System; + /// /// Description of a build server implementation. /// diff --git a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe.csproj b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe.csproj index 932a85ab..c8a8875f 100644 --- a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe.csproj +++ b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe.csproj @@ -24,7 +24,7 @@ For recipe compatible with Cake Script Runners see Cake.Issues.Recipe.MIT git https://github.com/cake-contrib/Cake.Issues.Recipe.git - https://github.com/cake-contrib/Cake.Issues.Recipe/releases/tag/3.1.1 + https://github.com/cake-contrib/Cake.Issues.Recipe/releases/tag/4.0.0 @@ -36,21 +36,21 @@ For recipe compatible with Cake Script Runners see Cake.Issues.Recipe. - + - - - - - - - - - - - - - + + + + + + + + + + + + + diff --git a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/IssuesContext.cs b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/IssuesContext.cs index d296cca5..f227edfb 100644 --- a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/IssuesContext.cs +++ b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/IssuesContext.cs @@ -1,26 +1,17 @@ -using Cake.Core; - -namespace Cake.Frosting.Issues.Recipe +namespace Cake.Frosting.Issues.Recipe { + using Cake.Core; + /// /// Parameters and state for the build run. /// - public class IssuesContext : IssuesContext + /// The Cake context. + /// Defines how information about the Git repository should be determined. + public class IssuesContext( + ICakeContext context, + RepositoryInfoProviderType repositoryInfoProviderType) : IssuesContext(context) { - private readonly RepositoryInfoProviderType repositoryInfoProviderType; - - /// - /// Creates a new instance of the class. - /// - /// The Cake context. - /// Defines how information about the Git repository should be determined. - public IssuesContext( - ICakeContext context, - RepositoryInfoProviderType repositoryInfoProviderType) - : base(context) - { - this.repositoryInfoProviderType = repositoryInfoProviderType; - } + private readonly RepositoryInfoProviderType repositoryInfoProviderType = repositoryInfoProviderType; /// protected override IssuesParameters CreateIssuesParameters() diff --git a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/IssuesContext{TParameters,TState}.cs b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/IssuesContext{TParameters,TState}.cs index b2171a8e..990bbbad 100644 --- a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/IssuesContext{TParameters,TState}.cs +++ b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/IssuesContext{TParameters,TState}.cs @@ -1,8 +1,8 @@ -using Cake.Core; -using System; - -namespace Cake.Frosting.Issues.Recipe +namespace Cake.Frosting.Issues.Recipe { + using Cake.Core; + using System; + /// /// Base class for parameters and state of the build run. /// diff --git a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IIssuesParameters.cs b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IIssuesParameters.cs index 8444dced..62c08062 100644 --- a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IIssuesParameters.cs +++ b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IIssuesParameters.cs @@ -1,7 +1,7 @@ -using Cake.Core.IO; - -namespace Cake.Frosting.Issues.Recipe +namespace Cake.Frosting.Issues.Recipe { + using Cake.Core.IO; + /// /// Description of parameters of the build. /// diff --git a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IIssuesParametersInputFiles.cs b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IIssuesParametersInputFiles.cs index 271f9114..a4c878b8 100644 --- a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IIssuesParametersInputFiles.cs +++ b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IIssuesParametersInputFiles.cs @@ -1,9 +1,9 @@ -using Cake.Core.IO; -using Cake.Issues; -using System.Collections.Generic; - namespace Cake.Frosting.Issues.Recipe { + using Cake.Core.IO; + using Cake.Issues; + using System.Collections.Generic; + /// /// Parameters for passing input files. /// diff --git a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IIssuesParametersPullRequestSystem.cs b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IIssuesParametersPullRequestSystem.cs index 54071230..30f3a6b0 100644 --- a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IIssuesParametersPullRequestSystem.cs +++ b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IIssuesParametersPullRequestSystem.cs @@ -1,9 +1,9 @@ -using Cake.Issues; -using Cake.Issues.PullRequests; -using System.Collections.Generic; - namespace Cake.Frosting.Issues.Recipe { + using Cake.Issues; + using Cake.Issues.PullRequests; + using System.Collections.Generic; + /// /// Parameters for pull request integration. /// diff --git a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IIssuesParametersReporting.cs b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IIssuesParametersReporting.cs index c72e224b..da7d016f 100644 --- a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IIssuesParametersReporting.cs +++ b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IIssuesParametersReporting.cs @@ -1,7 +1,7 @@ -using Cake.Issues.Reporting.Generic; - namespace Cake.Frosting.Issues.Recipe { + using Cake.Issues.Reporting.Generic; + /// /// Parameters for reporting. /// diff --git a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IssuesParameters.cs b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IssuesParameters.cs index c355de64..b2206794 100644 --- a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IssuesParameters.cs +++ b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IssuesParameters.cs @@ -1,6 +1,3 @@ -using Cake.Core.IO; -using System; - namespace Cake.Frosting.Issues.Recipe { /// diff --git a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IssuesParametersInputFiles.cs b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IssuesParametersInputFiles.cs index 887a8b7a..b01ecf8e 100644 --- a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IssuesParametersInputFiles.cs +++ b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IssuesParametersInputFiles.cs @@ -1,9 +1,9 @@ -using Cake.Core.IO; -using Cake.Issues; -using System.Collections.Generic; - namespace Cake.Frosting.Issues.Recipe { + using Cake.Core.IO; + using Cake.Issues; + using System.Collections.Generic; + /// /// Parameters for passing input files. /// diff --git a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IssuesParametersPullRequestSystem.cs b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IssuesParametersPullRequestSystem.cs index 75391c80..f06d9e0d 100644 --- a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IssuesParametersPullRequestSystem.cs +++ b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IssuesParametersPullRequestSystem.cs @@ -27,6 +27,6 @@ public class IssuesParametersPullRequestSystem : IIssuesParametersPullRequestSys public int? MaxIssuesToPostForEachIssueProvider { get; set; } = 100; /// - public Dictionary ProviderIssueLimits => new Dictionary(); + public Dictionary ProviderIssueLimits => new(); } } \ No newline at end of file diff --git a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IssuesParametersReporting.cs b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IssuesParametersReporting.cs index 80c47bdb..5049e606 100644 --- a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IssuesParametersReporting.cs +++ b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IssuesParametersReporting.cs @@ -1,7 +1,7 @@ -using Cake.Issues.Reporting.Generic; - namespace Cake.Frosting.Issues.Recipe { + using Cake.Issues.Reporting.Generic; + /// /// Parameters for reporting. /// diff --git a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IssuesParameters{TInputFiles,TReporting,TBuildServer,TPullRequestSystem}.cs b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IssuesParameters{TInputFiles,TReporting,TBuildServer,TPullRequestSystem}.cs index 68853644..5009c957 100644 --- a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IssuesParameters{TInputFiles,TReporting,TBuildServer,TPullRequestSystem}.cs +++ b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IssuesParameters{TInputFiles,TReporting,TBuildServer,TPullRequestSystem}.cs @@ -1,8 +1,8 @@ -using Cake.Core.IO; -using System; - namespace Cake.Frosting.Issues.Recipe { + using Cake.Core.IO; + using System; + /// /// Parameters of the build. /// diff --git a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/State/IIssuesState.cs b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/State/IIssuesState.cs index d284442b..fc577efc 100644 --- a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/State/IIssuesState.cs +++ b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/State/IIssuesState.cs @@ -1,10 +1,10 @@ -using Cake.Core.IO; -using Cake.Issues; -using System; -using System.Collections.Generic; - -namespace Cake.Frosting.Issues.Recipe +namespace Cake.Frosting.Issues.Recipe { + using Cake.Core.IO; + using Cake.Issues; + using System; + using System.Collections.Generic; + /// /// Description of the mutable state of the build run. /// diff --git a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/State/IssuesState.cs b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/State/IssuesState.cs index c1d1c42d..591f93fd 100644 --- a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/State/IssuesState.cs +++ b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/State/IssuesState.cs @@ -1,15 +1,14 @@ -using Cake.Common; -using Cake.Common.Build; -using Cake.Common.Diagnostics; -using Cake.Common.IO; -using Cake.Core.IO; -using Cake.Issues; -using System; -using System.Collections.Generic; -using System.Collections.ObjectModel; - -namespace Cake.Frosting.Issues.Recipe +namespace Cake.Frosting.Issues.Recipe { + using Cake.Common; + using Cake.Common.Build; + using Cake.Common.Diagnostics; + using Cake.Common.IO; + using Cake.Core.IO; + using Cake.Issues; + using System; + using System.Collections.Generic; + /// /// Mutable state of the build run. /// @@ -17,9 +16,9 @@ public class IssuesState : IIssuesState { private readonly IIssuesContext context; - private readonly List issues = new List(); + private readonly List issues = []; - private readonly List<(IIssueProvider, string)> issueProvidersAndRuns = new List<(IIssueProvider, string)>(); + private readonly List<(IIssueProvider, string)> issueProvidersAndRuns = []; /// public DirectoryPath RepositoryRootDirectory { get; } @@ -237,10 +236,7 @@ private static IReadIssuesSettings GetSettings(IReadIssuesSettings configuredSet return defaultSettings; } - if (configuredSettings.FileLinkSettings == null) - { - configuredSettings.FileLinkSettings = defaultSettings.FileLinkSettings; - } + configuredSettings.FileLinkSettings ??= defaultSettings.FileLinkSettings; return configuredSettings; } diff --git a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/CreateFullIssuesReportTask.cs b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/CreateFullIssuesReportTask.cs index 15b3206e..de19c97e 100644 --- a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/CreateFullIssuesReportTask.cs +++ b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/CreateFullIssuesReportTask.cs @@ -1,10 +1,10 @@ -using Cake.Common.IO; -using Cake.Issues; -using Cake.Issues.Reporting; -using Cake.Issues.Reporting.Generic; - -namespace Cake.Frosting.Issues.Recipe +namespace Cake.Frosting.Issues.Recipe { + using Cake.Common.IO; + using Cake.Issues; + using Cake.Issues.Reporting; + using Cake.Issues.Reporting.Generic; + /// /// Creates issue report. /// diff --git a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/CreateSarifReportTask.cs b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/CreateSarifReportTask.cs index 5cac633a..21aad9bc 100644 --- a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/CreateSarifReportTask.cs +++ b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/CreateSarifReportTask.cs @@ -1,10 +1,10 @@ -using Cake.Common.IO; -using Cake.Issues; -using Cake.Issues.Reporting; -using Cake.Issues.Reporting.Sarif; - -namespace Cake.Frosting.Issues.Recipe +namespace Cake.Frosting.Issues.Recipe { + using Cake.Common.IO; + using Cake.Issues; + using Cake.Issues.Reporting; + using Cake.Issues.Reporting.Sarif; + /// /// Creates issue report in SARIF format. /// diff --git a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/CreateSummaryIssuesReportTask.cs b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/CreateSummaryIssuesReportTask.cs index 768df782..88e0440a 100644 --- a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/CreateSummaryIssuesReportTask.cs +++ b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/CreateSummaryIssuesReportTask.cs @@ -1,9 +1,9 @@ -using Cake.Common.Build; -using Cake.Common.Diagnostics; -using Cake.Issues; - -namespace Cake.Frosting.Issues.Recipe +namespace Cake.Frosting.Issues.Recipe { + using Cake.Common.Build; + using Cake.Common.Diagnostics; + using Cake.Issues; + /// /// Creates a summary issue report. /// diff --git a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/PublishIssuesArtifactsTask.cs b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/PublishIssuesArtifactsTask.cs index fb1873d7..528113fb 100644 --- a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/PublishIssuesArtifactsTask.cs +++ b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/PublishIssuesArtifactsTask.cs @@ -1,9 +1,9 @@ -using Cake.Common.Build; -using Cake.Common.Diagnostics; -using Cake.Issues; - -namespace Cake.Frosting.Issues.Recipe +namespace Cake.Frosting.Issues.Recipe { + using Cake.Common.Build; + using Cake.Common.Diagnostics; + using Cake.Issues; + /// /// Publish issue artifacts to build server. /// diff --git a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/PullRequestSystems/AzureDevOpsPullRequestSystem.cs b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/PullRequestSystems/AzureDevOpsPullRequestSystem.cs index 96b7570b..01d611f7 100644 --- a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/PullRequestSystems/AzureDevOpsPullRequestSystem.cs +++ b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/PullRequestSystems/AzureDevOpsPullRequestSystem.cs @@ -1,19 +1,19 @@ -using Cake.AzureDevOps; -using Cake.AzureDevOps.Repos.PullRequest; -using Cake.Common; -using Cake.Common.Diagnostics; -using Cake.Issues; -using Cake.Issues.PullRequests; -using Cake.Issues.PullRequests.AzureDevOps; -using System.Collections.Generic; -using System.Linq; - namespace Cake.Frosting.Issues.Recipe { + using Cake.AzureDevOps; + using Cake.AzureDevOps.Repos.PullRequest; + using Cake.Common; + using Cake.Common.Diagnostics; + using Cake.Issues; + using Cake.Issues.PullRequests; + using Cake.Issues.PullRequests.AzureDevOps; + using System.Collections.Generic; + using System.Linq; + /// /// Support for Azure DevOps / Azure Repository hosted code. /// - internal class AzureDevOpsPullRequestSystem : BasePullRequestSystem + internal sealed class AzureDevOpsPullRequestSystem : BasePullRequestSystem { /// public override void ReportIssuesToPullRequest(IIssuesContext context) @@ -129,8 +129,10 @@ private static void SetPullRequestStatus( context.State.BuildServer.DeterminePullRequestId(context).Value, context.AzureDevOpsAuthenticationOAuth(context.EnvironmentVariable("SYSTEM_ACCESSTOKEN"))); + var issuesList = issues.ToList(); + var pullRequestStatusName = "Issues"; - var pullRequestDescriptionIfIssues = $"Found {issues.Count()} issues"; + var pullRequestDescriptionIfIssues = $"Found {issuesList.Count} issues"; var pullRequestDescriptionIfNoIssues = "No issues found"; if (!string.IsNullOrWhiteSpace(issueIdentifier)) @@ -148,7 +150,7 @@ private static void SetPullRequestStatus( } var state = - issues.Any() ? + issuesList.Count != 0 ? AzureDevOpsPullRequestStatusState.Failed : AzureDevOpsPullRequestStatusState.Succeeded; @@ -159,7 +161,7 @@ private static void SetPullRequestStatus( { Genre = "Cake.Issues.Recipe", State = state, - Description = issues.Any() ? pullRequestDescriptionIfIssues : pullRequestDescriptionIfNoIssues + Description = issuesList.Count != 0 ? pullRequestDescriptionIfIssues : pullRequestDescriptionIfNoIssues }; context.AzureDevOpsSetPullRequestStatus( diff --git a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/PullRequestSystems/BasePullRequestSystem.cs b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/PullRequestSystems/BasePullRequestSystem.cs index f40106b7..e34f761c 100644 --- a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/PullRequestSystems/BasePullRequestSystem.cs +++ b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/PullRequestSystems/BasePullRequestSystem.cs @@ -1,8 +1,8 @@ -using Cake.Issues; -using Cake.Issues.PullRequests; - namespace Cake.Frosting.Issues.Recipe { + using Cake.Issues; + using Cake.Issues.PullRequests; + /// /// Basic implementation for all pull request server. /// diff --git a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/PullRequestSystems/GitHubPullRequestSystem.cs b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/PullRequestSystems/GitHubPullRequestSystem.cs index e8a95862..4c7650ca 100644 --- a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/PullRequestSystems/GitHubPullRequestSystem.cs +++ b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/PullRequestSystems/GitHubPullRequestSystem.cs @@ -1,11 +1,11 @@ -using Cake.Issues; - namespace Cake.Frosting.Issues.Recipe { + using Cake.Issues; + /// /// Support for GitHub hosted code. /// - internal class GitHubPullRequestSystem : BasePullRequestSystem + internal sealed class GitHubPullRequestSystem : BasePullRequestSystem { /// public override void ReportIssuesToPullRequest(IIssuesContext context) diff --git a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/PullRequestSystems/IIssuesPullRequestSystem.cs b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/PullRequestSystems/IIssuesPullRequestSystem.cs index 6c4ff222..32844500 100644 --- a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/PullRequestSystems/IIssuesPullRequestSystem.cs +++ b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/PullRequestSystems/IIssuesPullRequestSystem.cs @@ -1,7 +1,7 @@ -using Cake.Issues; - namespace Cake.Frosting.Issues.Recipe { + using Cake.Issues; + /// /// Description of a pull request system implementation. /// diff --git a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/ReadIssuesTask.cs b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/ReadIssuesTask.cs index bd6b5940..b75f179c 100644 --- a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/ReadIssuesTask.cs +++ b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/ReadIssuesTask.cs @@ -1,13 +1,13 @@ -using Cake.Common.Diagnostics; -using Cake.Issues; -using Cake.Issues.EsLint; -using Cake.Issues.InspectCode; -using Cake.Issues.Markdownlint; -using Cake.Issues.MsBuild; -using System.Linq; - -namespace Cake.Frosting.Issues.Recipe +namespace Cake.Frosting.Issues.Recipe { + using Cake.Common.Diagnostics; + using Cake.Issues; + using Cake.Issues.EsLint; + using Cake.Issues.InspectCode; + using Cake.Issues.Markdownlint; + using Cake.Issues.MsBuild; + using System.Linq; + /// /// Reads issues from the provided log files. /// diff --git a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/ReportIssuesToBuildServerTask.cs b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/ReportIssuesToBuildServerTask.cs index 723b424d..53ed03ed 100644 --- a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/ReportIssuesToBuildServerTask.cs +++ b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/ReportIssuesToBuildServerTask.cs @@ -1,9 +1,9 @@ -using Cake.Common.Build; -using Cake.Common.Diagnostics; -using Cake.Issues; - -namespace Cake.Frosting.Issues.Recipe +namespace Cake.Frosting.Issues.Recipe { + using Cake.Common.Build; + using Cake.Common.Diagnostics; + using Cake.Issues; + /// /// Report issues to build server. /// diff --git a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/ReportIssuesToPullRequestTask.cs b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/ReportIssuesToPullRequestTask.cs index 353112c1..978a52b6 100644 --- a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/ReportIssuesToPullRequestTask.cs +++ b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/ReportIssuesToPullRequestTask.cs @@ -1,9 +1,9 @@ -using Cake.Common.Build; -using Cake.Common.Diagnostics; -using Cake.Issues; - -namespace Cake.Frosting.Issues.Recipe +namespace Cake.Frosting.Issues.Recipe { + using Cake.Common.Build; + using Cake.Common.Diagnostics; + using Cake.Issues; + /// /// Report issues to build server. /// diff --git a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/RepositoryInfo/CakeGitRepositoryInfoProvider.cs b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/RepositoryInfo/CakeGitRepositoryInfoProvider.cs index f7803352..e7b9d23f 100644 --- a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/RepositoryInfo/CakeGitRepositoryInfoProvider.cs +++ b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/RepositoryInfo/CakeGitRepositoryInfoProvider.cs @@ -1,16 +1,16 @@ -using Cake.Core; -using Cake.Core.IO; -using Cake.Git; -using Cake.Issues; -using System; -using System.Linq; - -namespace Cake.Frosting.Issues.Recipe +namespace Cake.Frosting.Issues.Recipe { + using Cake.Core; + using Cake.Core.IO; + using Cake.Git; + using Cake.Issues; + using System; + using System.Linq; + /// /// Provider to retrieve repository information using Cake.Git addin. /// - internal class CakeGitRepositoryInfoProvider : IRepositoryInfoProvider + internal sealed class CakeGitRepositoryInfoProvider : IRepositoryInfoProvider { /// public DirectoryPath GetRepositoryRootDirectory(ICakeContext context, DirectoryPath buildRootDirectory) diff --git a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/RepositoryInfo/CliRepositoryInfoProvider.cs b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/RepositoryInfo/CliRepositoryInfoProvider.cs index d6513142..8e3fc1bc 100644 --- a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/RepositoryInfo/CliRepositoryInfoProvider.cs +++ b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/RepositoryInfo/CliRepositoryInfoProvider.cs @@ -1,17 +1,17 @@ -using Cake.Common; -using Cake.Core; -using Cake.Core.IO; -using Cake.Issues; -using System; -using System.Collections.Generic; -using System.Linq; - -namespace Cake.Frosting.Issues.Recipe +namespace Cake.Frosting.Issues.Recipe { + using Cake.Common; + using Cake.Core; + using Cake.Core.IO; + using Cake.Issues; + using System; + using System.Collections.Generic; + using System.Linq; + /// /// Provider to retrieve repository information using Git CLI. /// - internal class CliRepositoryInfoProvider : IRepositoryInfoProvider + internal sealed class CliRepositoryInfoProvider : IRepositoryInfoProvider { /// public DirectoryPath GetRepositoryRootDirectory(ICakeContext context, DirectoryPath buildRootDirectory) @@ -51,7 +51,7 @@ private static IEnumerable GitCommand( DirectoryPath repositoryRootFolder, params string[] arguments) { - if (!arguments.Any()) + if (arguments.Length == 0) { throw new ArgumentOutOfRangeException(nameof(arguments)); } diff --git a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/RepositoryInfo/IRepositoryInfoProvider.cs b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/RepositoryInfo/IRepositoryInfoProvider.cs index f761a0c6..11ccf855 100644 --- a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/RepositoryInfo/IRepositoryInfoProvider.cs +++ b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/RepositoryInfo/IRepositoryInfoProvider.cs @@ -1,9 +1,9 @@ -using Cake.Core; -using Cake.Core.IO; -using System; - -namespace Cake.Frosting.Issues.Recipe +namespace Cake.Frosting.Issues.Recipe { + using Cake.Core; + using Cake.Core.IO; + using System; + /// /// Description of a provider to retrieve repository information. /// diff --git a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/SetPullRequestIssuesStateTask.cs b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/SetPullRequestIssuesStateTask.cs index 73650fca..067fc38e 100644 --- a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/SetPullRequestIssuesStateTask.cs +++ b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/SetPullRequestIssuesStateTask.cs @@ -1,9 +1,9 @@ -using Cake.Common.Build; -using Cake.Common.Diagnostics; -using Cake.Issues; - -namespace Cake.Frosting.Issues.Recipe +namespace Cake.Frosting.Issues.Recipe { + using Cake.Common.Build; + using Cake.Common.Diagnostics; + using Cake.Issues; + /// /// Set pull request status. /// diff --git a/Cake.Frosting.Issues.Recipe/Directory.Build.props b/Cake.Frosting.Issues.Recipe/Directory.Build.props new file mode 100644 index 00000000..a95ac958 --- /dev/null +++ b/Cake.Frosting.Issues.Recipe/Directory.Build.props @@ -0,0 +1,5 @@ + + + latest + + \ No newline at end of file diff --git a/Cake.Issues.Recipe/Content/addins.cake b/Cake.Issues.Recipe/Content/addins.cake index e5f60f8d..f6a27295 100644 --- a/Cake.Issues.Recipe/Content/addins.cake +++ b/Cake.Issues.Recipe/Content/addins.cake @@ -2,17 +2,17 @@ // ADDINS /////////////////////////////////////////////////////////////////////////////// -#addin nuget:?package=Cake.Git&version=3.0.0 -#addin nuget:?package=Cake.Issues&version=4.0.0-beta0001 -#addin nuget:?package=Cake.Issues.MsBuild&version=4.0.0-beta0001 -#addin nuget:?package=Cake.Issues.InspectCode&version=4.0.0-beta0001 -#addin nuget:?package=Cake.Issues.Markdownlint&version=4.0.0-beta0001 -#addin nuget:?package=Cake.Issues.EsLint&version=4.0.0-beta0001 -#addin nuget:?package=Cake.Issues.Reporting&version=4.0.0-beta0001 -#addin nuget:?package=Cake.Issues.Reporting.Generic&version=4.0.0-beta0001 -#addin nuget:?package=Cake.Issues.Reporting.Sarif&version=4.0.0-beta0001 -#addin nuget:?package=Cake.Issues.PullRequests&version=4.0.0-beta0001 -#addin nuget:?package=Cake.Issues.PullRequests.AppVeyor&version=4.0.0-beta0001 -#addin nuget:?package=Cake.Issues.PullRequests.AzureDevOps&version=4.0.0-beta0001 -#addin nuget:?package=Cake.Issues.PullRequests.GitHubActions&version=4.0.0-beta0001 -#addin nuget:?package=Cake.AzureDevOps&version=4.0.0-beta0001 +#addin nuget:?package=Cake.Git&version=4.0.0 +#addin nuget:?package=Cake.Issues&version=4.0.0 +#addin nuget:?package=Cake.Issues.MsBuild&version=4.0.0 +#addin nuget:?package=Cake.Issues.InspectCode&version=4.0.0 +#addin nuget:?package=Cake.Issues.Markdownlint&version=4.0.0 +#addin nuget:?package=Cake.Issues.EsLint&version=4.0.0 +#addin nuget:?package=Cake.Issues.Reporting&version=4.0.0 +#addin nuget:?package=Cake.Issues.Reporting.Generic&version=4.0.0 +#addin nuget:?package=Cake.Issues.Reporting.Sarif&version=4.0.0 +#addin nuget:?package=Cake.Issues.PullRequests&version=4.0.0 +#addin nuget:?package=Cake.Issues.PullRequests.AppVeyor&version=4.0.0 +#addin nuget:?package=Cake.Issues.PullRequests.AzureDevOps&version=4.0.0 +#addin nuget:?package=Cake.Issues.PullRequests.GitHubActions&version=4.0.0 +#addin nuget:?package=Cake.AzureDevOps&version=4.0.0 diff --git a/docs/overview.md b/docs/overview.md index fb21a3db..1ade597c 100644 --- a/docs/overview.md +++ b/docs/overview.md @@ -24,20 +24,20 @@ Cake.Issues recipes will add the following addins to your build: | Addin Cake.Issues.Recipe | Addin.Frosting.Issues.Recipe | Remarks | |---------------------------------------------------------|---------------------------------------------------------|-| -| [Cake.Git] 3.0.0 | [Cake.Git] 3.0.0 | Only used if `RepositoryInfoProvider` type is set to `RepositoryInfoProviderType.CakeGit`. See [Git repository information configuration] for details. | -| [Cake.Issues] 4.0.0-beta0001 | [Cake.Issues] 4.0.0-beta0001 | | -| [Cake.Issues.MsBuild] 4.0.0-beta0001 | [Cake.Frosting.Issues.MsBuild] 4.0.0-beta0001 | | -| [Cake.Issues.InspectCode] 4.0.0-beta0001 | [Cake.Issues.InspectCode] 4.0.0-beta0001 | | -| [Cake.Issues.Markdownlint] 4.0.0-beta0001 | [Cake.Issues.Markdownlint] 4.0.0-beta0001 | | -| [Cake.Issues.EsLint] 4.0.0-beta0001 | [Cake.Issues.EsLint] 4.0.0-beta0001 | | -| [Cake.Issues.Reporting] 4.0.0-beta0001 | [Cake.Issues.Reporting] 4.0.0-beta0001 | | -| [Cake.Issues.Reporting.Generic] 4.0.0-beta0001 | [Cake.Frosting.Issues.Reporting.Generic] 4.0.0-beta0001 | | -| [Cake.Issues.Reporting.Sarif] 4.0.0-beta0001 | [Cake.Frosting.Issues.Reporting.Sarif] 4.0.0-beta0001 | | -| [Cake.Issues.PullRequests] 4.0.0-beta0001 | [Cake.Issues.PullRequests] 4.0.0-beta0001 | | -| [Cake.Issues.PullRequests.AppVeyor] 4.0.0-beta0001 | [Cake.Issues.PullRequests.AppVeyor] 4.0.0-beta0001 | | -| [Cake.Issues.PullRequests.AzureDevOps] 4.0.0-beta0001 | [Cake.Issues.PullRequests.AzureDevOps] 4.0.0-beta0001 | | -| [Cake.Issues.PullRequests.GitHubActions] 4.0.0-beta0001 | [Cake.Issues.PullRequests.GitHubActions] 4.0.0-beta0001 | | -| [Cake.AzureDevOps] 4.0.0-beta0001 | [Cake.AzureDevOps] 4.0.0-beta0001 | | +| [Cake.Git] 4.0.0 | [Cake.Frosting.Git] 4.0.0 | Only used if `RepositoryInfoProvider` type is set to `RepositoryInfoProviderType.CakeGit`. See [Git repository information configuration] for details. | +| [Cake.Issues] 4.0.0 | [Cake.Issues] 4.0.0 | | +| [Cake.Issues.MsBuild] 4.0.0 | [Cake.Frosting.Issues.MsBuild] 4.0.0 | | +| [Cake.Issues.InspectCode] 4.0.0 | [Cake.Issues.InspectCode] 4.0.0 | | +| [Cake.Issues.Markdownlint] 4.0.0 | [Cake.Issues.Markdownlint] 4.0.0 | | +| [Cake.Issues.EsLint] 4.0.0 | [Cake.Issues.EsLint] 4.0.0 | | +| [Cake.Issues.Reporting] 4.0.0 | [Cake.Issues.Reporting] 4.0.0 | | +| [Cake.Issues.Reporting.Generic] 4.0.0 | [Cake.Frosting.Issues.Reporting.Generic] 4.0.0 | | +| [Cake.Issues.Reporting.Sarif] 4.0.0 | [Cake.Frosting.Issues.Reporting.Sarif] 4.0.0 | | +| [Cake.Issues.PullRequests] 4.0.0 | [Cake.Issues.PullRequests] 4.0.0 | | +| [Cake.Issues.PullRequests.AppVeyor] 4.0.0 | [Cake.Issues.PullRequests.AppVeyor] 4.0.0 | | +| [Cake.Issues.PullRequests.AzureDevOps] 4.0.0 | [Cake.Issues.PullRequests.AzureDevOps] 4.0.0 | | +| [Cake.Issues.PullRequests.GitHubActions] 4.0.0 | [Cake.Issues.PullRequests.GitHubActions] 4.0.0 | | +| [Cake.AzureDevOps] | [Cake.AzureDevOps] | | [Cake.Issues.Recipe]: https://www.nuget.org/packages/Cake.Issues.Recipe [Cake.Frosting.Issues.Recipe]: https://www.nuget.org/packages/Cake.Frosting.Issues.Recipe @@ -48,14 +48,18 @@ Cake.Issues recipes will add the following addins to your build: [supported tools]: supported-tools [Git repository information configuration]: /docs/recipe/configuration#git-repository-information [Cake.Git]: https://cakebuild.net/extensions/cake-git/ +[Cake.Frosting.Git]: https://cakebuild.net/extensions/cake-git/ [Cake.Issues]: https://cakebuild.net/extensions/cake-issues/ [Cake.Issues.MsBuild]: https://cakebuild.net/extensions/cake-issues-msbuild/ +[Cake.Frosting.Issues.MsBuild]: https://cakebuild.net/extensions/cake-issues-msbuild/ [Cake.Issues.InspectCode]: https://cakebuild.net/extensions/cake-issues-inspectcode/ [Cake.Issues.Markdownlint]: https://cakebuild.net/extensions/cake-issues-markdownlint/ [Cake.Issues.EsLint]: https://cakebuild.net/extensions/cake-issues-eslint/ [Cake.Issues.Reporting]: https://cakebuild.net/extensions/cake-issues-reporting/ [Cake.Issues.Reporting.Generic]: https://cakebuild.net/extensions/cake-issues-reporting-generic/ [Cake.Frosting.Issues.Reporting.Generic]: https://cakebuild.net/extensions/cake-issues-reporting-generic/ +[Cake.Issues.Reporting.Sarif]: https://cakebuild.net/extensions/cake-issues-reporting-sarif/ +[Cake.Frosting.Issues.Reporting.Sarif]: https://cakebuild.net/extensions/cake-issues-reporting-sarif/ [Cake.Issues.PullRequests]: https://cakebuild.net/extensions/cake-issues-pullrequests/ [Cake.Issues.PullRequests.AppVeyor]: https://cakebuild.net/extensions/cake-issues-pullrequests-appveyor/ [Cake.Issues.PullRequests.AzureDevOps]: https://cakebuild.net/extensions/cake-issues-pullrequests-azuredevops/ diff --git a/nuspec/nuget/Cake.Issues.Recipe.nuspec b/nuspec/nuget/Cake.Issues.Recipe.nuspec index 5ba8bb3f..f133c84d 100644 --- a/nuspec/nuget/Cake.Issues.Recipe.nuspec +++ b/nuspec/nuget/Cake.Issues.Recipe.nuspec @@ -23,7 +23,7 @@ For recipe compatible with Cake Frosting see Cake.Frosting.Issues.Recipe. Copyright © Pascal Berger cake cake-recipe cake-issues - https://github.com/cake-contrib/Cake.Issues.Recipe/releases/tag/3.1.1 + https://github.com/cake-contrib/Cake.Issues.Recipe/releases/tag/4.0.0