licensee 9.10.1 → 9.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/licensee/commands/diff.rb +2 -7
- data/lib/licensee/content_helper.rb +169 -78
- data/lib/licensee/license.rb +5 -4
- data/lib/licensee/license_field.rb +1 -1
- data/lib/licensee/matchers/cabal.rb +1 -1
- data/lib/licensee/matchers/cargo.rb +1 -1
- data/lib/licensee/matchers/copyright.rb +2 -2
- data/lib/licensee/matchers/cran.rb +3 -3
- data/lib/licensee/matchers/dist_zilla.rb +1 -1
- data/lib/licensee/matchers/gemspec.rb +5 -5
- data/lib/licensee/matchers/matcher.rb +1 -1
- data/lib/licensee/matchers/npm_bower.rb +1 -1
- data/lib/licensee/matchers/reference.rb +1 -1
- data/lib/licensee/matchers/spdx.rb +1 -1
- data/lib/licensee/project_files/license_file.rb +7 -7
- data/lib/licensee/project_files/readme_file.rb +3 -3
- data/lib/licensee/projects/github_project.rb +1 -1
- data/lib/licensee/version.rb +1 -1
- data/spec/fixtures/detect.json +2 -2
- data/spec/fixtures/license-hashes.json +36 -0
- data/spec/licensee/commands/detect_spec.rb +1 -1
- data/spec/licensee/content_helper_spec.rb +131 -32
- data/spec/licensee/license_spec.rb +1 -1
- data/spec/licensee/matchers/dice_matcher_spec.rb +2 -2
- data/spec/licensee/project_files/license_file_spec.rb +1 -1
- data/spec/spec_helper.rb +10 -5
- data/spec/vendored_license_spec.rb +19 -2
- data/vendor/choosealicense.com/_data/meta.yml +0 -4
- data/vendor/choosealicense.com/_licenses/afl-3.0.txt +0 -1
- data/vendor/choosealicense.com/_licenses/agpl-3.0.txt +0 -1
- data/vendor/choosealicense.com/_licenses/apache-2.0.txt +0 -1
- data/vendor/choosealicense.com/_licenses/artistic-2.0.txt +0 -1
- data/vendor/choosealicense.com/_licenses/bsd-2-clause.txt +8 -6
- data/vendor/choosealicense.com/_licenses/bsd-3-clause-clear.txt +0 -1
- data/vendor/choosealicense.com/_licenses/bsd-3-clause.txt +11 -9
- data/vendor/choosealicense.com/_licenses/bsl-1.0.txt +0 -1
- data/vendor/choosealicense.com/_licenses/cc-by-4.0.txt +0 -1
- data/vendor/choosealicense.com/_licenses/cc-by-sa-4.0.txt +0 -1
- data/vendor/choosealicense.com/_licenses/cc0-1.0.txt +0 -1
- data/vendor/choosealicense.com/_licenses/ecl-2.0.txt +0 -1
- data/vendor/choosealicense.com/_licenses/epl-1.0.txt +0 -1
- data/vendor/choosealicense.com/_licenses/epl-2.0.txt +0 -1
- data/vendor/choosealicense.com/_licenses/eupl-1.1.txt +0 -1
- data/vendor/choosealicense.com/_licenses/eupl-1.2.txt +0 -1
- data/vendor/choosealicense.com/_licenses/gpl-2.0.txt +0 -1
- data/vendor/choosealicense.com/_licenses/gpl-3.0.txt +1 -2
- data/vendor/choosealicense.com/_licenses/isc.txt +0 -1
- data/vendor/choosealicense.com/_licenses/lgpl-2.1.txt +0 -1
- data/vendor/choosealicense.com/_licenses/lgpl-3.0.txt +1 -2
- data/vendor/choosealicense.com/_licenses/lppl-1.3c.txt +0 -1
- data/vendor/choosealicense.com/_licenses/mit.txt +0 -1
- data/vendor/choosealicense.com/_licenses/mpl-2.0.txt +0 -1
- data/vendor/choosealicense.com/_licenses/ms-pl.txt +0 -1
- data/vendor/choosealicense.com/_licenses/ms-rl.txt +0 -1
- data/vendor/choosealicense.com/_licenses/ncsa.txt +0 -1
- data/vendor/choosealicense.com/_licenses/ofl-1.1.txt +0 -1
- data/vendor/choosealicense.com/_licenses/osl-3.0.txt +0 -1
- data/vendor/choosealicense.com/_licenses/postgresql.txt +2 -3
- data/vendor/choosealicense.com/_licenses/unlicense.txt +0 -1
- data/vendor/choosealicense.com/_licenses/upl-1.0.txt +0 -1
- data/vendor/choosealicense.com/_licenses/wtfpl.txt +0 -1
- data/vendor/choosealicense.com/_licenses/zlib.txt +0 -1
- metadata +4 -4
data/spec/spec_helper.rb
CHANGED
@@ -106,18 +106,19 @@ end
|
|
106
106
|
RSpec::Matchers.define :be_detected_as do |expected|
|
107
107
|
match do |actual|
|
108
108
|
@expected_as_array = [expected.content_normalized(wrap: 80)]
|
109
|
-
license_file = Licensee::ProjectFiles::LicenseFile.new(actual, 'LICENSE')
|
110
|
-
@actual = license_file.content_normalized(wrap: 80)
|
111
|
-
return false unless license_file.license
|
109
|
+
@license_file = Licensee::ProjectFiles::LicenseFile.new(actual, 'LICENSE')
|
110
|
+
@actual = @license_file.content_normalized(wrap: 80)
|
111
|
+
return false unless @license_file.license
|
112
112
|
|
113
|
-
values_match? expected, license_file.license
|
113
|
+
values_match? expected, @license_file.license
|
114
114
|
end
|
115
115
|
|
116
116
|
failure_message do |actual|
|
117
117
|
license_file = Licensee::ProjectFiles::LicenseFile.new(actual, 'LICENSE')
|
118
118
|
license_name = expected.meta['spdx-id'] || expected.key
|
119
119
|
similarity = expected.similarity(license_file)
|
120
|
-
|
120
|
+
content = @license_file.content
|
121
|
+
msg = "Expected '#{content}' to match the #{license_name} license"
|
121
122
|
msg << " (#{format_percent(similarity)} similarity"
|
122
123
|
msg << "using the #{license_file.matcher} matcher)"
|
123
124
|
end
|
@@ -133,3 +134,7 @@ RSpec::Matchers.define :be_detected_as do |expected|
|
|
133
134
|
|
134
135
|
diffable
|
135
136
|
end
|
137
|
+
|
138
|
+
def license_hashes
|
139
|
+
@license_hashes ||= JSON.parse(fixture_contents('license-hashes.json'))
|
140
|
+
end
|
@@ -13,12 +13,26 @@ RSpec.describe 'vendored licenses' do
|
|
13
13
|
context "the #{license.name} license" do
|
14
14
|
let(:content_with_copyright) { sub_copyright_info(license) }
|
15
15
|
let(:content) { content_with_copyright }
|
16
|
+
let(:expected_hash) { license_hashes[license.key] }
|
17
|
+
let(:hash_change_msg) do
|
18
|
+
msg = 'Did you update a vendored license? Run script/hash-licenses. '
|
19
|
+
msg << 'Changes in license hashes must be a MINOR (or MAJOR) bump.'
|
20
|
+
msg
|
21
|
+
end
|
16
22
|
|
17
23
|
it 'detects the license' do
|
18
24
|
skip if license.key == 'ncsa'
|
19
25
|
expect(content).to be_detected_as(license)
|
20
26
|
end
|
21
27
|
|
28
|
+
it 'has a cached content hash' do
|
29
|
+
expect(expected_hash).to_not be_nil, hash_change_msg
|
30
|
+
end
|
31
|
+
|
32
|
+
it 'matches the expected content hash' do
|
33
|
+
expect(license.content_hash).to eql(expected_hash), hash_change_msg
|
34
|
+
end
|
35
|
+
|
22
36
|
context 'when modified' do
|
23
37
|
let(:line_length) { 60 }
|
24
38
|
let(:random_words) { 75 }
|
@@ -30,11 +44,14 @@ RSpec.describe 'vendored licenses' do
|
|
30
44
|
end
|
31
45
|
|
32
46
|
context 'without the title' do
|
33
|
-
let(:
|
47
|
+
let(:content_without_title) do
|
48
|
+
license_file.send :strip_title
|
49
|
+
license_file.send :_content
|
50
|
+
end
|
34
51
|
|
35
52
|
it 'detects the license' do
|
36
53
|
skip if license.key == 'ncsa'
|
37
|
-
expect(
|
54
|
+
expect(content_without_title).to be_detected_as(license)
|
38
55
|
end
|
39
56
|
end
|
40
57
|
|
@@ -9,10 +9,6 @@
|
|
9
9
|
description: Short identifier specified by https://spdx.org/licenses/
|
10
10
|
required: true
|
11
11
|
|
12
|
-
- name: source
|
13
|
-
description: The URL to the license source text
|
14
|
-
required: true
|
15
|
-
|
16
12
|
- name: description
|
17
13
|
description: A human-readable description of the license
|
18
14
|
required: true
|
@@ -1,7 +1,6 @@
|
|
1
1
|
---
|
2
2
|
title: Academic Free License v3.0
|
3
3
|
spdx-id: AFL-3.0
|
4
|
-
source: https://opensource.org/licenses/afl-3.0
|
5
4
|
|
6
5
|
description: The Academic Free License is a variant of the Open Software License that does not require that the source code of derivative works be disclosed. It contains explicit copyright and patent grants and reserves trademark rights in the author.
|
7
6
|
|
@@ -3,7 +3,6 @@ title: GNU Affero General Public License v3.0
|
|
3
3
|
spdx-id: AGPL-3.0
|
4
4
|
nickname: GNU AGPLv3
|
5
5
|
redirect_from: /licenses/agpl/
|
6
|
-
source: https://www.gnu.org/licenses/agpl-3.0.txt
|
7
6
|
hidden: false
|
8
7
|
|
9
8
|
description: Permissions of this strongest 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. When a modified version is used to provide a service over a network, the complete source code of the modified version must be made available.
|
@@ -2,7 +2,6 @@
|
|
2
2
|
title: Artistic License 2.0
|
3
3
|
spdx-id: Artistic-2.0
|
4
4
|
redirect_from: /licenses/artistic/
|
5
|
-
source: https://spdx.org/licenses/Artistic-2.0.html
|
6
5
|
|
7
6
|
description: 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.
|
8
7
|
|
@@ -2,7 +2,6 @@
|
|
2
2
|
title: BSD 2-Clause "Simplified" License
|
3
3
|
spdx-id: BSD-2-Clause
|
4
4
|
redirect_from: /licenses/bsd/
|
5
|
-
source: https://opensource.org/licenses/BSD-2-Clause
|
6
5
|
hidden: false
|
7
6
|
|
8
7
|
description: A permissive license that comes in two variants, the <a href="/licenses/bsd-2-clause/">BSD 2-Clause</a> and <a href="/licenses/bsd-3-clause/">BSD 3-Clause</a>. Both have very minute differences to the MIT license.
|
@@ -10,6 +9,9 @@ description: A permissive license that comes in two variants, the <a href="/lice
|
|
10
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.
|
11
10
|
|
12
11
|
using:
|
12
|
+
- go-redis: https://github.com/go-redis/redis/blob/master/LICENSE
|
13
|
+
- Homebrew: https://github.com/Homebrew/brew/blob/master/LICENSE.txt
|
14
|
+
- Pony: https://github.com/ponylang/ponyc/blob/master/LICENSE
|
13
15
|
|
14
16
|
permissions:
|
15
17
|
- commercial-use
|
@@ -34,12 +36,12 @@ All rights reserved.
|
|
34
36
|
Redistribution and use in source and binary forms, with or without
|
35
37
|
modification, are permitted provided that the following conditions are met:
|
36
38
|
|
37
|
-
|
38
|
-
|
39
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
40
|
+
list of conditions and the following disclaimer.
|
39
41
|
|
40
|
-
|
41
|
-
|
42
|
-
|
42
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
43
|
+
this list of conditions and the following disclaimer in the documentation
|
44
|
+
and/or other materials provided with the distribution.
|
43
45
|
|
44
46
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
45
47
|
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
@@ -1,7 +1,6 @@
|
|
1
1
|
---
|
2
2
|
title: BSD 3-Clause Clear License
|
3
3
|
spdx-id: BSD-3-Clause-Clear
|
4
|
-
source: https://spdx.org/licenses/BSD-3-Clause-Clear.html
|
5
4
|
|
6
5
|
description: A variant of the <a href="/licenses/bsd-3-clause/">BSD 3-Clause License</a> that explicitly does not grant any patent rights.
|
7
6
|
|
@@ -1,7 +1,6 @@
|
|
1
1
|
---
|
2
2
|
title: BSD 3-Clause "New" or "Revised" License
|
3
3
|
spdx-id: BSD-3-Clause
|
4
|
-
source: https://opensource.org/licenses/BSD-3-Clause
|
5
4
|
hidden: false
|
6
5
|
|
7
6
|
description: A permissive license similar to the <a href="/licenses/bsd-2-clause/">BSD 2-Clause License</a>, but with a 3rd clause that prohibits others from using the name of the project or its contributors to promote derived products without written consent.
|
@@ -9,6 +8,9 @@ description: A permissive license similar to the <a href="/licenses/bsd-2-clause
|
|
9
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.
|
10
9
|
|
11
10
|
using:
|
11
|
+
- d3: https://github.com/d3/d3/blob/master/LICENSE
|
12
|
+
- LevelDB: https://github.com/google/leveldb/blob/master/LICENSE
|
13
|
+
- Quill: https://github.com/quilljs/quill/blob/develop/LICENSE
|
12
14
|
|
13
15
|
permissions:
|
14
16
|
- commercial-use
|
@@ -33,16 +35,16 @@ All rights reserved.
|
|
33
35
|
Redistribution and use in source and binary forms, with or without
|
34
36
|
modification, are permitted provided that the following conditions are met:
|
35
37
|
|
36
|
-
|
37
|
-
|
38
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
39
|
+
list of conditions and the following disclaimer.
|
38
40
|
|
39
|
-
|
40
|
-
|
41
|
-
|
41
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
42
|
+
this list of conditions and the following disclaimer in the documentation
|
43
|
+
and/or other materials provided with the distribution.
|
42
44
|
|
43
|
-
|
44
|
-
|
45
|
-
|
45
|
+
3. Neither the name of the copyright holder nor the names of its
|
46
|
+
contributors may be used to endorse or promote products derived from
|
47
|
+
this software without specific prior written permission.
|
46
48
|
|
47
49
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
48
50
|
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
@@ -1,7 +1,6 @@
|
|
1
1
|
---
|
2
2
|
title: Boost Software License 1.0
|
3
3
|
spdx-id: BSL-1.0
|
4
|
-
source: https://opensource.org/licenses/BSL-1.0
|
5
4
|
|
6
5
|
description: A simple permissive license only requiring preservation of copyright and license notices for source (and not binary) distribution. Licensed works, modifications, and larger works may be distributed under different terms and without source code.
|
7
6
|
|
@@ -1,7 +1,6 @@
|
|
1
1
|
---
|
2
2
|
title: Creative Commons Attribution 4.0 International
|
3
3
|
spdx-id: CC-BY-4.0
|
4
|
-
source: https://creativecommons.org/licenses/by/4.0/legalcode.txt
|
5
4
|
|
6
5
|
description: Permits almost any use subject to providing credit and license notice. Frequently used for media assets and educational materials. The most common license for Open Access scientific publications. Not recommended for software.
|
7
6
|
|
@@ -1,7 +1,6 @@
|
|
1
1
|
---
|
2
2
|
title: Creative Commons Attribution Share Alike 4.0 International
|
3
3
|
spdx-id: CC-BY-SA-4.0
|
4
|
-
source: https://creativecommons.org/licenses/by-sa/4.0/legalcode.txt
|
5
4
|
|
6
5
|
description: Similar to <a href='/licenses/cc-by-4.0/'>CC-BY-4.0</a> but requires derivatives be distributed under the same or a similar, <a href="https://creativecommons.org/compatiblelicenses/">compatible</a> license. Frequently used for media assets and educational materials. A previous version is the default license for Wikipedia and other Wikimedia projects. Not recommended for software.
|
7
6
|
|
@@ -2,7 +2,6 @@
|
|
2
2
|
title: Creative Commons Zero v1.0 Universal
|
3
3
|
spdx-id: CC0-1.0
|
4
4
|
redirect_from: /licenses/cc0/
|
5
|
-
source: https://creativecommons.org/publicdomain/zero/1.0/
|
6
5
|
|
7
6
|
description: The <a href="https://creativecommons.org/publicdomain/zero/1.0/">Creative Commons CC0 Public Domain Dedication</a> waives copyright interest in a work you've created and dedicates it to the world-wide public domain. Use CC0 to opt out of copyright entirely and ensure your work has the widest reach. As with the Unlicense and typical software licenses, CC0 disclaims warranties. CC0 is very similar to the Unlicense.
|
8
7
|
|
@@ -1,7 +1,6 @@
|
|
1
1
|
---
|
2
2
|
title: Educational Community License v2.0
|
3
3
|
spdx-id: ECL-2.0
|
4
|
-
source: https://opensource.org/licenses/ECL-2.0
|
5
4
|
|
6
5
|
description: The Educational Community License version 2.0 ("ECL") consists of the Apache 2.0 license, modified to change the scope of the patent grant in section 3 to be specific to the needs of the education communities using this license.
|
7
6
|
|
@@ -1,7 +1,6 @@
|
|
1
1
|
---
|
2
2
|
title: Eclipse Public License 1.0
|
3
3
|
spdx-id: EPL-1.0
|
4
|
-
source: https://www.eclipse.org/legal/epl-v10.html
|
5
4
|
|
6
5
|
description: 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.
|
7
6
|
|
@@ -2,7 +2,6 @@
|
|
2
2
|
title: Eclipse Public License 2.0
|
3
3
|
spdx-id: EPL-2.0
|
4
4
|
redirect_from: /licenses/eclipse/
|
5
|
-
source: https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt
|
6
5
|
hidden: false
|
7
6
|
|
8
7
|
description: 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.
|
@@ -2,7 +2,6 @@
|
|
2
2
|
title: European Union Public License 1.1
|
3
3
|
spdx-id: EUPL-1.1
|
4
4
|
redirect_from: /licenses/eupl-v1.1/
|
5
|
-
source: https://joinup.ec.europa.eu/page/eupl-text-11-12
|
6
5
|
|
7
6
|
description: The “European Union Public Licence” (EUPL) is a copyleft free/open source software license created on the initiative of and approved by the European Commission in 22 official languages of the European Union.
|
8
7
|
|
@@ -1,7 +1,6 @@
|
|
1
1
|
---
|
2
2
|
title: European Union Public License 1.2
|
3
3
|
spdx-id: EUPL-1.2
|
4
|
-
source: https://eur-lex.europa.eu/legal-content/TXT/?uri=CELEX%3A32017D0863
|
5
4
|
|
6
5
|
description: The European Union Public Licence (EUPL) is a copyleft free/open source software license created on the initiative of and approved by the European Commission in 22 official languages of the European Union.
|
7
6
|
|
@@ -3,7 +3,6 @@ title: GNU General Public License v2.0
|
|
3
3
|
spdx-id: GPL-2.0
|
4
4
|
nickname: GNU GPLv2
|
5
5
|
redirect_from: /licenses/gpl-v2/
|
6
|
-
source: https://www.gnu.org/licenses/gpl-2.0.txt
|
7
6
|
hidden: false
|
8
7
|
|
9
8
|
description: The GNU 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 GNU GPL, each with different requirements.
|
@@ -3,13 +3,12 @@ title: GNU General Public License v3.0
|
|
3
3
|
spdx-id: GPL-3.0
|
4
4
|
nickname: GNU GPLv3
|
5
5
|
redirect_from: /licenses/gpl-v3/
|
6
|
-
source: https://www.gnu.org/licenses/gpl-3.0.txt
|
7
6
|
featured: true
|
8
7
|
hidden: false
|
9
8
|
|
10
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.
|
11
10
|
|
12
|
-
how: Create a text file
|
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.
|
13
12
|
|
14
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.
|
15
14
|
|
@@ -1,7 +1,6 @@
|
|
1
1
|
---
|
2
2
|
title: ISC License
|
3
3
|
spdx-id: ISC
|
4
|
-
source: https://opensource.org/licenses/isc-license
|
5
4
|
|
6
5
|
description: A permissive license lets people do anything with your code with proper attribution and without warranty. The ISC license is functionally equivalent to the <a href="/licenses/bsd-2-clause/">BSD 2-Clause</a> and <a href="/licenses/mit/">MIT</a> licenses, removing some language that is no longer necessary.
|
7
6
|
|
@@ -3,7 +3,6 @@ title: GNU Lesser General Public License v2.1
|
|
3
3
|
spdx-id: LGPL-2.1
|
4
4
|
nickname: GNU LGPLv2.1
|
5
5
|
redirect_from: /licenses/lgpl-v2.1/
|
6
|
-
source: https://www.gnu.org/licenses/lgpl-2.1.txt
|
7
6
|
hidden: false
|
8
7
|
|
9
8
|
description: Primarily used for software libraries, the GNU 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 GNU LGPL.
|
@@ -3,12 +3,11 @@ 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
|
-
source: https://www.gnu.org/licenses/lgpl-3.0.txt
|
7
6
|
hidden: false
|
8
7
|
|
9
8
|
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.
|
10
9
|
|
11
|
-
how: This license is an additional set of permissions to the <a href="/licenses/gpl-3.0">GNU GPLv3</a> license. Follow the instructions to apply the GNU GPLv3. Then add
|
10
|
+
how: This license is an additional set of permissions to the <a href="/licenses/gpl-3.0">GNU GPLv3</a> license. Follow the instructions to apply the GNU GPLv3, in the root of your source code. Then add another file named COPYING.LESSER and copy the text.
|
12
11
|
|
13
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 <a href="/licenses/gpl-3.0">GNU GPLv3 license</a>. Insert the word “Lesser” before “General” in all three places in the boilerplate notice to make sure that you refer to the GNU LGPLv3 and not the GNU GPLv3.
|
14
13
|
|
@@ -1,7 +1,6 @@
|
|
1
1
|
---
|
2
2
|
title: LaTeX Project Public License v1.3c
|
3
3
|
spdx-id: LPPL-1.3c
|
4
|
-
source: https://latex-project.org/lppl/lppl-1-3c.html
|
5
4
|
|
6
5
|
description: The LaTeX Project Public License (LPPL) is the primary license under which the LaTeX kernel and the base LaTeX packages are distributed.
|
7
6
|
|
@@ -2,7 +2,6 @@
|
|
2
2
|
title: Mozilla Public License 2.0
|
3
3
|
spdx-id: MPL-2.0
|
4
4
|
redirect_from: /licenses/mozilla/
|
5
|
-
source: https://www.mozilla.org/media/MPL/2.0/index.txt
|
6
5
|
hidden: false
|
7
6
|
|
8
7
|
description: Permissions of this weak copyleft license are conditioned on making available source code of licensed files and modifications of those files under the same license (or in certain cases, one of the GNU licenses). Copyright and license notices must be preserved. Contributors provide an express grant of patent rights. However, a larger work using the licensed work may be distributed under different terms and without source code for files added in the larger work.
|
@@ -1,7 +1,6 @@
|
|
1
1
|
---
|
2
2
|
title: Microsoft Reciprocal License
|
3
3
|
spdx-id: MS-RL
|
4
|
-
source: https://opensource.org/licenses/ms-rl
|
5
4
|
|
6
5
|
description: An open source license with a patent grant similar to the <a href="/licenses/ms-pl/">Microsoft Public License</a>, with the additional condition that any source code for any derived file be provided under this license.
|
7
6
|
|
@@ -2,7 +2,6 @@
|
|
2
2
|
title: University of Illinois/NCSA Open Source License
|
3
3
|
spdx-id: NCSA
|
4
4
|
nickname: UIUC/NCSA
|
5
|
-
source: https://opensource.org/licenses/NCSA
|
6
5
|
|
7
6
|
description: The University of Illinois/NCSA Open Source License, or UIUC license, is a permissive free software license, based on the <a href="/licenses/mit/">MIT/X11 license</a> and the <a href="/licenses/bsd-3-clause/">BSD 3-clause License</a>. Its conditions include requiring the preservation of copyright and license notices both in source and in binary distributions and the prohibition of using the names of the authors or the project organization to promote or endorse derived products.
|
8
7
|
|
@@ -2,7 +2,6 @@
|
|
2
2
|
title: SIL Open Font License 1.1
|
3
3
|
spdx-id: OFL-1.1
|
4
4
|
redirect_from: /licenses/ofl/
|
5
|
-
source: http://scripts.sil.org/OFL_web
|
6
5
|
|
7
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.
|
8
7
|
|
@@ -1,7 +1,6 @@
|
|
1
1
|
---
|
2
2
|
title: Open Software License 3.0
|
3
3
|
spdx-id: OSL-3.0
|
4
|
-
source: https://opensource.org/licenses/OSL-3.0
|
5
4
|
|
6
5
|
description: OSL 3.0 is a copyleft license that does not require reciprocal licensing on linked works. It also provides an express grant of patent rights from contributors to users, with a termination clause triggered if a user files a patent infringement lawsuit.
|
7
6
|
|
@@ -1,14 +1,13 @@
|
|
1
1
|
---
|
2
2
|
title: PostgreSQL License
|
3
3
|
spdx-id: PostgreSQL
|
4
|
-
source: https://opensource.org/licenses/PostgreSQL
|
5
4
|
|
6
5
|
description: A very short, BSD-style license, used specifically for PostgreSQL.
|
7
6
|
|
8
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.
|
9
8
|
|
10
9
|
using:
|
11
|
-
- pgBadger: https://github.com/
|
10
|
+
- pgBadger: https://github.com/darold/pgbadger/blob/master/LICENSE
|
12
11
|
- pgAdmin: https://github.com/postgres/pgadmin4/blob/master/LICENSE
|
13
12
|
- .NET Access to PostgreSQL: https://github.com/npgsql/npgsql/blob/dev/LICENSE
|
14
13
|
|
@@ -27,7 +26,7 @@ limitations:
|
|
27
26
|
|
28
27
|
---
|
29
28
|
|
30
|
-
PostgreSQL
|
29
|
+
PostgreSQL License
|
31
30
|
|
32
31
|
Copyright (c) [year], [fullname]
|
33
32
|
|
@@ -1,7 +1,6 @@
|
|
1
1
|
---
|
2
2
|
title: The Unlicense
|
3
3
|
spdx-id: Unlicense
|
4
|
-
source: https://unlicense.org/UNLICENSE
|
5
4
|
hidden: false
|
6
5
|
|
7
6
|
description: A license with no conditions whatsoever which dedicates works to the public domain. Unlicensed works, modifications, and larger works may be distributed under different terms and without source code.
|