Improve usefulness of results by comparing license compliance entries in case-insensitive mode
Problem to solve
Entries coming from the license management report are compared with the project policy list to see if they are approved, blacklisted, or still not defined.
This is good, but the comparison is done with exact matching between the two lists. It means that if we have a license named BSD and a policy entry named bsd, they will not match.
As a user, I'd expect the comparison to be case insensitive and match.
Further details
This reflects also in the way we check for duplicates when entering new licenses in the policy list, so we should take care also of that.
Proposal
Compare items in case-insensitive mode, so BSD and bsd will match.
Notes
This should leverage the changes we did to move of the report logic into the backend so that this work can be done in only one place.
Edited by Nicole Schwartz