Skip to content

Commit abc0d9e

Browse files
committed
Improve SBoM Details
1 parent 9805005 commit abc0d9e

File tree

5 files changed

+91
-16
lines changed

5 files changed

+91
-16
lines changed

.github/workflows/ort/action.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,6 @@
44
name: "Run OSS Review Toolkit"
55
description: "Runs OSS Review Toolkit & generates SBoMs"
66
inputs:
7-
build-artifacts:
8-
description: |
9-
Build Artifact paths to include into SBoM.
10-
May contain a glob pattern or list of paths separated by a newline.
11-
required: false
12-
default: ""
137
report-formats:
148
description: "ORT Report Formats"
159
required: true

.github/workflows/release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,6 @@ jobs:
196196
id: ort
197197
uses: ./.github/workflows/ort
198198
with:
199-
build-artifacts: "/tmp/build-artifacts/*"
200199
report-formats: "CycloneDx,SpdxDocument"
201200
version: "${{ github.ref_type == 'tag' && github.ref_name || github.sha }}"
202201

.ort.yml

Lines changed: 62 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,77 @@
11
# SPDX-License-Identifier: Apache-2.0
22
# SPDX-FileCopyrightText: 2021 The Elixir Team
33

4+
excludes:
5+
paths:
6+
- pattern: "lib/elixir/pages/**/*"
7+
reason: "DOCUMENTATION_OF"
8+
comment: "Documentation"
9+
- pattern: "lib/elixir/scripts/**/*"
10+
reason: "BUILD_TOOL_OF"
11+
comment: "Build Tool"
12+
- pattern: "lib/ex_unit/examples/**/*"
13+
reason: "EXAMPLE_OF"
14+
comment: "Example"
15+
- pattern: "lib/*/test/**/*"
16+
reason: "TEST_OF"
17+
comment: "Tests"
18+
- pattern: "man/*"
19+
reason: "DOCUMENTATION_OF"
20+
comment: "Documentation"
21+
- pattern: ".github/*"
22+
reason: "BUILD_TOOL_OF"
23+
comment: "Documentation"
24+
- pattern: ".ort/*"
25+
reason: "BUILD_TOOL_OF"
26+
comment: "Documentation"
27+
428
curations:
529
license_findings:
630
- path: "lib/elixir/pages/images/logo.png"
7-
reason: "INCORRECT"
31+
reason: "NOT_DETECTED"
832
comment: "Apply Trademark Policy to Elixir Logo"
933
detected_license: "NONE"
1034
concluded_license: "LicenseRef-elixir-trademark-policy"
1135

12-
- path: "lib/elixir/pages/references/library-guidelines.md"
36+
- path: "LICENSES/LicenseRef-elixir-trademark-policy.txt"
1337
reason: "INCORRECT"
14-
comment: |
15-
The guide mentions multiple licenses for users to choose from.
16-
It however is not licensed itself by the mentioned licenses.
38+
comment: "Correct LicenseRef"
39+
detected_license: "LicenseRef-scancode-proprietary-license"
40+
concluded_license: "LicenseRef-elixir-trademark-policy"
41+
42+
- path: "VERSION"
43+
reason: "NOT_DETECTED"
44+
comment: "Apply Trademark Policy to VERSION file"
45+
detected_license: "NONE"
1746
concluded_license: "Apache-2.0"
1847

19-
- path: "**/*"
20-
reason: "INCORRECT"
21-
comment: "Apply default license to all unknown files"
48+
- path: "**/*.{png,ico,bin,so}"
49+
reason: "NOT_DETECTED"
50+
comment: "Apply default license to all binary files"
51+
detected_license: "NONE"
52+
concluded_license: "Apache-2.0"
53+
54+
- path: "lib/*/test/fixtures/**/*"
55+
reason: "NOT_DETECTED"
56+
comment: "Apply default license to test fixtures"
57+
detected_license: "NONE"
58+
concluded_license: "Apache-2.0"
59+
60+
- path: "lib/elixir/test/elixir/fixtures/**/*"
61+
reason: "NOT_DETECTED"
62+
comment: "Apply default license to test fixtures"
63+
detected_license: "NONE"
64+
concluded_license: "Apache-2.0"
65+
66+
- path: "lib/elixir/unicode/*.txt"
67+
reason: "NOT_DETECTED"
68+
comment: "Apply default license to unicode files"
2269
detected_license: "NONE"
70+
concluded_license: "LicenseRef-scancode-unicode"
71+
72+
- path: "lib/elixir/pages/references/library-guidelines.md"
73+
reason: "NOT_DETECTED"
74+
comment: |
75+
The guide mentions multiple licenses for users to choose from.
76+
It however is not licensed itself by the mentioned licenses.
2377
concluded_license: "Apache-2.0"

.ort/config/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ ort:
88

99
analyzer:
1010
allowDynamicVersions: true
11-
enabledPackageManagers: [Unmanaged]
11+
enabledPackageManagers: [SpdxDocumentFile]
1212
skipExcluded: true

project.spdx.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
SPDXID: "SPDXRef-DOCUMENT"
2+
spdxVersion: "SPDX-2.2"
3+
creationInfo:
4+
created: "2025-02-05T12:29:35Z"
5+
creators:
6+
- "Organization: The Elixir Team"
7+
licenseListVersion: "3.9"
8+
name: "elixir"
9+
dataLicense: "CC0-1.0"
10+
documentNamespace: "https://github.com/elixir-lang/elixir"
11+
documentDescribes:
12+
- "SPDXRef-Package-elixir"
13+
packages:
14+
- SPDXID: "SPDXRef-Package-elixir"
15+
summary: "About Elixir is a dynamic, functional language for building scalable and maintainable applications"
16+
copyrightText: "Copyright (c) 2012 Plataformatec. Copyright (c) 2021 The Elixir Team. All Rights Reserved."
17+
downloadLocation: "git+https://github.com/elixir-lang/elixir.git"
18+
filesAnalyzed: false
19+
homepage: "https://elixir-lang.org/"
20+
licenseConcluded: "Apache-2.0 AND LicenseRef-scancode-unicode"
21+
licenseDeclared: "Apache-2.0 AND LicenseRef-scancode-unicode"
22+
name: "elixir"
23+
packageFileName: "./"
24+
externalRefs:
25+
- referenceCategory: PACKAGE-MANAGER
26+
referenceType: "purl"
27+
referenceLocator: "pkg:otp/elixir"
28+
comment: "OTP PURL"

0 commit comments

Comments
 (0)