mirror of
https://github.com/github/choosealicense.com
synced 2024-12-21 20:30:10 +01:00
SPDX license list 3.0 uses -or-later and -only over + and no modifier
Reflect that in sidebar instructions for *GPL as seen e.g. at https://choosealicense.com/licenses/agpl-3.0/
This commit is contained in:
parent
47920250b2
commit
f3988a7faa
@ -1,7 +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>
|
||||
|
||||
|
||||
<div class="how-to-apply">
|
||||
<h3>How to apply this license</h3>
|
||||
<p>
|
||||
@ -14,7 +14,7 @@
|
||||
{% endif %}
|
||||
{% assign xgpl = false %}
|
||||
{% if page.spdx-id contains 'GPL' %}{% assign xgpl = true %}{% endif %}
|
||||
<p class="note"><strong>Optional: </strong> Add <strong><code>{{ page.spdx-id }}</code>{% if xgpl %}+{% endif %}</strong>{% if xgpl %} (or <strong><code>{{ page.spdx-id }}</code></strong> to disallow future versions){% endif %} to your project's package description, if applicable (e.g., <a href="https://docs.npmjs.com/files/package.json#license">Node.js</a>, <a href="http://guides.rubygems.org/specification-reference/#license=">Ruby</a>, and <a href="http://doc.crates.io/manifest.html#package-metadata">Rust</a>). This will ensure the license is displayed in package directories.</p>
|
||||
<p class="note"><strong>Optional: </strong> Add <strong><code>{{ page.spdx-id }}{% if xgpl %}-or-later{% endif %}</code></strong>{% if xgpl %} (or <strong><code>{{ page.spdx-id }}-only</code></strong> to disallow future versions){% endif %} to your project's package description, if applicable (e.g., <a href="https://docs.npmjs.com/files/package.json#license">Node.js</a>, <a href="http://guides.rubygems.org/specification-reference/#license=">Ruby</a>, and <a href="http://doc.crates.io/manifest.html#package-metadata">Rust</a>). This will ensure the license is displayed in package directories.</p>
|
||||
</div>
|
||||
|
||||
{% if page.source %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user