Skip to content

Commit fd43393

Browse files
committed
Add new GFDL rules and update tests
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent 9d536e9 commit fd43393

File tree

8 files changed

+53
-3
lines changed

8 files changed

+53
-3
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
license_expression: gfdl-1.1-invariants-or-later
3+
is_license_notice: yes
4+
relevance: 100
5+
---
6+
7+
Permission is granted to copy, distribute and/or
8+
modify this document under the terms of the {{GNU Free Documentation License,
9+
Version 1.1 or any later version }} published by the Free Software Foundation;
10+
with the {{Invariant Sections being}}
11+
with the {{Front-Cover Texts being }},
12+
and with the {{Back-Cover Texts being}}. A copy of the
13+
license is included in the section entitled "GNU Free Documentation License".
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
license_expression: gfdl-1.2-invariants-only
3+
is_license_notice: yes
4+
---
5+
6+
Permission is granted to copy, distribute and/or
7+
modify this document under the terms of the {{GNU Free Documentation License,
8+
Version 1.2 }} published by the Free Software Foundation;
9+
with {{the Invariant Sections being}} ,
10+
with {{the Front-Cover Texts being}} ,
11+
and with {{the Back-Cover Texts}} being . A copy of the
12+
license is included in the section entitled "GNU Free Documentation License".
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
license_expression: gfdl-1.2-invariants-or-later
3+
is_license_notice: yes
4+
---
5+
6+
Permission is granted to copy, distribute and/or
7+
modify this document under the terms of the {{GNU Free Documentation License,
8+
Version 1.2 or any later version }} published by the Free Software Foundation;
9+
with {{the Invariant Sections being}} ,
10+
with {{the Front-Cover Texts being}} ,
11+
and with {{the Back-Cover Texts}} being . A copy of the
12+
license is included in the section entitled "GNU Free Documentation License".
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
license_expression: gfdl-1.3-invariants-only
3+
is_license_notice: yes
4+
---
5+
6+
Permission is granted to copy, distribute and/or
7+
modify this document under the terms of the {{GNU Free Documentation License,
8+
Version 1.3 }} published by the Free Software Foundation;
9+
with {{the Invariant Sections being}} ,
10+
with {{the Front-Cover Texts being}} ,
11+
and with {{the Back-Cover Texts}} being . A copy of the
12+
license is included in the section entitled "GNU Free Documentation License".

tests/licensedcode/data/datadriven/external/glc/GFDL-1.1.t2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
license_expressions:
2-
- gfdl-1.1-plus
2+
- gfdl-1.1-invariants-or-later
33
notes: |
44
License test derived from a file of the BSD-licensed repository at:
55
https://raw.githubusercontent.com/google/licensecheck/v0.3.1/testdata/GFDL-1.1.t2

tests/licensedcode/data/datadriven/external/glc/GFDL-1.1.t3.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
license_expressions:
2-
- gfdl-1.1
2+
- gfdl-1.1-invariants-only
33
notes: |
44
License test derived from a file of the BSD-licensed repository at:
55
https://raw.githubusercontent.com/google/licensecheck/v0.3.1/testdata/GFDL-1.1.t3

tests/licensedcode/data/datadriven/external/glc/GFDL-1.1.t4.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
license_expressions:
2-
- gfdl-1.1
2+
- gfdl-1.1-invariants-only
33
notes: |
44
License test derived from a file of the BSD-licensed repository at:
55
https://raw.githubusercontent.com/google/licensecheck/v0.3.1/testdata/GFDL-1.1.t4
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
license_expressions:
22
- gfdl-1.3
3+
- gfdl-1.3-invariants-only
34
notes: this contains formatting tags

0 commit comments

Comments
 (0)