1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-22 12:50:24 +01:00

Merge pull request #709 from github/lgplv3complex

Amend [L]GPL-3.0 how to apply and "hide" LGPL-3.0 from PR initiator
This commit is contained in:
Mike Linksvayer 2019-12-26 12:01:09 -08:00 committed by GitHub
commit f09f485e92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 4 deletions

View File

@ -1,6 +1,7 @@
<div class="sidebar"> <div class="sidebar">
<a href="#" data-clipboard-target="#license-text" data-proofer-ignore="true" class="js-clipboard-button button">Copy license text to clipboard</a> <a href="#" data-clipboard-target="#license-text" data-proofer-ignore="true" class="js-clipboard-button button">Copy license text to clipboard</a>
{% unless page.spdx-id == 'LGPL-3.0' %}
<h3 id="suggest-this-license">Suggest this license</h3> <h3 id="suggest-this-license">Suggest this license</h3>
<div class="repository-suggestion"> <div class="repository-suggestion">
<p>Make a pull request to suggest this license for a project that is <a href="/no-permission/">not licensed</a>. Please be polite: see if a license has already been suggested, try to suggest a license fitting for the project's <a href="/community/">community</a>, and keep your communication with project maintainers friendly.</p> <p>Make a pull request to suggest this license for a project that is <a href="/no-permission/">not licensed</a>. Please be polite: see if a license has already been suggested, try to suggest a license fitting for the project's <a href="/community/">community</a>, and keep your communication with project maintainers friendly.</p>
@ -9,6 +10,7 @@
<div class="status-indicator"></div> <div class="status-indicator"></div>
</div> </div>
</div> </div>
{% endunless %}
<div class="how-to-apply"> <div class="how-to-apply">
<h3 id="how-to-apply">How to apply this license</h3> <h3 id="how-to-apply">How to apply this license</h3>

View File

@ -8,7 +8,7 @@ hidden: false
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. 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.
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. how: Create a text file in the root of your source code, typically named COPYING (a GNU convention). Then copy the text of the license into that file.
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. 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.

View File

@ -3,7 +3,6 @@ title: GNU Lesser General Public License v3.0
spdx-id: LGPL-3.0 spdx-id: LGPL-3.0
nickname: GNU LGPLv3 nickname: GNU LGPLv3
redirect_from: /licenses/lgpl-v3/ redirect_from: /licenses/lgpl-v3/
hidden: false
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. 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.

View File

@ -15,14 +15,14 @@ describe 'shown licenses' do
gpl-2.0 gpl-2.0
gpl-3.0 gpl-3.0
lgpl-2.1 lgpl-2.1
lgpl-3.0
mit mit
mpl-2.0 mpl-2.0
unlicense unlicense
].freeze ].freeze
it 'has the expected number of shown licenses' do it 'has the expected number of shown licenses' do
expect(shown_licenses.count).to eql(13) expect(shown_licenses.count).to eql(12)
expect(SHOWN_LICENSES.count).to eql(shown_licenses.count)
end end
shown_licenses.each do |license| shown_licenses.each do |license|