Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: #135 #96 comments filter and limit #217

Closed

Conversation

PiekJ
Copy link
Contributor

@PiekJ PiekJ commented Jul 20, 2020

Adds functionality for decorator comments to filter by severity, type and limit the amount of comments. This PR fixes issue #135 and #96. This PR depends on PR #214.

implemented a filter system with 3 filters (maxamount,severy,type)
added commentfilter to the githubpullrequest decorator
fixed the tests I broke with adding the filter
added test to verify the filter is called for the Github Graphql
wrote test for IssueFilterRunner.
Added test for TypeExclusionFilter and SeverityExclusionFilter
Added tests for TypeComparator
Added tests for SeverityComparator
Added default comparators for IssueFilterRunner for real build.
@PiekJ PiekJ force-pushed the feature/135-96-comments-filter-and-limit branch from 4b2dd80 to 980e861 Compare August 3, 2020 12:21
@PiekJ
Copy link
Contributor Author

PiekJ commented Aug 3, 2020

Removed PR #214 dependency so it can be reviewed independently. Squashed the commits too.

@JohannesBe
Copy link

Would be great if this one could be merged quickly. Can certainly be annoying in larger projects / projects with lots of large merge requests.

@mc1arke mc1arke closed this Jan 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants