Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add license detection rules #3568

Merged
merged 1 commit into from
Nov 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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}}
Loading