Skip to content
Merged
Show file tree
Hide file tree
Changes from 10 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
126 changes: 84 additions & 42 deletions etc/scripts/licenses/buildrules-template.txt

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions etc/scripts/licenses/buildrules.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,8 @@ def cli(licenses_file):
base_name = "false-positive"
elif rule.is_license_intro:
base_name = "license-intro"
elif rule.is_license_clue:
base_name = "license-clue"
Comment thread
AyanSinhaMahapatra marked this conversation as resolved.
Outdated
else:
base_name = rule.license_expression

Expand Down
2 changes: 2 additions & 0 deletions etc/scripts/licenses/report_license_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@
"is_license_tag",
"is_license_reference",
"is_license_intro",
"is_license_clue",
"is_deprecated",
"has_unknown",
"only_known_words",
"notes",
Expand Down
2 changes: 1 addition & 1 deletion src/licensedcode/data/rules/agpl-3.0-plus_152.RULE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
license_expression: agpl-3.0-plus
is_license_reference: yes
is_license_clue: yes
relevance: 90
ignorable_urls:
- http://www.ghostscript.com/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
license_expression: agpl-3.0-plus OR commercial-license
is_license_reference: yes
is_license_clue: yes
Comment thread
AyanSinhaMahapatra marked this conversation as resolved.
relevance: 90
---

Expand Down
10 changes: 10 additions & 0 deletions src/licensedcode/data/rules/bsd-new_1302.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
license_expression: bsd-new
is_license_tag: yes
relevance: 100
referenced_filenames:
- LICENSE.rst
---

license = BSD-3-Clause
license_files = LICENSE.rst
9 changes: 9 additions & 0 deletions src/licensedcode/data/rules/bsd-new_1303.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
license_expression: bsd-new
is_license_tag: yes
relevance: 100
referenced_filenames:
- LICENSE.rst
---

BSD-3-Clause LICENSE.rst
21 changes: 21 additions & 0 deletions src/licensedcode/data/rules/epl-1.0_and_other-copyleft_2.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
license_expression: epl-1.0 AND other-copyleft
is_license_notice: yes
relevance: 99
ignorable_urls:
- https://network.pivotal.io/open-source
- https://spring.io/projects
---

To the extent any open source components are licensed under the EPL and/or
other similar licenses that require the source code and/or modifications to
source code to be made available (as would be noted above), you may obtain a
copy of the source code corresponding to the binaries for such open source
components and modifications thereto, if any, (the "Source Files"), by
downloading the Source Files from https://spring.io/projects, Pivotal's website
at https://network.pivotal.io/open-source, or by sending a request, with your
name and address to: Pivotal Software, Inc., 875 Howard Street, 5th floor, San
Francisco, CA 94103, Attention: General Counsel. All such requests should
clearly specify: OPEN SOURCE FILES REQUEST, Attention General Counsel. Pivotal
can mail a copy of the Source Files to you on a CD or equivalent physical
medium.
2 changes: 1 addition & 1 deletion src/licensedcode/data/rules/free-unknown_55.RULE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
license_expression: free-unknown
is_license_reference: yes
is_license_clue: yes
relevance: 99
---

Expand Down
2 changes: 1 addition & 1 deletion src/licensedcode/data/rules/free-unknown_85.RULE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
license_expression: free-unknown
is_license_reference: yes
is_license_clue: yes
relevance: 100
---

Expand Down
2 changes: 1 addition & 1 deletion src/licensedcode/data/rules/free-unknown_88.RULE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
license_expression: free-unknown
is_license_reference: yes
is_license_clue: yes
relevance: 50
---

Expand Down
7 changes: 7 additions & 0 deletions src/licensedcode/data/rules/license-clue_1.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
license_expression: unknown-license-reference
is_license_clue: yes
notes: Seen in woodstox
---

This product currently only contains code developed by authors of specific components, as identified by the source code files.
6 changes: 6 additions & 0 deletions src/licensedcode/data/rules/license-clue_2.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
license_expression: free-unknown
is_license_clue: yes
---

licensed under an open source license
28 changes: 28 additions & 0 deletions src/licensedcode/data/rules/mit_or_gpl-2.0_68.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
Comment thread
AyanSinhaMahapatra marked this conversation as resolved.
license_expression: mit OR gpl-2.0
is_license_notice: yes
ignorable_urls:
- http://malsup.github.com/gpl-license-v2.txt
- http://malsup.github.com/mit-license.txt
---

All versions, present and past, of the
are {{dual licensed under the MIT and GPL licenses}}:

* [MIT](http://malsup.github.com/mit-license.txt)
* [GPL](http://malsup.github.com/gpl-license-v2.txt)

You may use either license.
The MIT License is recommended for most projects because
it is simple and easy to understand and it places almost
no restrictions on what you can do with the plugin.

If the GPL suits your project better you are also
free to use the plugin under that license.

You don't have to do anything special to choose
one license or the other and you don't have to notify
anyone which license you are using.
You are free to use the jQuery Form Plugin in
commercial projects as long as the copyright header
is left intact.
12 changes: 12 additions & 0 deletions src/licensedcode/data/rules/mit_or_gpl-2.0_69.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
license_expression: mit OR gpl-2.0
is_license_notice: yes
ignorable_urls:
- http://malsup.github.com/gpl-license-v2.txt
- http://malsup.github.com/mit-license.txt
---

type: MIT
url: http://malsup.github.com/mit-license.txt
type: GPL
url: http://malsup.github.com/gpl-license-v2.txt
2 changes: 1 addition & 1 deletion src/licensedcode/data/rules/proprietary_greensock_8.RULE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
license_expression: proprietary-license
is_license_reference: yes
is_license_clue: yes
relevance: 90
ignorable_urls:
- http://www.greensock.com/
Expand Down
2 changes: 1 addition & 1 deletion src/licensedcode/data/rules/python_10.RULE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
license_expression: python
is_license_reference: yes
is_license_clue: yes
relevance: 80
notes: seen in FreeBSD. Alone this is not super discriminant
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
license_expression: unknown-license-reference
is_license_reference: yes
is_license_clue: yes
notes: https://raw.githubusercontent.com/finalburnneo/FBNeo/master/src/license.txt
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
license_expression: unknown-license-reference
is_license_reference: yes
is_deprecated: yes
notes: Seen in woodstox
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
license_expression: unknown-license-reference
is_license_reference: yes
is_license_clue: yes
relevance: 90
ignorable_urls:
- https://newen.visualstudio.com/_git/NewenNetworks
Expand Down
Loading