Skip to content

Commit

Permalink
Add new license rules found in DataDog #2214
Browse files Browse the repository at this point in the history
Reported-by: @lemoshi
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
  • Loading branch information
pombredanne committed Sep 7, 2020
1 parent c3bf8e5 commit c994645
Show file tree
Hide file tree
Showing 16 changed files with 98 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/licensedcode/data/rules/apache-2.0_561.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Unless explicitly stated otherwise all files in this repository are licensed
under the Apache License Version 2.0.
3 changes: 3 additions & 0 deletions src/licensedcode/data/rules/apache-2.0_561.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
license_expression: apache-2.0
is_license_notice: yes
relevance: 100
3 changes: 3 additions & 0 deletions src/licensedcode/data/rules/apache-2.0_562.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// Unless explicitly stated otherwise all files in this repository are licensed
// under the Apache License Version 2.0.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
5 changes: 5 additions & 0 deletions src/licensedcode/data/rules/apache-2.0_562.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
license_expression: apache-2.0
is_license_notice: yes
relevance: 100
ignorable_urls:
- https://www.datadoghq.com/
1 change: 1 addition & 0 deletions src/licensedcode/data/rules/apache-2.0_563.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This product includes software developed at Datadog (https://www.datadoghq.com/).
6 changes: 6 additions & 0 deletions src/licensedcode/data/rules/apache-2.0_563.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
license_expression: apache-2.0
is_license_reference: yes
relevance: 80
notes: most DDcode is Apache-2.0-licensed
ignorable_urls:
- https://www.datadoghq.com/
21 changes: 21 additions & 0 deletions src/licensedcode/data/rules/bsd-new_778.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of nor the
names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3 changes: 3 additions & 0 deletions src/licensedcode/data/rules/bsd-new_778.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
license_expression: bsd-new
is_license_text: yes
relevance: 100
1 change: 1 addition & 0 deletions src/licensedcode/data/rules/bsd-new_779.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Subject to the BSD-style license found at http://golang.org
6 changes: 6 additions & 0 deletions src/licensedcode/data/rules/bsd-new_779.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
license_expression: bsd-new
is_license_notice: yes
relevance: 99
notes: Go uses a bsd-new license
ignorable_urls:
- http://golang.org/
1 change: 1 addition & 0 deletions src/licensedcode/data/rules/bsd-new_780.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(license at http://golang.org) where indicated
6 changes: 6 additions & 0 deletions src/licensedcode/data/rules/bsd-new_780.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
license_expression: bsd-new
is_license_notice: yes
relevance: 99
notes: Go uses a bsd-new license
ignorable_urls:
- http://golang.org/
24 changes: 24 additions & 0 deletions src/licensedcode/data/rules/bsd-new_781.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:

Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
The names of its contributors may not be used to endorse or promote
products derived from this software without specific prior written
permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3 changes: 3 additions & 0 deletions src/licensedcode/data/rules/bsd-new_781.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
license_expression: bsd-new
is_license_text: yes
relevance: 100
7 changes: 7 additions & 0 deletions src/licensedcode/data/rules/bsd-new_and_mit_2.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
(license at http://golang.org) where indicated

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
6 changes: 6 additions & 0 deletions src/licensedcode/data/rules/bsd-new_and_mit_2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
license_expression: bsd-new AND mit
is_license_notice: yes
relevance: 100
minimum_coverage: 98
ignorable_urls:
- http://golang.org/

0 comments on commit c994645

Please sign in to comment.