Skip to content

Commit 51823af

Browse files
committed
Add more license detection rules
These are misc rules to improve license detection speed and accuracy Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent 9171dd7 commit 51823af

18 files changed

+457
-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: apache-2.0
3+
is_license_notice: yes
4+
---
5+
6+
A copy of the Apache 2.0 license is reproduced below. This license applies only
7+
to files that indicate as such in their license header.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
license_expression: bsl-1.1
3+
is_license_notice: yes
4+
minimum_coverage: 98
5+
referenced_filenames:
6+
- LICENSE
7+
---
8+
9+
Use of this software is governed by the Business Source License
10+
included in the LICENSE file at the root of this repository.
11+
12+
As of the Change Date specified in that file, in accordance with
13+
the Business Source License, use of this software will be governed
14+
by the Apache License, Version 2.0.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
license_expression: bsl-1.1
3+
is_license_notice: yes
4+
minimum_coverage: 98
5+
referenced_filenames:
6+
- LICENSE
7+
---
8+
9+
Use of this software is governed by the Business Source License
10+
included in the LICENSE file at the root of this repository.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
license_expression: bsl-1.1
3+
is_license_notice: yes
4+
minimum_coverage: 100
5+
---
6+
7+
source-available and licensed under the BSL 1.1, converting to the open-source
8+
Apache 2.0 license after 4 years.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
license_expression: bsl-1.1
3+
is_license_notice: yes
4+
minimum_coverage: 100
5+
---
6+
7+
licensed under the BSL 1.1, converting to the open-source
8+
Apache 2.0 license after 4 years.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
license_expression: bsl-1.1
3+
is_license_notice: yes
4+
relevance: 100
5+
minimum_coverage: 100
6+
---
7+
8+
licensed under the BSL 1.1
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
license_expression: bsl-1.1
3+
is_license_notice: yes
4+
relevance: 100
5+
---
6+
7+
BUSINESS SOURCE LICENSE AGREEMENT
8+
Business Source License 1.1
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
license_expression: cc-by-2.5
3+
is_license_notice: yes
4+
ignorable_urls:
5+
- http://creativecommons.org/licenses/by/2.5
6+
---
7+
8+
distributed under a Creative Commons Attribution 2.5 License. The
9+
license can be found at http://creativecommons.org/licenses/by/2.5/.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
license_expression: cc-pd
3+
is_license_text: yes
4+
---
5+
6+
The person or persons who have associated their work with this document (the
7+
"Dedicator") hereby dedicate the entire copyright in the work of authorship
8+
identified below (the "Work") to the public domain.
9+
10+
Dedicator makes this dedication for the benefit of the public at large and to
11+
the detriment of Dedicator's heirs and successors. Dedicator intends this
12+
dedication to be an overt act of relinquishment in perpetuity of all present and
13+
future rights under copyright law, whether vested or contingent, in the Work.
14+
Dedicator understands that such relinquishment of all rights includes the
15+
relinquishment of all rights to enforce (by lawsuit or otherwise) those
16+
copyrights in the Work.
17+
18+
Dedicator recognizes that, once placed in the public domain, the Work may be
19+
freely reproduced, distributed, transmitted, used, modified, built upon, or
20+
otherwise exploited by anyone for any purpose, commercial or non-commercial, and
21+
in any way, including by methods that have not yet been invented or conceived.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
license_expression: cc-pd
3+
is_license_reference: yes
4+
relevance: 95
5+
---
6+
7+
Copyright-Only Dedication (based on United States law)

0 commit comments

Comments
 (0)