-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
77 changed files
with
1,765 additions
and
744 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
docs/input/documentation/assets/tables/supported-tools-copypaste.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
"Tool","Tool Version","Format","Issue Provider","Supported Since" | ||
"~~[dupFinder](https://www.jetbrains.com/help/resharper/2021.2/dupFinder.html){target='_blank'}~~{ title='Deprecated since dupFinder Command Line Tool has been sunsetted' } ",,,"Cake.Issues.DupFinder",0.8.0 | ||
"[jscpd](https://github.com/kucherenko/jscpd){target='_blank'}",,"[jscpd-sarif-reporter](https://www.npmjs.com/package/jscpd-sarif-reporter){target='_blank'}","[Cake.Issues.Sarif](issue-providers/sarif/index.md)",4.2.0 |
2 changes: 1 addition & 1 deletion
2
docs/input/documentation/assets/tables/supported-tools-dotnet.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
107 changes: 107 additions & 0 deletions
107
docs/input/news/posts/2025-01-09-cake-issues-v5.2.0-released.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
--- | ||
title: Cake Issues v5.2.0 Released | ||
date: 2025-01-09 | ||
categories: | ||
- Release Notes | ||
search: | ||
boost: 0.5 | ||
--- | ||
|
||
Cake Issues version 5.2.0 has been released bringing improvements to build breaking and SARIF issue provider. | ||
|
||
<!-- more --> | ||
|
||
This post shows the highlights included in this release. | ||
For update instructions skip to [Updating from previous versions](#updating-from-previous-versions). | ||
|
||
❤ Huge thanks to our community! This release would not have been possible without your support and contributions! ❤ | ||
|
||
People working on this release: | ||
|
||
* [eoehen](https://github.com/eoehen){target="_blank"} | ||
* [pascalberger](https://github.com/pascalberger){target="_blank"} | ||
|
||
## Support for suppressed issues in SARIF files. | ||
|
||
SARIF supports [suppressions]{target="_blank"} for issues which are suppressed, either in the source code or through some external tool. | ||
|
||
Until now this property was ignored. | ||
Starting with Cake Issues 5.2.0 issues which are marked as suppressed in a SARIF file will no longer be imported by default. | ||
There is a new setting `IgnoreSuppressedIssues` which can be disabled to continue reading suppressed issues. | ||
|
||
## Additional alias for build breaking | ||
|
||
There is a new alias for fails build if any issues are found with settings to limit to priority and issue provider types to complement | ||
the already existing [aliases for failing builds]{target="_blank"}. | ||
|
||
The following example fails build if issues with severity warning or higher from MsBuild are found: | ||
|
||
=== "Cake .NET Tool" | ||
|
||
```csharp | ||
BreakBuildOnIssues( | ||
issues, | ||
new BuildBreakingSettings | ||
{ | ||
MinimumPriority = IssuePriority.Warning, | ||
IssueProvidersToConsider = [MsBuildIssuesProviderTypeName] | ||
}); | ||
``` | ||
|
||
=== "Cake Frosting" | ||
|
||
```csharp | ||
context.BreakBuildOnIssues( | ||
issues, | ||
new BuildBreakingSettings | ||
{ | ||
MinimumPriority = IssuePriority.Warning, | ||
IssueProvidersToConsider = [context.MsBuildIssuesProviderTypeName()] | ||
}); | ||
``` | ||
|
||
The following example fails build if issues with severity warning or higher are found, ignoring issues reported by MsBuild: | ||
|
||
=== "Cake .NET Tool" | ||
|
||
```csharp | ||
BreakBuildOnIssues( | ||
issues, | ||
new BuildBreakingSettings | ||
{ | ||
MinimumPriority = IssuePriority.Warning, | ||
IssueProvidersToIgnore = [MsBuildIssuesProviderTypeName] | ||
}); | ||
``` | ||
|
||
=== "Cake Frosting" | ||
|
||
```csharp | ||
context.BreakBuildOnIssues( | ||
issues, | ||
new BuildBreakingSettings | ||
{ | ||
MinimumPriority = IssuePriority.Warning, | ||
IssueProvidersToIgnore = [context.MsBuildIssuesProviderTypeName()] | ||
}); | ||
``` | ||
|
||
## Support for failing builds in Cake Issues Recipe | ||
|
||
Cake Issues Recipe has new configuration options to support failing of builds if any issues are found: | ||
|
||
- `ShouldFailBuildOnIssues`: Indicates whether build should fail if any issues are found | ||
- `MinimumPriority`: Minimum priority of issues considered to fail the build | ||
- `IssueProvidersToConsider`: List of issue provider types to consider | ||
- `IssueProvidersToIgnore`: List of issue provider types to ignore | ||
|
||
## Updating from previous versions | ||
|
||
Cake.Issues 5.2.0 addins are compatible with any 5.x addins. | ||
To update to the new version bump the version of the specific addins. | ||
|
||
For details see [release notes](https://github.com/cake-contrib/Cake.Issues/releases/tag/5.2.0){target="_blank"} | ||
|
||
[suppressions]: https://docs.oasis-open.org/sarif/sarif/v2.1.0/errata01/os/sarif-v2.1.0-errata01-os-complete.html#_Toc141790911 | ||
[aliases for failing builds]: https://cakebuild.net/extensions/cake-issues/#Build-Breaking | ||
[Cake Issues Recipe]: ../../documentation/recipe/index.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.