Skip to content

Conversation

@Kaushik-Kumar-CEG
Copy link

@Kaushik-Kumar-CEG Kaushik-Kumar-CEG commented Dec 28, 2025

Fixes #4583

Description
Adds a specific detection rule for "CKSource Holding" copyright headers found in CKEditor 5 (specifically augmentation.d.ts).

The Problem
ScanCode currently detects these headers as a complex mix of GPL/LGPL/MPL because they trigger a generic "CKSource" rule.

The Solution
Added a new rule (cksource-holding_1.RULE) that matches the exact copyright text and licensing pointer.

Matches: "Copyright (c) 2003-2023, CKSource Holding sp. z o.o. ... For licensing, see LICENSE.md..."

Result: Correctly detects gpl-2.0-plus OR commercial-license.

Tasks
[x] Reviewed contribution guidelines

[x] PR is descriptively titled 📑 and links the original issue above 🔗

[] Tests pass -- look for a green checkbox ✔️ a few minutes after opening your PR

[x] Commits are in uniquely-named feature branch and has no merge conflicts 📁

[ ] Updated documentation pages (if applicable)

[ ] Updated CHANGELOG.rst (if applicable)

@Kaushik-Kumar-CEG Kaushik-Kumar-CEG force-pushed the fix-4583-ckeditor-false-positive branch from 307da02 to 52561be Compare December 30, 2025 09:19
Signed-off-by: Kaushik <kaushikrjpm10@gmail.com>
@Kaushik-Kumar-CEG Kaushik-Kumar-CEG force-pushed the fix-4583-ckeditor-false-positive branch from 52561be to 2ff5c23 Compare December 30, 2025 10:22
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.

False positive: Extra licenses detected for CKEditor 5 (augmentation.d.ts)

1 participant