Skip to content

Commit 92684ca

Browse files
committed
Merge branch 'release/5.4.0'
2 parents ce3ccc6 + e81ccbd commit 92684ca

File tree

21 files changed

+825
-42
lines changed

21 files changed

+825
-42
lines changed

.appveyor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ install:
1111
- ps: mkdir $env:DOTNET_INSTALL_DIR -Force | Out-Null
1212
- ps: Invoke-WebRequest -Uri "https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.ps1" -OutFile "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1"
1313
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 5.0.408 -InstallDir $env:DOTNET_INSTALL_DIR'
14-
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 8.0.404 -InstallDir $env:DOTNET_INSTALL_DIR'
15-
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 9.0.101 -InstallDir $env:DOTNET_INSTALL_DIR'
14+
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 8.0.405 -InstallDir $env:DOTNET_INSTALL_DIR'
15+
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 9.0.102 -InstallDir $env:DOTNET_INSTALL_DIR'
1616
- ps: $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
1717
- ps: dotnet --info
1818
- ps: Install-Product node 20

Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe.Tests/Cake.Frosting.Issues.Recipe.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
<ItemGroup>
2020
<PackageReference Include="Cake.Frosting" Version="5.0.0" />
21-
<PackageReference Include="Cake.Issues.Testing" Version="5.3.0" />
21+
<PackageReference Include="Cake.Issues.Testing" Version="5.4.0" />
2222
<PackageReference Include="Cake.Testing" Version="5.0.0" />
2323
<PackageReference Include="Cake.Testing.Xunit" Version="5.0.0" />
2424
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="9.0.0">

Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe.csproj

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ For recipe compatible with Cake Script Runners see Cake.Issues.Recipe.</Descript
2525
<PackageLicenseExpression>MIT</PackageLicenseExpression>
2626
<RepositoryType>git</RepositoryType>
2727
<RepositoryUrl>https://github.com/cake-contrib/Cake.Issues.Recipe.git</RepositoryUrl>
28-
<PackageReleaseNotes>https://github.com/cake-contrib/Cake.Issues.Recipe/releases/tag/5.3.0</PackageReleaseNotes>
28+
<PackageReleaseNotes>https://github.com/cake-contrib/Cake.Issues.Recipe/releases/tag/5.4.0</PackageReleaseNotes>
2929
</PropertyGroup>
3030

3131
<ItemGroup>
@@ -42,20 +42,21 @@ For recipe compatible with Cake Script Runners see Cake.Issues.Recipe.</Descript
4242
<PackageReference Include="Cake.Frosting.AzureDevOps" Version="5.0.0" />
4343
<PackageReference Include="Cake.Frosting" Version="5.0.0" PrivateAssets="All" />
4444
<PackageReference Include="Cake.Frosting.Git" Version="5.0.1" />
45-
<PackageReference Include="Cake.Issues" Version="5.3.0" />
46-
<PackageReference Include="Cake.Frosting.Issues.EsLint" Version="5.3.0" />
47-
<PackageReference Include="Cake.Frosting.Issues.InspectCode" Version="5.3.0" />
48-
<PackageReference Include="Cake.Frosting.Issues.Markdownlint" Version="5.3.0" />
49-
<PackageReference Include="Cake.Frosting.Issues.MsBuild" Version="5.3.0" />
50-
<PackageReference Include="Cake.Frosting.Issues.Sarif" Version="5.3.0" />
51-
<PackageReference Include="Cake.Frosting.Issues.PullRequests" Version="5.3.0" />
52-
<PackageReference Include="Cake.Frosting.Issues.PullRequests.AppVeyor" Version="5.3.0" />
53-
<PackageReference Include="Cake.Frosting.Issues.PullRequests.AzureDevOps" Version="5.3.0" />
54-
<PackageReference Include="Cake.Frosting.Issues.PullRequests.GitHubActions" Version="5.3.0" />
55-
<PackageReference Include="Cake.Frosting.Issues.Reporting" Version="5.3.0" />
56-
<PackageReference Include="Cake.Frosting.Issues.Reporting.Sarif" Version="5.3.0" />
57-
<PackageReference Include="Cake.Frosting.Issues.Reporting.Generic" Version="5.3.0" />
58-
<PackageReference Include="Cake.Frosting.Issues.Reporting.Console" Version="5.3.0" />
45+
<PackageReference Include="Cake.Issues" Version="5.4.0" />
46+
<PackageReference Include="Cake.Frosting.Issues.EsLint" Version="5.4.0" />
47+
<PackageReference Include="Cake.Frosting.Issues.InspectCode" Version="5.4.0" />
48+
<PackageReference Include="Cake.Frosting.Issues.Markdownlint" Version="5.4.0" />
49+
<PackageReference Include="Cake.Frosting.Issues.MsBuild" Version="5.4.0" />
50+
<PackageReference Include="Cake.Frosting.Issues.Sarif" Version="5.4.0" />
51+
<PackageReference Include="Cake.Frosting.Issues.Tap" Version="5.4.0" />
52+
<PackageReference Include="Cake.Frosting.Issues.PullRequests" Version="5.4.0" />
53+
<PackageReference Include="Cake.Frosting.Issues.PullRequests.AppVeyor" Version="5.4.0" />
54+
<PackageReference Include="Cake.Frosting.Issues.PullRequests.AzureDevOps" Version="5.4.0" />
55+
<PackageReference Include="Cake.Frosting.Issues.PullRequests.GitHubActions" Version="5.4.0" />
56+
<PackageReference Include="Cake.Frosting.Issues.Reporting" Version="5.4.0" />
57+
<PackageReference Include="Cake.Frosting.Issues.Reporting.Sarif" Version="5.4.0" />
58+
<PackageReference Include="Cake.Frosting.Issues.Reporting.Generic" Version="5.4.0" />
59+
<PackageReference Include="Cake.Frosting.Issues.Reporting.Console" Version="5.4.0" />
5960
</ItemGroup>
6061

6162
</Project>

Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IIssuesParametersInputFiles.cs

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,36 @@ public interface IIssuesParametersInputFiles
8787
/// </summary>
8888
IDictionary<byte[], IReadIssuesSettings> SarifLogFileContent { get; }
8989

90+
/// <summary>
91+
/// Gets list of registered paths to TAP log files.
92+
/// </summary>
93+
IDictionary<FilePath, IReadIssuesSettings> GenericTapLogFilePaths { get; }
94+
95+
/// <summary>
96+
/// Gets list of registered content of TAP log files.
97+
/// </summary>
98+
IDictionary<byte[], IReadIssuesSettings> GenericTapLogFileContent { get; }
99+
100+
/// <summary>
101+
/// Gets list of registered paths to Stylelint TAP log files.
102+
/// </summary>
103+
IDictionary<FilePath, IReadIssuesSettings> StylelintTapLogFilePaths { get; }
104+
105+
/// <summary>
106+
/// Gets list of registered content of Stylelint TAP log files.
107+
/// </summary>
108+
IDictionary<byte[], IReadIssuesSettings> StylelintTapLogFileContent { get; }
109+
110+
/// <summary>
111+
/// Gets list of registered paths to Textlint TAP log files.
112+
/// </summary>
113+
IDictionary<FilePath, IReadIssuesSettings> TextlintTapLogFilePaths { get; }
114+
115+
/// <summary>
116+
/// Gets list of registered content of Textlint TAP log files.
117+
/// </summary>
118+
IDictionary<byte[], IReadIssuesSettings> TextlintTapLogFileContent { get; }
119+
90120
/// <summary>
91121
/// Adds a path to a MSBuild log file created by XmlFileLogger.
92122
/// </summary>
@@ -198,4 +228,46 @@ public interface IIssuesParametersInputFiles
198228
/// <param name="logfileContent">Content of the SARIF log file.</param>
199229
/// <param name="settings">Settings for reading the log file. <c>Null</c> for default values.</param>
200230
void AddSarifLogFileContent(byte[] logfileContent, IReadIssuesSettings settings);
231+
232+
/// <summary>
233+
/// Adds a path to a log file in Test Anything Protocol format.
234+
/// </summary>
235+
/// <param name="logfilePath">Path to the log file in Test Anything Protocol format.</param>
236+
/// <param name="settings">Settings for reading the log file. <c>Null</c> for default values.</param>
237+
void AddGenericTapLogFilePath(FilePath logfilePath, IReadIssuesSettings settings);
238+
239+
/// <summary>
240+
/// Adds content of a log file in Test Anything Protocol format.
241+
/// </summary>
242+
/// <param name="logfileContent">Content of the log file in Test Anything Protocol format.</param>
243+
/// <param name="settings">Settings for reading the log file. <c>Null</c> for default values.</param>
244+
void AddGenericTapLogFileContent(byte[] logfileContent, IReadIssuesSettings settings);
245+
246+
/// <summary>
247+
/// Adds a path to a Stylelint log file in Test Anything Protocol format.
248+
/// </summary>
249+
/// <param name="logfilePath">Path to the Stylelint log file in Test Anything Protocol format.</param>
250+
/// <param name="settings">Settings for reading the log file. <c>Null</c> for default values.</param>
251+
void AddStylelintTapLogFilePath(FilePath logfilePath, IReadIssuesSettings settings);
252+
253+
/// <summary>
254+
/// Adds content of a Stylelint log file in Test Anything Protocol format.
255+
/// </summary>
256+
/// <param name="logfileContent">Content of the Stylelint log file in Test Anything Protocol format.</param>
257+
/// <param name="settings">Settings for reading the log file. <c>Null</c> for default values.</param>
258+
void AddStylelintTapLogFileContent(byte[] logfileContent, IReadIssuesSettings settings);
259+
260+
/// <summary>
261+
/// Adds a path to a Textlint log file in Test Anything Protocol format.
262+
/// </summary>
263+
/// <param name="logfilePath">Path to the Textlint log file in Test Anything Protocol format.</param>
264+
/// <param name="settings">Settings for reading the log file. <c>Null</c> for default values.</param>
265+
void AddTextlintTapLogFilePath(FilePath logfilePath, IReadIssuesSettings settings);
266+
267+
/// <summary>
268+
/// Adds content of a Textlint log file in Test Anything Protocol format.
269+
/// </summary>
270+
/// <param name="logfileContent">Content of the Textlint log file in Test Anything Protocol format.</param>
271+
/// <param name="settings">Settings for reading the log file. <c>Null</c> for default values.</param>
272+
void AddTextlintTapLogFileContent(byte[] logfileContent, IReadIssuesSettings settings);
201273
}

Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IIssuesParametersInputFilesExtensions.cs

Lines changed: 198 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -534,4 +534,202 @@ public static void AddSarifLogFileContent(
534534
}
535535

536536
#endregion
537+
538+
#region GenericTapLogFile
539+
540+
/// <summary>
541+
/// Adds a path to a log file in Test Anything Protocol format.
542+
/// </summary>
543+
/// <param name="parameters">Parameter instance.</param>
544+
/// <param name="logfilePath">Path to the log file in Test Anything Protocol format.</param>
545+
public static void AddGenericTapLogFilePath(
546+
this IIssuesParametersInputFiles parameters,
547+
FilePath logfilePath)
548+
{
549+
parameters.NotNull();
550+
logfilePath.NotNull();
551+
552+
parameters.AddGenericTapLogFilePath(logfilePath, null);
553+
}
554+
555+
/// <summary>
556+
/// Adds content of a log file in Test Anything Protocol format.
557+
/// </summary>
558+
/// <param name="parameters">Parameter instance.</param>
559+
/// <param name="logfileContent">Content of the log file in Test Anything Protocol format.</param>
560+
public static void AddGenericTapLogFileContent(
561+
this IIssuesParametersInputFiles parameters,
562+
string logfileContent)
563+
{
564+
parameters.NotNull();
565+
logfileContent.NotNullOrWhiteSpace();
566+
567+
parameters.AddGenericTapLogFileContent(logfileContent.ToByteArray(), null);
568+
}
569+
570+
/// <summary>
571+
/// Adds content of a log file in Test Anything Protocol format.
572+
/// </summary>
573+
/// <param name="parameters">Parameter instance.</param>
574+
/// <param name="logfileContent">Content of the log file in Test Anything Protocol format.</param>
575+
public static void AddGenericTapLogFileContent(
576+
this IIssuesParametersInputFiles parameters,
577+
byte[] logfileContent)
578+
{
579+
parameters.NotNull();
580+
logfileContent.NotNullOrEmpty();
581+
582+
parameters.AddGenericTapLogFileContent(logfileContent, null);
583+
}
584+
585+
/// <summary>
586+
/// Adds content of a log file in Test Anything Protocol format.
587+
/// </summary>
588+
/// <param name="parameters">Parameter instance.</param>
589+
/// <param name="logfileContent">Content of the log file in Test Anything Protocol format.</param>
590+
/// <param name="settings">Settings for reading the log file. <c>Null</c> for default values.</param>
591+
public static void AddGenericTapLogFileContent(
592+
this IIssuesParametersInputFiles parameters,
593+
string logfileContent,
594+
IReadIssuesSettings settings)
595+
{
596+
parameters.NotNull();
597+
logfileContent.NotNullOrEmpty();
598+
599+
parameters.AddGenericTapLogFileContent(logfileContent.ToByteArray(), settings);
600+
}
601+
602+
#endregion
603+
604+
#region StylelintTapLogFile
605+
606+
/// <summary>
607+
/// Adds a path to a Stylelint log file in Test Anything Protocol format.
608+
/// </summary>
609+
/// <param name="parameters">Parameter instance.</param>
610+
/// <param name="logfilePath">Path to the Stylelint log file in Test Anything Protocol format.</param>
611+
public static void AddStylelintTapLogFilePath(
612+
this IIssuesParametersInputFiles parameters,
613+
FilePath logfilePath)
614+
{
615+
parameters.NotNull();
616+
logfilePath.NotNull();
617+
618+
parameters.AddStylelintTapLogFilePath(logfilePath, null);
619+
}
620+
621+
/// <summary>
622+
/// Adds content of a Stylelint log file in Test Anything Protocol format.
623+
/// </summary>
624+
/// <param name="parameters">Parameter instance.</param>
625+
/// <param name="logfileContent">Content of the Stylelint log file in Test Anything Protocol format.</param>
626+
public static void AddStylelintTapLogFileContent(
627+
this IIssuesParametersInputFiles parameters,
628+
string logfileContent)
629+
{
630+
parameters.NotNull();
631+
logfileContent.NotNullOrWhiteSpace();
632+
633+
parameters.AddStylelintTapLogFileContent(logfileContent.ToByteArray(), null);
634+
}
635+
636+
/// <summary>
637+
/// Adds content of a Stylelint log file in Test Anything Protocol format.
638+
/// </summary>
639+
/// <param name="parameters">Parameter instance.</param>
640+
/// <param name="logfileContent">Content of the Stylelint log file in Test Anything Protocol format.</param>
641+
public static void AddStylelintTapLogFileContent(
642+
this IIssuesParametersInputFiles parameters,
643+
byte[] logfileContent)
644+
{
645+
parameters.NotNull();
646+
logfileContent.NotNullOrEmpty();
647+
648+
parameters.AddStylelintTapLogFileContent(logfileContent, null);
649+
}
650+
651+
/// <summary>
652+
/// Adds content of a Stylelint log file in Test Anything Protocol format.
653+
/// </summary>
654+
/// <param name="parameters">Parameter instance.</param>
655+
/// <param name="logfileContent">Content of the Stylelint log file in Test Anything Protocol format.</param>
656+
/// <param name="settings">Settings for reading the log file. <c>Null</c> for default values.</param>
657+
public static void AddStylelintTapLogFileContent(
658+
this IIssuesParametersInputFiles parameters,
659+
string logfileContent,
660+
IReadIssuesSettings settings)
661+
{
662+
parameters.NotNull();
663+
logfileContent.NotNullOrEmpty();
664+
665+
parameters.AddStylelintTapLogFileContent(logfileContent.ToByteArray(), settings);
666+
}
667+
668+
#endregion
669+
670+
#region TextlintTapLogFile
671+
672+
/// <summary>
673+
/// Adds a path to a Textlint log file in Test Anything Protocol format.
674+
/// </summary>
675+
/// <param name="parameters">Parameter instance.</param>
676+
/// <param name="logfilePath">Path to the Textlint log file in Test Anything Protocol format.</param>
677+
public static void AddTextlintTapLogFilePath(
678+
this IIssuesParametersInputFiles parameters,
679+
FilePath logfilePath)
680+
{
681+
parameters.NotNull();
682+
logfilePath.NotNull();
683+
684+
parameters.AddTextlintTapLogFilePath(logfilePath, null);
685+
}
686+
687+
/// <summary>
688+
/// Adds content of a Textlint log file in Test Anything Protocol format.
689+
/// </summary>
690+
/// <param name="parameters">Parameter instance.</param>
691+
/// <param name="logfileContent">Content of the Textlint log file in Test Anything Protocol format.</param>
692+
public static void AddTextlintTapLogFileContent(
693+
this IIssuesParametersInputFiles parameters,
694+
string logfileContent)
695+
{
696+
parameters.NotNull();
697+
logfileContent.NotNullOrWhiteSpace();
698+
699+
parameters.AddTextlintTapLogFileContent(logfileContent.ToByteArray(), null);
700+
}
701+
702+
/// <summary>
703+
/// Adds content of a Textlint log file in Test Anything Protocol format.
704+
/// </summary>
705+
/// <param name="parameters">Parameter instance.</param>
706+
/// <param name="logfileContent">Content of the Textlint log file in Test Anything Protocol format.</param>
707+
public static void AddTextlintTapLogFileContent(
708+
this IIssuesParametersInputFiles parameters,
709+
byte[] logfileContent)
710+
{
711+
parameters.NotNull();
712+
logfileContent.NotNullOrEmpty();
713+
714+
parameters.AddTextlintTapLogFileContent(logfileContent, null);
715+
}
716+
717+
/// <summary>
718+
/// Adds content of a Textlint log file in Test Anything Protocol format.
719+
/// </summary>
720+
/// <param name="parameters">Parameter instance.</param>
721+
/// <param name="logfileContent">Content of the Textlint log file in Test Anything Protocol format.</param>
722+
/// <param name="settings">Settings for reading the log file. <c>Null</c> for default values.</param>
723+
public static void AddTextlintTapLogFileContent(
724+
this IIssuesParametersInputFiles parameters,
725+
string logfileContent,
726+
IReadIssuesSettings settings)
727+
{
728+
parameters.NotNull();
729+
logfileContent.NotNullOrEmpty();
730+
731+
parameters.AddTextlintTapLogFileContent(logfileContent.ToByteArray(), settings);
732+
}
733+
734+
#endregion
537735
}

0 commit comments

Comments
 (0)