1
0
mirror of https://github.com/github/choosealicense.com synced 2024-11-12 22:48:54 +01:00

Amend [G]GPL-3.0 how to apply and "hide" LGPL-3.0 from PR initiator

as it requires multiple steps not supported by GitHub license picker,
should be carried out by people who know exactly what they're doing.
This commit is contained in:
Mike Linksvayer 2019-12-24 13:51:15 -08:00
parent 3cc80f2602
commit 5419f535ce
4 changed files with 5 additions and 4 deletions

View File

@ -1,6 +1,7 @@
<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>
{% unless page.spdx-id == 'LGPL-3.0' %}
<h3 id="suggest-this-license">Suggest this license</h3>
<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>
@ -9,6 +10,7 @@
<div class="status-indicator"></div>
</div>
</div>
{% endunless %}
<div class="how-to-apply">
<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.
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.

View File

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

View File

@ -15,14 +15,14 @@ describe 'shown licenses' do
gpl-2.0
gpl-3.0
lgpl-2.1
lgpl-3.0
mit
mpl-2.0
unlicense
].freeze
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
shown_licenses.each do |license|