Skip to content

License text curations poc#446

Draft
fviernau wants to merge 2 commits into
mainfrom
license-text-curations-poc
Draft

License text curations poc#446
fviernau wants to merge 2 commits into
mainfrom
license-text-curations-poc

Conversation

@fviernau

@fviernau fviernau commented Jun 30, 2026

Copy link
Copy Markdown
Member

The ort-config part of oss-review-toolkit/ort#12084.

fviernau added 2 commits June 30, 2026 09:37
Signed-off-by: Frank Viernau <frank.viernau@gmail.com>
- Switch from `getLicenseText()` to `getLicenseTextsString()`.
  This differs as follows:
  - take a single license expression instead of a license or exception
    id, and thus returns license text together with exception text.
  - If license text curations apply, then only the curated license texts
    are returned, not the default ones.
  - Multiple texts may be returned instead of just a single one.
- Previously, licenses which were part of any root license files have
  been skipped. The skipping is adjusted to only skip a license if it
  has no license text curations.
- Prior to each copyrights or license text, a header is introduced,
  which states the package id and single license expression. This can
  help with readability in particular if license text or copyright
  section is long.

Signed-off-by: Frank Viernau <frank.viernau@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