Skip to content

Commit

Permalink
Add new short Apache license references #1731
Browse files Browse the repository at this point in the history
ASL 2.0 1.1 and 1.0 ae short references that should be detected.

Reported-by: Qingmin Duanmu <qduanmu@redhat.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
  • Loading branch information
pombredanne committed Nov 17, 2020
1 parent e330532 commit e2f46fd
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/licensedcode/data/rules/apache-1.0_2.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
asl 1.0
3 changes: 3 additions & 0 deletions src/licensedcode/data/rules/apache-1.0_2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
license_expression: apache-1.0
is_license_reference: yes
relevance: 95
1 change: 1 addition & 0 deletions src/licensedcode/data/rules/apache-1.1_80.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
asl 1.1
3 changes: 3 additions & 0 deletions src/licensedcode/data/rules/apache-1.1_80.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
license_expression: apache-1.1
is_license_reference: yes
relevance: 95
1 change: 1 addition & 0 deletions src/licensedcode/data/rules/apache-2.0_531.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
asl 2.0
3 changes: 3 additions & 0 deletions src/licensedcode/data/rules/apache-2.0_531.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
license_expression: apache-2.0
is_license_reference: yes
relevance: 95

0 comments on commit e2f46fd

Please sign in to comment.