Skip to content

Simplify license expressions #1048

@nicorikken

Description

@nicorikken

Is your feature request related to a problem? Please describe.
We migrated to an allow-list. Our allow-licenses list is expanding rapidly to deal with complex license expressions.
Some examples:

  - LicenseRef-scancode-public-domain AND Unlicense  # pkg:npm/big-integer
  - Apache-2.0 AND LicenseRef-scancode-unknown-license-reference  # pkg:maven/org.apache.camel*
  - EPL-2.0 AND BSD-3-Clause AND Apache-1.1 AND EPL-2.0 AND EPL-1.0 AND Apache-1.1 AND Apache-2.0 AND BSD-2-Clause AND Apache-2.0 AND Apache-1.1 AND BSD-3-Clause  # pkg:maven/org.aspectj:aspectjweaver
  - Apache-1.1 AND Apache-2.0 AND BSD-3-Clause AND EPL-2.0 AND GPL-1.0-or-later AND LicenseRef-scancode-generic-export-compliance AND LicenseRef-scancode-public-domain AND MIT AND SAX-PD AND xpp. # pkg:maven/org.glassfish.jaxb:jaxb-runtime
  - Apache-2.0 AND BSD-3-Clause AND EPL-1.0 AND LicenseRef-scancode-other-copyleft. # pkg:maven/org.springframework:spring*

I would expect aspectjweaver to be simplified to EPL-2.0, just as it says in the repo.

The GPL-1.0-or-later in pkg:maven/org.glassfish.jaxb:jaxb-runtime is suspicious. I can't reproduce it looking at the source code.

For the Maven projects the advanced-security/maven-dependency-submission-action is used.

To me it feels as though the new license scan details is dumped to the users to sort out. The yaml file is not a great solution to handle all edge-cases. From this perspective I can see the need for #1046 but this will introduce even more complexity.

Describe the solution you'd like
That GitHub will make a larger effort to simplify licenses.

Describe alternatives you've considered
Giving up and stopping with this check altogether

Additional context
For the Maven projects the advanced-security/maven-dependency-submission-action is used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions