Skip to content

Add dataset and composite required phrase commands - #1

Open
Kaushik-Kumar-CEG wants to merge 2 commits into
mainfrom
gsoc/package-foundation
Open

Add dataset and composite required phrase commands#1
Kaushik-Kumar-CEG wants to merge 2 commits into
mainfrom
gsoc/package-foundation

Conversation

@Kaushik-Kumar-CEG

@Kaushik-Kumar-CEG Kaushik-Kumar-CEG commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

Adds the first two required phrase tools as installable modules:

  • build-required-phrases-dataset
  • add-composite-required-phrases

Also adds their entry points, tests, and docs. The implementation reuses ScanCode's rule loading, matching, and update helpers.

This moves the work from aboutcode-org/scancode-toolkit#5105 and aboutcode-org/scancode-toolkit#5118 into this package.

Checks: 27 tests pass, along with Ruff, docs, and package build checks.

Add the dataset builder as an installable module with a console entry point, focused tests, and documentation.

Signed-off-by: Kaushik Kumar <kaushikrjpm10@gmail.com>
Add composite rule annotation as an installable command using existing ScanCode matching and mutation helpers. Include focused tests and documentation.

Signed-off-by: Kaushik Kumar <kaushikrjpm10@gmail.com>
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