Repository navigation
Expand file tree
/
Copy pathLicenses.rb
More file actions
195 lines (132 loc) · 18.4 KB
/
Copy pathLicenses.rb
File metadata and controls
195 lines (132 loc) · 18.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
cheatsheet do
title 'Licenses'
docset_file_name 'Licenses'
keyword 'license'
source_url 'http://cheat.kapeli.com'
style 'tr {border-bottom-style: solid}'
category do
id 'Apache'
entry do
notes 'A permissive license that also provides an express grant of patent rights from contributors to users.'
end
entry do
command 'Apache'
notes "**Forbidden**\n\n- Hold Liable: *Software is provided without warranty and the software author/license owner cannot be held liable for damages.*\n- Use Trademark: *While this may be implicitly true of all licenses, this license explicitly states that you may NOT use the names, logos, or trademarks of contributors.*\n\n#### Required\n\n- License and copyright notice: *Include a copy of the license and copyright notice with the code.*\n- State Changes: *Indicate significant changes made to the code.*\n\n#### Permitted\n\n- Commercial Use: *This software and derivatives may be used for commercial purposes.*\n- Distribution: *You may distribute this software.*\n- Modification: *This software may be modified.*\n- Patent Grant: *This license provides an express grant of patent rights from the contributor to the recipient.*\n- Private Use: *You may use and modify the software without distributing it.*\n- Sublicensing: *You may grant a sublicense to modify and distribute this software to third parties not included in the license.*"
end
end
category do
id 'GPL'
entry do
notes 'GPL is the most widely used free software license and has a strong copyleft requirement. When distributing derived works, the source code of the work must be made available under the same license. There are multiple variants of the GPL, each with different requirements.'
end
entry do
command 'GNU Affero GPL v3.0'
notes "**Forbidden**\n\n- Hold Liable: *Software is provided without warranty and the software author/license owner cannot be held liable for damages.*\n- Sublicensing: *You may not grant a sublicense to modify and distribute this software to third parties not included in the license.*\n\n#### Required\n\n- Disclose Source: *Source code must be made available when distributing the software. In the case of LGPL, the source for the library (and not the entire program) must be made available.*\n- License and copyright notice: *Include a copy of the license and copyright notice with the code.*\n- Network Use is Distribution: *Users who interact with the software via network are given the right to receive a copy of the corresponding source code.*\n- State Changes: *Indicate significant changes made to the code.*\n\n#### Permitted\n\n- Commercial Use: *This software and derivatives may be used for commercial purposes.*\n- Distribution: *You may distribute this software.*\n- Modification: *This software may be modified.*\n- Patent Grant: *This license provides an express grant of patent rights from the contributor to the recipient.*\n- Private Use: *You may use and modify the software without distributing it.*"
end
entry do
command 'GNU GPL v2.0'
notes "**Forbidden**\n\n- Hold Liable: *Software is provided without warranty and the software author/license owner cannot be held liable for damages.*\n- Sublicensing: *You may not grant a sublicense to modify and distribute this software to third parties not included in the license.*\n\n#### Required\n\n- Disclose Source: *Source code must be made available when distributing the software. In the case of LGPL, the source for the library (and not the entire program) must be made available.*\n- License and copyright notice: *Include a copy of the license and copyright notice with the code.*\n- State Changes: *Indicate significant changes made to the code.*\n\n#### Permitted\n\n- Commercial Use: *This software and derivatives may be used for commercial purposes.*\n- Distribution: *You may distribute this software.*\n- Modification: *This software may be modified.*\n- Patent Grant: *This license provides an express grant of patent rights from the contributor to the recipient.*\n- Private Use: *You may use and modify the software without distributing it.*"
end
entry do
command 'GNU GPL v3.0'
notes "**Forbidden**\n\n- Hold Liable: *Software is provided without warranty and the software author/license owner cannot be held liable for damages.*\n- Sublicensing: *You may not grant a sublicense to modify and distribute this software to third parties not included in the license.*\n\n#### Required\n\n- Disclose Source: *Source code must be made available when distributing the software. In the case of LGPL, the source for the library (and not the entire program) must be made available.*\n- License and copyright notice: *Include a copy of the license and copyright notice with the code.*\n- State Changes: *Indicate significant changes made to the code.*\n\n#### Permitted\n\n- Commercial Use: *This software and derivatives may be used for commercial purposes.*\n- Distribution: *You may distribute this software.*\n- Modification: *This software may be modified.*\n- Patent Grant: *This license provides an express grant of patent rights from the contributor to the recipient.*\n- Private Use: *You may use and modify the software without distributing it.*"
end
end
category do
id 'MIT'
entry do
notes 'A permissive license that is short and to the point. It lets people do anything with your code with proper attribution and without warranty.'
end
entry do
command 'MIT'
notes "**Forbidden**\n\n- Hold Liable: *Software is provided without warranty and the software author/license owner cannot be held liable for damages.*\n\n#### Required\n\n- License and copyright notice: *Include a copy of the license and copyright notice with the code.*\n\n#### Permitted\n\n- Commercial Use: *This software and derivatives may be used for commercial purposes.*\n- Distribution: *You may distribute this software.*\n- Modification: *This software may be modified.*\n- Private Use: *You may use and modify the software without distributing it.*\n- Sublicensing: *You may grant a sublicense to modify and distribute this software to third parties not included in the license.*"
end
end
category do
id 'Artistic'
entry do
notes 'Heavily favored by the Perl community, the Artistic license requires that modified versions of the software do not prevent users from running the standard version.'
end
entry do
command 'Artistic'
notes "**Forbidden**\n\n- Hold Liable: *Software is provided without warranty and the software author/license owner cannot be held liable for damages.*\n- Use Trademark: *While this may be implicitly true of all licenses, this license explicitly states that you may NOT use the names, logos, or trademarks of contributors.*\n\n#### Required\n\n- License and copyright notice: *Include a copy of the license and copyright notice with the code.*\n- State Changes: *Indicate significant changes made to the code.*\n\n#### Permitted\n\n- Commercial Use: *This software and derivatives may be used for commercial purposes.*\n- Distribution: *You may distribute this software.*\n- Modification: *This software may be modified.*\n- Private Use: *You may use and modify the software without distributing it.*\n- Sublicensing: *You may grant a sublicense to modify and distribute this software to third parties not included in the license.*"
end
end
category do
id 'Eclipse'
entry do
notes 'This commercially-friendly copyleft license provides the ability to commercially license binaries; a modern royalty-free patent license grant; and the ability for linked works to use other licenses, including commercial ones.'
end
entry do
command 'Eclipse'
notes "**Forbidden**\n\n- Hold Liable: *Software is provided without warranty and the software author/license owner cannot be held liable for damages.*\n\n#### Required\n\n- Disclose Source: *Source code must be made available when distributing the software. In the case of LGPL, the source for the library (and not the entire program) must be made available.*\n- License and copyright notice: *Include a copy of the license and copyright notice with the code.*\n\n#### Permitted\n\n- Commercial Use: *This software and derivatives may be used for commercial purposes.*\n- Distribution: *You may distribute this software.*\n- Modification: *This software may be modified.*\n- Patent Grant: *This license provides an express grant of patent rights from the contributor to the recipient.*\n- Private Use: *You may use and modify the software without distributing it.*\n- Sublicensing: *You may grant a sublicense to modify and distribute this software to third parties not included in the license.*"
end
end
category do
id 'BSD'
entry do
notes 'A permissive license lets people do anything with your code with proper attribution and without warranty. The ISC license is functionally equivalent to the BSD 2-Clause and MIT licenses, removing some language that is no longer necessary.'
end
entry do
command 'Simplified BSD'
notes "**Forbidden**\n\n- Hold Liable: *Software is provided without warranty and the software author/license owner cannot be held liable for damages.*\n\n#### Required\n\n- License and copyright notice: *Include a copy of the license and copyright notice with the code.*\n\n#### Permitted\n\n- Commercial Use: *This software and derivatives may be used for commercial purposes.*\n- Distribution: *You may distribute this software.*\n- Modification: *This software may be modified.*\n- Private Use: *You may use and modify the software without distributing it.*\n- Sublicensing: *You may grant a sublicense to modify and distribute this software to third parties not included in the license.*"
end
entry do
command 'New BSD'
notes "**Forbidden**\n\n- Hold Liable: *Software is provided without warranty and the software author/license owner cannot be held liable for damages.*\n- Use Trademark: *While this may be implicitly true of all licenses, this license explicitly states that you may NOT use the names, logos, or trademarks of contributors.*\n\n#### Required\n\n- License and copyright notice: *Include a copy of the license and copyright notice with the code.*\n\n#### Permitted\n\n- Commercial Use: *This software and derivatives may be used for commercial purposes.*\n- Distribution: *You may distribute this software.*\n- Modification: *This software may be modified.*\n- Private Use: *You may use and modify the software without distributing it.*\n- Sublicensing: *You may grant a sublicense to modify and distribute this software to third parties not included in the license.*"
end
entry do
command 'ISC License'
notes "**Forbidden**\n\n- Hold Liable: *Software is provided without warranty and the software author/license owner cannot be held liable for damages.*\n\n#### Required\n\n- License and copyright notice: *Include a copy of the license and copyright notice with the code.*\n\n#### Permitted\n\n- Commercial Use: *This software and derivatives may be used for commercial purposes.*\n- Distribution: *You may distribute this software.*\n- Modification: *This software may be modified.*\n- Private Use: *You may use and modify the software without distributing it.*\n- Sublicensing: *You may grant a sublicense to modify and distribute this software to third parties not included in the license.*"
end
end
category do
id 'LGPL'
entry do
notes 'Primarily used for software libraries, LGPL requires that derived works be licensed under the same license, but works that only link to it do not fall under this restriction. There are two commonly used versions of the LGPL.'
end
entry do
command 'GNU LGPL v2.1'
notes "**Forbidden**\n\n- Hold Liable: *Software is provided without warranty and the software author/license owner cannot be held liable for damages.*\n\n#### Required\n\n- Disclose Source: *Source code must be made available when distributing the software. In the case of LGPL, the source for the library (and not the entire program) must be made available.*\n- Library usage: *The library may be used within a non-open-source application.*\n- License and copyright notice: *Include a copy of the license and copyright notice with the code.*\n\n#### Permitted\n\n- Commercial Use: *This software and derivatives may be used for commercial purposes.*\n- Distribution: *You may distribute this software.*\n- Modification: *This software may be modified.*\n- Patent Grant: *This license provides an express grant of patent rights from the contributor to the recipient.*\n- Private Use: *You may use and modify the software without distributing it.*\n- Sublicensing: *You may grant a sublicense to modify and distribute this software to third parties not included in the license.*"
end
entry do
command 'GNU LGPL v3.0'
notes "**Forbidden**\n\n- Hold Liable: *Software is provided without warranty and the software author/license owner cannot be held liable for damages.*\n\n#### Required\n\n- Disclose Source: *Source code must be made available when distributing the software. In the case of LGPL, the source for the library (and not the entire program) must be made available.*\n- Library usage: *The library may be used within a non-open-source application.*\n- License and copyright notice: *Include a copy of the license and copyright notice with the code.*\n\n#### Permitted\n\n- Commercial Use: *This software and derivatives may be used for commercial purposes.*\n- Distribution: *You may distribute this software.*\n- Modification: *This software may be modified.*\n- Patent Grant: *This license provides an express grant of patent rights from the contributor to the recipient.*\n- Private Use: *You may use and modify the software without distributing it.*\n- Sublicensing: *You may grant a sublicense to modify and distribute this software to third parties not included in the license.*"
end
end
category do
id 'Mozilla'
entry do
notes 'The Mozilla Public License (MPL 2.0) is maintained by the Mozilla foundation. This license attempts to be a compromise between the permissive BSD license and the reciprocal GPL license.'
end
entry do
command 'Mozilla'
notes "**Forbidden**\n\n- Hold Liable: *Software is provided without warranty and the software author/license owner cannot be held liable for damages.*\n- Use Trademark: *While this may be implicitly true of all licenses, this license explicitly states that you may NOT use the names, logos, or trademarks of contributors.*\n\n#### Required\n\n- Disclose Source: *Source code must be made available when distributing the software. In the case of LGPL, the source for the library (and not the entire program) must be made available.*\n- License and copyright notice: *Include a copy of the license and copyright notice with the code.*\n\n#### Permitted\n\n- Commercial Use: *This software and derivatives may be used for commercial purposes.*\n- Distribution: *You may distribute this software.*\n- Modification: *This software may be modified.*\n- Patent Grant: *This license provides an express grant of patent rights from the contributor to the recipient.*\n- Private Use: *You may use and modify the software without distributing it.*\n- Sublicensing: *You may grant a sublicense to modify and distribute this software to third parties not included in the license.*"
end
end
category do
id 'No License'
entry do
notes 'You retain all rights and do not permit distribution, reproduction, or derivative works. You may grant some rights in cases where you publish your source code to a site that requires accepting terms of service. For example, publishing code in a public repository on GitHub requires that you allow others to view and fork your code.'
end
entry do
command 'No License'
notes "**Forbidden**\n\n- Distribution: *You may not distribute this software.*\n- Modification: *This software may not be modified.*\n- Sublicensing: *You may not grant a sublicense to modify and distribute this software to third parties not included in the license.*\n\n#### Required\n\n- License and copyright notice: *Include a copy of the license and copyright notice with the code.*\n\n#### Permitted\n\n- Commercial Use: *This software and derivatives may be used for commercial purposes.*\n- Private Use: *You may use and modify the software without distributing it.*"
end
end
category do
id 'Public Domain Dedication'
entry do
notes "Because copyright is automatic in most countries, the Unlicense is a template to waive copyright interest in software you've written and dedicate it to the public domain. Use the Unlicense to opt out of copyright entirely. It also includes the no-warranty statement from the MIT/X11 license."
end
entry do
command 'CC0 1.0 Universal'
notes "**Forbidden**\n\n- Hold Liable: *Software is provided without warranty and the software author/license owner cannot be held liable for damages.*\n\n#### Required\n\n\n#### Permitted\n\n- Commercial Use: *This software and derivatives may be used for commercial purposes.*\n- Distribution: *You may distribute this software.*\n- Modification: *This software may be modified.*\n- Private Use: *You may use and modify the software without distributing it.*"
end
entry do
command 'The Unlicense'
notes "**Forbidden**\n\n- Hold Liable: *Software is provided without warranty and the software author/license owner cannot be held liable for damages.*\n\n#### Required\n\n\n#### Permitted\n\n- Commercial Use: *This software and derivatives may be used for commercial purposes.*\n- Distribution: *You may distribute this software.*\n- Modification: *This software may be modified.*\n- Private Use: *You may use and modify the software without distributing it.*\n- Sublicensing: *You may grant a sublicense to modify and distribute this software to third parties not included in the license.*"
end
end
notes '* Based on [choosealicense.com](http://choosealicense.com).'
end