Skip to content

Commit 11590a1

Browse files
authored
Merge pull request #234 from cbgbt/spdx-3.25.0
update SPDX license data to 3.26.0
2 parents 9de1991 + c37b7e0 commit 11590a1

File tree

9 files changed

+254
-32
lines changed

9 files changed

+254
-32
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -733,7 +733,7 @@ RUN rm /license-scan/{clarify,deny}.toml
733733

734734
FROM sdk-cargo as sdk-license-scan
735735

736-
ENV SPDXVER="3.19"
736+
ENV SPDXVER="3.26.0"
737737

738738
USER builder
739739
WORKDIR /home/builder/license-scan

configs/cargo-deny/clarify.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
[spdx]
2+
ignore-licenses = [
3+
# Apache-2.0 is often misclassified as Pixar, which is a significantly more rare
4+
# https://github.com/jpeddicord/askalono/issues/94
5+
"Pixar"
6+
]
7+
18
[clarify.askalono]
29
expression = "Apache-2.0"
310
license-files = [

configs/cargo-make/clarify.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
[spdx]
2+
ignore-licenses = [
3+
# Apache-2.0 is often misclassified as Pixar, which is a significantly more rare
4+
# https://github.com/jpeddicord/askalono/issues/94
5+
"Pixar"
6+
]
7+
18
[clarify.bstr]
29
expression = "(MIT OR Apache-2.0) AND Unicode-DFS-2016"
310
license-files = [

hashes/license-scan

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
# https://github.com/spdx/license-list-data/archive/v3.19.tar.gz#/license-list-data-3.19.tar.gz
2-
SHA512 (license-list-data-3.19.tar.gz) = 23d90eece2f164a00ad710c84c3f3194bf54830b4c2b5c2739c4bf713c95ab161697850eecb20d1c3dfbdad24aa795a75bf11f9473982824fc9fe885962b7433
1+
# https://github.com/spdx/license-list-data/archive/v3.26.0.tar.gz#/license-list-data-3.26.0.tar.gz
2+
SHA512 (license-list-data-3.26.0.tar.gz) = 67e618d4642dfe4f366935d9514d6f7941d3711e77c49bc1b340ac572d36015981b8f10c72a9f80f1d83e132ae7e5093c0155e0c0e786e4777ee16d1cb7b885a

license-scan/Cargo.lock

Lines changed: 81 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

license-scan/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ ignore = "0.4"
1717
lazy_static = "1"
1818
semver = { version = "1", features = ["serde"] }
1919
serde = { version = "1", features = ["derive"] }
20-
spdx = "0.3"
20+
spdx = "0.10"
2121
structopt = { version = "0.3", default-features = false }
22+
tempfile = "3"
2223
toml = "0.8"
2324
twox-hash = "1"
2425
walkdir = "2"

license-scan/clarify.toml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
[spdx]
2+
ignore-licenses = [
3+
# Apache-2.0 is often misclassified as Pixar, which is a significantly more rare
4+
# https://github.com/jpeddicord/askalono/issues/94
5+
"Pixar"
6+
]
7+
18
[clarify.askalono]
29
expression = "Apache-2.0"
310
license-files = [
@@ -21,7 +28,6 @@ license-files = [
2128
{ path = "COPYING", hash = 0x278afbcf },
2229
{ path = "LICENSE-APACHE", hash = 0x24b54f4b },
2330
{ path = "LICENSE-MIT", hash = 0x462dee44 },
24-
{ path = "src/unicode/data/LICENSE-UNICODE", hash = 0x70f7339 },
2531
]
2632

2733
[clarify.crossbeam-channel]
@@ -58,12 +64,16 @@ license-files = [
5864
{ path = "src/unicode_tables/LICENSE-UNICODE", hash = 0xa7f28b93 },
5965
]
6066

61-
[clarify.unicode-ident]
62-
expression = "(MIT OR Apache-2.0) AND Unicode-DFS-2016"
67+
[clarify.spdx]
68+
expression = "MIT OR Apache-2.0"
6369
license-files = [
64-
{ path = "LICENSE-APACHE", hash = 0xb5518783 },
65-
{ path = "LICENSE-MIT", hash = 0x386ca1bc },
66-
{ path = "LICENSE-UNICODE", hash = 0x9698cbbe },
70+
{ path = "LICENSE-MIT", hash = 0xa502ee8a },
71+
{ path = "LICENSE-APACHE", hash = 0x4fccb6b7 },
72+
]
73+
skip-dirs = [
74+
# The spdx crate contains the full text of referred licenses
75+
"src/text/licenses",
76+
"src/text/exceptions",
6777
]
6878

6979
[clarify.zstd-safe]

0 commit comments

Comments
 (0)