Skip to content

Make CC-BY-NC-3 rule more specific#4674

Merged
AyanSinhaMahapatra merged 1 commit intoaboutcode-org:developfrom
alexzurbonsen:make-cc-by-nc-3-rule-more-specific
Jan 15, 2026
Merged

Make CC-BY-NC-3 rule more specific#4674
AyanSinhaMahapatra merged 1 commit intoaboutcode-org:developfrom
alexzurbonsen:make-cc-by-nc-3-rule-more-specific

Conversation

@alexzurbonsen
Copy link
Contributor

@alexzurbonsen alexzurbonsen commented Jan 12, 2026

Summary

Make a cc-by-nc rule more specific which easily provides false positive non-commercial matches.

The rule also contains a simple warranty disclaimer which is not associated with cc-by-nc alone. Thus, require the license name to be present in a match.

Test plan

Scan this file with these flags

your_scancode_executable --license --license-text --json 'scancode.json' <path to the file>

to see the difference. With the more specific rule just a general warranty disclaimer rule matches.

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)

Signed-off-by: Alexander zur Bonsen <[email protected]>
@AyanSinhaMahapatra
Copy link
Member

Thanks @alexzurbonsen! Merging!

@AyanSinhaMahapatra AyanSinhaMahapatra merged commit bb72b83 into aboutcode-org:develop Jan 15, 2026
34 checks passed
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.

2 participants