aboutcode-org / aboutcode-org/scancode-toolkit

Improve Alpine package declared license detection

Open
#2,543 1 comment 1 reaction 0 assignees View on GitHub
license scan new feature package scan package-formats
Dominant language
Python
Stars
2.6k
Forks
791
Avg merge
1d 12h
Merged PRs (30d)
5

Description

Technically Alpine packages declared license should be an SPDX license expression.
Yet in practice, things are messy and not always a proper license expression because of non-SPDX symbols or incorrect syntax.
The goal of this ticket is to improve the basic detection of the declared license in these cases including:
- create and use a mapping to actual scancode license expression for some cases that cannot be resolved otherwise
- apply transformations to the Alpine expression-like strings such that they become properly parsable expressions.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.