clearlydefined / clearlydefined/service
normalizing license values
- Dominant language
- TypeScript
- Stars
- 51
- Forks
- 46
- PR merge metrics
- No merged PRs in 30d
Description
There is code in the system somewhere (will have to find it) that normalizes the form of licenses. It simplifies and merges clauses and alphabetizes license mentions in expressions. The idea being that once normalized, you can do simple === string comparisons for settification and UI and ...
Looking at this /stats page for `crates` it seems that something is off. Notice the `MIT OR Apache-2.0` and `Apache-2.0 OR MIT` entries. They should all be the latter (`Apache-2.0 OR MIT` as A comes before M and in this expression order does not matter)

It may be the case that there are just some old definitions in there but at some point the data should be cleaned up and licenses recomputed/renormalized.
Contributor guide
Assessment
This issue has not been assessed yet.