Skip to content

Commit

Permalink
Modify RULE files to contain data as YAML frontmatter #3049
Browse files Browse the repository at this point in the history
* Delete all .yml files for rules
* Modify .RULE files to contain their data as YAML frontmatter

Reference: #3049
Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
  • Loading branch information
AyanSinhaMahapatra committed Aug 24, 2022
1 parent c8cdca3 commit 9c7a6bb
Show file tree
Hide file tree
Showing 64,824 changed files with 244,111 additions and 147,459 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
6 changes: 6 additions & 0 deletions src/licensedcode/data/rules/389-exception_1.RULE
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
---
license_expression: 389-exception
is_license_reference: yes
relevance: 100
---

389 Directory Server Exception
3 changes: 0 additions & 3 deletions src/licensedcode/data/rules/389-exception_1.yml

This file was deleted.

8 changes: 8 additions & 0 deletions src/licensedcode/data/rules/389-exception_10.RULE
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
---
license_expression: 389-exception
is_license_reference: yes
relevance: 100
ignorable_urls:
- https://spdx.org/licenses/389-exception
---

LICENSE {{389-exception}} https://spdx.org/licenses/389-exception
5 changes: 0 additions & 5 deletions src/licensedcode/data/rules/389-exception_10.yml

This file was deleted.

8 changes: 8 additions & 0 deletions src/licensedcode/data/rules/389-exception_11.RULE
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
---
license_expression: 389-exception
is_license_reference: yes
relevance: 100
ignorable_urls:
- https://spdx.org/licenses/389-exception
---

{{389-exception}} https://spdx.org/licenses/389-exception
5 changes: 0 additions & 5 deletions src/licensedcode/data/rules/389-exception_11.yml

This file was deleted.

9 changes: 9 additions & 0 deletions src/licensedcode/data/rules/389-exception_2.RULE
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
---
license_expression: 389-exception
is_license_reference: yes
is_continuous: yes
relevance: 100
minimum_coverage: 100
notes: Rule based on an SPDX license identifier and name
---

name: 389 Directory Server Exception
6 changes: 0 additions & 6 deletions src/licensedcode/data/rules/389-exception_2.yml

This file was deleted.

9 changes: 9 additions & 0 deletions src/licensedcode/data/rules/389-exception_3.RULE
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
---
license_expression: 389-exception
is_license_reference: yes
is_continuous: yes
relevance: 100
minimum_coverage: 100
notes: Rule based on an SPDX license identifier and name
---

389-exception 389 Directory Server Exception
6 changes: 0 additions & 6 deletions src/licensedcode/data/rules/389-exception_3.yml

This file was deleted.

9 changes: 9 additions & 0 deletions src/licensedcode/data/rules/389-exception_4.RULE
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
---
license_expression: 389-exception
is_license_reference: yes
is_continuous: yes
relevance: 100
minimum_coverage: 100
notes: Rule based on an SPDX license identifier and name
---

389 Directory Server Exception 389-exception
6 changes: 0 additions & 6 deletions src/licensedcode/data/rules/389-exception_4.yml

This file was deleted.

9 changes: 9 additions & 0 deletions src/licensedcode/data/rules/389-exception_5.RULE
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
---
license_expression: 389-exception
is_license_tag: yes
is_continuous: yes
relevance: 100
minimum_coverage: 100
notes: Rule based on an SPDX license identifier and name
---

license: 389-exception
6 changes: 0 additions & 6 deletions src/licensedcode/data/rules/389-exception_5.yml

This file was deleted.

9 changes: 9 additions & 0 deletions src/licensedcode/data/rules/389-exception_6.RULE
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
---
license_expression: 389-exception
is_license_tag: yes
is_continuous: yes
relevance: 100
minimum_coverage: 100
notes: Rule based on an SPDX license identifier and name
---

license: 389 Directory Server Exception
6 changes: 0 additions & 6 deletions src/licensedcode/data/rules/389-exception_6.yml

This file was deleted.

9 changes: 9 additions & 0 deletions src/licensedcode/data/rules/389-exception_7.RULE
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
---
license_expression: 389-exception
is_license_tag: yes
is_continuous: yes
relevance: 100
minimum_coverage: 100
notes: Rule based on an SPDX license identifier and name
---

licenseExceptionId: 389-exception
6 changes: 0 additions & 6 deletions src/licensedcode/data/rules/389-exception_7.yml

This file was deleted.

8 changes: 8 additions & 0 deletions src/licensedcode/data/rules/389-exception_8.RULE
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
---
license_expression: 389-exception
is_license_reference: yes
relevance: 100
ignorable_urls:
- https://licenses.nuget.org/389-exception
---

https://licenses.nuget.org/389-exception
5 changes: 0 additions & 5 deletions src/licensedcode/data/rules/389-exception_8.yml

This file was deleted.

6 changes: 6 additions & 0 deletions src/licensedcode/data/rules/389-exception_9.RULE
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
---
license_expression: 389-exception
is_license_reference: yes
relevance: 100
---

licenses.nuget.org/389-exception
3 changes: 0 additions & 3 deletions src/licensedcode/data/rules/389-exception_9.yml

This file was deleted.

8 changes: 8 additions & 0 deletions src/licensedcode/data/rules/389-exception_url_1.RULE
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
---
license_expression: 389-exception
is_license_reference: yes
relevance: 95
ignorable_urls:
- https://spdx.org/licenses/389-exception
---

https://spdx.org/licenses/389-exception
5 changes: 0 additions & 5 deletions src/licensedcode/data/rules/389-exception_url_1.yml

This file was deleted.

8 changes: 8 additions & 0 deletions src/licensedcode/data/rules/389-exception_url_2.RULE
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
---
license_expression: 389-exception
is_license_reference: yes
relevance: 95
ignorable_urls:
- https://spdx.org/licenses/389-exception.html
---

https://spdx.org/licenses/389-exception.html
5 changes: 0 additions & 5 deletions src/licensedcode/data/rules/389-exception_url_2.yml

This file was deleted.

9 changes: 7 additions & 2 deletions src/licensedcode/data/rules/3com-microcode.RULE
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
---
license_expression: 3com-microcode
is_license_text: yes
minimum_coverage: 80
---

Licence:
/*
*
Expand Down Expand Up @@ -31,5 +37,4 @@
* COMBINATION WITH THE 3c990img.h MICROCODE SOFTWARE
*/

Found in hex form in kernel source.

Found in hex form in kernel source.
3 changes: 0 additions & 3 deletions src/licensedcode/data/rules/3com-microcode.yml

This file was deleted.

9 changes: 7 additions & 2 deletions src/licensedcode/data/rules/3com-microcode2.RULE
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
---
license_expression: 3com-microcode
is_license_text: yes
minimum_coverage: 80
---

/*
*
* Redistribution and use in source and binary forms of the 3c990img.h
Expand Down Expand Up @@ -30,5 +36,4 @@
* COMBINATION WITH THE 3c990img.h MICROCODE SOFTWARE
*/

Found in hex form in kernel source.

Found in hex form in kernel source.
3 changes: 0 additions & 3 deletions src/licensedcode/data/rules/3com-microcode2.yml

This file was deleted.

8 changes: 7 additions & 1 deletion src/licensedcode/data/rules/3com-microcode3.RULE
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
---
license_expression: 3com-microcode
is_license_text: yes
minimum_coverage: 80
---

Redistribution and use in source and binary forms of the 3c990img.h
microcode software are permitted provided that the following conditions
are met:
Expand Down Expand Up @@ -25,4 +31,4 @@
IMPLICATION, ESTOPPEL, OR OTHERWISE IN ANY INTELLECTUAL PROPERTY RIGHTS
(PATENT, COPYRIGHT, TRADE SECRET, MASK WORK, OR OTHER PROPRIETARY RIGHT)
EMBODIED IN ANY OTHER 3COM HARDWARE OR SOFTWARE EITHER SOLELY OR IN
COMBINATION WITH THE 3c990img.h MICROCODE SOFTWARE
COMBINATION WITH THE 3c990img.h MICROCODE SOFTWARE
3 changes: 0 additions & 3 deletions src/licensedcode/data/rules/3com-microcode3.yml

This file was deleted.

10 changes: 10 additions & 0 deletions src/licensedcode/data/rules/3dslicer-1.0_1.RULE
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
---
license_expression: 3dslicer-1.0
is_license_notice: yes
relevance: 100
referenced_filenames:
- COPYRIGHT.txt
ignorable_urls:
- http://www.slicer.org/copyright/copyright.txt
---

# See COPYRIGHT.txt
# or http://www.slicer.org/copyright/copyright.txt for details.
#
Expand Down
7 changes: 0 additions & 7 deletions src/licensedcode/data/rules/3dslicer-1.0_1.yml

This file was deleted.

7 changes: 7 additions & 0 deletions src/licensedcode/data/rules/996-icu-1.0_1.RULE
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
---
license_expression: 996-icu-1.0
is_license_text: yes
relevance: 100
notes: latest text variant as of 2021-04
---

Anti 996 License Version 1.0 (Draft)

Permission is hereby granted to any individual or legal entity obtaining a copy
Expand Down
4 changes: 0 additions & 4 deletions src/licensedcode/data/rules/996-icu-1.0_1.yml

This file was deleted.

5 changes: 5 additions & 0 deletions src/licensedcode/data/rules/abstyles_1.RULE
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
---
license_expression: abstyles
is_license_reference: yes
---

Abstyles Abstyles License
2 changes: 0 additions & 2 deletions src/licensedcode/data/rules/abstyles_1.yml

This file was deleted.

8 changes: 8 additions & 0 deletions src/licensedcode/data/rules/abstyles_10.RULE
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
---
license_expression: abstyles
is_license_reference: yes
relevance: 100
ignorable_urls:
- https://spdx.org/licenses/Abstyles
---

{{Abstyles}} https://spdx.org/licenses/Abstyles
5 changes: 0 additions & 5 deletions src/licensedcode/data/rules/abstyles_10.yml

This file was deleted.

8 changes: 8 additions & 0 deletions src/licensedcode/data/rules/abstyles_11.RULE
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
---
license_expression: abstyles
is_license_reference: yes
relevance: 100
ignorable_urls:
- https://spdx.org/licenses/Abstyles
---

LICENSE {{Abstyles}} https://spdx.org/licenses/Abstyles
5 changes: 0 additions & 5 deletions src/licensedcode/data/rules/abstyles_11.yml

This file was deleted.

5 changes: 5 additions & 0 deletions src/licensedcode/data/rules/abstyles_2.RULE
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
---
license_expression: abstyles
is_license_reference: yes
---

Abstyles License
2 changes: 0 additions & 2 deletions src/licensedcode/data/rules/abstyles_2.yml

This file was deleted.

9 changes: 9 additions & 0 deletions src/licensedcode/data/rules/abstyles_3.RULE
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
---
license_expression: abstyles
is_license_reference: yes
is_continuous: yes
relevance: 100
minimum_coverage: 100
notes: Rule based on an SPDX license identifier and name
---

name: Abstyles License
Loading

0 comments on commit 9c7a6bb

Please sign in to comment.