Skip to content

Commit

Permalink
Add license detection rules
Browse files Browse the repository at this point in the history
Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
  • Loading branch information
AyanSinhaMahapatra committed Nov 6, 2023
1 parent ae50248 commit 6ee657d
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/licensedcode/data/rules/apache-2.0_or_epl-2.0_10.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
license_expression: apache-2.0 OR epl-2.0
is_license_tag: yes
ignorable_urls:
- https://opensource.org/licenses/Apache-2.0
- https://opensource.org/licenses/EPL-2.0
---

Apache-2.0
description {{Apache License, Version 2.0}}
link https://opensource.org/licenses/Apache-2.0
EPL-2.0
description {{Eclipse Public License, Version 2.0}}
link https://opensource.org/licenses/EPL-2.0
11 changes: 11 additions & 0 deletions src/licensedcode/data/rules/bsd-simplified_337.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
license_expression: bsd-simplified
is_license_tag: yes
---

<licenses>
<license>
<name>BSD-license</name>
<comments> {{Revised 2-clause BSD license}} </comments>
</license>
</licenses>
7 changes: 7 additions & 0 deletions src/licensedcode/data/rules/bsd-simplified_338.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
license_expression: bsd-simplified
is_license_tag: yes
---

name: BSD-license
comments: {{Revised 2-clause BSD license}}

0 comments on commit 6ee657d

Please sign in to comment.