Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 0044494

Browse files
Treehugger RobotGerrit Code Review
authored andcommitted
Merge "Recognize some additional license file names" into main
2 parents 26bb1b8 + 0b3f967 commit 0044494

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tools/external_crates/license_checker/src/file_name_checker.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ static LICENSE_FILE_NAME_CLASSIFICATION: LazyLock<BTreeMap<OsString, LicenseReq>
4949
("LICENSE-APACHE", "Apache-2.0"),
5050
("LICENSE-APACHE-2.0", "Apache-2.0"),
5151
("LICENSES/Apache-2.0", "Apache-2.0"),
52+
("LICENSE-Apache-2.0_WITH_LLVM-exception", "Apache-2.0 WITH LLVM-exception"),
5253

54+
("LICENSE-BSD", "BSD-2-Clause"),
5355
("LICENSE-BSD-2-Clause", "BSD-2-Clause"),
5456
("LICENSE-BSD-3-Clause", "BSD-3-Clause"),
5557

@@ -58,8 +60,10 @@ static LICENSE_FILE_NAME_CLASSIFICATION: LazyLock<BTreeMap<OsString, LicenseReq>
5860
("LICENSE-0BSD", "0BSD"),
5961

6062
("LICENSE-ZLIB", "Zlib"),
61-
6263
("UNLICENSE", "Unlicense"),
64+
("LICENSE-BOOST", "BSL-1.0"),
65+
("LICENSES/CC0-1.0", "CC0-1.0"),
66+
("LICENSE-LGPL", "LGPL-3.0"),
6367
]
6468
.into_iter()
6569
.map(|(file, req)| (OsString::from(file.to_uppercase()), Licensee::parse(req).unwrap().into_req()))

0 commit comments

Comments
 (0)