Skip to content

Commit 89d62ae

Browse files
Modify test RULE files to use frontmatter
Modify test .RULE .yml file pairs to a single .RULE file with YAML frontmatter. Signed-off-by: AyanSinhaMahapatra <[email protected]>
1 parent 6e38358 commit 89d62ae

File tree

181 files changed

+1514
-1115
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

181 files changed

+1514
-1115
lines changed
Original file line numberDiff line numberDiff line change
@@ -1 +1,12 @@
1+
---
2+
license_expression: free-unknown
3+
relevance: 100
4+
notes: |
5+
License test derived from a file of the BSD-licensed repository at:
6+
https://raw.githubusercontent.com/google/licensecheck/v0.3.1/testdata/ccurls.t1
7+
originally expected to be detected as LiLiQ-P-1.1
8+
with coverage of 0
9+
This is a URL test extracted from ccurls.t1.
10+
---
11+
112
http://opensource.org/licenses/liliq-p-1.1

src/licensedcode/data/inactive/rules/free-unknown_url_glc_90.yml

-8
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1 +1,12 @@
1+
---
2+
license_expression: free-unknown
3+
relevance: 100
4+
notes: |
5+
License test derived from a file of the BSD-licensed repository at:
6+
https://raw.githubusercontent.com/google/licensecheck/v0.3.1/testdata/ccurls.t1
7+
originally expected to be detected as LiLiQ-P-1.1
8+
with coverage of 0
9+
This is a URL test extracted from ccurls.t1.
10+
---
11+
112
https://opensource.org/licenses/liliq-p-1.1

src/licensedcode/data/inactive/rules/free-unknown_url_glc_91.yml

-8
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1 +1,12 @@
1+
---
2+
license_expression: free-unknown
3+
relevance: 100
4+
notes: |
5+
License test derived from a file of the BSD-licensed repository at:
6+
https://raw.githubusercontent.com/google/licensecheck/v0.3.1/testdata/ccurls.t1
7+
originally expected to be detected as LiLiQ-R-1.1
8+
with coverage of 0
9+
This is a URL test extracted from ccurls.t1.
10+
---
11+
112
http://opensource.org/licenses/liliq-r-1.1

src/licensedcode/data/inactive/rules/free-unknown_url_glc_92.yml

-8
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1 +1,12 @@
1+
---
2+
license_expression: free-unknown
3+
relevance: 100
4+
notes: |
5+
License test derived from a file of the BSD-licensed repository at:
6+
https://raw.githubusercontent.com/google/licensecheck/v0.3.1/testdata/ccurls.t1
7+
originally expected to be detected as LiLiQ-R-1.1
8+
with coverage of 0
9+
This is a URL test extracted from ccurls.t1.
10+
---
11+
112
https://opensource.org/licenses/liliq-r-1.1

src/licensedcode/data/inactive/rules/free-unknown_url_glc_93.yml

-8
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1 +1,12 @@
1+
---
2+
license_expression: free-unknown
3+
relevance: 100
4+
notes: |
5+
License test derived from a file of the BSD-licensed repository at:
6+
https://raw.githubusercontent.com/google/licensecheck/v0.3.1/testdata/ccurls.t1
7+
originally expected to be detected as LiLiQ-Rplus-1.1
8+
with coverage of 0
9+
This is a URL test extracted from ccurls.t1.
10+
---
11+
112
http://opensource.org/licenses/liliq-rplus-1.1

src/licensedcode/data/inactive/rules/free-unknown_url_glc_94.yml

-8
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1 +1,12 @@
1+
---
2+
license_expression: free-unknown
3+
relevance: 100
4+
notes: |
5+
License test derived from a file of the BSD-licensed repository at:
6+
https://raw.githubusercontent.com/google/licensecheck/v0.3.1/testdata/ccurls.t1
7+
originally expected to be detected as LiLiQ-Rplus-1.1
8+
with coverage of 0
9+
This is a URL test extracted from ccurls.t1.
10+
---
11+
112
https://opensource.org/licenses/liliq-rplus-1.1

src/licensedcode/data/inactive/rules/free-unknown_url_glc_95.yml

-8
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1+
---
2+
license_expression: unknown
3+
is_license_reference: yes
4+
notes: mostly used by Oracle in the JDK and Linux
5+
---
6+
17
Use is subject to licence term

src/licensedcode/data/inactive/rules/unknown_use_subject_to_licence_terms.yml

-3
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1+
---
2+
license_expression: unknown
3+
is_license_reference: yes
4+
notes: mostly used by Oracle in the JDK and Linux
5+
---
6+
17
Use is subject to licence terms.

src/licensedcode/data/inactive/rules/unknown_use_subject_to_licence_terms2.yml

-3
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1+
---
2+
license_expression: unknown
3+
is_license_reference: yes
4+
notes: mostly used by Oracle in the JDK and Linux
5+
---
6+
17
Use is subject to license term

src/licensedcode/data/inactive/rules/unknown_use_subject_to_license_terms.yml

-3
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1+
---
2+
license_expression: unknown
3+
is_license_reference: yes
4+
notes: mostly used by Oracle in the JDK and Linux
5+
---
6+
17
Use is subject to license terms.

src/licensedcode/data/inactive/rules/unknown_use_subject_to_license_terms2.yml

-3
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1+
---
2+
license_expression: antlr-pd
3+
is_license_reference: yes
4+
---
5+
16
http://www.spdx.org/licenses/ANTLR-PD

tests/licensedcode/data/cache/data/rules/antlr-pd_1.yml

-2
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1+
---
2+
license_expression: antlr-pd
3+
is_license_reference: yes
4+
---
5+
16
ANTLR Software Rights Notice

tests/licensedcode/data/cache/data/rules/antlr-pd_2.yml

-2
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,21 @@
1-
We reserve no legal rights to the ANTLR--it is fully in the public
2-
domain. An individual or company may do whatever they wish with source
3-
code distributed with ANTLR or the code generated by ANTLR, including
4-
the incorporation of ANTLR, or its output, into commercial software.
5-
6-
We encourage users to develop software with ANTLR. However, we do ask
7-
that credit is given to us for developing ANTLR. By "credit", we mean
8-
that if you use ANTLR or incorporate any source code into one of your
9-
programs (commercial product, research project, or otherwise) that you
10-
acknowledge this fact somewhere in the documentation, research report,
11-
etc... If you like ANTLR and have developed a nice tool with the output,
12-
please mention that you developed it using ANTLR. In addition, we ask
13-
that the headers remain intact in our source code. As long as these
14-
guidelines are kept, we expect to continue enhancing this system and
1+
---
2+
license_expression: antlr-pd
3+
notes: jGuru.com variant
4+
is_license_reference: yes
5+
---
6+
7+
We reserve no legal rights to the ANTLR--it is fully in the public
8+
domain. An individual or company may do whatever they wish with source
9+
code distributed with ANTLR or the code generated by ANTLR, including
10+
the incorporation of ANTLR, or its output, into commercial software.
11+
12+
We encourage users to develop software with ANTLR. However, we do ask
13+
that credit is given to us for developing ANTLR. By "credit", we mean
14+
that if you use ANTLR or incorporate any source code into one of your
15+
programs (commercial product, research project, or otherwise) that you
16+
acknowledge this fact somewhere in the documentation, research report,
17+
etc... If you like ANTLR and have developed a nice tool with the output,
18+
please mention that you developed it using ANTLR. In addition, we ask
19+
that the headers remain intact in our source code. As long as these
20+
guidelines are kept, we expect to continue enhancing this system and
1521
expect to make other tools available as they are completed.

tests/licensedcode/data/cache/data/rules/antlr-pd_3.yml

-3
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
1-
We reserve no legal rights to the ANTLR--it is fully in the public domain. An individual or company
2-
may do whatever they wish with source code distributed with ANTLR or the code generated by
3-
ANTLR, including the incorporation of ANTLR, or its output, into commerical software.
4-
We encourage users to develop software with ANTLR. However, we do ask that credit is given to
5-
us for developing ANTLR. By "credit", we mean that if you use ANTLR or incorporate any source
6-
code into one of your programs (commercial product, research project, or otherwise) that you
7-
acknowledge this fact somewhere in the documentation, research report, etc... If you like ANTLR
8-
and have developed a nice tool with the output, please mention that you developed it using
9-
ANTLR. In addition, we ask that the headers remain intact in our source code. As long as these
10-
guidelines are kept, we expect to continue enhancing this system and expect to make other tools
11-
available as they are completed.
1+
---
2+
license_expression: antlr-pd
3+
is_license_reference: yes
4+
---
5+
6+
We reserve no legal rights to the ANTLR--it is fully in the public domain. An individual or company
7+
may do whatever they wish with source code distributed with ANTLR or the code generated by
8+
ANTLR, including the incorporation of ANTLR, or its output, into commerical software.
9+
We encourage users to develop software with ANTLR. However, we do ask that credit is given to
10+
us for developing ANTLR. By "credit", we mean that if you use ANTLR or incorporate any source
11+
code into one of your programs (commercial product, research project, or otherwise) that you
12+
acknowledge this fact somewhere in the documentation, research report, etc... If you like ANTLR
13+
and have developed a nice tool with the output, please mention that you developed it using
14+
ANTLR. In addition, we ask that the headers remain intact in our source code. As long as these
15+
guidelines are kept, we expect to continue enhancing this system and expect to make other tools
16+
available as they are completed.

tests/licensedcode/data/cache/data/rules/antlr-pd_4.yml

-2
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
1-
ANTLR 2 License
2-
3-
We reserve no legal rights to the ANTLR--it is fully in the public domain. An individual or company
4-
may do whatever they wish with source code distributed with ANTLR or the code generated by
5-
ANTLR, including the incorporation of ANTLR, or its output, into commerical software.
6-
We encourage users to develop software with ANTLR. However, we do ask that credit is given to
7-
us for developing ANTLR. By "credit", we mean that if you use ANTLR or incorporate any source
8-
code into one of your programs (commercial product, research project, or otherwise) that you
9-
acknowledge this fact somewhere in the documentation, research report, etc... If you like ANTLR
10-
and have developed a nice tool with the output, please mention that you developed it using
11-
ANTLR. In addition, we ask that the headers remain intact in our source code. As long as these
12-
guidelines are kept, we expect to continue enhancing this system and expect to make other tools
13-
available as they are completed.
1+
---
2+
license_expression: antlr-pd
3+
is_license_reference: yes
4+
---
5+
6+
ANTLR 2 License
7+
8+
We reserve no legal rights to the ANTLR--it is fully in the public domain. An individual or company
9+
may do whatever they wish with source code distributed with ANTLR or the code generated by
10+
ANTLR, including the incorporation of ANTLR, or its output, into commerical software.
11+
We encourage users to develop software with ANTLR. However, we do ask that credit is given to
12+
us for developing ANTLR. By "credit", we mean that if you use ANTLR or incorporate any source
13+
code into one of your programs (commercial product, research project, or otherwise) that you
14+
acknowledge this fact somewhere in the documentation, research report, etc... If you like ANTLR
15+
and have developed a nice tool with the output, please mention that you developed it using
16+
ANTLR. In addition, we ask that the headers remain intact in our source code. As long as these
17+
guidelines are kept, we expect to continue enhancing this system and expect to make other tools
18+
available as they are completed.

tests/licensedcode/data/cache/data/rules/antlr-pd_5.yml

-2
This file was deleted.

tests/licensedcode/data/cache/data/rules/antlr-pd_6.RULE

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
---
2+
license_expression: antlr-pd
3+
is_license_reference: yes
4+
---
5+
16
ANTLR 3 License
27

38
We reserve no legal rights to the ANTLR--it is fully in the public domain. An
@@ -13,4 +18,4 @@ research report, etc... If you like ANTLR and have developed a nice tool with th
1318
output, please mention that you developed it using ANTLR. In addition, we ask that
1419
the headers remain intact in our source code. As long as these guidelines are kept,
1520
we expect to continue enhancing this system and expect to make other tools available
16-
as they are completed.
21+
as they are completed.

tests/licensedcode/data/cache/data/rules/antlr-pd_6.yml

-2
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
http://www.panasonic.net/pcc/support/pbx/docs/freeware_header.txt
1+
---
2+
license_expression: anu-license
3+
is_license_reference: yes
4+
---
5+
6+
http://www.panasonic.net/pcc/support/pbx/docs/freeware_header.txt

tests/licensedcode/data/cache/data/rules/anu-license.yml

-2
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1+
---
2+
license_expression: apache-1.0
3+
is_license_reference: yes
4+
---
5+
16
http://www.apache.org/licenses/LICENSE-1.0

tests/licensedcode/data/cache/data/rules/apache-1.0.yml

-2
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1+
---
2+
license_expression: apache-1.0
3+
is_license_reference: yes
4+
---
5+
16
Apache License 1.0

tests/licensedcode/data/cache/data/rules/apache-1.0_1.yml

-2
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1+
---
2+
license_expression: apache-1.0
3+
is_license_reference: yes
4+
---
5+
16
http://www.apache.org/licenses/LICENSE-1.0.txt

tests/licensedcode/data/cache/data/rules/apache-1.0_5.yml

-2
This file was deleted.

0 commit comments

Comments
 (0)