Skip to content

Commit 5d78022

Browse files
Add more license detection rules
Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
1 parent 228cd99 commit 5d78022

16 files changed

Lines changed: 243 additions & 0 deletions
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
license_expression: bsd-new
3+
is_license_notice: yes
4+
referenced_filenames:
5+
- LICENSE.txt
6+
---
7+
8+
Use of this file is governed by the BSD 3-clause license that
9+
can be found in the LICENSE.txt file in the project root.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
license_expression: elastic-license-v2
3+
is_license_tag: yes
4+
ignorable_urls:
5+
- https://raw.githubusercontent.com/elastic/elasticsearch/
6+
---
7+
8+
<licenses>
9+
<license>
10+
<name>Elastic License 2.0</name>
11+
<url>https://raw.githubusercontent.com/elastic/elasticsearch/ /licenses/ELASTIC-LICENSE-2.0.txt</url>
12+
<distribution>repo</distribution>
13+
</license>
14+
</licenses>
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
license_expression: elastic-license-v2
3+
is_license_notice: yes
4+
ignorable_copyrights:
5+
- Copyright Elasticsearch B.V.
6+
ignorable_holders:
7+
- Elasticsearch B.V.
8+
---
9+
10+
/*
11+
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
12+
* or more contributor license agreements. Licensed under the Elastic License
13+
* 2.0; you may not use this file except in compliance with the Elastic License
14+
* 2.0.
15+
*/
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
license_expression: elastic-license-v2 OR mongodb-sspl-1.0
3+
is_license_tag: yes
4+
ignorable_urls:
5+
- https://raw.githubusercontent.com/elastic/elasticsearch/v7.16.3/licenses/ELASTIC-LICENSE-2.0.txt
6+
- https://www.mongodb.com/licensing/server-side-public-license
7+
---
8+
9+
<licenses>
10+
<license>
11+
<name>Elastic License 2.0</name>
12+
<url>https://raw.githubusercontent.com/elastic/elasticsearch/v7.16.3/licenses/ELASTIC-LICENSE-2.0.txt</url>
13+
<distribution>repo</distribution>
14+
</license>
15+
<license>
16+
<name>Server Side Public License, v 1</name>
17+
<url>https://www.mongodb.com/licensing/server-side-public-license</url>
18+
<distribution>repo</distribution>
19+
</license>
20+
</licenses>
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
license_expression: epl-1.0
3+
is_license_tag: yes
4+
ignorable_urls:
5+
- http://www.eclipse.org/org/documents/epl-v10.php
6+
---
7+
8+
<licenses>
9+
<license>
10+
<name>Eclipse Public License v1.0</name>
11+
<url>http://www.eclipse.org/org/documents/epl-v10.php</url>
12+
<distribution>repo</distribution>
13+
</license>
14+
</licenses>
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
license_expression: epl-1.0
3+
is_license_notice: yes
4+
ignorable_urls:
5+
- http://www.eclipse.org/
6+
- http://www.eclipse.org/legal/epl-v10.html
7+
---
8+
9+
<h3>License</h3>
10+
11+
<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
12+
indicated below, the Content is provided to you under the terms and conditions of the
13+
Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
14+
at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
15+
For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
16+
17+
<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
18+
being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
19+
apply to your use of any object code in the Content. Check the Redistributor's license that was
20+
provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
21+
indicated below, the terms and conditions of the EPL still apply to any source code in the Content
22+
and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
license_expression: epl-2.0
3+
is_license_notice: yes
4+
ignorable_urls:
5+
- https://www.eclipse.org/legal/epl-2.0/
6+
---
7+
8+
This program and the accompanying materials
9+
are made available under the terms of the Eclipse Public License 2.0
10+
which accompanies this distribution, and is available at
11+
https://www.eclipse.org/legal/epl-2.0/
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
license_expression: epl-2.0
3+
is_license_tag: yes
4+
ignorable_urls:
5+
- https://www.eclipse.org/legal/epl-2.0/
6+
---
7+
8+
<licenses>
9+
<license>
10+
<name>Eclipse Public License - v 2.0</name>
11+
<url>https://www.eclipse.org/legal/epl-2.0/</url>
12+
<distribution>repo</distribution>
13+
</license>
14+
</licenses>
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
license_expression: epl-2.0
3+
is_license_notice: yes
4+
ignorable_urls:
5+
- http://www.eclipse.org/
6+
- http://www.eclipse.org/legal/epl-2.0
7+
---
8+
9+
<h3>License</h3>
10+
11+
<p>
12+
The Eclipse Foundation makes available all content in this plug-in
13+
(&quot;Content&quot;). Unless otherwise indicated below, the Content
14+
is provided to you under the terms and conditions of the Eclipse
15+
Public License Version 2.0 (&quot;EPL&quot;). A copy of the EPL is
16+
available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>.
17+
For purposes of the EPL, &quot;Program&quot; will mean the Content.
18+
</p>
19+
20+
<p>
21+
If you did not receive this Content directly from the Eclipse
22+
Foundation, the Content is being redistributed by another party
23+
(&quot;Redistributor&quot;) and different terms and conditions may
24+
apply to your use of any object code in the Content. Check the
25+
Redistributor's license that was provided with the Content. If no such
26+
license exists, contact the Redistributor. Unless otherwise indicated
27+
below, the terms and conditions of the EPL still apply to any source
28+
code in the Content and such source code may be obtained at <a
29+
href="http://www.eclipse.org/">http://www.eclipse.org</a>.
30+
</p>
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
license_expression: epl-2.0
3+
is_license_notice: yes
4+
ignorable_urls:
5+
- http://www.eclipse.org/
6+
- http://www.eclipse.org/legal/epl-2.0
7+
---
8+
9+
License
10+
11+
The Eclipse Foundation makes available all content in this plug-in
12+
Content. Unless otherwise indicated below, the Content
13+
is provided to you under the terms and conditions of the Eclipse
14+
Public License Version 2.0 EPL. A copy of the EPL is
15+
available at http://www.eclipse.org/legal/epl-2.0
16+
For purposes of the EPL, Program will mean the Content.
17+
18+
If you did not receive this Content directly from the Eclipse
19+
Foundation, the Content is being redistributed by another party
20+
Redistributor and different terms and conditions may
21+
apply to your use of any object code in the Content. Check the
22+
Redistributor's license that was provided with the Content. If no such
23+
license exists, contact the Redistributor. Unless otherwise indicated
24+
below, the terms and conditions of the EPL still apply to any source
25+
code in the Content and such source code may be obtained at <a
26+
http://www.eclipse.org

0 commit comments

Comments
 (0)