|
32 | 32 | VALID_EXPRESSIONS = { |
33 | 33 | # region Simple license expressions |
34 | 34 | 'CDDL-1.0', |
35 | | - 'CDDL-1.0+', |
36 | | - 'LicenseRef-23', |
37 | | - 'LicenseRef-MIT-Style-1', |
38 | | - 'DocumentRef-spdx-tool-1.2:LicenseRef-MIT-Style-2' |
| 35 | + # 'CDDL-1.0+', # not supported yet - https://github.com/aboutcode-org/license-expression/issues/110 |
| 36 | + # 'LicenseRef-23', # not supported yet - https://github.com/aboutcode-org/license-expression/issues/109 |
| 37 | + # 'LicenseRef-MIT-Style-1', # not supported yet - https://github.com/aboutcode-org/license-expression/issues/109 |
| 38 | + # 'DocumentRef-spdx-tool-1.2:LicenseRef-MIT-Style-2', # not supported yet - https://github.com/aboutcode-org/license-expression/issues/109 |
39 | 39 | # endregion Simple license expressions |
40 | 40 | # region Composite license expressions |
41 | 41 | 'LGPL-2.1-only OR MIT', |
|
49 | 49 | 'LGPL-2.1-only AND MIT AND BSD-2-Clause', |
50 | 50 | 'GPL-2.0-or-later WITH Bison-exception-2.2', |
51 | 51 | 'LGPL-2.1-only OR BSD-3-Clause AND MIT', |
52 | | - 'MIT AND (LGPL-2.1-or-later OR BSD-3-Clause)' |
| 52 | + 'MIT AND (LGPL-2.1-or-later OR BSD-3-Clause)', |
53 | 53 | # endregion Composite license expressions |
54 | 54 | # region examples from CDX spec |
55 | 55 | 'Apache-2.0 AND (MIT OR GPL-2.0-only)', |
56 | | - 'GPL-3.0-only WITH Classpath-exception-2.0' |
| 56 | + 'GPL-3.0-only WITH Classpath-exception-2.0', |
57 | 57 | # endregion examples from CDX spec |
58 | 58 | } |
59 | 59 |
|
60 | 60 | INVALID_EXPRESSIONS = { |
61 | 61 | 'MIT AND Apache-2.0 OR something-unknown' |
62 | 62 | 'something invalid', |
63 | 63 | '(c) John Doe', |
64 | | - 'Apache License, Version 2.0' |
| 64 | + 'Apache License, Version 2.0', |
65 | 65 | } |
66 | 66 |
|
67 | 67 | UNKNOWN_SPDX_IDS = { |
|
0 commit comments