Skip to content

Commit 4ee94f4

Browse files
committed
docs(spdx-utils): Duplicate mapping docs into the YML files for visibility
Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
1 parent 8644acc commit 4ee94f4

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

utils/spdx/src/main/resources/declared-license-mapping.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
# SPDX-License-Identifier: Apache-2.0
1616
# License-Filename: LICENSE
1717

18+
# A mapping from license strings collected from the declared licenses of Open Source packages to SPDX expressions. This
19+
# mapping only contains license strings which can *not* be parsed by [SpdxExpression.parse], for example because the
20+
# license names contain white spaces. See [SpdxSimpleLicenseMapping] for a mapping of varied license names.
21+
1822
# Sort the entries below via IntelliJ's "Edit" -> "Sort Lines".
1923
# Map a declared license string to "NONE" in order to discard it.
2024
---

utils/spdx/src/main/resources/simple-license-mapping.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
# SPDX-License-Identifier: Apache-2.0
1616
# License-Filename: LICENSE
1717

18+
# A mapping from simple license names to valid SPDX license IDs. This mapping only contains license strings which *can*
19+
# be parsed by [SpdxExpression.parse] but have a corresponding valid SPDX license ID that should be used instead. See
20+
# [SpdxDeclaredLicenseMapping] for a mapping of unparsable license strings.
21+
1822
# Sort the entries below via IntelliJ's "Edit" -> "Sort Lines".
1923
---
2024

0 commit comments

Comments
 (0)