1
0
mirror of https://github.com/github/choosealicense.com synced 2024-07-01 16:13:02 +02:00

Merge branch 'gh-pages' into patch-1

This commit is contained in:
Mike Linksvayer 2022-03-15 09:13:43 -07:00 committed by GitHub
commit 93520454c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
55 changed files with 600 additions and 268 deletions

View File

@ -1,6 +1,10 @@
name: Build and Test
on: [push, pull_request]
on:
push:
branches: [gh-pages]
pull_request:
branches: [gh-pages]
jobs:
test:
@ -9,14 +13,14 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7.1
- name: Install dependencies
run: ./script/bootstrap
ruby-version: 2.7.3
bundler-cache: true
- name: Run tests
run: ./script/cibuild

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "license-list-XML"]
path = license-list-XML
url = https://github.com/spdx/license-list-XML.git

6
404.md Normal file
View File

@ -0,0 +1,6 @@
---
title: 404 Not Found
---
Sorry! We could not find the page you were looking for.
If you were trying to see a license, go to [licenses](/licenses).

View File

@ -1,4 +1,4 @@
# How to Contribute
# How to contribute
We love Pull Requests! Your contributions help make ChooseALicense.com great.
@ -6,7 +6,7 @@ Contributions to this project are [released](https://help.github.com/articles/gi
Please note that this project is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.
## Getting Started
## Getting started
So you want to contribute to ChooseALicense. Great! We welcome any help we can
get. But first, please make sure you understand what
@ -34,7 +34,7 @@ If your proposed license meets the above criteria, here's a few other things to
* The text of the license should match the corresponding text found in [spdx/license-list-data](https://github.com/spdx/license-list-data/blob/master/text/). If there are errors there, please fix them in [spdx/license-list-XML](https://github.com/spdx/license-list-XML) (from which the plain text version is generated) so as to minimize license text variation and make it easier for choosealicense.com to eventually consume license texts directly from SPDX.
* The body of the file should be the text of the license in plain text.
## Making Changes
## Making changes
The easiest way to make a change is to simply edit a file from your browser.
When you click the edit button, it will fork the repository under your account.

View File

@ -3,11 +3,14 @@
source 'https://rubygems.org'
require 'json'
require 'open-uri'
versions = JSON.parse(open('https://pages.github.com/versions.json').read)
require 'net/http'
versions = JSON.parse(Net::HTTP.get(URI('https://pages.github.com/versions.json')))
gem 'github-pages', versions['github-pages']
# https://github.com/jekyll/jekyll/issues/8523
gem 'webrick', '~> 1.7'
group :development do
gem 'colored'
gem 'fuzzy_match'

View File

@ -1,4 +1,4 @@
Copyright (c) 2013-2018 GitHub, Inc. and contributors
Copyright (c) 2013-2022 GitHub, Inc. and contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@ -12,7 +12,7 @@ We catalog [select](CONTRIBUTING.md#adding-a-license) open source licenses with
* Collaborate with and reinforce other licensing best practices and standards projects.
* Not comprehensive. Seems like an odd goal, but there are a bajillion licenses out there. We're going to have to filter that down to a small list of those that matter.
## Run It On Your Machine
## Run it on your machine
### Managing Dependencies
@ -54,7 +54,7 @@ Licenses sit in the `/_licenses` folder. Each license has YAML front matter desc
* `spdx-id` - Short identifier specified by https://spdx.org/licenses/
* `description` - A human-readable description of the license
* `how` - Instructions on how to implement the license
* `using` - A list of 3 notable projects using the license with straightforward LICENSE files which serve as examples newcomers can follow and that can be detected by [licensee](https://github.com/licensee/licensee) in the form of `project_name: license_file_url`
* `using` - A map of 3 notable projects using the license with straightforward LICENSE files which serve as examples newcomers can follow and that can be detected by [licensee](https://github.com/licensee/licensee) in the form of `project_name: license_file_url`
* `permissions` - Bulleted list of permission rules
* `conditions` - Bulleted list of condition rules
* `limitations` - Bulleted list of limitation rules

View File

@ -30,11 +30,11 @@ exclude:
- README.md
- script
- vendor/bundle
- test
- tests
- spec
- assets/vendor/selectivizr/tests
- assets/vendor/clipboard/test
- assets/vendor/*/README.*
- license-list-XML
plugins:
- jekyll-sitemap

View File

@ -16,9 +16,9 @@
</div> <!-- /container -->
{% if page.collection == "licenses" or page.class == "license-types" %}
<script src="/assets/vendor/jquery/jquery.min.js"></script>
<script src="/assets/vendor/qtip2/jquery.qtip.min.js"></script>
<script src="/assets/vendor/clipboard/dist/clipboard.min.js"></script>
<script src="{{ 'assets/vendor/jquery/jquery.min.js' | relative_url }}"></script>
<script src="{{ 'assets/vendor/qtip2/jquery.qtip.min.js' | relative_url }}"></script>
<script src="{{ 'assets/vendor/clipboard/dist/clipboard.min.js' | relative_url }}"></script>
<script>
window.annotations = {{ site.data.rules | jsonify }};
{% if page.collection == "licenses" %}
@ -32,18 +32,7 @@
];
{% endif %}
</script>
<script src="/assets/js/app.js"></script>
<script src="{{ 'assets/js/app.js' | relative_url }}"></script>
{% endif %}
<script>
!function(L,I,C,e,N,S,E){L.GoogleAnalyticsObject=N,L[N]=L[N]||function(){
(L[N].q=L[N].q||[]).push(arguments)},L[N].l=+new Date,S=I.createElement(C),
E=I.getElementsByTagName(C)[0],S.src=e,E.parentNode.insertBefore(S,E)
}(window,document,"script","//www.google-analytics.com/analytics.js","ga");
ga('create', 'UA-3769691-24', 'choosealicense.com');
ga('send', 'pageview');
</script>
</body>
</html>

View File

@ -5,8 +5,8 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Chivo:900">
<link rel="stylesheet" href="/assets/css/application.css?v={{ site.github.build_revision }}">
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="{{ 'assets/css/application.css' | relative_url }}?v={{ site.github.build_revision }}">
<link rel="shortcut icon" href="{{ 'favicon.ico' | relative_url }}" type="image/x-icon">
<!--[if lt IE 9]>
<script src="/assets/vendor/html5shiv/dist/html5shiv.js"></script>
<script src="/assets/vendor/selectivizr/selectivizr.js"></script>

View File

@ -4,7 +4,7 @@
{% 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>
<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 projects <a href="/community/">community</a>, and keep your communication with project maintainers friendly.</p>
<div class="input-wrapper">
<input type="text" data-license-id="{{ page.spdx-id }}" placeholder="Enter GitHub repository URL" id="repository-url" title="status" />
<div class="status-indicator"></div>
@ -26,9 +26,11 @@
{% endif %}
{% assign xgpl = false %}
{% if page.spdx-id contains 'GPL' %}{% assign xgpl = true %}{% endif %}
<p id="package-metadata">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="https://guides.rubygems.org/specification-reference/#license=">Ruby</a>, and <a href="https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata">Rust</a>). This will ensure the license is displayed in package directories.</p>
{% assign ofl = false %}
{% if page.spdx-id contains 'OFL-1' %}{% assign ofl = true %}{% endif %}
<p id="package-metadata">Add <strong><code>{{ page.spdx-id }}{% if xgpl %}-or-later{% endif %}{% if ofl %}-no-RFN{% endif %}</code></strong>{% if xgpl %} (or <strong><code>{{ page.spdx-id }}-only</code></strong> to disallow future versions){% endif %}{% if ofl %} (or <strong><code>{{ page.spdx-id }}-RFN</code></strong> if a Reserved Font Name is specified after the copyright statement){% endif %} to your projects package description, if applicable (e.g., <a href="https://docs.npmjs.com/cli/v7/configuring-npm/package-json#license">Node.js</a>, <a href="https://guides.rubygems.org/specification-reference/#license=">Ruby</a>, and <a href="https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields">Rust</a>). This will ensure the license is displayed in package directories.</p>
{% if page.spdx-id contains 'GPL-2' %}
<p id="gplcc">If you would like your project to adopt the GPL-3.0's cure provision, add the <a href="https://github.com/gplcc/gplcc/blob/master/Project/COMMITMENT">text</a> of the <a href="https://gplcc.github.io/gplcc/">GPL Cooperation Commitment</a> to a file named <code>COMMITMENT</code> in the same directory as your {{ page.spdx-id }} license file.</p>
<p id="gplcc">If you would like your project to adopt the GPL-3.0s cure provision, add the <a href="https://github.com/gplcc/gplcc/blob/master/Project/COMMITMENT">text</a> of the <a href="https://gplcc.github.io/gplcc/">GPL Cooperation Commitment</a> to a file named <code>COMMITMENT</code> in the same directory as your {{ page.spdx-id }} license file.</p>
{% endif %}
</div>
</div>
@ -42,12 +44,10 @@
{% if page.using %}
<div class="projects-with-license">
<h3>Who's using this license?</h3>
<h3>Whos using this license?</h3>
<ul>
{% for using in page.using %}
{% for hash in using %}
<li><a href="{{ hash[1] }}" target="_blank">{{ hash[0] }}</a></li>
{% endfor %}
<li><a href="{{ using[1] }}" target="_blank">{{ using[0] }}</a></li>
{% endfor %}
</ul>
</div>

View File

@ -8,9 +8,7 @@
{% if last and using.size > 1 %}
and
{% endif %}
{% for hash in used %}
<a href="{{ hash[1] }}">{{ hash[0] }}</a>{% if last == false %},{% endif %}
{% endfor %}
<a href="{{ used[1] }}">{{ used[0] }}</a>{% if last == false %},{% endif %}
{% endfor %}
use{% if using.size == 1 %}s{% endif %} the {% if license.nickname %}{{ license.nickname }}{% else %}{{ license.title }}{% endif %}.
{% endif %}

View File

@ -7,9 +7,9 @@ description: The BSD Zero Clause license goes further than the BSD 2-Clause lice
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders. You may take the additional step of removing the copyright notice.
using:
- PickMeUp: https://github.com/nazar-pc/PickMeUp/blob/master/copying.md
- smoltcp: https://github.com/m-labs/smoltcp/blob/master/LICENSE-0BSD.txt
- Toybox: https://github.com/landley/toybox/blob/master/LICENSE
gatsby-starter-default: https://github.com/gatsbyjs/gatsby-starter-default/blob/master/LICENSE
Toybox: https://github.com/landley/toybox/blob/master/LICENSE
PickMeUp: https://github.com/nazar-pc/PickMeUp/blob/master/copying.md
permissions:
- commercial-use
@ -25,6 +25,8 @@ limitations:
---
BSD Zero Clause License
Copyright (c) [year] [fullname]
Permission to use, copy, modify, and/or distribute this software for any

View File

@ -33,27 +33,27 @@ authorship (the "Original Work") whose owner (the "Licensor") has placed the
following licensing notice adjacent to the copyright notice for the Original
Work:
Licensed under the Academic Free License version 3.0
Licensed under the Academic Free License version 3.0
1) Grant of Copyright License. Licensor grants You a worldwide, royalty-free,
non-exclusive, sublicensable license, for the duration of the copyright, to do
the following:
a) to reproduce the Original Work in copies, either alone or as part of a
collective work;
a) to reproduce the Original Work in copies, either alone or as part of a
collective work;
b) to translate, adapt, alter, transform, modify, or arrange the Original
Work, thereby creating derivative works ("Derivative Works") based upon
the Original Work;
b) to translate, adapt, alter, transform, modify, or arrange the Original
Work, thereby creating derivative works ("Derivative Works") based upon the
Original Work;
c) to distribute or communicate copies of the Original Work and
Derivative Works to the public, under any license of your choice that
does not contradict the terms and conditions, including Licensor's
reserved rights and remedies, in this Academic Free License;
c) to distribute or communicate copies of the Original Work and Derivative
Works to the public, under any license of your choice that does not
contradict the terms and conditions, including Licensor's reserved rights
and remedies, in this Academic Free License;
d) to perform the Original Work publicly; and
d) to perform the Original Work publicly; and
e) to display the Original Work publicly.
e) to display the Original Work publicly.
2) Grant of Patent License. Licensor grants You a worldwide, royalty-free,
non-exclusive, sublicensable license, under patent claims owned or controlled

View File

@ -12,9 +12,9 @@ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of
note: The Apache Foundation recommends taking the additional step of adding a boilerplate notice to the header of each source file. You can find the notice in the appendix at the very end of the license text.
using:
- Kubernetes: https://github.com/kubernetes/kubernetes/blob/master/LICENSE
- PDF.js: https://github.com/mozilla/pdf.js/blob/master/LICENSE
- Swift: https://github.com/apple/swift/blob/master/LICENSE.txt
Kubernetes: https://github.com/kubernetes/kubernetes/blob/master/LICENSE
PDF.js: https://github.com/mozilla/pdf.js/blob/master/LICENSE
Swift: https://github.com/apple/swift/blob/main/LICENSE.txt
permissions:
- commercial-use

View File

@ -9,9 +9,9 @@ description: A permissive license that comes in two variants, the <a href="/lice
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders.
using:
- go-redis: https://github.com/go-redis/redis/blob/master/LICENSE
- Homebrew: https://github.com/Homebrew/brew/blob/master/LICENSE.txt
- Pony: https://github.com/ponylang/ponyc/blob/master/LICENSE
go-redis: https://github.com/go-redis/redis/blob/master/LICENSE
Homebrew: https://github.com/Homebrew/brew/blob/master/LICENSE.txt
Pony: https://github.com/ponylang/ponyc/blob/master/LICENSE
permissions:
- commercial-use
@ -31,7 +31,6 @@ limitations:
BSD 2-Clause License
Copyright (c) [year], [fullname]
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

View File

@ -3,14 +3,14 @@ title: BSD 3-Clause "New" or "Revised" License
spdx-id: BSD-3-Clause
hidden: false
description: A permissive license similar to the <a href="/licenses/bsd-2-clause/">BSD 2-Clause License</a>, but with a 3rd clause that prohibits others from using the name of the project or its contributors to promote derived products without written consent.
description: A permissive license similar to the <a href="/licenses/bsd-2-clause/">BSD 2-Clause License</a>, but with a 3rd clause that prohibits others from using the name of the copyright holder or its contributors to promote derived products without written consent.
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders.
using:
- d3: https://github.com/d3/d3/blob/master/LICENSE
- LevelDB: https://github.com/google/leveldb/blob/master/LICENSE
- Quill: https://github.com/quilljs/quill/blob/develop/LICENSE
Flutter: https://github.com/flutter/flutter/blob/master/LICENSE
LevelDB: https://github.com/google/leveldb/blob/master/LICENSE
Quill: https://github.com/quilljs/quill/blob/develop/LICENSE
permissions:
- commercial-use
@ -30,7 +30,6 @@ limitations:
BSD 3-Clause License
Copyright (c) [year], [fullname]
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

View File

@ -7,9 +7,9 @@ description: A permissive license similar to the <a href="/licenses/bsd-3-clause
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders. Replace [project] with the project organization, if any, that sponsors this work.
using:
- Choco-solver: https://github.com/chocoteam/choco-solver/blob/master/LICENSE
- PMSPAUR-public: https://github.com/ArthurGodet/PMSPAUR-public/blob/master/LICENSE
- Switchblade: https://github.com/SwitchbladeBot/switchblade/blob/dev/LICENSE
Choco-solver: https://github.com/chocoteam/choco-solver/blob/master/LICENSE
PMSPAUR-public: https://github.com/ArthurGodet/PMSPAUR-public/blob/master/LICENSE
Switchblade: https://github.com/SwitchbladeBot/switchblade/blob/dev/LICENSE
permissions:
- commercial-use

View File

@ -10,9 +10,9 @@ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of
note: Boost recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at the [Boost Software License FAQ](https://www.boost.org/users/license.html#FAQ).
using:
- Boost: https://github.com/boostorg/boost/blob/master/LICENSE_1_0.txt
- Catch2: https://github.com/catchorg/Catch2/blob/master/LICENSE.txt
- DMD: https://github.com/dlang/dmd/blob/master/LICENSE.txt
Boost: https://github.com/boostorg/boost/blob/master/LICENSE_1_0.txt
Catch2: https://github.com/catchorg/Catch2/blob/devel/LICENSE.txt
DMD: https://github.com/dlang/dmd/blob/master/LICENSE.txt
permissions:
- commercial-use

View File

@ -7,9 +7,9 @@ description: Permits almost any use subject to providing credit and license noti
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. It is also acceptable to solely supply a link to a copy of the license, usually to the <a href='https://creativecommons.org/licenses/by/4.0/'>canonical URL for the license</a>.
using:
- caniuse: https://github.com/Fyrd/caniuse/blob/master/LICENSE
- WHATWG HTML standard: https://github.com/whatwg/html/blob/master/LICENSE
- Kubernetes documentation: https://github.com/kubernetes/website/blob/master/LICENSE
caniuse: https://github.com/Fyrd/caniuse/blob/master/LICENSE
FiveThirtyEight data: https://github.com/fivethirtyeight/data/blob/master/LICENSE
Kubernetes documentation: https://github.com/kubernetes/website/blob/master/LICENSE
permissions:
- commercial-use

View File

@ -7,9 +7,9 @@ description: Similar to <a href='/licenses/cc-by-4.0/'>CC-BY-4.0</a> but require
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. It is also acceptable to solely supply a link to a copy of the license, usually to the <a href='https://creativecommons.org/licenses/by-sa/4.0/'>canonical URL for the license</a>.
using:
- Flight rules for Git: https://github.com/k88hudson/git-flight-rules/blob/master/LICENSE
- Material Design Iconic Font: https://github.com/zavoloklom/material-design-iconic-font/blob/master/License.md
- OWASP MSTG: https://github.com/OWASP/owasp-mstg/blob/master/License.md
Flight rules for Git: https://github.com/k88hudson/git-flight-rules/blob/master/LICENSE
Material Design Iconic Font: https://github.com/zavoloklom/material-design-iconic-font/blob/master/License.md
OWASP MSTG: https://github.com/OWASP/owasp-mstg/blob/master/License.md
permissions:
- commercial-use
@ -335,8 +335,8 @@ apply to Your use of the Licensed Material:
contents in a database in which You have Sui Generis Database
Rights, then the database in which You have Sui Generis Database
Rights (but not its individual contents) is Adapted Material,
including for purposes of Section 3(b); and
c. You must comply with the conditions in Section 3(a) if You Share
all or a substantial portion of the contents of the database.

View File

@ -11,9 +11,9 @@ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of
note: Creative Commons recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be <a href="https://wiki.creativecommons.org/wiki/CC0_FAQ#May_I_apply_CC0_to_computer_software.3F_If_so.2C_is_there_a_recommended_implementation.3F">found on their website</a>.
using:
- Awesome: https://github.com/sindresorhus/awesome/blob/main/license
- Shields.io: https://github.com/badges/shields/blob/master/LICENSE
- psdash: https://github.com/Jahaja/psdash/blob/master/LICENSE
Awesome: https://github.com/sindresorhus/awesome/blob/main/license
Shields.io: https://github.com/badges/shields/blob/master/LICENSE
psdash: https://github.com/Jahaja/psdash/blob/master/LICENSE
permissions:
- commercial-use

View File

@ -7,9 +7,9 @@ description: Strong copyleft license made by three French public research organi
how: Create a text file (typically named LICENSE or LICENCE) in the root of your source code and copy the text of the license into the file.
using:
- BMC-Tools: https://github.com/ANSSI-FR/bmc-tools/blob/master/LICENCE.txt
- Taxe foncière: https://github.com/etalab/taxe-fonciere/blob/master/LICENSE
- VITAM: https://github.com/ProgrammeVitam/vitam/blob/master_0.15.x/Licence_CeCILL_V2.1-fr.txt
BMC-Tools: https://github.com/ANSSI-FR/bmc-tools/blob/master/LICENCE.txt
Taxe foncière: https://github.com/etalab/taxe-fonciere/blob/master/LICENSE
VITAM: https://github.com/ProgrammeVitam/vitam/blob/master_0.15.x/Licence_CeCILL_V2.1-fr.txt
permissions:
- commercial-use

View File

@ -9,9 +9,9 @@ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of
note: The Apereo Foundation recommends taking the additional step of adding a boilerplate notice to the header of each source file. You can find the notice in the appendix at the very end of the license text.
using:
- Sakai: https://github.com/sakaiproject/sakai/blob/master/LICENSE
- OAE: https://github.com/oaeproject/Hilary/blob/master/LICENSE
- Opencast: https://github.com/opencast/opencast/blob/develop/LICENSE
Sakai: https://github.com/sakaiproject/sakai/blob/master/LICENSE
OAE: https://github.com/oaeproject/Hilary/blob/master/LICENSE
Opencast: https://github.com/opencast/opencast/blob/develop/LICENSE
permissions:
- commercial-use

View File

@ -7,9 +7,9 @@ description: This commercially-friendly copyleft license provides the ability to
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file.
using:
- Eclipse hawkBit: https://github.com/eclipse/hawkbit/blob/master/LICENSE
- JUnit: https://github.com/junit-team/junit4/blob/main/LICENSE-junit.txt
- Quil: https://github.com/quil/quil/blob/master/LICENSE
Eclipse hawkBit: https://github.com/eclipse/hawkbit/blob/master/LICENSE
JUnit: https://github.com/junit-team/junit4/blob/main/LICENSE-junit.txt
Quil: https://github.com/quil/quil/blob/master/LICENSE
permissions:
- commercial-use

View File

@ -9,9 +9,9 @@ description: This commercially-friendly copyleft license provides the ability to
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file.
using:
- Eclipse SmartHome: https://github.com/eclipse/smarthome/blob/master/LICENSE
- openHAB: https://github.com/openhab/openhab-distro/blob/master/LICENSE
- SUMO: https://github.com/eclipse/sumo/blob/master/LICENSE
Eclipse SmartHome: https://github.com/eclipse/smarthome/blob/master/LICENSE
openHAB: https://github.com/openhab/openhab-distro/blob/master/LICENSE
SUMO: https://github.com/eclipse/sumo/blob/master/LICENSE
permissions:
- commercial-use

View File

@ -2,14 +2,14 @@
title: European Union Public License 1.2
spdx-id: EUPL-1.2
description: The European Union Public Licence (EUPL) is a copyleft free/open source software license created on the initiative of and approved by the European Commission in 22 official languages of the European Union.
description: The European Union Public Licence (EUPL) is a copyleft free/open source software license created on the initiative of and approved by the European Commission in <a href="https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12">23 official languages</a> of the European Union.
how: Indicate “Licensed under the EUPL” following the copyright notice of your source code, for example in a README file or directly in a source code file as a comment.
using:
- AethysRotation: https://github.com/SimCMinMax/AethysRotation/blob/master/LICENSE
- WildDuck: https://github.com/nodemailer/wildduck/blob/master/LICENSE
- ZoneMTA: https://github.com/zone-eu/zone-mta/blob/master/LICENSE
HeroRotation: https://github.com/herotc/hero-rotation/blob/shadowlands/LICENSE
WildDuck: https://github.com/nodemailer/wildduck/blob/master/LICENSE
ZoneMTA: https://github.com/zone-eu/zone-mta/blob/master/LICENSE
permissions:
- commercial-use
@ -32,10 +32,8 @@ limitations:
---
European Union Public Licence
V. 1.2
EUPL © the European Union 2007, 2016
EUROPEAN UNION PUBLIC LICENCE v. 1.2
EUPL © the European Union 2007, 2016
This European Union Public Licence (the EUPL) applies to the Work (as
defined below) which is provided under the terms of this Licence. Any use of
@ -44,35 +42,47 @@ extent such use is covered by a right of the copyright holder of the Work).
The Work is provided under the terms of this Licence when the Licensor (as
defined below) has placed the following notice immediately following the
copyright notice for the Work: “Licensed under the EUPL”, or has expressed by
any other means his willingness to license under the EUPL.
copyright notice for the Work:
Licensed under the EUPL
or has expressed by any other means his willingness to license under the EUPL.
1. Definitions
In this Licence, the following terms have the following meaning:
The Licence: this Licence.
The Original Work: the work or software distributed or communicated by the
Licensor under this Licence, available as Source Code and also as
Executable Code as the case may be.
Derivative Works: the works or software that could be created by the
Licensee, based upon the Original Work or modifications thereof. This
Licence does not define the extent of modification or dependence on the
Original Work required in order to classify a work as a Derivative Work;
this extent is determined by copyright law applicable in the country
mentioned in Article 15.
The Work: the Original Work or its Derivative Works.
The Source Code: the human-readable form of the Work which is the most
- The Licence: this Licence.
- The Original Work: the work or software distributed or communicated by the
Licensor under this Licence, available as Source Code and also as Executable
Code as the case may be.
- Derivative Works: the works or software that could be created by the
Licensee, based upon the Original Work or modifications thereof. This
Licence does not define the extent of modification or dependence on the
Original Work required in order to classify a work as a Derivative Work;
this extent is determined by copyright law applicable in the country
mentioned in Article 15.
- The Work: the Original Work or its Derivative Works.
- The Source Code: the human-readable form of the Work which is the most
convenient for people to study and modify.
The Executable Code: any code which has generally been compiled and which
- The Executable Code: any code which has generally been compiled and which
is meant to be interpreted by a computer as a program.
The Licensor: the natural or legal person that distributes or communicates
- The Licensor: the natural or legal person that distributes or communicates
the Work under the Licence.
Contributor(s): any natural or legal person who modifies the Work under
- Contributor(s): any natural or legal person who modifies the Work under
the Licence, or otherwise contributes to the creation of a Derivative Work.
The Licensee or You: any natural or legal person who makes any usage of
- The Licensee or You: any natural or legal person who makes any usage of
the Work under the terms of the Licence.
Distribution or Communication: any act of selling, giving, lending,
- Distribution or Communication: any act of selling, giving, lending,
renting, distributing, communicating, transmitting, or otherwise making
available, online or offline, copies of the Work or providing access to its
essential functionalities at the disposal of any other natural or legal
@ -84,15 +94,15 @@ The Licensor hereby grants You a worldwide, royalty-free, non-exclusive,
sublicensable licence to do the following, for the duration of copyright
vested in the Original Work:
use the Work in any circumstance and for all usage,
reproduce the Work,
modify the Work, and make Derivative Works based upon the Work,
communicate to the public, including the right to make available or display
- use the Work in any circumstance and for all usage,
- reproduce the Work,
- modify the Work, and make Derivative Works based upon the Work,
- communicate to the public, including the right to make available or display
the Work or copies thereof to the public and perform publicly, as the case
may be, the Work,
distribute the Work or copies thereof,
lend and rent the Work or copies thereof,
sublicense rights in the Work or copies thereof.
- distribute the Work or copies thereof,
- lend and rent the Work or copies thereof,
- sublicense rights in the Work or copies thereof.
Those rights can be exercised on any media, supports and formats, whether now
known or later invented, as far as the applicable law permits so.
@ -238,10 +248,11 @@ accessible, concluded, stored and reproduced by the Licensee.
12. Termination of the Licence
The Licence and the rights granted hereunder will terminate automatically upon
any breach by the Licensee of the terms of the Licence. Such a termination
will not terminate the licences of any person who has received the Work from
the Licensee under the Licence, provided such persons remain in full
compliance with the Licence.
any breach by the Licensee of the terms of the Licence.
Such a termination will not terminate the licences of any person who has
received the Work from the Licensee under the Licence, provided such persons
remain in full compliance with the Licence.
13. Miscellaneous
@ -266,12 +277,14 @@ their choice.
14. Jurisdiction
Without prejudice to specific agreement between parties,
— any litigation resulting from the interpretation of this License, arising
- any litigation resulting from the interpretation of this License, arising
between the European Union institutions, bodies, offices or agencies, as a
Licensor, and any Licensee, will be subject to the jurisdiction of the Court
of Justice of the European Union, as laid down in article 272 of the Treaty
on the Functioning of the European Union,
— any litigation arising between other parties and resulting from the
- any litigation arising between other parties and resulting from the
interpretation of this License, will be subject to the exclusive
jurisdiction of the competent court where the Licensor resides or conducts
its primary business.
@ -279,30 +292,34 @@ Without prejudice to specific agreement between parties,
15. Applicable Law
Without prejudice to specific agreement between parties,
— this Licence shall be governed by the law of the European Union Member State
- this Licence shall be governed by the law of the European Union Member State
where the Licensor has his seat, resides or has his registered office,
— this licence shall be governed by Belgian law if the Licensor has no seat,
- this licence shall be governed by Belgian law if the Licensor has no seat,
residence or registered office inside a European Union Member State.
Appendix
Compatible Licences according to Article 5 EUPL are:
— GNU General Public License (GPL) v. 2, v. 3
— GNU Affero General Public License (AGPL) v. 3
— Open Software License (OSL) v. 2.1, v. 3.0
— Eclipse Public License (EPL) v. 1.0
— CeCILL v. 2.0, v. 2.1
— Mozilla Public Licence (MPL) v. 2
— GNU Lesser General Public Licence (LGPL) v. 2.1, v. 3
— Creative Commons Attribution-ShareAlike v. 3.0 Unported (CC BY-SA 3.0) for
works other than software
— European Union Public Licence (EUPL) v. 1.1, v. 1.2
— Québec Free and Open-Source Licence — Reciprocity (LiLiQ-R) or
Strong Reciprocity (LiLiQ-R+)
— The European Commission may update this Appendix to later versions of the
above licences without producing a new version of the EUPL, as long as they
provide the rights granted in Article 2 of this Licence and protect the
covered Source Code from exclusive appropriation.
— All other changes or additions to this Appendix require the production of a
new EUPL version.
- GNU General Public License (GPL) v. 2, v. 3
- GNU Affero General Public License (AGPL) v. 3
- Open Software License (OSL) v. 2.1, v. 3.0
- Eclipse Public License (EPL) v. 1.0
- CeCILL v. 2.0, v. 2.1
- Mozilla Public Licence (MPL) v. 2
- GNU Lesser General Public Licence (LGPL) v. 2.1, v. 3
- Creative Commons Attribution-ShareAlike v. 3.0 Unported (CC BY-SA 3.0) for
works other than software
- European Union Public Licence (EUPL) v. 1.1, v. 1.2
- Québec Free and Open-Source Licence — Reciprocity (LiLiQ-R) or Strong
Reciprocity (LiLiQ-R+).
The European Commission may update this Appendix to later versions of the
above licences without producing a new version of the EUPL, as long as they
provide the rights granted in Article 2 of this Licence and protect the
covered Source Code from exclusive appropriation.
All other changes or additions to this Appendix require the production of a
new EUPL version.

View File

@ -12,9 +12,9 @@ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of
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.
using:
- AliSQL: https://github.com/alibaba/AliSQL/blob/master/COPYING
- Discourse: https://github.com/discourse/discourse/blob/master/LICENSE.txt
- Joomla!: https://github.com/joomla/joomla-cms/blob/staging/LICENSE.txt
AliSQL: https://github.com/alibaba/AliSQL/blob/master/COPYING
Discourse: https://github.com/discourse/discourse/blob/master/LICENSE.txt
Joomla!: https://github.com/joomla/joomla-cms/blob/staging/LICENSE.txt
permissions:
- commercial-use

View File

@ -13,9 +13,9 @@ how: Create a text file (typically named COPYING, as per GNU conventions) in the
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.
using:
- Ansible: https://github.com/ansible/ansible/blob/devel/COPYING
- Bash: https://git.savannah.gnu.org/cgit/bash.git/tree/COPYING
- GIMP: https://git.gnome.org/browse/gimp/tree/COPYING
Ansible: https://github.com/ansible/ansible/blob/devel/COPYING
Bash: https://git.savannah.gnu.org/cgit/bash.git/tree/COPYING
GIMP: https://git.gnome.org/browse/gimp/tree/COPYING
permissions:
- commercial-use

View File

@ -7,9 +7,9 @@ description: A permissive license lets people do anything with your code with pr
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders.
using:
- Starship: https://github.com/starship/starship/blob/master/LICENSE
- Node.js semver: https://github.com/npm/node-semver/blob/master/LICENSE
- OpenStreetMap iD: https://github.com/openstreetmap/iD/blob/develop/LICENSE.md
Starship: https://github.com/starship/starship/blob/master/LICENSE
Node.js semver: https://github.com/npm/node-semver/blob/master/LICENSE
OpenStreetMap iD: https://github.com/openstreetmap/iD/blob/develop/LICENSE.md
permissions:
- commercial-use
@ -28,16 +28,16 @@ limitations:
ISC License
Copyright (c) [year], [fullname]
Copyright (c) [year] [fullname]
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.

45
_licenses/mit-0.txt Normal file
View File

@ -0,0 +1,45 @@
---
title: MIT No Attribution
spdx-id: MIT-0
description: A short and simple permissive license with no conditions, not even requiring preservation of copyright and license notices. Licensed works, modifications, and larger works may be distributed under different terms and without source code.
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders.
using:
rssfs: https://github.com/dertuxmalwieder/rssfs/blob/master/LICENSE
SOIL2: https://github.com/SpartanJ/SOIL2/blob/master/LICENSE
Units.NET: https://github.com/angularsen/UnitsNet/blob/master/LICENSE
permissions:
- commercial-use
- modifications
- distribution
- private-use
conditions: []
limitations:
- liability
- warranty
---
MIT No Attribution
Copyright [year] [fullname]
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@ -9,9 +9,9 @@ description: A short and simple permissive license with conditions only requirin
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders.
using:
- Babel: https://github.com/babel/babel/blob/master/LICENSE
- .NET Core: https://github.com/dotnet/runtime/blob/master/LICENSE.TXT
- Rails: https://github.com/rails/rails/blob/master/MIT-LICENSE
Babel: https://github.com/babel/babel/blob/master/LICENSE
.NET Core: https://github.com/dotnet/runtime/blob/master/LICENSE.TXT
Rails: https://github.com/rails/rails/blob/master/MIT-LICENSE
permissions:
- commercial-use

View File

@ -11,9 +11,9 @@ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of
note: The Mozilla 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 (Exhibit A).
using:
- Servo: https://github.com/servo/servo/blob/master/LICENSE
- Syncthing: https://github.com/syncthing/syncthing/blob/main/LICENSE
- TimelineJS3: https://github.com/NUKnightLab/TimelineJS3/blob/master/LICENSE
Servo: https://github.com/servo/servo/blob/master/LICENSE
Syncthing: https://github.com/syncthing/syncthing/blob/main/LICENSE
TimelineJS3: https://github.com/NUKnightLab/TimelineJS3/blob/master/LICENSE
permissions:
- commercial-use

226
_licenses/mulanpsl-2.0.txt Normal file
View File

@ -0,0 +1,226 @@
---
title: Mulan Permissive Software License, Version 2
spdx-id: MulanPSL-2.0
nickname: Mulan PSL v2
description: A permissive license similar to the <a href="/licenses/apache-2.0/">Apache License</a>, but explicitly states that it does not grant trademark rights. Mulan Permissive Software License is the first open source license in both Chinese and English approved by OSI.
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file.
note: It's suggested to take 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.
using:
openGauss Server: https://github.com/opengauss-mirror/openGauss-server/blob/master/License
lute: https://github.com/88250/lute/blob/master/LICENSE
Android CN OAID: https://github.com/gzu-liyujiang/Android_CN_OAID/blob/master/LICENSE
permissions:
- commercial-use
- modifications
- distribution
- patent-use
- private-use
conditions:
- include-copyright
limitations:
- liability
- trademark-use
- warranty
---
木兰宽松许可证, 第2版
木兰宽松许可证, 第2版
2020年1月 http://license.coscl.org.cn/MulanPSL2
您对“软件”的复制、使用、修改及分发受木兰宽松许可证第2版“本许可证”的如下条款的约束
0. 定义
“软件” 是指由“贡献”构成的许可在“本许可证”下的程序和相关文档的集合。
“贡献” 是指由任一“贡献者”许可在“本许可证”下的受版权法保护的作品。
“贡献者” 是指将受版权法保护的作品许可在“本许可证”下的自然人或“法人实体”。
“法人实体” 是指提交贡献的机构及其“关联实体”。
“关联实体” 是指,对“本许可证”下的行为方而言,控制、受控制或与其共同受控制的机构,此处的控制是
指有受控方或共同受控方至少50%直接或间接的投票权、资金或其他有价证券。
1. 授予版权许可
每个“贡献者”根据“本许可证”授予您永久性的、全球性的、免费的、非独占的、不可撤销的版权许可,您可
以复制、使用、修改、分发其“贡献”,不论修改与否。
2. 授予专利许可
每个“贡献者”根据“本许可证”授予您永久性的、全球性的、免费的、非独占的、不可撤销的(根据本条规定
撤销除外)专利许可,供您制造、委托制造、使用、许诺销售、销售、进口其“贡献”或以其他方式转移其“贡
献”。前述专利许可仅限于“贡献者”现在或将来拥有或控制的其“贡献”本身或其“贡献”与许可“贡献”时的“软
件”结合而将必然会侵犯的专利权利要求,不包括对“贡献”的修改或包含“贡献”的其他结合。如果您或您的“
关联实体”直接或间接地,就“软件”或其中的“贡献”对任何人发起专利侵权诉讼(包括反诉或交叉诉讼)或
其他专利维权行动,指控其侵犯专利权,则“本许可证”授予您对“软件”的专利许可自您提起诉讼或发起维权
行动之日终止。
3. 无商标许可
“本许可证”不提供对“贡献者”的商品名称、商标、服务标志或产品名称的商标许可但您为满足第4条规定
的声明义务而必须使用除外。
4. 分发限制
您可以在任何媒介中将“软件”以源程序形式或可执行形式重新分发,不论修改与否,但您必须向接收者提供“
本许可证”的副本,并保留“软件”中的版权、商标、专利及免责声明。
5. 免责声明与责任限制
“软件”及其中的“贡献”在提供时不带任何明示或默示的担保。在任何情况下,“贡献者”或版权所有者不对
任何人因使用“软件”或其中的“贡献”而引发的任何直接或间接损失承担责任,不论因何种原因导致或者基于
何种法律理论,即使其曾被建议有此种损失的可能性。
6. 语言
“本许可证”以中英文双语表述,中英文版本具有同等法律效力。如果中英文版本存在任何冲突不一致,以中文
版为准。
条款结束
如何将木兰宽松许可证第2版应用到您的软件
如果您希望将木兰宽松许可证第2版应用到您的新软件为了方便接收者查阅建议您完成如下三步
1 请您补充如下声明中的空白,包括软件名、软件的首次发表年份以及您作为版权人的名字;
2 请您在软件包的一级目录下创建以“LICENSE”为名的文件将整个许可证文本放入该文件中
3 请将如下声明文本放入每个源文件的头部注释中。
Copyright (c) [Year] [name of copyright holder]
[Software Name] is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan
PSL v2.
You may obtain a copy of Mulan PSL v2 at:
http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details.
Mulan Permissive Software LicenseVersion 2
Mulan Permissive Software LicenseVersion 2 (Mulan PSL v2)
January 2020 http://license.coscl.org.cn/MulanPSL2
Your reproduction, use, modification and distribution of the Software shall
be subject to Mulan PSL v2 (this License) with the following terms and
conditions:
0. Definition
Software means the program and related documents which are licensed under
this License and comprise all Contribution(s).
Contribution means the copyrightable work licensed by a particular
Contributor under this License.
Contributor means the Individual or Legal Entity who licenses its
copyrightable work under this License.
Legal Entity means the entity making a Contribution and all its
Affiliates.
Affiliates means entities that control, are controlled by, or are under
common control with the acting entity under this License, control means
direct or indirect ownership of at least fifty percent (50%) of the voting
power, capital or other securities of controlled or commonly controlled
entity.
1. Grant of Copyright License
Subject to the terms and conditions of this License, each Contributor hereby
grants to you a perpetual, worldwide, royalty-free, non-exclusive,
irrevocable copyright license to reproduce, use, modify, or distribute its
Contribution, with modification or not.
2. Grant of Patent License
Subject to the terms and conditions of this License, each Contributor hereby
grants to you a perpetual, worldwide, royalty-free, non-exclusive,
irrevocable (except for revocation under this Section) patent license to
make, have made, use, offer for sale, sell, import or otherwise transfer its
Contribution, where such patent license is only limited to the patent claims
owned or controlled by such Contributor now or in future which will be
necessarily infringed by its Contribution alone, or by combination of the
Contribution with the Software to which the Contribution was contributed.
The patent license shall not apply to any modification of the Contribution,
and any other combination which includes the Contribution. If you or your
Affiliates directly or indirectly institute patent litigation (including a
cross claim or counterclaim in a litigation) or other patent enforcement
activities against any individual or entity by alleging that the Software or
any Contribution in it infringes patents, then any patent license granted to
you under this License for the Software shall terminate as of the date such
litigation or activity is filed or taken.
3. No Trademark License
No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements in section 4.
4. Distribution Restriction
You may distribute the Software in any medium with or without modification,
whether in source or executable forms, provided that you provide recipients
with a copy of this License and retain copyright, patent, trademark and
disclaimer statements in the Software.
5. Disclaimer of Warranty and Limitation of Liability
THE SOFTWARE AND CONTRIBUTION IN IT ARE PROVIDED WITHOUT WARRANTIES OF ANY
KIND, EITHER EXPRESS OR IMPLIED. IN NO EVENT SHALL ANY CONTRIBUTOR OR
COPYRIGHT HOLDER BE LIABLE TO YOU FOR ANY DAMAGES, INCLUDING, BUT NOT
LIMITED TO ANY DIRECT, OR INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING
FROM YOUR USE OR INABILITY TO USE THE SOFTWARE OR THE CONTRIBUTION IN IT, NO
MATTER HOW ITS CAUSED OR BASED ON WHICH LEGAL THEORY, EVEN IF ADVISED OF
THE POSSIBILITY OF SUCH DAMAGES.
6. Language
THIS LICENSE IS WRITTEN IN BOTH CHINESE AND ENGLISH, AND THE CHINESE VERSION
AND ENGLISH VERSION SHALL HAVE THE SAME LEGAL EFFECT. IN THE CASE OF
DIVERGENCE BETWEEN THE CHINESE AND ENGLISH VERSIONS, THE CHINESE VERSION
SHALL PREVAIL.
END OF THE TERMS AND CONDITIONS
How to Apply the Mulan Permissive Software LicenseVersion 2
(Mulan PSL v2) to Your Software
To apply the Mulan PSL v2 to your work, for easy identification by
recipients, you are suggested to complete following three steps:
i. Fill in the blanks in following statement, including insert your software
name, the year of the first publication of your software, and your name
identified as the copyright owner;
ii. Create a file named "LICENSE" which contains the whole context of this
License in the first directory of your software package;
iii. Attach the statement to the appropriate annotated syntax at the
beginning of each source file.
Copyright (c) [Year] [name of copyright holder]
[Software Name] is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan
PSL v2.
You may obtain a copy of Mulan PSL v2 at:
http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details.

View File

@ -8,9 +8,9 @@ description: The University of Illinois/NCSA Open Source License, or UIUC licens
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders. Replace [project] with the project organization, if any, that sponsors this work.
using:
- ROCR-Runtime: https://github.com/RadeonOpenCompute/ROCR-Runtime/blob/master/LICENSE.txt
- RLTK: https://github.com/chriswailes/RLTK/blob/master/LICENSE
- ToaruOS: https://github.com/klange/toaruos/blob/master/LICENSE
ROCR-Runtime: https://github.com/RadeonOpenCompute/ROCR-Runtime/blob/master/LICENSE.txt
RLTK: https://github.com/chriswailes/RLTK/blob/master/LICENSE
ToaruOS: https://github.com/klange/toaruos/blob/master/LICENSE
permissions:
- commercial-use

View File

@ -1,5 +1,5 @@
---
title: ODC Open Database License v1.0
title: Open Data Commons Open Database License v1.0
spdx-id: ODbL-1.0
nickname: ODbL
@ -8,9 +8,9 @@ description: The Open Database License (ODbL) is a license agreement intended to
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file.
using:
- World Countries: https://github.com/mledoze/countries/blob/master/LICENSE
- OpenFlights: https://github.com/jpatokal/openflights/blob/master/data/LICENSE
- Public Zone Database: https://github.com/zonedb/zonedb/blob/master/LICENSE.md
World Countries: https://github.com/mledoze/countries/blob/master/LICENSE
OpenFlights: https://github.com/jpatokal/openflights/blob/master/data/LICENSE
Public Zone Database: https://github.com/zonedb/zonedb/blob/main/LICENSE.md
permissions:
- commercial-use

View File

@ -10,9 +10,9 @@ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of
note: This license doesn't require source provision, but recommends it. All files derived from OFL files must remain licensed under the OFL.
using:
- FiraCode: https://github.com/tonsky/FiraCode/blob/master/LICENSE
- Noto fonts: https://github.com/googlefonts/noto-fonts/blob/master/LICENSE
- Fantasque Sans Mono: https://github.com/belluzj/fantasque-sans/blob/master/LICENSE.txt
FiraCode: https://github.com/tonsky/FiraCode/blob/master/LICENSE
Noto fonts: https://github.com/googlefonts/noto-fonts/blob/master/LICENSE
Fantasque Sans Mono: https://github.com/belluzj/fantasque-sans/blob/master/LICENSE.txt
permissions:
- private-use

View File

@ -9,9 +9,9 @@ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of
note: OSL 3.0's author has <a href="https://rosenlaw.com/OSL3.0-explained.htm">provided an explanation</a> behind the creation of the license.
using:
- appserver.io: https://github.com/appserver-io/appserver/blob/master/LICENSE.txt
- JsonMapper: https://github.com/cweiske/jsonmapper/blob/master/LICENSE
- Restyaboard: https://github.com/RestyaPlatform/board/blob/master/LICENSE.txt
appserver.io: https://github.com/appserver-io/appserver/blob/master/LICENSE.txt
JsonMapper: https://github.com/cweiske/jsonmapper/blob/master/LICENSE
Restyaboard: https://github.com/RestyaPlatform/board/blob/master/LICENSE.txt
permissions:
- commercial-use
@ -41,7 +41,7 @@ authorship (the "Original Work") whose owner (the "Licensor") has placed the
following licensing notice adjacent to the copyright notice for the Original
Work:
Licensed under the Open Software License version 3.0
Licensed under the Open Software License version 3.0
1) Grant of Copyright License. Licensor grants You a worldwide, royalty-free,
non-exclusive, sublicensable license, for the duration of the copyright, to do

View File

@ -7,9 +7,9 @@ description: A very short, BSD-style license, used specifically for PostgreSQL.
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders.
using:
- pgBadger: https://github.com/darold/pgbadger/blob/master/LICENSE
- pgAdmin: https://github.com/postgres/pgadmin4/blob/master/LICENSE
- .NET Access to PostgreSQL: https://github.com/npgsql/npgsql/blob/dev/LICENSE
pgBadger: https://github.com/darold/pgbadger/blob/master/LICENSE
pgAdmin: https://github.com/postgres/pgadmin4/blob/master/LICENSE
.NET Access to PostgreSQL: https://github.com/npgsql/npgsql/blob/main/LICENSE
permissions:
- commercial-use

View File

@ -8,9 +8,9 @@ description: A license with no conditions whatsoever which dedicates works to th
how: Create a text file (typically named UNLICENSE or UNLICENSE.txt) in the root of your source code and copy the text of the license disclaimer into the file.
using:
- youtube-dl: https://github.com/rg3/youtube-dl/blob/master/LICENSE
- kakoune: https://github.com/mawww/kakoune/blob/master/UNLICENSE
- RDF.rb: https://github.com/ruby-rdf/rdf/blob/master/UNLICENSE
scoop: https://github.com/lukesampson/scoop/blob/master/LICENSE
kakoune: https://github.com/mawww/kakoune/blob/master/UNLICENSE
RDF.rb: https://github.com/ruby-rdf/rdf/blob/master/UNLICENSE
permissions:
- private-use

View File

@ -9,9 +9,9 @@ how: Insert the license or a link to it along with a copyright notice into your
note: It is recommended to add a link to the license and copyright notice at the top of each source file, example text can be found at https://oss.oracle.com/licenses/upl/.
using:
- Oracle Product Images for Docker: https://github.com/oracle/docker-images/blob/master/LICENSE
- Skater: https://github.com/oracle/Skater/blob/master/LICENSE
- Soufflé: https://github.com/souffle-lang/souffle/blob/master/LICENSE
Oracle Product Images for Docker: https://github.com/oracle/docker-images/blob/main/LICENSE.txt
Skater: https://github.com/oracle/Skater/blob/master/LICENSE
Soufflé: https://github.com/souffle-lang/souffle/blob/master/LICENSE
permissions:
- commercial-use

View File

@ -7,9 +7,9 @@ description: There are no restrictions on using or distributing an unmodified co
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [project] with the project name.
using:
- Vim: https://github.com/vim/vim/blob/master/LICENSE
- Pathogen: https://github.com/tpope/vim-pathogen/blob/master/LICENSE
- vim-license-gen: https://github.com/othree/vim-license/blob/master/LICENSE
Vim: https://github.com/vim/vim/blob/master/LICENSE
Pathogen: https://github.com/tpope/vim-pathogen/blob/master/LICENSE
vim-license-gen: https://github.com/othree/vim-license/blob/master/LICENSE
permissions:
- commercial-use

View File

@ -7,9 +7,9 @@ description: A short permissive license, compatible with GPL. Requires altered s
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders.
using:
- GLFW: https://github.com/glfw/glfw/blob/master/LICENSE.md
- Portainer: https://github.com/portainer/portainer/blob/develop/LICENSE
- TinyXML-2: https://github.com/leethomason/tinyxml2/blob/master/LICENSE.txt
GLFW: https://github.com/glfw/glfw/blob/master/LICENSE.md
Portainer: https://github.com/portainer/portainer/blob/develop/LICENSE
TinyXML-2: https://github.com/leethomason/tinyxml2/blob/master/LICENSE.txt
permissions:
- commercial-use

View File

@ -1,13 +1,53 @@
---
---
@import "/assets/vendor/normalize-css/normalize.css";
@import "/assets/vendor/qtip2/jquery.qtip.min.css";
@import "../vendor/normalize-css/normalize.css";
@import "../vendor/qtip2/jquery.qtip.min.css";
body {
background: #fafafa;
color: #5c5855;
font: 14px/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif;
font: 0.875rem/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
body {
background: #212121;
color: #d0c8c1;
}
h1, h2, h3, h5 {
color: #dadada !important;
}
.site-footer {
color: #ccc !important;
}
.site-footer a {
color: #ddd !important;
}
.home h2 {
color: #c7cdce !important;
}
.license-body pre {
background-color: #131313 !important;
border: 1px solid #3e3e3e !important;
}
.note {
color: #9fa5a6 !important;
}
strong {
color: #bdbdbd !important;
}
button, input, optgroup, select, textarea {
color: black !important;
}
}
a {
@ -28,7 +68,7 @@ h1, h2, h3, h5 {
}
h1 {
font-size: 35px;
font-size: 2.1875rem;
margin-bottom: 25px;
}
@ -38,19 +78,19 @@ h1 {
h2 {
opacity: 0.8;
font-size: 24px;
font-size: 1.5rem;
margin-top: 24px;
margin-bottom: 10px;
}
h3 {
font-size: 15px;
font-size: 0.9375rem;
margin-top: 20px;
margin-bottom: 10px;
}
h5 {
font-size: 14px;
font-size: 0.875rem;
margin-bottom: 15px;
}
@ -80,12 +120,12 @@ strong {
}
.home h1 {
font-size: 60px;
font-size: 3.75rem;
}
.home h2 {
color: #687072;
font-size: 27px;
font-size: 1.6875rem;
line-height: 70px;
margin-bottom: 45px;
vertical-align: middle;
@ -93,8 +133,8 @@ strong {
}
.home h2 span {
color: #f1f1f1;
font-size: 70px;
color: rgba(127,127,127,10%);
font-size: 4.375rem;
padding: 0 5px;
position: relative;
top: 10px;
@ -120,7 +160,7 @@ strong {
}
.triptych h3 {
font-size: 22px;
font-size: 1.375rem;
margin: 0 auto 20px auto;
width: 220px;
}
@ -178,7 +218,7 @@ strong {
}
.license-overview-name {
font-size: 28px;
font-size: 1.75rem;
margin-top: 5px;
}
@ -188,7 +228,7 @@ strong {
.license-rules {
border-bottom: solid 1px #ddd;
font-size: 13px;
font-size: 0.8125rem;
line-height: 1.3;
margin-bottom: 12px;
width: 100%;
@ -200,7 +240,7 @@ strong {
}
.license-rules th {
font-size: 15px;
font-size: 0.9375rem;
padding: 5px 10px 5px 0;
vertical-align: bottom;
}
@ -219,11 +259,11 @@ strong {
}
.license-rules .name a {
font-size: 28px;
font-size: 1.75rem;
}
.license-rules .name small a {
font-size: 16px;
font-size: 1rem;
}
.license-rules td {
@ -262,14 +302,14 @@ strong {
}
.license-body {
font-size: 15px;
font-size: 0.9375rem;
float: left;
width: 700px;
}
.license-body pre {
font-family: Consolas, Monaco, Courier, monospace;
font-size: 14px;
font-size: 0.875rem;
background-color: #fff;
border: 1px solid #eee;
-webkit-border-radius: 3px;
@ -287,7 +327,7 @@ strong {
.sidebar {
float: right;
width: 220px;
font-size: 12px;
font-size: 0.75rem;
}
.sidebar a.button {
@ -358,7 +398,7 @@ strong {
background-image: -o-linear-gradient(#eee, #ddd);
background-image: linear-gradient(#eee, #ddd);
display: inline-block;
font-size: 12px;
font-size: 0.75rem;
font-weight: normal;
padding: 5px 10px;
text-align: center;
@ -383,7 +423,7 @@ strong {
margin-top: 30px;
padding-top: 20px;
color: #555;
font-size: 12px;
font-size: 0.75rem;
text-align: left;
line-height: 1.5;
}
@ -427,7 +467,7 @@ strong {
.qtip-limitations,
.qtip-fetching,
.qtip-error {
font-size: 12px;
font-size: 0.75rem;
line-height: 1.3;
}

View File

@ -16,7 +16,7 @@ Some communities have strong preferences for particular licenses. If you want to
* [Apache](https://www.apache.org/licenses/) requires [Apache License 2.0](/licenses/apache-2.0/)
* [Cloud Native Computing Foundation](https://github.com/cncf/toc/blob/master/process/project_proposals.adoc) dictates [Apache License 2.0](/licenses/apache-2.0/) by default
* [GNU](https://www.gnu.org/licenses/license-recommendations.html) recommends [GNU GPLv3](/licenses/gpl-3.0/) for most programs
* [NPM packages](https://libraries.io/search?platforms=NPM) overwhelmingly use the [MIT](/licenses/mit/) or the very similar [ISC](/licenses/isc) licenses
* [npm packages](https://libraries.io/search?platforms=npm) overwhelmingly use the [MIT](/licenses/mit/) or the very similar [ISC](/licenses/isc) licenses
* [OpenBSD](https://www.openbsd.org/policy.html) prefers the [ISC License](/licenses/isc/)
* [Rust](https://rust-lang.github.io/api-guidelines/necessities.html#crate-and-its-dependencies-have-a-permissive-license-c-permissive) crates are overwhelmingly licensed under both [MIT](/licenses/mit/) and [Apache License 2.0](/licenses/apache-2.0/)
* [WordPress](https://wordpress.org/about/license/) plugins and themes must be [GNU GPLv2](/licenses/gpl-2.0/) (or later)

1
license-list-XML Submodule

@ -0,0 +1 @@
Subproject commit b7470fcd383d59c95187af07b66b926e4ca23201

View File

@ -6,7 +6,7 @@ title: Licenses
---
<p>Open source licenses grant permission for anybody to use, modify, and share licensed software for any purpose, subject to conditions preserving the provenance and openness of the software. The following licenses are sorted by the number of conditions, from most (GNU AGPLv3) to none (Unlicense). Notice that the popular licenses featured on the <a href="/">home page</a> (GNU GPLv3 and MIT) fall within this spectrum.</p>
<p style="font-size:small; margin-bottom: 40px">If you're looking for a reference table of every license on choosealicense.com, see the <a href="/appendix">appendix</a>.</p>
<p style="font-size:small; margin-bottom: 40px">If youre looking for a reference table of every license on choosealicense.com, see the <a href="/appendix">appendix</a>.</p>
{% include license-overview.html license-id="agpl-3.0" %}
{% include license-overview.html license-id="gpl-3.0" %}
@ -17,4 +17,4 @@ title: Licenses
{% include license-overview.html license-id="bsl-1.0" %}
{% include license-overview.html license-id="unlicense" %}
The above licenses represent the entire spectrum of open source licenses, from highly protective to unconditional. One of these should work for most new open source projects. Many other open source licenses exist, including older versions of and close substitutes for some of the above. See the resources listed on our <a href="/about/">about page</a> if you'd like to read more.
The above licenses represent the entire spectrum of open source licenses, from highly protective to unconditional. One of these should work for most new open source projects. Many other open source licenses exist, including older versions of and close substitutes for some of the above. See the resources listed on our <a href="/about/">about page</a> if youd like to read more.

View File

@ -16,8 +16,8 @@ Any open source software license or open license for media (see [above](#data-me
### Fonts
The [SIL Open Font License 1.1](/licenses/ofl-1.1/) keeps fonts open but allows them to be freely used in other works.
The [SIL Open Font License 1.1](/licenses/ofl-1.1/) keeps fonts open, allowing them to be freely used in other works.
### Mixed Projects
### Mixed projects
If your project contains a mix of software and other material, you can include multiple licenses, as long as you are explicit about which license applies to each part of the project. See [the license notice for this site](https://github.com/github/choosealicense.com#license) as an example.

View File

@ -11,7 +11,7 @@ require 'colored'
require 'fuzzy_match'
# Display usage instructions
puts File.open(__FILE__).read.scan(/^# .*/)[0...3].join("\n").gsub(/^# /, '') if ARGV.count != 1
puts File.read(__FILE__).scan(/^# .*/)[0...3].join("\n").gsub(/^# /, '') if ARGV.count != 1
class TrueClass
def to_s

View File

@ -6,7 +6,7 @@ require 'spec_helper'
require 'yaml'
describe 'ruby version' do
pages_versions = JSON.parse(open('https://pages.github.com/versions.json').read)
pages_versions = JSON.parse(URI.open('https://pages.github.com/versions.json').read)
pages_ruby_version = pages_versions['ruby']
ci_config_file = '.github/workflows/test.yml'

View File

@ -6,7 +6,7 @@ describe 'byte order marks' do
Dir["#{licenses_path}/*.txt"].each do |file|
context "the #{File.basename(file, '.txt')} license" do
it 'does not begin with a byte order mark' do
bom = File.open(file).read.start_with?("\u0000EF\u0000BB\u0000BF")
bom = File.read(file).start_with?("\u0000EF\u0000BB\u0000BF")
msg = 'License file begins with a Byte Order Mark. See https://stackoverflow.com/a/1068700.'
expect(bom).to eql(false), msg
end

View File

@ -19,7 +19,7 @@ describe 'license meta' do
expect(missing).to be_empty
end
examples = raw_fields['using'] || []
examples = raw_fields['using'] || {}
it 'using contains 3 examples' do
legacy = [
@ -42,9 +42,7 @@ describe 'license meta' do
context 'licensee detects using examples' do
slug = license['slug']
examples.each do |example|
example_url = example.values[0]
examples.each_value do |example_url|
context "the #{example_url} URL" do
let(:content) { OpenURI.open_uri(example_url).read }
let(:detected) { Licensee::ProjectFiles::LicenseFile.new(content, 'LICENSE').license }

View File

@ -2,25 +2,25 @@
require 'spec_helper'
describe 'shown licenses' do
# Whitelist of popular licenses that are shown (non-hidden)
# Note: most new licenses that are added should be hidden by default
SHOWN_LICENSES = %w[
agpl-3.0
apache-2.0
bsd-2-clause
bsd-3-clause
bsl-1.0
cc0-1.0
epl-2.0
gpl-2.0
gpl-3.0
lgpl-2.1
mit
mpl-2.0
unlicense
].freeze
# Popular licenses that are shown (non-hidden)
# Note: most new licenses that are added should be hidden by default
SHOWN_LICENSES = %w[
agpl-3.0
apache-2.0
bsd-2-clause
bsd-3-clause
bsl-1.0
cc0-1.0
epl-2.0
gpl-2.0
gpl-3.0
lgpl-2.1
mit
mpl-2.0
unlicense
].freeze
describe '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(shown_licenses.count)

View File

@ -33,11 +33,9 @@ def config
end
def licenses
SpecHelper.licenses ||= begin
site.collections['licenses'].docs.map do |license|
spdx_lcase = File.basename(license.basename, '.txt')
license.to_liquid.merge('spdx-lcase' => spdx_lcase)
end
SpecHelper.licenses ||= site.collections['licenses'].docs.map do |license|
spdx_lcase = File.basename(license.basename, '.txt')
license.to_liquid.merge('spdx-lcase' => spdx_lcase)
end
end
@ -139,6 +137,10 @@ module Licensee
dir = ::File.dirname(__FILE__)
::File.expand_path '../_licenses', dir
end
def spdx_dir
::File.expand_path '../license-list-XML/src', __dir__
end
end
end
end

View File

@ -27,7 +27,7 @@ The next few sections of these Terms go into greater detail on these disclaimers
### 4. DISCLAIMER OF WARRANTIES
TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, GITHUB OFFERS THE SITE ON AN AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WEBSITES OR SERVICES, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NONINFRINGEMENT. GITHUB DOES NOT WARRANT THAT THE FUNCTIONS OR CONTENT CONTAINED ON THE WEBSITE OR SERVICES WILL BE ERROR-FREE, THAT DEFECTS WILL BE CORRECTED, OR THAT GITHUB'S SERVERS ARE FREE OF VIRUSES OR OTHER HARMFUL COMPONENTS. GITHUB DOES NOT WARRANT OR MAKE ANY REPRESENTATION REGARDING USE OR THE RESULT OF USE OF THE CONTENT IN TERMS OF ACCURACY, RELIABILITY, OR OTHERWISE.
TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, GITHUB OFFERS THE SITE ON AN AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WEBSITES OR SERVICES, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NONINFRINGEMENT. GITHUB DOES NOT WARRANT THAT THE FUNCTIONS OR CONTENT CONTAINED ON THE WEBSITE OR SERVICES WILL BE ERROR-FREE, THAT DEFECTS WILL BE CORRECTED, OR THAT GITHUB'S SERVERS ARE FREE OF VIRUSES OR OTHER HARMFUL COMPONENTS. GITHUB DOES NOT WARRANT OR MAKE ANY REPRESENTATION REGARDING USE OR THE RESULT OF USE OF THE CONTENT IN TERMS OF ACCURACY, RELIABILITY, OR OTHERWISE.
### 5. LIMITATION OF LIABILITY