mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 21:00:10 +01:00
Merge pull request #484 from github/same-license--mod
same-license--variations
This commit is contained in:
commit
1e4f3a2ccf
@ -91,6 +91,8 @@ The license properties (rules) are stored as a bulleted list within the licenses
|
|||||||
* `disclose-source` - Source code must be made available when distributing the software.
|
* `disclose-source` - Source code must be made available when distributing the software.
|
||||||
* `network-use-disclose` - Users who interact with the software via network are given the right to receive a copy of the corresponding source code.
|
* `network-use-disclose` - Users who interact with the software via network are given the right to receive a copy of the corresponding source code.
|
||||||
* `same-license` - Modifications must be released under the same license when distributing the software. In some cases a similar or related license may be used.
|
* `same-license` - Modifications must be released under the same license when distributing the software. In some cases a similar or related license may be used.
|
||||||
|
* `same-license--file` - Modifications of existing files must be released under the same license when distributing the software. In some cases a similar or related license may be used.
|
||||||
|
* `same-license--library` - Modifications must be released under the same license when distributing the software. In some cases a similar or related license may be used, or this condition may not apply to works that use the software as a library.
|
||||||
|
|
||||||
#### Limitations
|
#### Limitations
|
||||||
|
|
||||||
|
@ -31,6 +31,12 @@ conditions:
|
|||||||
- description: Modifications must be released under the same license when distributing the software. In some cases a similar or related license may be used.
|
- description: Modifications must be released under the same license when distributing the software. In some cases a similar or related license may be used.
|
||||||
label: Same License
|
label: Same License
|
||||||
tag: same-license
|
tag: same-license
|
||||||
|
- description: Modifications of existing files must be released under the same license when distributing the software. In some cases a similar or related license may be used.
|
||||||
|
label: Same License (File)
|
||||||
|
tag: same-license--file
|
||||||
|
- description: Modifications must be released under the same license when distributing the software. In some cases a similar or related license may be used, or this condition may not apply to works that use the software as a library.
|
||||||
|
label: Same License (Library)
|
||||||
|
tag: same-license--library
|
||||||
|
|
||||||
limitations:
|
limitations:
|
||||||
- description: This license explicitly states that it does NOT grant you trademark rights, even though licenses without such a statement probably do not grant you any implicit trademark rights.
|
- description: This license explicitly states that it does NOT grant you trademark rights, even though licenses without such a statement probably do not grant you any implicit trademark rights.
|
||||||
|
@ -22,7 +22,7 @@ conditions:
|
|||||||
- include-copyright
|
- include-copyright
|
||||||
- disclose-source
|
- disclose-source
|
||||||
- document-changes
|
- document-changes
|
||||||
- same-license
|
- same-license--library
|
||||||
|
|
||||||
limitations:
|
limitations:
|
||||||
- liability
|
- liability
|
||||||
|
@ -23,7 +23,7 @@ conditions:
|
|||||||
- include-copyright
|
- include-copyright
|
||||||
- disclose-source
|
- disclose-source
|
||||||
- document-changes
|
- document-changes
|
||||||
- same-license
|
- same-license--library
|
||||||
|
|
||||||
limitations:
|
limitations:
|
||||||
- liability
|
- liability
|
||||||
|
@ -26,7 +26,7 @@ permissions:
|
|||||||
conditions:
|
conditions:
|
||||||
- disclose-source
|
- disclose-source
|
||||||
- include-copyright
|
- include-copyright
|
||||||
- same-license
|
- same-license--file
|
||||||
|
|
||||||
limitations:
|
limitations:
|
||||||
- liability
|
- liability
|
||||||
|
@ -17,7 +17,7 @@ permissions:
|
|||||||
conditions:
|
conditions:
|
||||||
- disclose-source
|
- disclose-source
|
||||||
- include-copyright
|
- include-copyright
|
||||||
- same-license
|
- same-license--file
|
||||||
|
|
||||||
limitations:
|
limitations:
|
||||||
- warranty
|
- warranty
|
||||||
|
12
appendix.md
12
appendix.md
@ -17,7 +17,7 @@ If you're here to choose a license, **[start from the home page](/)** to see a f
|
|||||||
{% for type in types %}
|
{% for type in types %}
|
||||||
{% assign rules = site.data.rules[type] | sort: "label" %}
|
{% assign rules = site.data.rules[type] | sort: "label" %}
|
||||||
{% for rule_obj in rules %}
|
{% for rule_obj in rules %}
|
||||||
{% if seen_tags contains rule_obj.tag %}
|
{% if seen_tags contains rule_obj.tag or rule_obj.tag contains '--' %}
|
||||||
{% continue %}
|
{% continue %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% capture seen_tags %}{{ seen_tags | append:rule_obj.tag }}{% endcapture %}
|
{% capture seen_tags %}{{ seen_tags | append:rule_obj.tag }}{% endcapture %}
|
||||||
@ -33,21 +33,23 @@ If you're here to choose a license, **[start from the home page](/)** to see a f
|
|||||||
{% assign rules = site.data.rules[type] | sort: "label" %}
|
{% assign rules = site.data.rules[type] | sort: "label" %}
|
||||||
{% for rule_obj in rules %}
|
{% for rule_obj in rules %}
|
||||||
{% assign req = rule_obj.tag %}
|
{% assign req = rule_obj.tag %}
|
||||||
{% if seen_tags contains req %}
|
{% if seen_tags contains req or rule_obj.tag contains '--' %}
|
||||||
{% continue %}
|
{% continue %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% capture seen_tags %}{{ seen_tags | append:req }}{% endcapture %}
|
{% capture seen_tags %}{{ seen_tags | append:req }}{% endcapture %}
|
||||||
{% assign seen_req = false %}
|
{% assign seen_req = false %}
|
||||||
{% for t in types %}
|
{% for t in types %}
|
||||||
{% if license[t] contains req %}
|
{% for r in license[t] %}
|
||||||
|
{% if r contains req %}
|
||||||
<td class="license-{{ t }}" style="text-align:center">
|
<td class="license-{{ t }}" style="text-align:center">
|
||||||
<span class="{{ req }}">
|
<span class="{{ r }}">
|
||||||
<span class="license-sprite {{ req }}"></span>
|
<span class="license-sprite {{ r }}"></span>
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
{% assign seen_req = true %}
|
{% assign seen_req = true %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endfor %}
|
||||||
{% unless seen_req %}
|
{% unless seen_req %}
|
||||||
<td></td>
|
<td></td>
|
||||||
{% endunless %}
|
{% endunless %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user