Skip to content

Commit

Permalink
Fix false positive for Apache-2.0 OR BSD-3-Clause and add Apache-2.0 …
Browse files Browse the repository at this point in the history
…OR MIT rule
  • Loading branch information
TanayPawar committed Jan 31, 2025
1 parent e795bc6 commit 9cb0f1b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 16 deletions.
4 changes: 2 additions & 2 deletions src/licensedcode/data/rules/apache-2.0_or_bsd-new_8.RULE
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
license_expression: apache-2.0 OR bsd-new
is_license_notice: yes
relevance: 99
relevance: 100
referenced_filenames:
- LICENSE.APACHE
- LICENSE.BSD
---

This software is made available under the terms of *either* of the licenses
found in LICENSE.APACHE or LICENSE.BSD.
found in {{LICENSE.APACHE}} or {{LICENSE.BSD}}. Both must be present for this rule to apply.
19 changes: 5 additions & 14 deletions src/licensedcode/data/rules/apache-2.0_or_mit_1.RULE
Original file line number Diff line number Diff line change
@@ -1,20 +1,11 @@
---
license_expression: apache-2.0 OR mit
is_license_notice: yes
minimum_coverage: 80
relevance: 100
referenced_filenames:
- LICENSE-APACHE
- LICENSE-MIT
ignorable_urls:
- http://opensource.org/licenses/MIT
- http://www.apache.org/licenses/LICENSE-2.0
- LICENSE.APACHE2
- LICENSE.MIT
---

License

Licensed under either of

{{Apache License, Version 2.0 }}(LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
{{MIT license }}(LICENSE-MIT or http://opensource.org/licenses/MIT)

{{at your option.}}
This software is made available under the terms of *either* of the licenses
found in LICENSE.APACHE2 or LICENSE.MIT.

0 comments on commit 9cb0f1b

Please sign in to comment.