-
Notifications
You must be signed in to change notification settings - Fork 373
fix(fossid): Don't create issue for zero pending identifications #11351
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
base: main
Are you sure you want to change the base?
fix(fossid): Don't create issue for zero pending identifications #11351
Conversation
Don't create an issue about pending identifications in FossID if actually no pending identifications exist. This bug prevents the use of configuration option 'treatPendingIdentificationsAsError', as it reports an issue with severity ERROR even if there are zero pending identifications. Signed-off-by: klw1imb <wolfgang.klenk2@bosch.com>
nnobelis
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will clarify how this impact us and review your PR.
nnobelis
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After discussion with the team, we found out that removing the issue when there is no pending file would be too much of a change for our users: for instance, when looking at the WA reports, they would not know that FossId has run and found no file pending identification.
My suggestion is that you rather fix the logic when treatPendingIdentificationsAsError is set: if the pending file count is 0, then the issue should not have its severity raised to ERROR.
What do you think ?
Mind sharing which kind of "report" the users are looking at? |
As written in my message, the WebApp report. |
Would it be an option to show the information that FossID was being used in the new "metadata" view added in: #11326 ? |
I also think this PR is good. Creating issues for non-issues seems odd and not consistent. Note: There is just this new #11358 which seems to show for each package the details of the scanner used. Would this be a good enough replacement for you @nnobelis ? |
I think you are all influenced by the term "issue". Till now, FossId pending file numbers were always returned with a issue with severity Regarding the suggestions of @MarcelBochtler and @sschuberth : |
I didn't suggest anything 😅 I guess you mean @fviernau. |
|
@nnobelis, from my perspective it is enough to have the information, that FossID was used successfully. I do not really require a further hint. |
Don't create an issue about pending identifications in FossID if actually no pending identifications exist. This bug prevents the use of configuration option
treatPendingIdentificationsAsError, as it reports an issue with severity ERROR even if there are zero pending identifications.