Skip to content

Latest commit

 

History

History
107 lines (99 loc) · 4.24 KB

appendix.md

File metadata and controls

107 lines (99 loc) · 4.24 KB
layout permalink title class
default
/appendix/
Appendix
license-types

For reference, here is a table of every license described in the choosealicense.com repository.

If you're here to choose a license, start from the home page to see a few licenses that will work for most cases.

{% assign types = "permissions|conditions|limitations" | split: "|" %} {% assign seen_tags = '' %} {% for type in types %} {% assign rules = site.data.rules[type] | sort: "label" %} {% for rule_obj in rules %} {% if seen_tags contains rule_obj.tag or rule_obj.tag contains '--' %} {% continue %} {% endif %} {% capture seen_tags %}{{ seen_tags | append:rule_obj.tag }}{% endcapture %} {% endfor %} {% endfor %} {% assign licenses = site.licenses | sort: "path" %} {% for license in licenses %} {% assign seen_tags = '' %} {% for type in types %} {% assign rules = site.data.rules[type] | sort: "label" %} {% for rule_obj in rules %} {% assign req = rule_obj.tag %} {% if seen_tags contains req or rule_obj.tag contains '--' %} {% continue %} {% endif %} {% capture seen_tags %}{{ seen_tags | append:req }}{% endcapture %} {% assign seen_req = false %} {% for t in types %} {% for r in license[t] %} {% if r contains req %} {% assign seen_req = true %} {% endif %} {% endfor %} {% endfor %} {% unless seen_req %} {% endunless %} {% endfor %} {% endfor %} {% endfor %}
License{{ rule_obj.label }}
{{ license.title }} {% if r contains "--" %} {% assign lite = " lite" %} {% else %} {% assign lite = "" %} {% endif %}

Legend

Open source licenses grant to the public permissions to do things with licensed works which copyright or other "intellectual property" laws might otherwise disallow.

Most open source licenses' grants of permissions are subject to compliance with conditions.

Most open source licenses also have limitations that usually disclaim warranty and liability, and sometimes expressly exclude patents or trademarks from licenses' grants.

{% assign seen_tags = '' %} {% for type in types %}

{% if type == "permissions" %}Permissions{% elsif type == "conditions" %}Conditions{% else %}Limitations{% endif %}

{% assign rules = site.data.rules[type] | sort: "label" %} {% for rule_obj in rules %} {% assign req = rule_obj.tag %} {% if seen_tags contains req %} {% continue %} {% endif %}
{{ rule_obj.label }}
{% capture seen_tags %}{{ seen_tags | append:req }}{% endcapture %} {% for t in types %} {% assign rs = site.data.rules[t] | sort: "label" %} {% for r in rs %} {% if r.tag == req %} {% if r.tag contains "--" %} {% assign lite = " lite" %} {% else %} {% assign lite = "" %} {% endif %}
{{ r.description }}
{% endif %} {% endfor %} {% endfor %} {% endfor %}
{% endfor %}