Skip to content

Commit a470767

Browse files
committed
Add new license rules
Signed-off-by: Philippe Ombredanne <[email protected]>
1 parent 326ed67 commit a470767

File tree

18 files changed

+70
-3
lines changed

18 files changed

+70
-3
lines changed

src/licensedcode/data/rules/bsd-new_50.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ license_expression: bsd-new
22
is_license_notice: yes
33
relevance: 90
44
notes: missing first statement
5+
minimum_coverage: 70
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
This program is free software; you can redistribute it and/or modify
2+
it under the terms of the GNU General Public License as published by
3+
the Free Software Foundation; either version 2, or (at your option)
4+
any later version.
5+
6+
This program is distributed in the hope that it will be useful,
7+
but WITHOUT ANY WARRANTY; without even the implied warranty of
8+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9+
GNU General Public License for more details.
10+
11+
You should have received a copy of the GNU General Public License
12+
along with this program; if not, write to the Free Software
13+
Foundation, Inc., 51 Franklin St, Fifth Floor,
14+
Boston, MA 02110-1301 USA
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
license_expression: gpl-2.0-plus
2+
is_license_notice: yes
3+
relevance: 100
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
license_expression: gpl-2.0-plus
22
is_license_notice: yes
3+
minimum_coverage: 90
4+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Available for use under the MIT License
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
license_expression: mit
2+
is_license_notice: yes
3+
relevance: 100
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
* This code is licensed under the MIT
2+
* For the full license see: http://mit-license.org/
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
license_expression: mit
2+
is_license_notice: yes
3+
relevance: 100
4+
ignorable_urls:
5+
- http://mit-license.org/
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
* This code is licensed under the MIT
2+
* For the full license see: https://mit-license.org/
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
license_expression: mit
2+
is_license_notice: yes
3+
relevance: 100
4+
ignorable_urls:
5+
- https://mit-license.org/

0 commit comments

Comments
 (0)