Skip to content

Commit 2fe96e4

Browse files
committed
Add new license detection rules
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent 0c60f41 commit 2fe96e4

File tree

6 files changed

+74
-0
lines changed

6 files changed

+74
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
license_expression: lgpl-2.0-plus
3+
is_license_intro: yes
4+
relevance: 100
5+
---
6+
7+
An example of the license headers of the LGPL is
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
license_expression: mit OR apache-2.0
3+
is_license_notice: yes
4+
referenced_filenames:
5+
- LICENSE-APACHE
6+
- LICENSE-MIT
7+
- COPYRIGHT
8+
---
9+
10+
# License
11+
12+
is distributed under the terms of{{ both the MIT license and the
13+
Apache License (Version 2.0).}}
14+
15+
See [LICENSE-APACHE](LICENSE-APACHE) and [LICENSE-MIT](LICENSE-MIT), and
16+
[COPYRIGHT](COPYRIGHT) for details.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
license_expression: mit OR apache-2.0
3+
is_license_notice: yes
4+
referenced_filenames:
5+
- LICENSE-APACHE
6+
- LICENSE-MIT
7+
---
8+
9+
# License
10+
11+
is distributed under the terms of{{ both the MIT license and the
12+
Apache License (Version 2.0).}}
13+
14+
See [LICENSE-APACHE](LICENSE-APACHE) and [LICENSE-MIT](LICENSE-MIT)
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
license_expression: mit OR apache-2.0
3+
is_license_notice: yes
4+
referenced_filenames:
5+
- LICENSE-APACHE
6+
- LICENSE-MIT
7+
- COPYRIGHT
8+
---
9+
10+
is distributed under the terms of{{ both the MIT license and the
11+
Apache License (Version 2.0).}}
12+
13+
See [LICENSE-APACHE](LICENSE-APACHE) and [LICENSE-MIT](LICENSE-MIT), and
14+
[COPYRIGHT](COPYRIGHT) for details.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
license_expression: mit OR apache-2.0
3+
is_license_notice: yes
4+
referenced_filenames:
5+
- LICENSE-APACHE
6+
- LICENSE-MIT
7+
ignorable_urls:
8+
- http://opensource.org/licenses/MIT
9+
- http://www.apache.org/licenses/LICENSE-2.0
10+
---
11+
12+
Except as otherwise noted (below and/or in individual files), Rand is
13+
licensed under the Apache License, Version 2.0 <LICENSE-APACHE> or
14+
<http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
15+
<LICENSE-MIT> or <http://opensource.org/licenses/MIT>, at your option.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
license_expression: mit OR apache-2.0
3+
is_license_notice: yes
4+
relevance: 99
5+
---
6+
7+
project {{includes code from the Rust project}}
8+
published under these same licenses.

0 commit comments

Comments
 (0)