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

#80 Allows to set directories to include and exclude #95

Merged
merged 2 commits into from
Aug 5, 2021

Conversation

guillermo-varela
Copy link
Contributor

@guillermo-varela guillermo-varela commented Jul 22, 2021

Allows to set directories to include and exclude in Nexus IQ.

Evaluation reports will have less noise when setting dirExcludes = '**/classes.jar,**/annotations.zip,**/lint.jar,**/internal_impl-*.jar' by excluding those files that are marked as unknown:

Screen Shot 2021-07-22 at 1 01 48 PM

It relates to the following issue #s:

cc @bhamail / @DarthHater / @guillermo-varela / @shaikhu

@guillermo-varela guillermo-varela requested a review from shaikhu July 22, 2021 18:02
@guillermo-varela guillermo-varela force-pushed the #80_reduce_noise_android_iq_reports branch from 41bde7a to 3624296 Compare August 5, 2021 00:25
@@ -131,6 +131,15 @@ public void scan() {
}
}

private Properties buildProperties() {
Properties properties = new Properties();
if (!StringUtils.isAllBlank(extension.getDirIncludes(), extension.getDirExcludes())) {
Copy link
Contributor

@shaikhu shaikhu Aug 5, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question. This expects a user must enter both the dirIncludes and dirExcludes. They can't just enter one. Is that the intended behaviour?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question. This expects a user must enter both the dirIncludes and dirExcludes. They can't just enter one. Is that the intended behaviour?

Good catch!
1885f59

Copy link
Contributor

@shaikhu shaikhu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 with couple of minor comments.

@guillermo-varela guillermo-varela merged commit 01fb556 into master Aug 5, 2021
@guillermo-varela guillermo-varela deleted the #80_reduce_noise_android_iq_reports branch August 5, 2021 20:05
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.

[FEATURE] Reduce noise for Android projects in Nexus IQ evaluation reports
2 participants