Skip to content

Commit b5f0ae2

Browse files
committed
Add new and improved license rules and tests
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent 67e5380 commit b5f0ae2

File tree

9 files changed

+944
-4
lines changed

9 files changed

+944
-4
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
* Permission to use, copy, and modify this software with or without fee
2+
* is hereby granted, provided that this entire notice is included in
3+
* all copies of any software which is or includes a copy or
4+
* modification of this software.
5+
* You may use this code under the GNU public license if you so wish. Please
6+
* contribute changes back to the authors under this freer than GPL license
7+
* so that we may further the use of strong encryption without limitations to
8+
* all.
9+
*
10+
* THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR
11+
* IMPLIED WARRANTY. IN PARTICULAR, NONE OF THE AUTHORS MAKES ANY
12+
* REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE
13+
* MERCHANTABILITY OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR
14+
* PURPOSE.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
license_expression: other-permissive OR gpl-1.0-plus
2+
is_license_notice: yes
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Permission to use, copy, and modify this software with or without fee
2+
is hereby granted, provided that this entire notice is included in
3+
all copies of any software which is or includes a copy or
4+
modification of this software.
5+
.
6+
You may use this code under GNU General Public License if you so wish. Please
7+
contribute changes back to the authors under this freer than GPL license
8+
so that we may further the use of strong encryption without limitations to
9+
all.
10+
.
11+
THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR
12+
IMPLIED WARRANTY. IN PARTICULAR, NONE OF THE AUTHORS MAKES ANY
13+
REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE
14+
MERCHANTABILITY OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR
15+
PURPOSE.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
license_expression: other-permissive OR gpl-1.0-plus
2+
is_license_notice: yes
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
license_expressions:
2-
- (afl-2.1 OR gpl-2.0) AND gpl-2.0
2+
- afl-2.1 OR gpl-2.0-plus
33
- afl-2.1
44
- gpl-2.0

tests/licensedcode/data/datadriven/lic2/bsd-original-uc_and_gpl_and_gpl_and_gpl_and_other.txt.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ license_expressions:
33
- gpl-1.0-plus
44
- bsd-original-uc
55
- gpl-1.0-plus
6-
- bsd-new
76
- gpl-1.0-plus

tests/licensedcode/data/datadriven/lic4/qt_config.cpp

Lines changed: 904 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
license_expressions:
2+
- qt-commercial-1.1 OR lgpl-2.1 WITH qt-company-exception-lgpl-2.1 OR lgpl-3.0 WITH
3+
qt-company-exception-lgpl-2.1
4+
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[
22
[
33
"SPDX-License-Identifier: BSD-2-Clause",
4-
4,
5-
9
4+
5,
5+
10
66
]
77
]

0 commit comments

Comments
 (0)