licensee 9.13.0 → 9.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (138) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.md +1 -1
  3. data/bin/licensee +2 -2
  4. data/lib/licensee.rb +4 -4
  5. data/lib/licensee/commands/detect.rb +3 -5
  6. data/lib/licensee/commands/diff.rb +3 -5
  7. data/lib/licensee/content_helper.rb +41 -44
  8. data/lib/licensee/hash_helper.rb +1 -1
  9. data/lib/licensee/license.rb +29 -15
  10. data/lib/licensee/matchers.rb +1 -0
  11. data/lib/licensee/matchers/cabal.rb +1 -1
  12. data/lib/licensee/matchers/cargo.rb +1 -1
  13. data/lib/licensee/matchers/copyright.rb +3 -8
  14. data/lib/licensee/matchers/cran.rb +1 -1
  15. data/lib/licensee/matchers/dice.rb +2 -2
  16. data/lib/licensee/matchers/dist_zilla.rb +1 -1
  17. data/lib/licensee/matchers/gemspec.rb +4 -4
  18. data/lib/licensee/matchers/npm_bower.rb +5 -2
  19. data/lib/licensee/matchers/nuget.rb +43 -0
  20. data/lib/licensee/matchers/spdx.rb +1 -1
  21. data/lib/licensee/project_files/license_file.rb +29 -22
  22. data/lib/licensee/project_files/package_manager_file.rb +3 -2
  23. data/lib/licensee/project_files/project_file.rb +3 -4
  24. data/lib/licensee/project_files/readme_file.rb +1 -1
  25. data/lib/licensee/projects/fs_project.rb +8 -5
  26. data/lib/licensee/projects/git_project.rb +6 -4
  27. data/lib/licensee/projects/github_project.rb +1 -1
  28. data/lib/licensee/projects/project.rb +11 -10
  29. data/lib/licensee/version.rb +1 -1
  30. data/licensee.gemspec +7 -8
  31. data/spec/fixture_spec.rb +3 -3
  32. data/spec/fixtures/bom/LICENSE.txt +21 -0
  33. data/spec/fixtures/bsd-3-authorowner/LICENSE +27 -0
  34. data/spec/fixtures/bsd-3-noendorseslash/LICENSE +30 -0
  35. data/spec/fixtures/cc-by-sa-mdlinks/License.md +173 -0
  36. data/spec/fixtures/cc-by-sa-nocclicensor/License.md +425 -0
  37. data/spec/fixtures/crlf-bsd/LICENSE.md +27 -0
  38. data/spec/fixtures/detect.json +16 -22
  39. data/spec/fixtures/eupl-cal2017/LICENSE.txt +274 -0
  40. data/spec/fixtures/fixtures.yml +68 -20
  41. data/spec/fixtures/license-hashes.json +39 -37
  42. data/spec/fixtures/markdown-artistic/LICENSE.md +192 -0
  43. data/spec/fixtures/multiple-arrs/LICENSE +30 -0
  44. data/spec/fixtures/pixar-modified-apache/LICENSE.txt +174 -0
  45. data/spec/fixtures/readme-invalid-encoding/README.md +24 -0
  46. data/spec/fixtures/vim/LICENSE +78 -0
  47. data/spec/integration_spec.rb +104 -9
  48. data/spec/licensee/commands/detect_spec.rb +2 -2
  49. data/spec/licensee/content_helper_spec.rb +17 -21
  50. data/spec/licensee/hash_helper_spec.rb +22 -22
  51. data/spec/licensee/license_meta_spec.rb +5 -11
  52. data/spec/licensee/license_spec.rb +14 -10
  53. data/spec/licensee/matchers/dice_matcher_spec.rb +4 -11
  54. data/spec/licensee/matchers/matcher_spec.rb +6 -6
  55. data/spec/licensee/matchers/npm_bower_matcher_spec.rb +9 -0
  56. data/spec/licensee/matchers/nu_get_matcher_spec.rb +91 -0
  57. data/spec/licensee/project_files/license_file_spec.rb +35 -28
  58. data/spec/licensee/project_files/package_info_spec.rb +8 -0
  59. data/spec/licensee/project_spec.rb +1 -3
  60. data/spec/licensee/rule_spec.rb +1 -1
  61. data/spec/licensee_spec.rb +1 -1
  62. data/spec/spec_helper.rb +3 -3
  63. data/spec/vendored_license_spec.rb +2 -2
  64. data/vendor/choosealicense.com/_data/meta.yml +1 -1
  65. data/vendor/choosealicense.com/_data/rules.yml +13 -13
  66. data/vendor/choosealicense.com/_licenses/0bsd.txt +3 -3
  67. data/vendor/choosealicense.com/_licenses/apache-2.0.txt +4 -4
  68. data/vendor/choosealicense.com/_licenses/artistic-2.0.txt +1 -1
  69. data/vendor/choosealicense.com/_licenses/bsd-2-clause.txt +3 -3
  70. data/vendor/choosealicense.com/_licenses/bsd-3-clause.txt +3 -3
  71. data/vendor/choosealicense.com/_licenses/bsd-4-clause.txt +3 -3
  72. data/vendor/choosealicense.com/_licenses/bsl-1.0.txt +4 -3
  73. data/vendor/choosealicense.com/_licenses/cc-by-4.0.txt +16 -16
  74. data/vendor/choosealicense.com/_licenses/cc-by-sa-4.0.txt +16 -16
  75. data/vendor/choosealicense.com/_licenses/cc0-1.0.txt +4 -4
  76. data/vendor/choosealicense.com/_licenses/cecill-2.1.txt +6 -6
  77. data/vendor/choosealicense.com/_licenses/ecl-2.0.txt +4 -4
  78. data/vendor/choosealicense.com/_licenses/epl-1.0.txt +3 -3
  79. data/vendor/choosealicense.com/_licenses/epl-2.0.txt +5 -5
  80. data/vendor/choosealicense.com/_licenses/eupl-1.2.txt +77 -60
  81. data/vendor/choosealicense.com/_licenses/gpl-2.0.txt +3 -3
  82. data/vendor/choosealicense.com/_licenses/gpl-3.0.txt +4 -4
  83. data/vendor/choosealicense.com/_licenses/isc.txt +3 -3
  84. data/vendor/choosealicense.com/_licenses/lgpl-3.0.txt +0 -1
  85. data/vendor/choosealicense.com/_licenses/lppl-1.3c.txt +1 -1
  86. data/vendor/choosealicense.com/_licenses/mit-0.txt +45 -0
  87. data/vendor/choosealicense.com/_licenses/mit.txt +3 -3
  88. data/vendor/choosealicense.com/_licenses/mpl-2.0.txt +3 -3
  89. data/vendor/choosealicense.com/_licenses/ncsa.txt +24 -24
  90. data/vendor/choosealicense.com/_licenses/odbl-1.0.txt +3 -3
  91. data/vendor/choosealicense.com/_licenses/ofl-1.1.txt +4 -4
  92. data/vendor/choosealicense.com/_licenses/osl-3.0.txt +3 -3
  93. data/vendor/choosealicense.com/_licenses/postgresql.txt +5 -5
  94. data/vendor/choosealicense.com/_licenses/unlicense.txt +3 -3
  95. data/vendor/choosealicense.com/_licenses/upl-1.0.txt +4 -4
  96. data/vendor/choosealicense.com/_licenses/vim.txt +111 -0
  97. data/vendor/choosealicense.com/_licenses/zlib.txt +3 -3
  98. data/vendor/license-list-XML/src/0BSD.xml +21 -0
  99. data/vendor/license-list-XML/src/AFL-3.0.xml +212 -0
  100. data/vendor/license-list-XML/src/AGPL-3.0.xml +852 -0
  101. data/vendor/license-list-XML/src/Apache-2.0.xml +223 -0
  102. data/vendor/license-list-XML/src/Artistic-2.0.xml +238 -0
  103. data/vendor/license-list-XML/src/BSD-2-Clause.xml +42 -0
  104. data/vendor/license-list-XML/src/BSD-3-Clause-Clear.xml +59 -0
  105. data/vendor/license-list-XML/src/BSD-3-Clause.xml +46 -0
  106. data/vendor/license-list-XML/src/BSD-4-Clause.xml +59 -0
  107. data/vendor/license-list-XML/src/BSL-1.0.xml +30 -0
  108. data/vendor/license-list-XML/src/CC-BY-4.0.xml +444 -0
  109. data/vendor/license-list-XML/src/CC-BY-SA-4.0.xml +475 -0
  110. data/vendor/license-list-XML/src/CC0-1.0.xml +153 -0
  111. data/vendor/license-list-XML/src/CECILL-2.1.xml +669 -0
  112. data/vendor/license-list-XML/src/ECL-2.0.xml +242 -0
  113. data/vendor/license-list-XML/src/EPL-1.0.xml +255 -0
  114. data/vendor/license-list-XML/src/EPL-2.0.xml +639 -0
  115. data/vendor/license-list-XML/src/EUPL-1.1.xml +337 -0
  116. data/vendor/license-list-XML/src/EUPL-1.2.xml +502 -0
  117. data/vendor/license-list-XML/src/GPL-2.0.xml +474 -0
  118. data/vendor/license-list-XML/src/GPL-3.0.xml +858 -0
  119. data/vendor/license-list-XML/src/ISC.xml +29 -0
  120. data/vendor/license-list-XML/src/LGPL-2.1.xml +662 -0
  121. data/vendor/license-list-XML/src/LGPL-3.0.xml +260 -0
  122. data/vendor/license-list-XML/src/LPPL-1.3c.xml +380 -0
  123. data/vendor/license-list-XML/src/MIT-0.xml +40 -0
  124. data/vendor/license-list-XML/src/MIT.xml +32 -0
  125. data/vendor/license-list-XML/src/MPL-2.0.xml +438 -0
  126. data/vendor/license-list-XML/src/MS-PL.xml +89 -0
  127. data/vendor/license-list-XML/src/MS-RL.xml +97 -0
  128. data/vendor/license-list-XML/src/NCSA.xml +60 -0
  129. data/vendor/license-list-XML/src/ODbL-1.0.xml +660 -0
  130. data/vendor/license-list-XML/src/OFL-1.1.xml +94 -0
  131. data/vendor/license-list-XML/src/OSL-3.0.xml +209 -0
  132. data/vendor/license-list-XML/src/PostgreSQL.xml +32 -0
  133. data/vendor/license-list-XML/src/UPL-1.0.xml +46 -0
  134. data/vendor/license-list-XML/src/Unlicense.xml +27 -0
  135. data/vendor/license-list-XML/src/Vim.xml +124 -0
  136. data/vendor/license-list-XML/src/WTFPL.xml +30 -0
  137. data/vendor/license-list-XML/src/Zlib.xml +38 -0
  138. metadata +97 -29
@@ -12,9 +12,9 @@ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of
12
12
  note: The Free Software Foundation recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at the end of the license.
13
13
 
14
14
  using:
15
- - AliSQL: https://github.com/alibaba/AliSQL/blob/master/COPYING
16
- - Discourse: https://github.com/discourse/discourse/blob/master/LICENSE.txt
17
- - Joomla!: https://github.com/joomla/joomla-cms/blob/staging/LICENSE.txt
15
+ AliSQL: https://github.com/alibaba/AliSQL/blob/master/COPYING
16
+ Discourse: https://github.com/discourse/discourse/blob/master/LICENSE.txt
17
+ Joomla!: https://github.com/joomla/joomla-cms/blob/staging/LICENSE.txt
18
18
 
19
19
  permissions:
20
20
  - commercial-use
@@ -8,14 +8,14 @@ hidden: false
8
8
 
9
9
  description: Permissions of this strong copyleft license are conditioned on making available complete source code of licensed works and modifications, which include larger works using a licensed work, under the same license. Copyright and license notices must be preserved. Contributors provide an express grant of patent rights.
10
10
 
11
- how: Create a text file in the root of your source code, typically named COPYING (a GNU convention), LICENSE or LICENSE.txt. Then copy the text of the license into that file.
11
+ how: Create a text file (typically named COPYING, as per GNU conventions) in the root of your source code and copy the text of the license into the file.
12
12
 
13
13
  note: The Free Software Foundation recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at the end of the license.
14
14
 
15
15
  using:
16
- - Ansible: https://github.com/ansible/ansible/blob/devel/COPYING
17
- - Bash: https://git.savannah.gnu.org/cgit/bash.git/tree/COPYING
18
- - GIMP: https://git.gnome.org/browse/gimp/tree/COPYING
16
+ Ansible: https://github.com/ansible/ansible/blob/devel/COPYING
17
+ Bash: https://git.savannah.gnu.org/cgit/bash.git/tree/COPYING
18
+ GIMP: https://git.gnome.org/browse/gimp/tree/COPYING
19
19
 
20
20
  permissions:
21
21
  - commercial-use
@@ -7,9 +7,9 @@ description: A permissive license lets people do anything with your code with pr
7
7
  how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders.
8
8
 
9
9
  using:
10
- - Helix: https://github.com/tildeio/helix/blob/master/LICENSE
11
- - Node.js semver: https://github.com/npm/node-semver/blob/master/LICENSE
12
- - OpenStreetMap iD: https://github.com/openstreetmap/iD/blob/master/LICENSE.md
10
+ Starship: https://github.com/starship/starship/blob/master/LICENSE
11
+ Node.js semver: https://github.com/npm/node-semver/blob/master/LICENSE
12
+ OpenStreetMap iD: https://github.com/openstreetmap/iD/blob/develop/LICENSE.md
13
13
 
14
14
  permissions:
15
15
  - commercial-use
@@ -3,7 +3,6 @@ title: GNU Lesser General Public License v3.0
3
3
  spdx-id: LGPL-3.0
4
4
  nickname: GNU LGPLv3
5
5
  redirect_from: /licenses/lgpl-v3/
6
- hidden: false
7
6
 
8
7
  description: Permissions of this copyleft license are conditioned on making available complete source code of licensed works and modifications under the same license or the GNU GPLv3. Copyright and license notices must be preserved. Contributors provide an express grant of patent rights. However, a larger work using the licensed work through interfaces provided by the licensed work may be distributed under different terms and without source code for the larger work.
9
8
 
@@ -4,7 +4,7 @@ spdx-id: LPPL-1.3c
4
4
 
5
5
  description: The LaTeX Project Public License (LPPL) is the primary license under which the LaTeX kernel and the base LaTeX packages are distributed.
6
6
 
7
- how: To use this license, place in each of the components of your work both an explicit copyright notice including your name and the year the work was authored and/or last substantially modified. Include also a statement that the distribution and/or modification of that component is constrained by the conditions in this license.
7
+ how: Place in each of the components of your work both an explicit copyright notice including your name, and the year the work was authored and/or last substantially modified. Include also a statement that the distribution and/or modification of that component is constrained by the conditions in this license.
8
8
 
9
9
  note: An example boilerplate and more information about how to use the license can be found at the end of the license.
10
10
 
@@ -0,0 +1,45 @@
1
+ ---
2
+ title: MIT No Attribution
3
+ spdx-id: MIT-0
4
+
5
+ description: A short and simple permissive license with no conditions, not even requiring preservation of copyright and license notices. Licensed works, modifications, and larger works may be distributed under different terms and without source code.
6
+
7
+ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders.
8
+
9
+ using:
10
+ rssfs: https://github.com/dertuxmalwieder/rssfs/blob/master/LICENSE
11
+ SOIL2: https://github.com/SpartanJ/SOIL2/blob/master/LICENSE
12
+ Units.NET: https://github.com/angularsen/UnitsNet/blob/master/LICENSE
13
+
14
+ permissions:
15
+ - commercial-use
16
+ - modifications
17
+ - distribution
18
+ - private-use
19
+
20
+ conditions: []
21
+
22
+ limitations:
23
+ - liability
24
+ - warranty
25
+
26
+ ---
27
+
28
+ MIT No Attribution
29
+
30
+ Copyright [year] [fullname]
31
+
32
+ Permission is hereby granted, free of charge, to any person obtaining a copy
33
+ of this software and associated documentation files (the "Software"), to deal
34
+ in the Software without restriction, including without limitation the rights
35
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
36
+ copies of the Software, and to permit persons to whom the Software is
37
+ furnished to do so.
38
+
39
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
40
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
41
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
42
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
43
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
44
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
45
+ SOFTWARE.
@@ -9,9 +9,9 @@ description: A short and simple permissive license with conditions only requirin
9
9
  how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders.
10
10
 
11
11
  using:
12
- - Babel: https://github.com/babel/babel/blob/master/LICENSE
13
- - .NET Core: https://github.com/dotnet/corefx/blob/master/LICENSE.TXT
14
- - Rails: https://github.com/rails/rails/blob/master/MIT-LICENSE
12
+ Babel: https://github.com/babel/babel/blob/master/LICENSE
13
+ .NET Core: https://github.com/dotnet/runtime/blob/master/LICENSE.TXT
14
+ Rails: https://github.com/rails/rails/blob/master/MIT-LICENSE
15
15
 
16
16
  permissions:
17
17
  - commercial-use
@@ -11,9 +11,9 @@ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of
11
11
  note: The Mozilla Foundation recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at the end of the license (Exhibit A).
12
12
 
13
13
  using:
14
- - Servo: https://github.com/servo/servo/blob/master/LICENSE
15
- - Syncthing: https://github.com/syncthing/syncthing/blob/master/LICENSE
16
- - TimelineJS3: https://github.com/NUKnightLab/TimelineJS3/blob/master/LICENSE
14
+ Servo: https://github.com/servo/servo/blob/master/LICENSE
15
+ Syncthing: https://github.com/syncthing/syncthing/blob/main/LICENSE
16
+ TimelineJS3: https://github.com/NUKnightLab/TimelineJS3/blob/master/LICENSE
17
17
 
18
18
  permissions:
19
19
  - commercial-use
@@ -7,10 +7,10 @@ description: The University of Illinois/NCSA Open Source License, or UIUC licens
7
7
 
8
8
  how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders. Replace [project] with the project organization, if any, that sponsors this work.
9
9
 
10
- using:
11
- - LLDB: https://github.com/llvm-mirror/lldb/blob/master/LICENSE.TXT
12
- - ROCR-Runtime: https://github.com/RadeonOpenCompute/ROCR-Runtime/blob/master/LICENSE.txt
13
- - RLTK: https://github.com/chriswailes/RLTK/blob/master/LICENSE
10
+ using:
11
+ ROCR-Runtime: https://github.com/RadeonOpenCompute/ROCR-Runtime/blob/master/LICENSE.txt
12
+ RLTK: https://github.com/chriswailes/RLTK/blob/master/LICENSE
13
+ ToaruOS: https://github.com/klange/toaruos/blob/master/LICENSE
14
14
 
15
15
  permissions:
16
16
  - commercial-use
@@ -27,37 +27,37 @@ limitations:
27
27
 
28
28
  ---
29
29
 
30
- University of Illinois/NCSA Open Source License
30
+ University of Illinois/NCSA Open Source License
31
31
 
32
- Copyright (c) [year] [fullname]. All rights reserved.
32
+ Copyright (c) [year] [fullname]. All rights reserved.
33
33
 
34
- Developed by: [project]
35
- [fullname]
34
+ Developed by: [project]
35
+ [fullname]
36
36
  [projecturl]
37
-
38
- Permission is hereby granted, free of charge, to any person
39
- obtaining a copy of this software and associated documentation files
40
- (the "Software"), to deal with the Software without restriction,
37
+
38
+ Permission is hereby granted, free of charge, to any person
39
+ obtaining a copy of this software and associated documentation files
40
+ (the "Software"), to deal with the Software without restriction,
41
41
  including without limitation the rights to use, copy, modify, merge,
42
- publish, distribute, sublicense, and/or sell copies of the Software,
43
- and to permit persons to whom the Software is furnished to do so,
42
+ publish, distribute, sublicense, and/or sell copies of the Software,
43
+ and to permit persons to whom the Software is furnished to do so,
44
44
  subject to the following conditions:
45
45
 
46
- * Redistributions of source code must retain the above copyright notice,
46
+ * Redistributions of source code must retain the above copyright notice,
47
47
  this list of conditions and the following disclaimers.
48
48
 
49
- * Redistributions in binary form must reproduce the above copyright
50
- notice, this list of conditions and the following disclaimers in the
49
+ * Redistributions in binary form must reproduce the above copyright
50
+ notice, this list of conditions and the following disclaimers in the
51
51
  documentation and/or other materials provided with the distribution.
52
52
 
53
- * Neither the names of [fullname], [project] nor the names of its
53
+ * Neither the names of [fullname], [project] nor the names of its
54
54
  contributors may be used to endorse or promote products derived from
55
55
  this Software without specific prior written permission.
56
-
57
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
58
- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
59
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
60
- CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
61
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
56
+
57
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
58
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
59
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
60
+ CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
61
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
62
62
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH
63
63
  THE SOFTWARE.
@@ -8,9 +8,9 @@ description: The Open Database License (ODbL) is a license agreement intended to
8
8
  how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file.
9
9
 
10
10
  using:
11
- - World Countries: https://github.com/mledoze/countries/blob/master/LICENSE
12
- - OpenFlights: https://github.com/jpatokal/openflights/blob/master/data/LICENSE
13
- - Public Zone Database: https://github.com/zonedb/zonedb/blob/master/LICENSE.md
11
+ World Countries: https://github.com/mledoze/countries/blob/master/LICENSE
12
+ OpenFlights: https://github.com/jpatokal/openflights/blob/master/data/LICENSE
13
+ Public Zone Database: https://github.com/zonedb/zonedb/blob/main/LICENSE.md
14
14
 
15
15
  permissions:
16
16
  - commercial-use
@@ -5,14 +5,14 @@ redirect_from: /licenses/ofl/
5
5
 
6
6
  description: The Open Font License (OFL) is maintained by SIL International. It attempts to be a compromise between the values of the free software and typeface design communities. It is used for almost all open source font projects, including those by Adobe, Google and Mozilla.
7
7
 
8
- how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your font source and copy the text of the license into the file. Replace [year] with the current year and [fullname] ([email]) with the name and contact email address of each copyright holder. You may take the additional step of appending a Reserved Font Name notice. This option requires anyone making modifications to change the font's name, and is not ideal for web fonts (which all users will modify by changing formats and subsetting for their own needs.)
8
+ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your font's source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] ([email]) with the name and contact email address of each copyright holder. You may take the additional step of appending a Reserved Font Name notice. This option requires anyone making modifications to change the font's name, and is not ideal for web fonts (which all users will modify by changing formats and subsetting for their own needs.)
9
9
 
10
10
  note: This license doesn't require source provision, but recommends it. All files derived from OFL files must remain licensed under the OFL.
11
11
 
12
12
  using:
13
- - FiraCode: https://github.com/tonsky/FiraCode/blob/master/LICENSE
14
- - Noto fonts: https://github.com/googlefonts/noto-fonts/blob/master/LICENSE
15
- - Fantasque Sans Mono: https://github.com/belluzj/fantasque-sans/blob/master/LICENSE.txt
13
+ FiraCode: https://github.com/tonsky/FiraCode/blob/master/LICENSE
14
+ Noto fonts: https://github.com/googlefonts/noto-fonts/blob/master/LICENSE
15
+ Fantasque Sans Mono: https://github.com/belluzj/fantasque-sans/blob/master/LICENSE.txt
16
16
 
17
17
  permissions:
18
18
  - private-use
@@ -9,9 +9,9 @@ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of
9
9
  note: OSL 3.0's author has <a href="https://rosenlaw.com/OSL3.0-explained.htm">provided an explanation</a> behind the creation of the license.
10
10
 
11
11
  using:
12
- - appserver.io: https://github.com/appserver-io/appserver/blob/master/LICENSE.txt
13
- - JsonMapper: https://github.com/cweiske/jsonmapper/blob/master/LICENSE
14
- - Restyaboard: https://github.com/RestyaPlatform/board/blob/master/LICENSE.txt
12
+ appserver.io: https://github.com/appserver-io/appserver/blob/master/LICENSE.txt
13
+ JsonMapper: https://github.com/cweiske/jsonmapper/blob/master/LICENSE
14
+ Restyaboard: https://github.com/RestyaPlatform/board/blob/master/LICENSE.txt
15
15
 
16
16
  permissions:
17
17
  - commercial-use
@@ -2,14 +2,14 @@
2
2
  title: PostgreSQL License
3
3
  spdx-id: PostgreSQL
4
4
 
5
- description: A very short, BSD-style license, used specifically for PostgreSQL.
5
+ description: A very short, BSD-style license, used specifically for PostgreSQL.
6
6
 
7
- how: To use it, say that it is The PostgreSQL License, and then substitute the copyright year and name of the copyright holder into the body of the license. Then put the license into a prominent file ("COPYRIGHT", "LICENSE" or "COPYING" are common names for this file) in your software distribution.
7
+ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders.
8
8
 
9
9
  using:
10
- - pgBadger: https://github.com/darold/pgbadger/blob/master/LICENSE
11
- - pgAdmin: https://github.com/postgres/pgadmin4/blob/master/LICENSE
12
- - .NET Access to PostgreSQL: https://github.com/npgsql/npgsql/blob/dev/LICENSE
10
+ pgBadger: https://github.com/darold/pgbadger/blob/master/LICENSE
11
+ pgAdmin: https://github.com/postgres/pgadmin4/blob/master/LICENSE
12
+ .NET Access to PostgreSQL: https://github.com/npgsql/npgsql/blob/main/LICENSE
13
13
 
14
14
  permissions:
15
15
  - commercial-use
@@ -8,9 +8,9 @@ description: A license with no conditions whatsoever which dedicates works to th
8
8
  how: Create a text file (typically named UNLICENSE or UNLICENSE.txt) in the root of your source code and copy the text of the license disclaimer into the file.
9
9
 
10
10
  using:
11
- - youtube-dl: https://github.com/rg3/youtube-dl/blob/master/LICENSE
12
- - kakoune: https://github.com/mawww/kakoune/blob/master/UNLICENSE
13
- - RDF.rb: https://github.com/ruby-rdf/rdf/blob/master/UNLICENSE
11
+ scoop: https://github.com/lukesampson/scoop/blob/master/LICENSE
12
+ kakoune: https://github.com/mawww/kakoune/blob/master/UNLICENSE
13
+ RDF.rb: https://github.com/ruby-rdf/rdf/blob/master/UNLICENSE
14
14
 
15
15
  permissions:
16
16
  - private-use
@@ -4,14 +4,14 @@ spdx-id: UPL-1.0
4
4
 
5
5
  description: A permissive, OSI and FSF approved, GPL compatible license, expressly allowing attribution with just a copyright notice and a short form link rather than the full text of the license. Includes an express grant of patent rights. Licensed works and modifications may be distributed under different terms and without source code, and the patent grant may also optionally be expanded to larger works to permit use as a contributor license agreement.
6
6
 
7
- how: Insert the license or a link to it along with a copyright notice into your source file(s), and/or create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license and your copyright notice into the file.
7
+ how: Insert the license or a link to it along with a copyright notice into your source file(s), and/or create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file, replacing [year] with the current year and [fullname] with the name (or names) of the copyright holders.
8
8
 
9
9
  note: It is recommended to add a link to the license and copyright notice at the top of each source file, example text can be found at https://oss.oracle.com/licenses/upl/.
10
10
 
11
11
  using:
12
- - Oracle Product Boxes for Vagrant: https://github.com/oracle/vagrant-boxes/blob/master/LICENSE
13
- - Oracle Product Images for Docker: https://github.com/oracle/docker-images/blob/master/LICENSE
14
- - Skater: https://github.com/oracle/Skater/blob/master/LICENSE
12
+ Oracle Product Images for Docker: https://github.com/oracle/docker-images/blob/master/LICENSE
13
+ Skater: https://github.com/oracle/Skater/blob/master/LICENSE
14
+ Soufflé: https://github.com/souffle-lang/souffle/blob/master/LICENSE
15
15
 
16
16
  permissions:
17
17
  - commercial-use
@@ -0,0 +1,111 @@
1
+ ---
2
+ title: Vim License
3
+ spdx-id: Vim
4
+
5
+ description: There are no restrictions on using or distributing an unmodified copy of the software. Parts of the software may also be distributed, but the license text must always be included. For modified versions a few restrictions apply. The license is GPL compatible, you may compile the software with GPL libraries and distribute it.
6
+
7
+ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [project] with the project name.
8
+
9
+ using:
10
+ Vim: https://github.com/vim/vim/blob/master/LICENSE
11
+ Pathogen: https://github.com/tpope/vim-pathogen/blob/master/LICENSE
12
+ vim-license-gen: https://github.com/othree/vim-license/blob/master/LICENSE
13
+
14
+ permissions:
15
+ - commercial-use
16
+ - modifications
17
+ - distribution
18
+ - private-use
19
+
20
+ conditions:
21
+ - include-copyright
22
+ - document-changes
23
+ - disclose-source
24
+ - same-license
25
+
26
+ limitations: []
27
+
28
+ ---
29
+
30
+ VIM LICENSE
31
+
32
+ I) There are no restrictions on distributing unmodified copies of [project]
33
+ except that they must include this license text. You can also distribute
34
+ unmodified parts of [project], likewise unrestricted except that they must
35
+ include this license text. You are also allowed to include executables
36
+ that you made from the unmodified [project] sources, plus your own usage
37
+ examples and Vim scripts.
38
+
39
+ II) It is allowed to distribute a modified (or extended) version of [project],
40
+ including executables and/or source code, when the following four
41
+ conditions are met:
42
+ 1) This license text must be included unmodified.
43
+ 2) The modified [project] must be distributed in one of the following five
44
+ ways:
45
+ a) If you make changes to [project] yourself, you must clearly describe
46
+ in the distribution how to contact you. When the maintainer asks
47
+ you (in any way) for a copy of the modified [project] you
48
+ distributed, you must make your changes, including source code,
49
+ available to the maintainer without fee. The maintainer reserves
50
+ the right to include your changes in the official version of
51
+ [project]. What the maintainer will do with your changes and under
52
+ what license they will be distributed is negotiable. If there has
53
+ been no negotiation then this license, or a later version, also
54
+ applies to your changes. The current maintainer is Bram Moolenaar
55
+ <Bram@vim.org>. If this changes it will be announced in appropriate
56
+ places (most likely vim.sf.net, www.vim.org and/or comp.editors).
57
+ When it is completely impossible to contact the maintainer, the
58
+ obligation to send him your changes ceases. Once the maintainer has
59
+ confirmed that he has received your changes they will not have to be
60
+ sent again.
61
+ b) If you have received a modified [project] that was distributed as
62
+ mentioned under a) you are allowed to further distribute it
63
+ unmodified, as mentioned at I). If you make additional changes the
64
+ text under a) applies to those changes.
65
+ c) Provide all the changes, including source code, with every copy of
66
+ the modified [project] you distribute. This may be done in the form
67
+ of a context diff. You can choose what license to use for new code
68
+ you add. The changes and their license must not restrict others
69
+ from making their own changes to the official version of [project].
70
+ d) When you have a modified [project] which includes changes as
71
+ mentioned under c), you can distribute it without the source code
72
+ for the changes if the following three conditions are met:
73
+ - The license that applies to the changes permits you to distribute
74
+ the changes to the Vim maintainer without fee or restriction, and
75
+ permits the Vim maintainer to include the changes in the official
76
+ version of [project] without fee or restriction.
77
+ - You keep the changes for at least three years after last
78
+ distributing the corresponding modified [project]. When the
79
+ maintainer or someone who you distributed the modified [project]
80
+ to asks you (in any way) for the changes within this period, you
81
+ must make them available to him.
82
+ - You clearly describe in the distribution how to contact you. This
83
+ contact information must remain valid for at least three years
84
+ after last distributing the corresponding modified [project], or
85
+ as long as possible.
86
+ e) When the GNU General Public License (GPL) applies to the changes,
87
+ you can distribute the modified [project] under the GNU GPL version
88
+ 2 or any later version.
89
+ 3) A message must be added, at least in the output of the ":version"
90
+ command and in the intro screen, such that the user of the modified
91
+ [project] is able to see that it was modified. When distributing as
92
+ mentioned under 2)e) adding the message is only required for as far as
93
+ this does not conflict with the license used for the changes.
94
+ 4) The contact information as required under 2)a) and 2)d) must not be
95
+ removed or changed, except that the person himself can make
96
+ corrections.
97
+
98
+ III) If you distribute a modified version of [project], you are encouraged to
99
+ use the Vim license for your changes and make them available to the
100
+ maintainer, including the source code. The preferred way to do this is
101
+ by e-mail or by uploading the files to a server and e-mailing the URL. If
102
+ the number of changes is small (e.g., a modified Makefile) e-mailing a
103
+ context diff will do. The e-mail address to be used is
104
+ <maintainer@vim.org>
105
+
106
+ IV) It is not allowed to remove this license from the distribution of the
107
+ [project] sources, parts of it or from a modified version. You may use
108
+ this license for previous [project] releases instead of the license that
109
+ they came with, at your option.
110
+
111
+
@@ -7,9 +7,9 @@ description: A short permissive license, compatible with GPL. Requires altered s
7
7
  how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders.
8
8
 
9
9
  using:
10
- - GLFW: https://github.com/glfw/glfw/blob/master/LICENSE.md
11
- - Portainer: https://github.com/portainer/portainer/blob/develop/LICENSE
12
- - TinyXML-2: https://github.com/leethomason/tinyxml2/blob/master/LICENSE.txt
10
+ GLFW: https://github.com/glfw/glfw/blob/master/LICENSE.md
11
+ Portainer: https://github.com/portainer/portainer/blob/develop/LICENSE
12
+ TinyXML-2: https://github.com/leethomason/tinyxml2/blob/master/LICENSE.txt
13
13
 
14
14
  permissions:
15
15
  - commercial-use
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <SPDXLicenseCollection xmlns="http://www.spdx.org/license">
3
+ <license isOsiApproved="true" licenseId="0BSD" name="BSD Zero Clause License">
4
+ <crossRefs>
5
+ <crossRef>http://landley.net/toybox/license.html</crossRef>
6
+ </crossRefs>
7
+ <text>
8
+ <copyrightText>
9
+ <p>Copyright (C) 2006 by Rob Landley &lt;rob@landley.net&gt;</p>
10
+ </copyrightText>
11
+
12
+ <p>Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is
13
+ hereby granted.</p>
14
+ <p>THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE
15
+ INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE
16
+ LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
17
+ FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
18
+ ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.</p>
19
+ </text>
20
+ </license>
21
+ </SPDXLicenseCollection>