Skip to content

Commit

Permalink
docs(spdx-utils): Duplicate mapping docs into the YML files for visib…
Browse files Browse the repository at this point in the history
…ility

Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
  • Loading branch information
sschuberth committed Jun 17, 2024
1 parent d6370ce commit 054d4c3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions utils/spdx/src/main/resources/declared-license-mapping.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
# SPDX-License-Identifier: Apache-2.0
# License-Filename: LICENSE

# A mapping from license strings collected from the declared licenses of Open Source packages to SPDX expressions. This
# mapping only contains license strings which can *not* be parsed by [SpdxExpression.parse], for example because the
# license names contain white spaces. See [SpdxSimpleLicenseMapping] for a mapping of varied license names.

# Sort the entries below via IntelliJ's "Edit" -> "Sort Lines".
# Map a declared license string to "NONE" in order to discard it.
---
Expand Down
4 changes: 4 additions & 0 deletions utils/spdx/src/main/resources/simple-license-mapping.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
# SPDX-License-Identifier: Apache-2.0
# License-Filename: LICENSE

# A mapping from simple license names to valid SPDX license IDs. This mapping only contains license strings which *can*
# be parsed by [SpdxExpression.parse] but have a corresponding valid SPDX license ID that should be used instead. See
# [SpdxDeclaredLicenseMapping] for a mapping of unparsable license strings.

# Sort the entries below via IntelliJ's "Edit" -> "Sort Lines".
---

Expand Down

0 comments on commit 054d4c3

Please sign in to comment.