Skip to content

Commit

Permalink
Convert "lead-in" rules to "license intro" #1675
Browse files Browse the repository at this point in the history
With the introduction of the "is_license_intro" flag, the license that
are introductions texts are now tagged correctly with this flag.
All have also a license expression of "unknown-license-reference"

Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
  • Loading branch information
pombredanne committed Nov 17, 2020
1 parent 15c87f3 commit 3a5a2b3
Show file tree
Hide file tree
Showing 30 changed files with 56 additions and 56 deletions.
2 changes: 1 addition & 1 deletion src/licensedcode/data/rules/lead-in_unknown_1.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
license_expression: unknown-license-reference
is_license_reference: yes
is_license_intro: yes
relevance: 100
4 changes: 2 additions & 2 deletions src/licensedcode/data/rules/lead-in_unknown_11.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
license_expression: unknown
is_license_reference: yes
license_expression: unknown-license-reference
is_license_intro: yes
4 changes: 2 additions & 2 deletions src/licensedcode/data/rules/lead-in_unknown_15.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
license_expression: unknown
is_license_reference: yes
license_expression: unknown-license-reference
is_license_intro: yes
4 changes: 2 additions & 2 deletions src/licensedcode/data/rules/lead-in_unknown_16.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
license_expression: unknown
is_license_reference: yes
license_expression: unknown-license-reference
is_license_intro: yes
4 changes: 2 additions & 2 deletions src/licensedcode/data/rules/lead-in_unknown_18.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
license_expression: unknown
is_license_reference: yes
license_expression: unknown-license-reference
is_license_intro: yes
4 changes: 2 additions & 2 deletions src/licensedcode/data/rules/lead-in_unknown_19.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
license_expression: unknown
is_license_reference: yes
license_expression: unknown-license-reference
is_license_intro: yes
4 changes: 2 additions & 2 deletions src/licensedcode/data/rules/lead-in_unknown_21.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
license_expression: unknown
is_license_reference: yes
license_expression: unknown-license-reference
is_license_intro: yes
4 changes: 2 additions & 2 deletions src/licensedcode/data/rules/lead-in_unknown_25.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
license_expression: unknown
is_license_reference: yes
license_expression: unknown-license-reference
is_license_intro: yes
4 changes: 2 additions & 2 deletions src/licensedcode/data/rules/lead-in_unknown_26.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
license_expression: unknown
is_license_reference: yes
license_expression: unknown-license-reference
is_license_intro: yes
4 changes: 2 additions & 2 deletions src/licensedcode/data/rules/lead-in_unknown_27.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
license_expression: unknown
is_license_reference: yes
license_expression: unknown-license-reference
is_license_intro: yes
4 changes: 2 additions & 2 deletions src/licensedcode/data/rules/lead-in_unknown_28.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
license_expression: unknown
is_license_reference: yes
license_expression: unknown-license-reference
is_license_intro: yes
2 changes: 1 addition & 1 deletion src/licensedcode/data/rules/lead-in_unknown_30.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
license_expression: unknown
license_expression: unknown-license-reference
is_license_notice: yes
relevance: 100
2 changes: 1 addition & 1 deletion src/licensedcode/data/rules/lead-in_unknown_31.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
license_expression: unknown
license_expression: unknown-license-reference
is_license_notice: yes
relevance: 100
4 changes: 2 additions & 2 deletions src/licensedcode/data/rules/lead-in_unknown_37.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
license_expression: unknown
is_license_reference: yes
license_expression: unknown-license-reference
is_license_intro: yes
relevance: 100
4 changes: 2 additions & 2 deletions src/licensedcode/data/rules/lead-in_unknown_39.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
license_expression: unknown
is_license_reference: yes
license_expression: unknown-license-reference
is_license_intro: yes
4 changes: 2 additions & 2 deletions src/licensedcode/data/rules/lead-in_unknown_4.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
license_expression: unknown
is_license_reference: yes
license_expression: unknown-license-reference
is_license_intro: yes
4 changes: 2 additions & 2 deletions src/licensedcode/data/rules/lead-in_unknown_40.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
license_expression: unknown
is_license_reference: yes
license_expression: unknown-license-reference
is_license_intro: yes
4 changes: 2 additions & 2 deletions src/licensedcode/data/rules/lead-in_unknown_41.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
license_expression: unknown
is_license_reference: yes
license_expression: unknown-license-reference
is_license_intro: yes
2 changes: 1 addition & 1 deletion src/licensedcode/data/rules/lead-in_unknown_43.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
license_expression: unknown
license_expression: unknown-license-reference
is_license_tag: yes
relevance: 60
notes: Creative commons tag seen in RDF or XML documents
4 changes: 2 additions & 2 deletions src/licensedcode/data/rules/lead-in_unknown_53.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
license_expression: unknown
is_license_reference: yes
license_expression: unknown-license-reference
is_license_intro: yes
4 changes: 2 additions & 2 deletions src/licensedcode/data/rules/lead-in_unknown_57.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
license_expression: unknown
is_license_reference: yes
license_expression: unknown-license-reference
is_license_intro: yes
4 changes: 2 additions & 2 deletions src/licensedcode/data/rules/lead-in_unknown_62.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
license_expression: unknown
is_license_reference: yes
license_expression: unknown-license-reference
is_license_intro: yes
4 changes: 2 additions & 2 deletions src/licensedcode/data/rules/lead-in_unknown_63.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
license_expression: unknown
is_license_reference: yes
license_expression: unknown-license-reference
is_license_intro: yes
relevance: 60
4 changes: 2 additions & 2 deletions src/licensedcode/data/rules/lead-in_unknown_64.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
license_expression: unknown
is_license_reference: yes
license_expression: unknown-license-reference
is_license_intro: yes
4 changes: 2 additions & 2 deletions src/licensedcode/data/rules/lead-in_unknown_65.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
license_expression: unknown
is_license_reference: yes
license_expression: unknown-license-reference
is_license_intro: yes
4 changes: 2 additions & 2 deletions src/licensedcode/data/rules/lead-in_unknown_66.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
license_expression: unknown
is_license_reference: yes
license_expression: unknown-license-reference
is_license_intro: yes
4 changes: 2 additions & 2 deletions src/licensedcode/data/rules/lead-in_unknown_67.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
license_expression: unknown
is_license_reference: yes
license_expression: unknown-license-reference
is_license_intro: yes
4 changes: 2 additions & 2 deletions src/licensedcode/data/rules/lead-in_unknown_70.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
license_expression: unknown
is_license_reference: yes
license_expression: unknown-license-reference
is_license_intro: yes
4 changes: 2 additions & 2 deletions src/licensedcode/data/rules/lead-in_unknown_74.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
license_expression: unknown
is_license_reference: yes
license_expression: unknown-license-reference
is_license_intro: yes
4 changes: 2 additions & 2 deletions src/licensedcode/data/rules/lead-in_unknown_77.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
license_expression: unknown
is_license_reference: yes
license_expression: unknown-license-reference
is_license_intro: yes
notes: licensed under

0 comments on commit 3a5a2b3

Please sign in to comment.