Skip to content

Conversation

@alexzurbonsen
Copy link
Contributor

@alexzurbonsen alexzurbonsen commented Nov 5, 2025

Context

The rules are AND rules but they also match if only Apache-2.0 is present. Of course, they should only match if both licenses are actually detected in the text.

Summary

Require Apache 2.0 and LGPL to be present in the text for these rules to match.

Out of scope

There are a bunch of rules that have similar problems. Since the rules touched in this diff caused problems for us,
I am just touching them and and consider remaining rules out of scope.

Test Plan

I would have added a test, but I can't run scancode locally on my arm mac due to #3539 (but on recent versions of MacOS and Scancode)

Tasks

  • Reviewed contribution guidelines
  • PR is descriptively titled 📑 and links the original issue above 🔗
  • Tests pass -- look for a green checkbox ✔️ a few minutes after opening your PR
    Run tests locally to check for errors.
  • Commits are in uniquely-named feature branch and has no merge conflicts 📁
  • Updated documentation pages (if applicable)
  • Updated CHANGELOG.rst (if applicable)

These rules are AND rules. Thus they should only match if both
licenses are actually detected in the text.

There are a bunch of rules that have similar problems. Since the rules
touched in this diff caused problems for us,
I am just touching them and and consider remaining rules out of scope.

Signed-off-by: Alexander zur Bonsen <alexander.zur.bonsen@tngtech.com>
@alexzurbonsen alexzurbonsen marked this pull request as ready for review November 5, 2025 11:51
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.

1 participant