Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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
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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not change this. How can you be 100% sure that LICENSE.BSD contains a bsd-new

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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not change existing rules. Create new ones

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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a URL?

- 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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not change existing rules. Create new ones