-
Notifications
You must be signed in to change notification settings - Fork 5
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
16 changed files
with
292 additions
and
38 deletions.
There are no files selected for viewing
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
33 changes: 33 additions & 0 deletions
33
...s.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IIssuesParametersBuildBreaking.cs
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,33 @@ | ||
namespace Cake.Frosting.Issues.Recipe; | ||
|
||
/// <summary> | ||
/// Parameters for build breaking. | ||
/// </summary> | ||
public interface IIssuesParametersBuildBreaking | ||
{ | ||
/// <summary> | ||
/// Gets or sets a value indicating whether build should fail if any issues are found. | ||
/// Default value is <c>false</c>. | ||
/// </summary> | ||
bool ShouldFailBuildOnIssues { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the minimum priority of issues considered to fail the build. | ||
/// If set to <see cref="IssuePriority.Undefined"/>, all issues are considered. | ||
/// Default value is <see cref="IssuePriority.Undefined"/>. | ||
/// </summary> | ||
IssuePriority MinimumPriority { get; set; } | ||
|
||
/// <summary> | ||
/// Gets the list of issue provider types to consider. | ||
/// If empty, all providers are considered. | ||
/// Default value is empty. | ||
/// </summary> | ||
IList<string> IssueProvidersToConsider { get; } | ||
|
||
/// <summary> | ||
/// Gets the list of issue provider types to ignore. | ||
/// Default value is empty. | ||
/// </summary> | ||
IList<string> IssueProvidersToIgnore { get; } | ||
} |
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
19 changes: 19 additions & 0 deletions
19
...es.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IssuesParametersBuildBreaking.cs
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,19 @@ | ||
namespace Cake.Frosting.Issues.Recipe; | ||
|
||
/// <summary> | ||
/// Parameters for passing input files. | ||
/// </summary> | ||
public class IssuesParametersBuildBreaking: IIssuesParametersBuildBreaking | ||
{ | ||
/// <inheritdoc /> | ||
public bool ShouldFailBuildOnIssues { get; set; } | ||
|
||
/// <inheritdoc /> | ||
public IssuePriority MinimumPriority { get; set; } = IssuePriority.Undefined; | ||
|
||
/// <inheritdoc /> | ||
public IList<string> IssueProvidersToConsider { get; } = []; | ||
|
||
/// <inheritdoc /> | ||
public IList<string> IssueProvidersToIgnore { get; } = []; | ||
} |
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.