mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 12:50:24 +01:00
Merge branch 'gh-pages' into cc0-source-text
This commit is contained in:
commit
32195a084f
@ -1,5 +1,5 @@
|
||||
AllCops:
|
||||
TargetRubyVersion: 2.4
|
||||
TargetRubyVersion: 2.5
|
||||
Exclude:
|
||||
- _site/**/*
|
||||
- vendor/**/*
|
||||
|
@ -5,13 +5,16 @@ script: "./script/cibuild"
|
||||
#environment
|
||||
language: ruby
|
||||
rvm:
|
||||
- 2.4.2
|
||||
- 2.5.3
|
||||
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- libcurl4-openssl-dev
|
||||
|
||||
before_install:
|
||||
- gem update --system
|
||||
|
||||
branches:
|
||||
only:
|
||||
- gh-pages
|
||||
|
@ -10,28 +10,28 @@ Please note that this project is released with a [Contributor Code of Conduct](C
|
||||
|
||||
So you want to contribute to ChooseALicense. Great! We welcome any help we can
|
||||
get. But first, please make sure you understand what
|
||||
[this site is all about](http://choosealicense.com/about). It’s not a comprehensive list of all possible licenses.
|
||||
[this site is all about](https://choosealicense.com/about). It’s not a comprehensive list of all possible licenses.
|
||||
|
||||
## Adding a license
|
||||
|
||||
Choosealicense.com is intended to demystify license choices, not present or catalog all of them. As such, only a small number are highlighted on the home page or <http://choosealicense.com/licenses>, and there are several requirements for a license to be [cataloged](http://choosealicense.com/appendix/) on the site:
|
||||
Choosealicense.com is intended to demystify license choices, not present or catalog all of them. As such, only a small number are highlighted on the home page or <https://choosealicense.com/licenses>, and there are several requirements for a license to be [cataloged](https://choosealicense.com/appendix/) on the site:
|
||||
|
||||
1. The license must have [an SPDX identifier](https://spdx.org/licenses/). If your license isn't registered with SPDX, please [request that it be added](https://spdx.org/spdx-license-list/request-new-license).
|
||||
2. The license must be listed on one of the following approved lists of licenses:
|
||||
* [List of OSI approved licenses](https://opensource.org/licenses/alphabetical)
|
||||
* [GNU's list of free licenses](https://www.gnu.org/licenses/license-list.en.html) (*note: the license must be listed in one of the three "free" categories*)
|
||||
* [Open Definition's list of conformant licenses](http://opendefinition.org/licenses/) (non-code)
|
||||
3. A [GitHub code search](https://github.com/search?q=MIT+filename%3ALICENSE&type=Code) must reveal at least *1,000* public repositories using the license
|
||||
4. Identification of 3 notable projects using the license with straightforward LICENSE files which serve as examples newcomers can follow and that could be detected by [licensee](https://github.com/benbalter/licensee) if it knew about the license
|
||||
* [Open Definition's list of conformant licenses](https://opendefinition.org/licenses/) (non-code)
|
||||
3. A [GitHub code search](https://github.com/search?q=MIT+filename%3ALICENSE&type=Code) must reveal at least *1,000* public repositories using the license.
|
||||
4. 3 notable projects using the license must be identified. These must have straightforward LICENSE files which serve as examples newcomers can follow and that could be detected by [licensee](https://github.com/benbalter/licensee) if it knew about the license.
|
||||
|
||||
If your proposed license meets the above criteria, here's a few other things to keep in mind as you propose the license's addition:
|
||||
|
||||
* Is the license already cataloged? See <http://choosealicense.com/appendix/> for a list of all of the licenses known by the site.
|
||||
* Is the license already cataloged? See <https://choosealicense.com/appendix/> for a list of all of the licenses known by the site.
|
||||
* Licenses live in the `/_licenses` folder.
|
||||
* The license files should be in the format of `_licenses/[lowercased-spdx-id].txt` (e.g., `_licenses/mit.txt`)
|
||||
* Each license has both [required and optional metadata](https://github.com/github/choosealicense.com#license-metadata) that should be included.
|
||||
* The text of the license should be wrapped to a 78 character width.
|
||||
* The text of the license should match the corresponding text found at https://spdx.org/licenses/
|
||||
* 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
|
||||
|
29
README.md
29
README.md
@ -1,21 +1,15 @@
|
||||
# Choosealicense.com
|
||||
**[ChooseALicense.com](https://choosealicense.com)** aims to provide **accurate**, **non-judgmental**, and **understandable** information about popular **open source licenses** in order to **help people make informed decisions** about the projects they start, maintain, contribute to, and use.
|
||||
|
||||
[![Build Status](https://travis-ci.org/github/choosealicense.com.svg?branch=gh-pages)](https://travis-ci.org/github/choosealicense.com)
|
||||
|
||||
Like a Choose Your Own Adventure site, but only much less interesting.
|
||||
We catalog [select](CONTRIBUTING.md#adding-a-license) open source licenses with a [Jekyll collection](https://jekyllrb.com/docs/collections/) (in `_licenses`). The catalog is used to render [ChooseALicense.com](https://choosealicense.com) and is regularly vendored into [Licensee](https://github.com/benbalter/licensee), which GitHub uses to provide a [license chooser and license detection](https://help.github.com/articles/adding-a-license-to-a-repository/), a [licenses API](https://developer.github.com/v3/licenses/), and to [display license descriptions and metadata](https://github.com/blog/2335-open-source-license-descriptions-and-metadata).
|
||||
|
||||
## Intro
|
||||
## Goals
|
||||
|
||||
A lot of repositories on GitHub.com don't have a license. GitHub provides a license chooser, but if you don't know anything about licenses, how are you supposed to make an informed decision?
|
||||
|
||||
[ChooseALicense.com](http://www.choosealicense.com "Choose A Licence website") is designed to help people make an informed decision about licenses by demystifying license choices through non-judgmental guidance.
|
||||
|
||||
## Immediate Goals
|
||||
|
||||
* Non-judgmental. Our goal is to help you find a license that meets *your* goals.
|
||||
* Well designed, but that goes without saying.
|
||||
* The homepage should have just enough to help 99% of folks make a decision.
|
||||
* For the 1%, the site will contain a list of licenses common to specific communities and situations.
|
||||
* Be accurate, non-judgmental, and understandable. Our goal is to help you find a license that meets *your* goals.
|
||||
* The homepage should have just enough to help most folks make a decision about what license to use for a project they contribute to.
|
||||
* For the rest, the site will contain additional information about licenses common to specific communities and situations.
|
||||
* 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
|
||||
@ -39,9 +33,8 @@ Licenses sit in the `/_licenses` folder. Each license has YAML front matter desc
|
||||
|
||||
#### Required fields
|
||||
|
||||
* `title` - The license full name specified by http://spdx.org/licenses/
|
||||
* `spdx-id` - Short identifier specified by http://spdx.org/licenses/
|
||||
* `source` - The URL to the license source text
|
||||
* `title` - The license full name specified by https://spdx.org/licenses/
|
||||
* `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/benbalter/licensee) in the form of `project_name: license_file_url`
|
||||
@ -52,7 +45,7 @@ Licenses sit in the `/_licenses` folder. Each license has YAML front matter desc
|
||||
#### Optional fields
|
||||
|
||||
* `featured` - Whether the license should be featured on the main page (defaults to false)
|
||||
* `hidden` - Whether the license is neither [popular](https://opensource.org/licenses) nor fills out the [spectrum of licenses](http://choosealicense.com/licenses/) from strongly conditional to unconditional (defaults to true)
|
||||
* `hidden` - Whether the license is neither [popular](https://opensource.org/licenses) nor fills out the [spectrum of licenses](https://choosealicense.com/licenses/) from strongly conditional to unconditional (defaults to true)
|
||||
* `nickname` - Customary short name if applicable (e.g, GPLv3)
|
||||
* `note` - Additional information about the licenses
|
||||
* `redirect_from` - Relative path(s) to redirect to the license from, to prevent breaking old URLs
|
||||
@ -104,4 +97,4 @@ The license properties (rules) are stored as a bulleted list within the licenses
|
||||
|
||||
## License
|
||||
|
||||
The content of this project itself is licensed under the [Creative Commons Attribution 3.0 license](http://creativecommons.org/licenses/by/3.0/us/deed.en_US), and the underlying source code used to format and display that content is licensed under the [MIT license](http://opensource.org/licenses/mit-license.php).
|
||||
The content of this project itself is licensed under the [Creative Commons Attribution 3.0 Unported license](https://creativecommons.org/licenses/by/3.0/), and the underlying source code used to format and display that content is licensed under the [MIT license](LICENSE.md).
|
||||
|
3
Rakefile
3
Rakefile
@ -14,8 +14,11 @@ task :test do
|
||||
Rake::Task['spec'].invoke
|
||||
HTMLProofer.check_directory('./_site',
|
||||
check_html: true,
|
||||
enforce_https: true,
|
||||
validation: { ignore_script_embeds: true },
|
||||
url_swap: { %r{https://choosealicense.com} => '' },
|
||||
url_ignore: [%r{https://github.com/github/choosealicense.com/edit/gh-pages/_licenses/}],
|
||||
hydra: { max_concurrency: 10 },
|
||||
check_img_http: true).run
|
||||
end
|
||||
|
||||
|
@ -34,12 +34,14 @@ exclude:
|
||||
- tests
|
||||
- assets/vendor/selectivizr/tests
|
||||
- assets/vendor/clipboard/test
|
||||
- assets/vendor/*/README.*
|
||||
|
||||
plugins:
|
||||
- jekyll-sitemap
|
||||
- jekyll-redirect-from
|
||||
- jekyll-seo-tag
|
||||
- jekyll-coffeescript
|
||||
- jekyll-github-metadata # For 'Improve this page' links
|
||||
|
||||
sass:
|
||||
style: :compressed
|
||||
|
@ -2,15 +2,11 @@
|
||||
# The available fields are:
|
||||
|
||||
- name: title
|
||||
description: The license full name specified by http://spdx.org/licenses/
|
||||
description: The license full name specified by https://spdx.org/licenses/
|
||||
required: true
|
||||
|
||||
- name: spdx-id
|
||||
description: Short identifier specified by http://spdx.org/licenses/
|
||||
required: true
|
||||
|
||||
- name: source
|
||||
description: The URL to the license source text
|
||||
description: Short identifier specified by https://spdx.org/licenses/
|
||||
required: true
|
||||
|
||||
- name: description
|
||||
@ -44,7 +40,7 @@
|
||||
required: false
|
||||
|
||||
- name: hidden
|
||||
description: Whether the license is neither [popular](https://opensource.org/licenses) nor fills out the [spectrum of licenses](http://choosealicense.com/licenses/) from strongly conditional to unconditional (defaults to true)
|
||||
description: Whether the license is neither [popular](https://opensource.org/licenses) nor fills out the [spectrum of licenses](https://choosealicense.com/licenses/) from strongly conditional to unconditional (defaults to true)
|
||||
required: false
|
||||
|
||||
- name: nickname
|
||||
|
@ -2,6 +2,7 @@
|
||||
<nav>
|
||||
<a href="/about/">About</a>
|
||||
<a href="/terms-of-service/">Terms of Service</a>
|
||||
{% github_edit_link "Help improve this page" %}
|
||||
</nav>
|
||||
<p>
|
||||
The content of this site is licensed under the <a href="https://creativecommons.org/licenses/by/3.0/">
|
||||
@ -20,6 +21,16 @@
|
||||
<script src="/assets/vendor/clipboard/dist/clipboard.min.js"></script>
|
||||
<script>
|
||||
window.annotations = {{ site.data.rules | jsonify }};
|
||||
{% if page.collection == "licenses" %}
|
||||
window.licenses = [
|
||||
{% for license in site.licenses %}
|
||||
{
|
||||
"title": "{{ license.title | escape }}",
|
||||
"spdx_id": "{{ license.spdx-id | escape }}"
|
||||
}{% unless forloop.last %},{% endunless %}
|
||||
{% endfor %}
|
||||
];
|
||||
{% endif %}
|
||||
</script>
|
||||
<script src="/assets/js/app.js"></script>
|
||||
{% endif %}
|
||||
|
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
|
||||
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Chivo:900">
|
||||
<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">
|
||||
<!--[if lt IE 9]>
|
||||
|
@ -1,30 +1,42 @@
|
||||
<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>
|
||||
|
||||
<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>
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="how-to-apply">
|
||||
<h3>How to apply this license</h3>
|
||||
<h3 id="how-to-apply">How to apply this license</h3>
|
||||
<p>
|
||||
{{ page.how | markdownify | remove: '<p>' | remove: '</p>' }}
|
||||
</p>
|
||||
<div class="note">
|
||||
<h4 id="optional-steps">Optional steps</h4>
|
||||
{% if page.note %}
|
||||
<p class="note">
|
||||
<strong>Note: </strong> {{ page.note | markdownify | remove: '<p>' | remove: '</p>' }}
|
||||
<p>
|
||||
{{ page.note | markdownify | remove: '<p>' | remove: '</p>' }}
|
||||
</p>
|
||||
{% 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="https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata">Rust</a>). This will ensure the license is displayed in package directories.</p>
|
||||
<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>
|
||||
{% 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>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% if page.source %}
|
||||
<div class="source">
|
||||
<a href="{{ page.source }}">
|
||||
<a href="https://spdx.org/licenses/{{ page.spdx-id }}.html">
|
||||
<span class="license-sprite"></span>
|
||||
Source
|
||||
</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if page.using %}
|
||||
<div class="projects-with-license">
|
||||
|
39
_licenses/0bsd.txt
Normal file
39
_licenses/0bsd.txt
Normal file
@ -0,0 +1,39 @@
|
||||
---
|
||||
title: BSD Zero Clause License
|
||||
spdx-id: 0BSD
|
||||
|
||||
description: The BSD Zero Clause license goes further than the BSD 2-Clause license to allow you unlimited freedom with the software without requirements to include the copyright notice, license text, or disclaimer in either source or binary forms.
|
||||
|
||||
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
|
||||
|
||||
permissions:
|
||||
- commercial-use
|
||||
- distribution
|
||||
- modifications
|
||||
- private-use
|
||||
|
||||
conditions: []
|
||||
|
||||
limitations:
|
||||
- liability
|
||||
- warranty
|
||||
|
||||
---
|
||||
|
||||
Copyright (c) [year] [fullname]
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for any
|
||||
purpose with or without fee is hereby granted.
|
||||
|
||||
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.
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: Academic Free License v3.0
|
||||
spdx-id: AFL-3.0
|
||||
source: https://opensource.org/licenses/afl-3.0
|
||||
|
||||
description: The Academic Free License is a variant of the Open Software License that does not require that the source code of derivative works be disclosed. It contains explicit copyright and patent grants and reserves trademark rights in the author.
|
||||
|
||||
@ -27,7 +26,7 @@ limitations:
|
||||
|
||||
---
|
||||
|
||||
Academic Free License (“AFL”) v. 3.0
|
||||
Academic Free License ("AFL") v. 3.0
|
||||
|
||||
This Academic Free License (the "License") applies to any original work of
|
||||
authorship (the "Original Work") whose owner (the "Licensor") has placed the
|
||||
@ -49,9 +48,11 @@ the following:
|
||||
|
||||
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
|
||||
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
|
||||
|
||||
e) to display the Original Work publicly.
|
||||
|
||||
2) Grant of Patent License. Licensor grants You a worldwide, royalty-free,
|
||||
@ -75,7 +76,7 @@ of any contributors to the Original Work, nor any of their trademarks or
|
||||
service marks, may be used to endorse or promote products derived from this
|
||||
Original Work without express prior permission of the Licensor. Except as
|
||||
expressly stated herein, nothing in this License grants any license to
|
||||
Licensor’s trademarks, copyrights, patents, trade secrets or any other
|
||||
Licensor's trademarks, copyrights, patents, trade secrets or any other
|
||||
intellectual property. No patent license is granted to make, use, sell, offer
|
||||
for sale, have made, or import embodiments of any patent claims other than the
|
||||
licensed claims defined in Section 2. No license is granted to the trademarks
|
||||
@ -133,7 +134,7 @@ the activities listed in Section 1, including your right to create Derivative
|
||||
Works based upon the Original Work, and doing so without honoring these terms
|
||||
and conditions is prohibited by copyright law and international treaty.
|
||||
Nothing in this License is intended to affect copyright exceptions and
|
||||
limitations (including “fair use” or “fair dealing”). This License shall
|
||||
limitations (including "fair use" or "fair dealing"). This License shall
|
||||
terminate immediately and You may no longer exercise any of the rights granted
|
||||
to You by this License upon your failure to honor the conditions in Section
|
||||
1(c).
|
||||
@ -157,7 +158,7 @@ subject to the requirements and penalties of copyright or patent law in the
|
||||
appropriate jurisdiction. This section shall survive the termination of this
|
||||
License.
|
||||
|
||||
12) Attorneys’ Fees. In any action to enforce the terms of this License or
|
||||
12) Attorneys' Fees. In any action to enforce the terms of this License or
|
||||
seeking damages relating thereto, the prevailing party shall be entitled to
|
||||
recover its costs and expenses, including, without limitation, reasonable
|
||||
attorneys' fees and costs incurred in connection with such action, including
|
||||
|
@ -3,7 +3,6 @@ title: GNU Affero General Public License v3.0
|
||||
spdx-id: AGPL-3.0
|
||||
nickname: GNU AGPLv3
|
||||
redirect_from: /licenses/agpl/
|
||||
source: https://www.gnu.org/licenses/agpl-3.0.txt
|
||||
hidden: false
|
||||
|
||||
description: Permissions of this strongest 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. When a modified version is used to provide a service over a network, the complete source code of the modified version must be made available.
|
||||
@ -37,7 +36,7 @@ limitations:
|
||||
GNU AFFERO GENERAL PUBLIC LICENSE
|
||||
Version 3, 19 November 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
@ -679,7 +678,7 @@ the "copyright" line and a pointer to where the full notice is found.
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
@ -694,4 +693,4 @@ specific requirements.
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU AGPL, see
|
||||
<http://www.gnu.org/licenses/>.
|
||||
<https://www.gnu.org/licenses/>.
|
||||
|
@ -2,7 +2,6 @@
|
||||
title: Apache License 2.0
|
||||
spdx-id: Apache-2.0
|
||||
redirect_from: /licenses/apache/
|
||||
source: https://www.apache.org/licenses/LICENSE-2.0.html
|
||||
featured: true
|
||||
hidden: false
|
||||
|
||||
@ -13,8 +12,8 @@ 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 at the very end of the license in the appendix.
|
||||
|
||||
using:
|
||||
- Elasticsearch: https://github.com/elastic/elasticsearch/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/master/LICENSE.txt
|
||||
|
||||
permissions:
|
||||
|
@ -2,7 +2,6 @@
|
||||
title: Artistic License 2.0
|
||||
spdx-id: Artistic-2.0
|
||||
redirect_from: /licenses/artistic/
|
||||
source: http://www.perlfoundation.org/attachment/legal/artistic-2_0.txt
|
||||
|
||||
description: Heavily favored by the Perl community, the Artistic license requires that modified versions of the software do not prevent users from running the standard version.
|
||||
|
||||
|
@ -2,7 +2,6 @@
|
||||
title: BSD 2-Clause "Simplified" License
|
||||
spdx-id: BSD-2-Clause
|
||||
redirect_from: /licenses/bsd/
|
||||
source: https://opensource.org/licenses/BSD-2-Clause
|
||||
hidden: false
|
||||
|
||||
description: A permissive license that comes in two variants, the <a href="/licenses/bsd-2-clause/">BSD 2-Clause</a> and <a href="/licenses/bsd-3-clause/">BSD 3-Clause</a>. Both have very minute differences to the MIT license.
|
||||
@ -10,6 +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
|
||||
|
||||
permissions:
|
||||
- commercial-use
|
||||
@ -34,12 +36,12 @@ All rights reserved.
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
1. Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
|
||||
* Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
2. Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
|
@ -1,11 +1,11 @@
|
||||
---
|
||||
title: BSD 3-Clause Clear License
|
||||
spdx-id: BSD-3-Clause-Clear
|
||||
source: https://spdx.org/licenses/BSD-3-Clause-Clear.html
|
||||
nickname: Clear BSD
|
||||
|
||||
description: A variant of the <a href="/licenses/bsd-3-clause/">BSD 3-Clause License</a> that explicitly does not grant any patent rights.
|
||||
|
||||
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.
|
||||
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:
|
||||
|
||||
|
@ -1,14 +1,16 @@
|
||||
---
|
||||
title: BSD 3-Clause "New" or "Revised" License
|
||||
spdx-id: BSD-3-Clause
|
||||
source: https://opensource.org/licenses/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.
|
||||
|
||||
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.
|
||||
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
|
||||
|
||||
permissions:
|
||||
- commercial-use
|
||||
@ -33,16 +35,16 @@ All rights reserved.
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
1. Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
|
||||
* Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
2. Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
* Neither the name of the copyright holder nor the names of its
|
||||
contributors may be used to endorse or promote products derived from
|
||||
this software without specific prior written permission.
|
||||
3. Neither the name of the copyright holder nor the names of its
|
||||
contributors may be used to endorse or promote products derived from
|
||||
this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
|
@ -1,13 +1,12 @@
|
||||
---
|
||||
title: Boost Software License 1.0
|
||||
spdx-id: BSL-1.0
|
||||
source: https://opensource.org/licenses/BSL-1.0
|
||||
|
||||
description: A simple permissive license only requiring preservation of copyright and license notices for source (and not binary) distribution. 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.
|
||||
|
||||
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](http://www.boost.org/users/license.html#FAQ).
|
||||
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:
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: Creative Commons Attribution 4.0
|
||||
title: Creative Commons Attribution 4.0 International
|
||||
spdx-id: CC-BY-4.0
|
||||
source: https://creativecommons.org/licenses/by/4.0/legalcode.txt
|
||||
|
||||
description: Permits almost any use subject to providing credit and license notice. Frequently used for media assets and educational materials. The most common license for Open Access scientific publications. Not recommended for software.
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: Creative Commons Attribution Share Alike 4.0
|
||||
title: Creative Commons Attribution Share Alike 4.0 International
|
||||
spdx-id: CC-BY-SA-4.0
|
||||
source: https://creativecommons.org/licenses/by-sa/4.0/legalcode.txt
|
||||
|
||||
description: Similar to <a href='/licenses/cc-by-4.0/'>CC-BY-4.0</a> but requires derivatives be distributed under the same or a similar, <a href="https://creativecommons.org/compatiblelicenses/">compatible</a> license. Frequently used for media assets and educational materials. A previous version is the default license for Wikipedia and other Wikimedia projects. Not recommended for software.
|
||||
|
||||
|
@ -2,9 +2,8 @@
|
||||
title: Creative Commons Zero v1.0 Universal
|
||||
spdx-id: CC0-1.0
|
||||
redirect_from: /licenses/cc0/
|
||||
source: https://creativecommons.org/publicdomain/zero/1.0/
|
||||
|
||||
description: The <a href="https://creativecommons.org/publicdomain/zero/1.0/">Creative Commons CC0 Public Domain Dedication</a> waives copyright interest in any a work you've created and dedicates it to the world-wide public domain. Use CC0 to opt out of copyright entirely and ensure your work has the widest reach. As with the Unlicense and typical software licenses, CC0 disclaims warranties. CC0 is very similar to the Unlicense.
|
||||
description: The <a href="https://creativecommons.org/publicdomain/zero/1.0/">Creative Commons CC0 Public Domain Dedication</a> waives copyright interest in a work you've created and dedicates it to the world-wide public domain. Use CC0 to opt out of copyright entirely and ensure your work has the widest reach. As with the Unlicense and typical software licenses, CC0 disclaims warranties. CC0 is very similar to the Unlicense.
|
||||
|
||||
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the CC0 into the file.
|
||||
|
||||
|
579
_licenses/cecill-2.1.txt
Normal file
579
_licenses/cecill-2.1.txt
Normal file
@ -0,0 +1,579 @@
|
||||
---
|
||||
title: CeCILL Free Software License Agreement v2.1
|
||||
spdx-id: CECILL-2.1
|
||||
|
||||
description: Strong copyleft license made by three French public research organisations, CEA, CNRS, and Inria, compatible with AGPL-3.0, EUPL-1.1, and GPL-2.0, or later versions of those licenses.
|
||||
|
||||
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
|
||||
|
||||
permissions:
|
||||
- commercial-use
|
||||
- modifications
|
||||
- distribution
|
||||
- private-use
|
||||
- patent-use
|
||||
|
||||
conditions:
|
||||
- include-copyright
|
||||
- disclose-source
|
||||
- same-license
|
||||
|
||||
limitations:
|
||||
- liability
|
||||
- warranty
|
||||
|
||||
---
|
||||
|
||||
|
||||
CONTRAT DE LICENCE DE LOGICIEL LIBRE CeCILL
|
||||
|
||||
Version 2.1 du 2013-06-21
|
||||
|
||||
|
||||
Avertissement
|
||||
|
||||
Ce contrat est une licence de logiciel libre issue d'une concertation
|
||||
entre ses auteurs afin que le respect de deux grands principes préside à
|
||||
sa rédaction:
|
||||
|
||||
* d'une part, le respect des principes de diffusion des logiciels
|
||||
libres: accès au code source, droits étendus conférés aux utilisateurs,
|
||||
* d'autre part, la désignation d'un droit applicable, le droit
|
||||
français, auquel elle est conforme, tant au regard du droit de la
|
||||
responsabilité civile que du droit de la propriété intellectuelle et
|
||||
de la protection qu'il offre aux auteurs et titulaires des droits
|
||||
patrimoniaux sur un logiciel.
|
||||
|
||||
Les auteurs de la licence CeCILL (Ce[a] C[nrs] I[nria] L[ogiciel] L[ibre])
|
||||
sont:
|
||||
|
||||
Commissariat à l'énergie atomique et aux énergies alternatives - CEA,
|
||||
établissement public de recherche à caractère scientifique, technique et
|
||||
industriel, dont le siège est situé 25 rue Leblanc, immeuble Le Ponant
|
||||
D, 75015 Paris.
|
||||
|
||||
Centre National de la Recherche Scientifique - CNRS, établissement
|
||||
public à caractère scientifique et technologique, dont le siège est
|
||||
situé 3 rue Michel-Ange, 75794 Paris cedex 16.
|
||||
|
||||
Institut National de Recherche en Informatique et en Automatique -
|
||||
Inria, établissement public à caractère scientifique et technologique,
|
||||
dont le siège est situé Domaine de Voluceau, Rocquencourt, BP 105, 78153
|
||||
Le Chesnay cedex.
|
||||
|
||||
|
||||
Préambule
|
||||
|
||||
Ce contrat est une licence de logiciel libre dont l'objectif est de
|
||||
conférer aux utilisateurs la liberté de modification et de
|
||||
redistribution du logiciel régi par cette licence dans le cadre d'un
|
||||
modèle de diffusion en logiciel libre.
|
||||
|
||||
L'exercice de ces libertés est assorti de certains devoirs à la charge
|
||||
des utilisateurs afin de préserver ce statut au cours des
|
||||
redistributions ultérieures.
|
||||
|
||||
L'accessibilité au code source et les droits de copie, de modification
|
||||
et de redistribution qui en découlent ont pour contrepartie de n'offrir
|
||||
aux utilisateurs qu'une garantie limitée et de ne faire peser sur
|
||||
l'auteur du logiciel, le titulaire des droits patrimoniaux et les
|
||||
concédants successifs qu'une responsabilité restreinte.
|
||||
|
||||
A cet égard l'attention de l'utilisateur est attirée sur les risques
|
||||
associés au chargement, à l'utilisation, à la modification et/ou au
|
||||
développement et à la reproduction du logiciel par l'utilisateur étant
|
||||
donné sa spécificité de logiciel libre, qui peut le rendre complexe à
|
||||
manipuler et qui le réserve donc à des développeurs ou des
|
||||
professionnels avertis possédant des connaissances informatiques
|
||||
approfondies. Les utilisateurs sont donc invités à charger et tester
|
||||
l'adéquation du logiciel à leurs besoins dans des conditions permettant
|
||||
d'assurer la sécurité de leurs systèmes et/ou de leurs données et, plus
|
||||
généralement, à l'utiliser et l'exploiter dans les mêmes conditions de
|
||||
sécurité. Ce contrat peut être reproduit et diffusé librement, sous
|
||||
réserve de le conserver en l'état, sans ajout ni suppression de clauses.
|
||||
|
||||
Ce contrat est susceptible de s'appliquer à tout logiciel dont le
|
||||
titulaire des droits patrimoniaux décide de soumettre l'exploitation aux
|
||||
dispositions qu'il contient.
|
||||
|
||||
Une liste de questions fréquemment posées se trouve sur le site web
|
||||
officiel de la famille des licences CeCILL
|
||||
(http://www.cecill.info/index.fr.html) pour toute clarification qui
|
||||
serait nécessaire.
|
||||
|
||||
|
||||
Article 1 - DEFINITIONS
|
||||
|
||||
Dans ce contrat, les termes suivants, lorsqu'ils seront écrits avec une
|
||||
lettre capitale, auront la signification suivante:
|
||||
|
||||
Contrat: désigne le présent contrat de licence, ses éventuelles versions
|
||||
postérieures et annexes.
|
||||
|
||||
Logiciel: désigne le logiciel sous sa forme de Code Objet et/ou de Code
|
||||
Source et le cas échéant sa documentation, dans leur état au moment de
|
||||
l'acceptation du Contrat par le Licencié.
|
||||
|
||||
Logiciel Initial: désigne le Logiciel sous sa forme de Code Source et
|
||||
éventuellement de Code Objet et le cas échéant sa documentation, dans
|
||||
leur état au moment de leur première diffusion sous les termes du Contrat.
|
||||
|
||||
Logiciel Modifié: désigne le Logiciel modifié par au moins une
|
||||
Contribution.
|
||||
|
||||
Code Source: désigne l'ensemble des instructions et des lignes de
|
||||
programme du Logiciel et auquel l'accès est nécessaire en vue de
|
||||
modifier le Logiciel.
|
||||
|
||||
Code Objet: désigne les fichiers binaires issus de la compilation du
|
||||
Code Source.
|
||||
|
||||
Titulaire: désigne le ou les détenteurs des droits patrimoniaux d'auteur
|
||||
sur le Logiciel Initial.
|
||||
|
||||
Licencié: désigne le ou les utilisateurs du Logiciel ayant accepté le
|
||||
Contrat.
|
||||
|
||||
Contributeur: désigne le Licencié auteur d'au moins une Contribution.
|
||||
|
||||
Concédant: désigne le Titulaire ou toute personne physique ou morale
|
||||
distribuant le Logiciel sous le Contrat.
|
||||
|
||||
Contribution: désigne l'ensemble des modifications, corrections,
|
||||
traductions, adaptations et/ou nouvelles fonctionnalités intégrées dans
|
||||
le Logiciel par tout Contributeur, ainsi que tout Module Interne.
|
||||
|
||||
Module: désigne un ensemble de fichiers sources y compris leur
|
||||
documentation qui permet de réaliser des fonctionnalités ou services
|
||||
supplémentaires à ceux fournis par le Logiciel.
|
||||
|
||||
Module Externe: désigne tout Module, non dérivé du Logiciel, tel que ce
|
||||
Module et le Logiciel s'exécutent dans des espaces d'adressage
|
||||
différents, l'un appelant l'autre au moment de leur exécution.
|
||||
|
||||
Module Interne: désigne tout Module lié au Logiciel de telle sorte
|
||||
qu'ils s'exécutent dans le même espace d'adressage.
|
||||
|
||||
GNU GPL: désigne la GNU General Public License dans sa version 2 ou
|
||||
toute version ultérieure, telle que publiée par Free Software Foundation
|
||||
Inc.
|
||||
|
||||
GNU Affero GPL: désigne la GNU Affero General Public License dans sa
|
||||
version 3 ou toute version ultérieure, telle que publiée par Free
|
||||
Software Foundation Inc.
|
||||
|
||||
EUPL: désigne la Licence Publique de l'Union européenne dans sa version
|
||||
1.1 ou toute version ultérieure, telle que publiée par la Commission
|
||||
Européenne.
|
||||
|
||||
Parties: désigne collectivement le Licencié et le Concédant.
|
||||
|
||||
Ces termes s'entendent au singulier comme au pluriel.
|
||||
|
||||
|
||||
Article 2 - OBJET
|
||||
|
||||
Le Contrat a pour objet la concession par le Concédant au Licencié d'une
|
||||
licence non exclusive, cessible et mondiale du Logiciel telle que
|
||||
définie ci-après à l'article 5 <#etendue> pour toute la durée de
|
||||
protection des droits portant sur ce Logiciel.
|
||||
|
||||
|
||||
Article 3 - ACCEPTATION
|
||||
|
||||
3.1 L'acceptation par le Licencié des termes du Contrat est réputée
|
||||
acquise du fait du premier des faits suivants:
|
||||
|
||||
* (i) le chargement du Logiciel par tout moyen notamment par
|
||||
téléchargement à partir d'un serveur distant ou par chargement à
|
||||
partir d'un support physique;
|
||||
* (ii) le premier exercice par le Licencié de l'un quelconque des
|
||||
droits concédés par le Contrat.
|
||||
|
||||
3.2 Un exemplaire du Contrat, contenant notamment un avertissement
|
||||
relatif aux spécificités du Logiciel, à la restriction de garantie et à
|
||||
la limitation à un usage par des utilisateurs expérimentés a été mis à
|
||||
disposition du Licencié préalablement à son acceptation telle que
|
||||
définie à l'article 3.1 <#acceptation-acquise> ci dessus et le Licencié
|
||||
reconnaît en avoir pris connaissance.
|
||||
|
||||
|
||||
Article 4 - ENTREE EN VIGUEUR ET DUREE
|
||||
|
||||
|
||||
4.1 ENTREE EN VIGUEUR
|
||||
|
||||
Le Contrat entre en vigueur à la date de son acceptation par le Licencié
|
||||
telle que définie en 3.1 <#acceptation-acquise>.
|
||||
|
||||
|
||||
4.2 DUREE
|
||||
|
||||
Le Contrat produira ses effets pendant toute la durée légale de
|
||||
protection des droits patrimoniaux portant sur le Logiciel.
|
||||
|
||||
|
||||
Article 5 - ETENDUE DES DROITS CONCEDES
|
||||
|
||||
Le Concédant concède au Licencié, qui accepte, les droits suivants sur
|
||||
le Logiciel pour toutes destinations et pour la durée du Contrat dans
|
||||
les conditions ci-après détaillées.
|
||||
|
||||
Par ailleurs, si le Concédant détient ou venait à détenir un ou
|
||||
plusieurs brevets d'invention protégeant tout ou partie des
|
||||
fonctionnalités du Logiciel ou de ses composants, il s'engage à ne pas
|
||||
opposer les éventuels droits conférés par ces brevets aux Licenciés
|
||||
successifs qui utiliseraient, exploiteraient ou modifieraient le
|
||||
Logiciel. En cas de cession de ces brevets, le Concédant s'engage à
|
||||
faire reprendre les obligations du présent alinéa aux cessionnaires.
|
||||
|
||||
|
||||
5.1 DROIT D'UTILISATION
|
||||
|
||||
Le Licencié est autorisé à utiliser le Logiciel, sans restriction quant
|
||||
aux domaines d'application, étant ci-après précisé que cela comporte:
|
||||
|
||||
1.
|
||||
|
||||
la reproduction permanente ou provisoire du Logiciel en tout ou
|
||||
partie par tout moyen et sous toute forme.
|
||||
|
||||
2.
|
||||
|
||||
le chargement, l'affichage, l'exécution, ou le stockage du Logiciel
|
||||
sur tout support.
|
||||
|
||||
3.
|
||||
|
||||
la possibilité d'en observer, d'en étudier, ou d'en tester le
|
||||
fonctionnement afin de déterminer les idées et principes qui sont à
|
||||
la base de n'importe quel élément de ce Logiciel; et ceci, lorsque
|
||||
le Licencié effectue toute opération de chargement, d'affichage,
|
||||
d'exécution, de transmission ou de stockage du Logiciel qu'il est en
|
||||
droit d'effectuer en vertu du Contrat.
|
||||
|
||||
|
||||
5.2 DROIT D'APPORTER DES CONTRIBUTIONS
|
||||
|
||||
Le droit d'apporter des Contributions comporte le droit de traduire,
|
||||
d'adapter, d'arranger ou d'apporter toute autre modification au Logiciel
|
||||
et le droit de reproduire le logiciel en résultant.
|
||||
|
||||
Le Licencié est autorisé à apporter toute Contribution au Logiciel sous
|
||||
réserve de mentionner, de façon explicite, son nom en tant qu'auteur de
|
||||
cette Contribution et la date de création de celle-ci.
|
||||
|
||||
|
||||
5.3 DROIT DE DISTRIBUTION
|
||||
|
||||
Le droit de distribution comporte notamment le droit de diffuser, de
|
||||
transmettre et de communiquer le Logiciel au public sur tout support et
|
||||
par tout moyen ainsi que le droit de mettre sur le marché à titre
|
||||
onéreux ou gratuit, un ou des exemplaires du Logiciel par tout procédé.
|
||||
|
||||
Le Licencié est autorisé à distribuer des copies du Logiciel, modifié ou
|
||||
non, à des tiers dans les conditions ci-après détaillées.
|
||||
|
||||
|
||||
5.3.1 DISTRIBUTION DU LOGICIEL SANS MODIFICATION
|
||||
|
||||
Le Licencié est autorisé à distribuer des copies conformes du Logiciel,
|
||||
sous forme de Code Source ou de Code Objet, à condition que cette
|
||||
distribution respecte les dispositions du Contrat dans leur totalité et
|
||||
soit accompagnée:
|
||||
|
||||
1.
|
||||
|
||||
d'un exemplaire du Contrat,
|
||||
|
||||
2.
|
||||
|
||||
d'un avertissement relatif à la restriction de garantie et de
|
||||
responsabilité du Concédant telle que prévue aux articles 8
|
||||
<#responsabilite> et 9 <#garantie>,
|
||||
|
||||
et que, dans le cas où seul le Code Objet du Logiciel est redistribué,
|
||||
le Licencié permette un accès effectif au Code Source complet du
|
||||
Logiciel pour une durée d'au moins 3 ans à compter de la distribution du
|
||||
logiciel, étant entendu que le coût additionnel d'acquisition du Code
|
||||
Source ne devra pas excéder le simple coût de transfert des données.
|
||||
|
||||
|
||||
5.3.2 DISTRIBUTION DU LOGICIEL MODIFIE
|
||||
|
||||
Lorsque le Licencié apporte une Contribution au Logiciel, les conditions
|
||||
de distribution du Logiciel Modifié en résultant sont alors soumises à
|
||||
l'intégralité des dispositions du Contrat.
|
||||
|
||||
Le Licencié est autorisé à distribuer le Logiciel Modifié, sous forme de
|
||||
code source ou de code objet, à condition que cette distribution
|
||||
respecte les dispositions du Contrat dans leur totalité et soit
|
||||
accompagnée:
|
||||
|
||||
1.
|
||||
|
||||
d'un exemplaire du Contrat,
|
||||
|
||||
2.
|
||||
|
||||
d'un avertissement relatif à la restriction de garantie et de
|
||||
responsabilité du Concédant telle que prévue aux articles 8
|
||||
<#responsabilite> et 9 <#garantie>,
|
||||
|
||||
et, dans le cas où seul le code objet du Logiciel Modifié est redistribué,
|
||||
|
||||
3.
|
||||
|
||||
d'une note précisant les conditions d'accès effectif au code source
|
||||
complet du Logiciel Modifié, pendant une période d'au moins 3 ans à
|
||||
compter de la distribution du Logiciel Modifié, étant entendu que le
|
||||
coût additionnel d'acquisition du code source ne devra pas excéder
|
||||
le simple coût de transfert des données.
|
||||
|
||||
|
||||
5.3.3 DISTRIBUTION DES MODULES EXTERNES
|
||||
|
||||
Lorsque le Licencié a développé un Module Externe les conditions du
|
||||
Contrat ne s'appliquent pas à ce Module Externe, qui peut être distribué
|
||||
sous un contrat de licence différent.
|
||||
|
||||
|
||||
5.3.4 COMPATIBILITE AVEC D'AUTRES LICENCES
|
||||
|
||||
Le Licencié peut inclure un code soumis aux dispositions d'une des
|
||||
versions de la licence GNU GPL, GNU Affero GPL et/ou EUPL dans le
|
||||
Logiciel modifié ou non et distribuer l'ensemble sous les conditions de
|
||||
la même version de la licence GNU GPL, GNU Affero GPL et/ou EUPL.
|
||||
|
||||
Le Licencié peut inclure le Logiciel modifié ou non dans un code soumis
|
||||
aux dispositions d'une des versions de la licence GNU GPL, GNU Affero
|
||||
GPL et/ou EUPL et distribuer l'ensemble sous les conditions de la même
|
||||
version de la licence GNU GPL, GNU Affero GPL et/ou EUPL.
|
||||
|
||||
|
||||
Article 6 - PROPRIETE INTELLECTUELLE
|
||||
|
||||
|
||||
6.1 SUR LE LOGICIEL INITIAL
|
||||
|
||||
Le Titulaire est détenteur des droits patrimoniaux sur le Logiciel
|
||||
Initial. Toute utilisation du Logiciel Initial est soumise au respect
|
||||
des conditions dans lesquelles le Titulaire a choisi de diffuser son
|
||||
oeuvre et nul autre n'a la faculté de modifier les conditions de
|
||||
diffusion de ce Logiciel Initial.
|
||||
|
||||
Le Titulaire s'engage à ce que le Logiciel Initial reste au moins régi
|
||||
par le Contrat et ce, pour la durée visée à l'article 4.2 <#duree>.
|
||||
|
||||
|
||||
6.2 SUR LES CONTRIBUTIONS
|
||||
|
||||
Le Licencié qui a développé une Contribution est titulaire sur celle-ci
|
||||
des droits de propriété intellectuelle dans les conditions définies par
|
||||
la législation applicable.
|
||||
|
||||
|
||||
6.3 SUR LES MODULES EXTERNES
|
||||
|
||||
Le Licencié qui a développé un Module Externe est titulaire sur celui-ci
|
||||
des droits de propriété intellectuelle dans les conditions définies par
|
||||
la législation applicable et reste libre du choix du contrat régissant
|
||||
sa diffusion.
|
||||
|
||||
|
||||
6.4 DISPOSITIONS COMMUNES
|
||||
|
||||
Le Licencié s'engage expressément:
|
||||
|
||||
1.
|
||||
|
||||
à ne pas supprimer ou modifier de quelque manière que ce soit les
|
||||
mentions de propriété intellectuelle apposées sur le Logiciel;
|
||||
|
||||
2.
|
||||
|
||||
à reproduire à l'identique lesdites mentions de propriété
|
||||
intellectuelle sur les copies du Logiciel modifié ou non.
|
||||
|
||||
Le Licencié s'engage à ne pas porter atteinte, directement ou
|
||||
indirectement, aux droits de propriété intellectuelle du Titulaire et/ou
|
||||
des Contributeurs sur le Logiciel et à prendre, le cas échéant, à
|
||||
l'égard de son personnel toutes les mesures nécessaires pour assurer le
|
||||
respect des dits droits de propriété intellectuelle du Titulaire et/ou
|
||||
des Contributeurs.
|
||||
|
||||
|
||||
Article 7 - SERVICES ASSOCIES
|
||||
|
||||
7.1 Le Contrat n'oblige en aucun cas le Concédant à la réalisation de
|
||||
prestations d'assistance technique ou de maintenance du Logiciel.
|
||||
|
||||
Cependant le Concédant reste libre de proposer ce type de services. Les
|
||||
termes et conditions d'une telle assistance technique et/ou d'une telle
|
||||
maintenance seront alors déterminés dans un acte séparé. Ces actes de
|
||||
maintenance et/ou assistance technique n'engageront que la seule
|
||||
responsabilité du Concédant qui les propose.
|
||||
|
||||
7.2 De même, tout Concédant est libre de proposer, sous sa seule
|
||||
responsabilité, à ses licenciés une garantie, qui n'engagera que lui,
|
||||
lors de la redistribution du Logiciel et/ou du Logiciel Modifié et ce,
|
||||
dans les conditions qu'il souhaite. Cette garantie et les modalités
|
||||
financières de son application feront l'objet d'un acte séparé entre le
|
||||
Concédant et le Licencié.
|
||||
|
||||
|
||||
Article 8 - RESPONSABILITE
|
||||
|
||||
8.1 Sous réserve des dispositions de l'article 8.2
|
||||
<#limite-responsabilite>, le Licencié a la faculté, sous réserve de
|
||||
prouver la faute du Concédant concerné, de solliciter la réparation du
|
||||
préjudice direct qu'il subirait du fait du Logiciel et dont il apportera
|
||||
la preuve.
|
||||
|
||||
8.2 La responsabilité du Concédant est limitée aux engagements pris en
|
||||
application du Contrat et ne saurait être engagée en raison notamment:
|
||||
(i) des dommages dus à l'inexécution, totale ou partielle, de ses
|
||||
obligations par le Licencié, (ii) des dommages directs ou indirects
|
||||
découlant de l'utilisation ou des performances du Logiciel subis par le
|
||||
Licencié et (iii) plus généralement d'un quelconque dommage indirect. En
|
||||
particulier, les Parties conviennent expressément que tout préjudice
|
||||
financier ou commercial (par exemple perte de données, perte de
|
||||
bénéfices, perte d'exploitation, perte de clientèle ou de commandes,
|
||||
manque à gagner, trouble commercial quelconque) ou toute action dirigée
|
||||
contre le Licencié par un tiers, constitue un dommage indirect et
|
||||
n'ouvre pas droit à réparation par le Concédant.
|
||||
|
||||
|
||||
Article 9 - GARANTIE
|
||||
|
||||
9.1 Le Licencié reconnaît que l'état actuel des connaissances
|
||||
scientifiques et techniques au moment de la mise en circulation du
|
||||
Logiciel ne permet pas d'en tester et d'en vérifier toutes les
|
||||
utilisations ni de détecter l'existence d'éventuels défauts. L'attention
|
||||
du Licencié a été attirée sur ce point sur les risques associés au
|
||||
chargement, à l'utilisation, la modification et/ou au développement et à
|
||||
la reproduction du Logiciel qui sont réservés à des utilisateurs avertis.
|
||||
|
||||
Il relève de la responsabilité du Licencié de contrôler, par tous
|
||||
moyens, l'adéquation du produit à ses besoins, son bon fonctionnement et
|
||||
de s'assurer qu'il ne causera pas de dommages aux personnes et aux biens.
|
||||
|
||||
9.2 Le Concédant déclare de bonne foi être en droit de concéder
|
||||
l'ensemble des droits attachés au Logiciel (comprenant notamment les
|
||||
droits visés à l'article 5 <#etendue>).
|
||||
|
||||
9.3 Le Licencié reconnaît que le Logiciel est fourni "en l'état" par le
|
||||
Concédant sans autre garantie, expresse ou tacite, que celle prévue à
|
||||
l'article 9.2 <#bonne-foi> et notamment sans aucune garantie sur sa
|
||||
valeur commerciale, son caractère sécurisé, innovant ou pertinent.
|
||||
|
||||
En particulier, le Concédant ne garantit pas que le Logiciel est exempt
|
||||
d'erreur, qu'il fonctionnera sans interruption, qu'il sera compatible
|
||||
avec l'équipement du Licencié et sa configuration logicielle ni qu'il
|
||||
remplira les besoins du Licencié.
|
||||
|
||||
9.4 Le Concédant ne garantit pas, de manière expresse ou tacite, que le
|
||||
Logiciel ne porte pas atteinte à un quelconque droit de propriété
|
||||
intellectuelle d'un tiers portant sur un brevet, un logiciel ou sur tout
|
||||
autre droit de propriété. Ainsi, le Concédant exclut toute garantie au
|
||||
profit du Licencié contre les actions en contrefaçon qui pourraient être
|
||||
diligentées au titre de l'utilisation, de la modification, et de la
|
||||
redistribution du Logiciel. Néanmoins, si de telles actions sont
|
||||
exercées contre le Licencié, le Concédant lui apportera son expertise
|
||||
technique et juridique pour sa défense. Cette expertise technique et
|
||||
juridique est déterminée au cas par cas entre le Concédant concerné et
|
||||
le Licencié dans le cadre d'un protocole d'accord. Le Concédant dégage
|
||||
toute responsabilité quant à l'utilisation de la dénomination du
|
||||
Logiciel par le Licencié. Aucune garantie n'est apportée quant à
|
||||
l'existence de droits antérieurs sur le nom du Logiciel et sur
|
||||
l'existence d'une marque.
|
||||
|
||||
|
||||
Article 10 - RESILIATION
|
||||
|
||||
10.1 En cas de manquement par le Licencié aux obligations mises à sa
|
||||
charge par le Contrat, le Concédant pourra résilier de plein droit le
|
||||
Contrat trente (30) jours après notification adressée au Licencié et
|
||||
restée sans effet.
|
||||
|
||||
10.2 Le Licencié dont le Contrat est résilié n'est plus autorisé à
|
||||
utiliser, modifier ou distribuer le Logiciel. Cependant, toutes les
|
||||
licences qu'il aura concédées antérieurement à la résiliation du Contrat
|
||||
resteront valides sous réserve qu'elles aient été effectuées en
|
||||
conformité avec le Contrat.
|
||||
|
||||
|
||||
Article 11 - DISPOSITIONS DIVERSES
|
||||
|
||||
|
||||
11.1 CAUSE EXTERIEURE
|
||||
|
||||
Aucune des Parties ne sera responsable d'un retard ou d'une défaillance
|
||||
d'exécution du Contrat qui serait dû à un cas de force majeure, un cas
|
||||
fortuit ou une cause extérieure, telle que, notamment, le mauvais
|
||||
fonctionnement ou les interruptions du réseau électrique ou de
|
||||
télécommunication, la paralysie du réseau liée à une attaque
|
||||
informatique, l'intervention des autorités gouvernementales, les
|
||||
catastrophes naturelles, les dégâts des eaux, les tremblements de terre,
|
||||
le feu, les explosions, les grèves et les conflits sociaux, l'état de
|
||||
guerre...
|
||||
|
||||
11.2 Le fait, par l'une ou l'autre des Parties, d'omettre en une ou
|
||||
plusieurs occasions de se prévaloir d'une ou plusieurs dispositions du
|
||||
Contrat, ne pourra en aucun cas impliquer renonciation par la Partie
|
||||
intéressée à s'en prévaloir ultérieurement.
|
||||
|
||||
11.3 Le Contrat annule et remplace toute convention antérieure, écrite
|
||||
ou orale, entre les Parties sur le même objet et constitue l'accord
|
||||
entier entre les Parties sur cet objet. Aucune addition ou modification
|
||||
aux termes du Contrat n'aura d'effet à l'égard des Parties à moins
|
||||
d'être faite par écrit et signée par leurs représentants dûment habilités.
|
||||
|
||||
11.4 Dans l'hypothèse où une ou plusieurs des dispositions du Contrat
|
||||
s'avèrerait contraire à une loi ou à un texte applicable, existants ou
|
||||
futurs, cette loi ou ce texte prévaudrait, et les Parties feraient les
|
||||
amendements nécessaires pour se conformer à cette loi ou à ce texte.
|
||||
Toutes les autres dispositions resteront en vigueur. De même, la
|
||||
nullité, pour quelque raison que ce soit, d'une des dispositions du
|
||||
Contrat ne saurait entraîner la nullité de l'ensemble du Contrat.
|
||||
|
||||
|
||||
11.5 LANGUE
|
||||
|
||||
Le Contrat est rédigé en langue française et en langue anglaise, ces
|
||||
deux versions faisant également foi.
|
||||
|
||||
|
||||
Article 12 - NOUVELLES VERSIONS DU CONTRAT
|
||||
|
||||
12.1 Toute personne est autorisée à copier et distribuer des copies de
|
||||
ce Contrat.
|
||||
|
||||
12.2 Afin d'en préserver la cohérence, le texte du Contrat est protégé
|
||||
et ne peut être modifié que par les auteurs de la licence, lesquels se
|
||||
réservent le droit de publier périodiquement des mises à jour ou de
|
||||
nouvelles versions du Contrat, qui posséderont chacune un numéro
|
||||
distinct. Ces versions ultérieures seront susceptibles de prendre en
|
||||
compte de nouvelles problématiques rencontrées par les logiciels libres.
|
||||
|
||||
12.3 Tout Logiciel diffusé sous une version donnée du Contrat ne pourra
|
||||
faire l'objet d'une diffusion ultérieure que sous la même version du
|
||||
Contrat ou une version postérieure, sous réserve des dispositions de
|
||||
l'article 5.3.4 <#compatibilite>.
|
||||
|
||||
|
||||
Article 13 - LOI APPLICABLE ET COMPETENCE TERRITORIALE
|
||||
|
||||
13.1 Le Contrat est régi par la loi française. Les Parties conviennent
|
||||
de tenter de régler à l'amiable les différends ou litiges qui
|
||||
viendraient à se produire par suite ou à l'occasion du Contrat.
|
||||
|
||||
13.2 A défaut d'accord amiable dans un délai de deux (2) mois à compter
|
||||
de leur survenance et sauf situation relevant d'une procédure d'urgence,
|
||||
les différends ou litiges seront portés par la Partie la plus diligente
|
||||
devant les Tribunaux compétents de Paris.
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: Educational Community License v2.0
|
||||
spdx-id: ECL-2.0
|
||||
source: https://opensource.org/licenses/ECL-2.0
|
||||
|
||||
description: The Educational Community License version 2.0 ("ECL") consists of the Apache 2.0 license, modified to change the scope of the patent grant in section 3 to be specific to the needs of the education communities using this license.
|
||||
|
||||
@ -12,7 +11,7 @@ note: The Apereo Foundation recommends taking the additional step of adding a bo
|
||||
using:
|
||||
- Sakai: https://github.com/sakaiproject/sakai/blob/master/LICENSE
|
||||
- OAE: https://github.com/oaeproject/Hilary/blob/master/LICENSE
|
||||
- Opencast: https://bitbucket.org/opencast-community/opencast/src/905077ba5e6483f8c49869a1fc13bf9268790a79/LICENSE
|
||||
- Opencast: https://github.com/opencast/opencast/blob/develop/LICENSE
|
||||
|
||||
permissions:
|
||||
- commercial-use
|
||||
|
@ -1,17 +1,15 @@
|
||||
---
|
||||
title: Eclipse Public License 1.0
|
||||
spdx-id: EPL-1.0
|
||||
source: https://www.eclipse.org/legal/epl-v10.html
|
||||
hidden: true
|
||||
|
||||
description: This commercially-friendly copyleft license provides the ability to commercially license binaries; a modern royalty-free patent license grant; and the ability for linked works to use other licenses, including commercial ones.
|
||||
|
||||
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 Che: https://github.com/eclipse/che/blob/master/LICENSE
|
||||
- Eclipse hawkBit: https://github.com/eclipse/hawkbit/blob/master/LICENSE
|
||||
- JUnit: https://github.com/junit-team/junit4/blob/master/LICENSE-junit.txt
|
||||
- openHAB: https://github.com/openhab/openhab-distro/blob/master/LICENSE
|
||||
- Quil: https://github.com/quil/quil/blob/master/LICENSE
|
||||
|
||||
permissions:
|
||||
- commercial-use
|
||||
|
@ -2,7 +2,6 @@
|
||||
title: Eclipse Public License 2.0
|
||||
spdx-id: EPL-2.0
|
||||
redirect_from: /licenses/eclipse/
|
||||
source: https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt
|
||||
hidden: false
|
||||
|
||||
description: This commercially-friendly copyleft license provides the ability to commercially license binaries; a modern royalty-free patent license grant; and the ability for linked works to use other licenses, including commercial ones.
|
||||
@ -10,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 Ditto: https://github.com/eclipse/ditto/blob/master/LICENSE
|
||||
- Eclipse SmartHome: https://github.com/eclipse/smarthome/blob/master/LICENSE
|
||||
- SUMO: https://github.com/DLR-TS/sumo/blob/master/COPYING
|
||||
- openHAB: https://github.com/openhab/openhab-distro/blob/master/LICENSE
|
||||
- SUMO: https://github.com/eclipse/sumo/blob/master/LICENSE
|
||||
|
||||
permissions:
|
||||
- commercial-use
|
||||
|
@ -2,7 +2,6 @@
|
||||
title: European Union Public License 1.1
|
||||
spdx-id: EUPL-1.1
|
||||
redirect_from: /licenses/eupl-v1.1/
|
||||
source: https://joinup.ec.europa.eu/page/eupl-text-11-12
|
||||
|
||||
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.
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: European Union Public License 1.2
|
||||
spdx-id: EUPL-1.2
|
||||
source: http://eur-lex.europa.eu/legal-content/TXT/?uri=CELEX%3A32017D0863
|
||||
|
||||
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.
|
||||
|
||||
@ -127,7 +126,7 @@ limitations thereto.
|
||||
|
||||
The grant of the rights mentioned above is subject to some restrictions and
|
||||
obligations imposed on the Licensee. Those obligations are the following:
|
||||
|
||||
|
||||
Attribution right: The Licensee shall keep intact all copyright, patent or
|
||||
trademarks notices and all notices that refer to the Licence and to the
|
||||
disclaimer of warranties. The Licensee must include a copy of such notices and
|
||||
|
@ -3,7 +3,6 @@ title: GNU General Public License v2.0
|
||||
spdx-id: GPL-2.0
|
||||
nickname: GNU GPLv2
|
||||
redirect_from: /licenses/gpl-v2/
|
||||
source: https://www.gnu.org/licenses/gpl-2.0.txt
|
||||
hidden: false
|
||||
|
||||
description: The GNU GPL is the most widely used free software license and has a strong copyleft requirement. When distributing derived works, the source code of the work must be made available under the same license. There are multiple variants of the GNU GPL, each with different requirements.
|
||||
|
@ -3,13 +3,12 @@ title: GNU General Public License v3.0
|
||||
spdx-id: GPL-3.0
|
||||
nickname: GNU GPLv3
|
||||
redirect_from: /licenses/gpl-v3/
|
||||
source: https://www.gnu.org/licenses/gpl-3.0.txt
|
||||
featured: true
|
||||
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 (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file.
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
@ -40,7 +39,7 @@ limitations:
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
@ -684,7 +683,7 @@ the "copyright" line and a pointer to where the full notice is found.
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
@ -703,11 +702,11 @@ might be different; for a GUI interface, you would use an "about box".
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU GPL, see
|
||||
<http://www.gnu.org/licenses/>.
|
||||
<https://www.gnu.org/licenses/>.
|
||||
|
||||
The GNU General Public License does not permit incorporating your program
|
||||
into proprietary programs. If your program is a subroutine library, you
|
||||
may consider it more useful to permit linking proprietary applications with
|
||||
the library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License. But first, please read
|
||||
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
||||
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: ISC License
|
||||
spdx-id: ISC
|
||||
source: https://opensource.org/licenses/isc-license
|
||||
|
||||
description: A permissive license lets people do anything with your code with proper attribution and without warranty. The ISC license is functionally equivalent to the <a href="/licenses/bsd-2-clause/">BSD 2-Clause</a> and <a href="/licenses/mit/">MIT</a> licenses, removing some language that is no longer necessary.
|
||||
|
||||
|
@ -3,7 +3,6 @@ title: GNU Lesser General Public License v2.1
|
||||
spdx-id: LGPL-2.1
|
||||
nickname: GNU LGPLv2.1
|
||||
redirect_from: /licenses/lgpl-v2.1/
|
||||
source: https://www.gnu.org/licenses/lgpl-2.1.txt
|
||||
hidden: false
|
||||
|
||||
description: Primarily used for software libraries, the GNU LGPL requires that derived works be licensed under the same license, but works that only link to it do not fall under this restriction. There are two commonly used versions of the GNU LGPL.
|
||||
|
@ -3,12 +3,11 @@ title: GNU Lesser General Public License v3.0
|
||||
spdx-id: LGPL-3.0
|
||||
nickname: GNU LGPLv3
|
||||
redirect_from: /licenses/lgpl-v3/
|
||||
source: https://www.gnu.org/licenses/lgpl-3.0.txt
|
||||
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.
|
||||
|
||||
how: This license is an additional set of permissions to the <a href="/licenses/gpl-3.0">GNU GPLv3</a> license. Follow the instructions to apply the GNU GPLv3. Then add a separate file named COPYING.LESSER in the root of your source code and copy the text.
|
||||
how: This license is an additional set of permissions to the <a href="/licenses/gpl-3.0">GNU GPLv3</a> license. Follow the instructions to apply the GNU GPLv3, in the root of your source code. Then add another file named COPYING.LESSER and copy the text.
|
||||
|
||||
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 <a href="/licenses/gpl-3.0">GNU GPLv3 license</a>. Insert the word “Lesser” before “General” in all three places in the boilerplate notice to make sure that you refer to the GNU LGPLv3 and not the GNU GPLv3.
|
||||
|
||||
@ -36,7 +35,7 @@ limitations:
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: LaTeX Project Public License v1.3c
|
||||
spdx-id: LPPL-1.3c
|
||||
source: https://latex-project.org/lppl/lppl-1-3c.html
|
||||
|
||||
description: The LaTeX Project Public License (LPPL) is the primary license under which the LaTeX kernel and the base LaTeX packages are distributed.
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: MIT License
|
||||
spdx-id: MIT
|
||||
source: https://opensource.org/licenses/MIT
|
||||
featured: true
|
||||
hidden: false
|
||||
|
||||
|
@ -2,7 +2,6 @@
|
||||
title: Mozilla Public License 2.0
|
||||
spdx-id: MPL-2.0
|
||||
redirect_from: /licenses/mozilla/
|
||||
source: https://www.mozilla.org/media/MPL/2.0/index.txt
|
||||
hidden: false
|
||||
|
||||
description: Permissions of this weak copyleft license are conditioned on making available source code of licensed files and modifications of those files under the same license (or in certain cases, one of the GNU licenses). Copyright and license notices must be preserved. Contributors provide an express grant of patent rights. However, a larger work using the licensed work may be distributed under different terms and without source code for files added in the larger work.
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: Microsoft Public License
|
||||
spdx-id: MS-PL
|
||||
source: https://opensource.org/licenses/ms-pl
|
||||
|
||||
description: An open source license with a patent grant.
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: Microsoft Reciprocal License
|
||||
spdx-id: MS-RL
|
||||
source: https://opensource.org/licenses/ms-rl
|
||||
|
||||
description: An open source license with a patent grant similar to the <a href="/licenses/ms-pl/">Microsoft Public License</a>, with the additional condition that any source code for any derived file be provided under this license.
|
||||
|
||||
|
@ -2,7 +2,6 @@
|
||||
title: University of Illinois/NCSA Open Source License
|
||||
spdx-id: NCSA
|
||||
nickname: UIUC/NCSA
|
||||
source: https://opensource.org/licenses/NCSA
|
||||
|
||||
description: The University of Illinois/NCSA Open Source License, or UIUC license, is a permissive free software license, based on the <a href="/licenses/mit/">MIT/X11 license</a> and the <a href="/licenses/bsd-3-clause/">BSD 3-clause License</a>. Its conditions include requiring the preservation of copyright and license notices both in source and in binary distributions and the prohibition of using the names of the authors or the project organization to promote or endorse derived products.
|
||||
|
||||
|
573
_licenses/odbl-1.0.txt
Normal file
573
_licenses/odbl-1.0.txt
Normal file
@ -0,0 +1,573 @@
|
||||
---
|
||||
title: ODC Open Database License v1.0
|
||||
spdx-id: ODbL-1.0
|
||||
nickname: ODbL
|
||||
|
||||
description: The Open Database License (ODbL) is a license agreement intended to allow users to freely share, modify, and use a database while maintaining this same freedom for others.
|
||||
|
||||
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
|
||||
|
||||
permissions:
|
||||
- commercial-use
|
||||
- distribution
|
||||
- modifications
|
||||
- private-use
|
||||
|
||||
conditions:
|
||||
- disclose-source
|
||||
- include-copyright
|
||||
- same-license
|
||||
|
||||
limitations:
|
||||
- liability
|
||||
- patent-use
|
||||
- trademark-use
|
||||
- warranty
|
||||
|
||||
---
|
||||
|
||||
## ODC Open Database License (ODbL)
|
||||
|
||||
### Preamble
|
||||
|
||||
The Open Database License (ODbL) is a license agreement intended to
|
||||
allow users to freely share, modify, and use this Database while
|
||||
maintaining this same freedom for others. Many databases are covered by
|
||||
copyright, and therefore this document licenses these rights. Some
|
||||
jurisdictions, mainly in the European Union, have specific rights that
|
||||
cover databases, and so the ODbL addresses these rights, too. Finally,
|
||||
the ODbL is also an agreement in contract for users of this Database to
|
||||
act in certain ways in return for accessing this Database.
|
||||
|
||||
Databases can contain a wide variety of types of content (images,
|
||||
audiovisual material, and sounds all in the same database, for example),
|
||||
and so the ODbL only governs the rights over the Database, and not the
|
||||
contents of the Database individually. Licensors should use the ODbL
|
||||
together with another license for the contents, if the contents have a
|
||||
single set of rights that uniformly covers all of the contents. If the
|
||||
contents have multiple sets of different rights, Licensors should
|
||||
describe what rights govern what contents together in the individual
|
||||
record or in some other way that clarifies what rights apply.
|
||||
|
||||
Sometimes the contents of a database, or the database itself, can be
|
||||
covered by other rights not addressed here (such as private contracts,
|
||||
trade mark over the name, or privacy rights / data protection rights
|
||||
over information in the contents), and so you are advised that you may
|
||||
have to consult other documents or clear other rights before doing
|
||||
activities not covered by this License.
|
||||
|
||||
------
|
||||
|
||||
The Licensor (as defined below)
|
||||
|
||||
and
|
||||
|
||||
You (as defined below)
|
||||
|
||||
agree as follows:
|
||||
|
||||
### 1.0 Definitions of Capitalised Words
|
||||
|
||||
"Collective Database" – Means this Database in unmodified form as part
|
||||
of a collection of independent databases in themselves that together are
|
||||
assembled into a collective whole. A work that constitutes a Collective
|
||||
Database will not be considered a Derivative Database.
|
||||
|
||||
"Convey" – As a verb, means Using the Database, a Derivative Database,
|
||||
or the Database as part of a Collective Database in any way that enables
|
||||
a Person to make or receive copies of the Database or a Derivative
|
||||
Database. Conveying does not include interaction with a user through a
|
||||
computer network, or creating and Using a Produced Work, where no
|
||||
transfer of a copy of the Database or a Derivative Database occurs.
|
||||
"Contents" – The contents of this Database, which includes the
|
||||
information, independent works, or other material collected into the
|
||||
Database. For example, the contents of the Database could be factual
|
||||
data or works such as images, audiovisual material, text, or sounds.
|
||||
|
||||
"Database" – A collection of material (the Contents) arranged in a
|
||||
systematic or methodical way and individually accessible by electronic
|
||||
or other means offered under the terms of this License.
|
||||
|
||||
"Database Directive" – Means Directive 96/9/EC of the European
|
||||
Parliament and of the Council of 11 March 1996 on the legal protection
|
||||
of databases, as amended or succeeded.
|
||||
|
||||
"Database Right" – Means rights resulting from the Chapter III ("sui
|
||||
generis") rights in the Database Directive (as amended and as transposed
|
||||
by member states), which includes the Extraction and Re-utilisation of
|
||||
the whole or a Substantial part of the Contents, as well as any similar
|
||||
rights available in the relevant jurisdiction under Section 10.4.
|
||||
|
||||
"Derivative Database" – Means a database based upon the Database, and
|
||||
includes any translation, adaptation, arrangement, modification, or any
|
||||
other alteration of the Database or of a Substantial part of the
|
||||
Contents. This includes, but is not limited to, Extracting or
|
||||
Re-utilising the whole or a Substantial part of the Contents in a new
|
||||
Database.
|
||||
|
||||
"Extraction" – Means the permanent or temporary transfer of all or a
|
||||
Substantial part of the Contents to another medium by any means or in
|
||||
any form.
|
||||
|
||||
"License" – Means this license agreement and is both a license of rights
|
||||
such as copyright and Database Rights and an agreement in contract.
|
||||
|
||||
"Licensor" – Means the Person that offers the Database under the terms
|
||||
of this License.
|
||||
|
||||
"Person" – Means a natural or legal person or a body of persons
|
||||
corporate or incorporate.
|
||||
|
||||
"Produced Work" – a work (such as an image, audiovisual material, text,
|
||||
or sounds) resulting from using the whole or a Substantial part of the
|
||||
Contents (via a search or other query) from this Database, a Derivative
|
||||
Database, or this Database as part of a Collective Database.
|
||||
|
||||
"Publicly" – means to Persons other than You or under Your control by
|
||||
either more than 50% ownership or by the power to direct their
|
||||
activities (such as contracting with an independent consultant).
|
||||
|
||||
"Re-utilisation" – means any form of making available to the public all
|
||||
or a Substantial part of the Contents by the distribution of copies, by
|
||||
renting, by online or other forms of transmission.
|
||||
|
||||
"Substantial" – Means substantial in terms of quantity or quality or a
|
||||
combination of both. The repeated and systematic Extraction or
|
||||
Re-utilisation of insubstantial parts of the Contents may amount to the
|
||||
Extraction or Re-utilisation of a Substantial part of the Contents.
|
||||
|
||||
"Use" – As a verb, means doing any act that is restricted by copyright
|
||||
or Database Rights whether in the original medium or any other; and
|
||||
includes without limitation distributing, copying, publicly performing,
|
||||
publicly displaying, and preparing derivative works of the Database, as
|
||||
well as modifying the Database as may be technically necessary to use it
|
||||
in a different mode or format.
|
||||
|
||||
"You" – Means a Person exercising rights under this License who has not
|
||||
previously violated the terms of this License with respect to the
|
||||
Database, or who has received express permission from the Licensor to
|
||||
exercise rights under this License despite a previous violation.
|
||||
|
||||
Words in the singular include the plural and vice versa.
|
||||
|
||||
### 2.0 What this License covers
|
||||
|
||||
2.1. Legal effect of this document. This License is:
|
||||
|
||||
a. A license of applicable copyright and neighbouring rights;
|
||||
|
||||
b. A license of the Database Right; and
|
||||
|
||||
c. An agreement in contract between You and the Licensor.
|
||||
|
||||
2.2 Legal rights covered. This License covers the legal rights in the
|
||||
Database, including:
|
||||
|
||||
a. Copyright. Any copyright or neighbouring rights in the Database.
|
||||
The copyright licensed includes any individual elements of the
|
||||
Database, but does not cover the copyright over the Contents
|
||||
independent of this Database. See Section 2.4 for details. Copyright
|
||||
law varies between jurisdictions, but is likely to cover: the Database
|
||||
model or schema, which is the structure, arrangement, and organisation
|
||||
of the Database, and can also include the Database tables and table
|
||||
indexes; the data entry and output sheets; and the Field names of
|
||||
Contents stored in the Database;
|
||||
|
||||
b. Database Rights. Database Rights only extend to the Extraction and
|
||||
Re-utilisation of the whole or a Substantial part of the Contents.
|
||||
Database Rights can apply even when there is no copyright over the
|
||||
Database. Database Rights can also apply when the Contents are removed
|
||||
from the Database and are selected and arranged in a way that would
|
||||
not infringe any applicable copyright; and
|
||||
|
||||
c. Contract. This is an agreement between You and the Licensor for
|
||||
access to the Database. In return you agree to certain conditions of
|
||||
use on this access as outlined in this License.
|
||||
|
||||
2.3 Rights not covered.
|
||||
|
||||
a. This License does not apply to computer programs used in the making
|
||||
or operation of the Database;
|
||||
|
||||
b. This License does not cover any patents over the Contents or the
|
||||
Database; and
|
||||
|
||||
c. This License does not cover any trademarks associated with the
|
||||
Database.
|
||||
|
||||
2.4 Relationship to Contents in the Database. The individual items of
|
||||
the Contents contained in this Database may be covered by other rights,
|
||||
including copyright, patent, data protection, privacy, or personality
|
||||
rights, and this License does not cover any rights (other than Database
|
||||
Rights or in contract) in individual Contents contained in the Database.
|
||||
For example, if used on a Database of images (the Contents), this
|
||||
License would not apply to copyright over individual images, which could
|
||||
have their own separate licenses, or one single license covering all of
|
||||
the rights over the images.
|
||||
|
||||
### 3.0 Rights granted
|
||||
|
||||
3.1 Subject to the terms and conditions of this License, the Licensor
|
||||
grants to You a worldwide, royalty-free, non-exclusive, terminable (but
|
||||
only under Section 9) license to Use the Database for the duration of
|
||||
any applicable copyright and Database Rights. These rights explicitly
|
||||
include commercial use, and do not exclude any field of endeavour. To
|
||||
the extent possible in the relevant jurisdiction, these rights may be
|
||||
exercised in all media and formats whether now known or created in the
|
||||
future.
|
||||
|
||||
The rights granted cover, for example:
|
||||
|
||||
a. Extraction and Re-utilisation of the whole or a Substantial part of
|
||||
the Contents;
|
||||
|
||||
b. Creation of Derivative Databases;
|
||||
|
||||
c. Creation of Collective Databases;
|
||||
|
||||
d. Creation of temporary or permanent reproductions by any means and
|
||||
in any form, in whole or in part, including of any Derivative
|
||||
Databases or as a part of Collective Databases; and
|
||||
|
||||
e. Distribution, communication, display, lending, making available, or
|
||||
performance to the public by any means and in any form, in whole or in
|
||||
part, including of any Derivative Database or as a part of Collective
|
||||
Databases.
|
||||
|
||||
3.2 Compulsory license schemes. For the avoidance of doubt:
|
||||
|
||||
a. Non-waivable compulsory license schemes. In those jurisdictions in
|
||||
which the right to collect royalties through any statutory or
|
||||
compulsory licensing scheme cannot be waived, the Licensor reserves
|
||||
the exclusive right to collect such royalties for any exercise by You
|
||||
of the rights granted under this License;
|
||||
|
||||
b. Waivable compulsory license schemes. In those jurisdictions in
|
||||
which the right to collect royalties through any statutory or
|
||||
compulsory licensing scheme can be waived, the Licensor waives the
|
||||
exclusive right to collect such royalties for any exercise by You of
|
||||
the rights granted under this License; and,
|
||||
|
||||
c. Voluntary license schemes. The Licensor waives the right to collect
|
||||
royalties, whether individually or, in the event that the Licensor is
|
||||
a member of a collecting society that administers voluntary licensing
|
||||
schemes, via that society, from any exercise by You of the rights
|
||||
granted under this License.
|
||||
|
||||
3.3 The right to release the Database under different terms, or to stop
|
||||
distributing or making available the Database, is reserved. Note that
|
||||
this Database may be multiple-licensed, and so You may have the choice
|
||||
of using alternative licenses for this Database. Subject to Section
|
||||
10.4, all other rights not expressly granted by Licensor are reserved.
|
||||
|
||||
### 4.0 Conditions of Use
|
||||
|
||||
4.1 The rights granted in Section 3 above are expressly made subject to
|
||||
Your complying with the following conditions of use. These are important
|
||||
conditions of this License, and if You fail to follow them, You will be
|
||||
in material breach of its terms.
|
||||
|
||||
4.2 Notices. If You Publicly Convey this Database, any Derivative
|
||||
Database, or the Database as part of a Collective Database, then You
|
||||
must:
|
||||
|
||||
a. Do so only under the terms of this License or another license
|
||||
permitted under Section 4.4;
|
||||
|
||||
b. Include a copy of this License (or, as applicable, a license
|
||||
permitted under Section 4.4) or its Uniform Resource Identifier (URI)
|
||||
with the Database or Derivative Database, including both in the
|
||||
Database or Derivative Database and in any relevant documentation; and
|
||||
|
||||
c. Keep intact any copyright or Database Right notices and notices
|
||||
that refer to this License.
|
||||
|
||||
d. If it is not possible to put the required notices in a particular
|
||||
file due to its structure, then You must include the notices in a
|
||||
location (such as a relevant directory) where users would be likely to
|
||||
look for it.
|
||||
|
||||
4.3 Notice for using output (Contents). Creating and Using a Produced
|
||||
Work does not require the notice in Section 4.2. However, if you
|
||||
Publicly Use a Produced Work, You must include a notice associated with
|
||||
the Produced Work reasonably calculated to make any Person that uses,
|
||||
views, accesses, interacts with, or is otherwise exposed to the Produced
|
||||
Work aware that Content was obtained from the Database, Derivative
|
||||
Database, or the Database as part of a Collective Database, and that it
|
||||
is available under this License.
|
||||
|
||||
a. Example notice. The following text will satisfy notice under
|
||||
Section 4.3:
|
||||
|
||||
Contains information from DATABASE NAME, which is made available
|
||||
here under the Open Database License (ODbL).
|
||||
|
||||
DATABASE NAME should be replaced with the name of the Database and a
|
||||
hyperlink to the URI of the Database. "Open Database License" should
|
||||
contain a hyperlink to the URI of the text of this License. If
|
||||
hyperlinks are not possible, You should include the plain text of the
|
||||
required URI's with the above notice.
|
||||
|
||||
4.4 Share alike.
|
||||
|
||||
a. Any Derivative Database that You Publicly Use must be only under
|
||||
the terms of:
|
||||
|
||||
i. This License;
|
||||
|
||||
ii. A later version of this License similar in spirit to this
|
||||
License; or
|
||||
|
||||
iii. A compatible license.
|
||||
|
||||
If You license the Derivative Database under one of the licenses
|
||||
mentioned in (iii), You must comply with the terms of that license.
|
||||
|
||||
b. For the avoidance of doubt, Extraction or Re-utilisation of the
|
||||
whole or a Substantial part of the Contents into a new database is a
|
||||
Derivative Database and must comply with Section 4.4.
|
||||
|
||||
c. Derivative Databases and Produced Works. A Derivative Database is
|
||||
Publicly Used and so must comply with Section 4.4. if a Produced Work
|
||||
created from the Derivative Database is Publicly Used.
|
||||
|
||||
d. Share Alike and additional Contents. For the avoidance of doubt,
|
||||
You must not add Contents to Derivative Databases under Section 4.4 a
|
||||
that are incompatible with the rights granted under this License.
|
||||
|
||||
e. Compatible licenses. Licensors may authorise a proxy to determine
|
||||
compatible licenses under Section 4.4 a iii. If they do so, the
|
||||
authorised proxy's public statement of acceptance of a compatible
|
||||
license grants You permission to use the compatible license.
|
||||
|
||||
|
||||
4.5 Limits of Share Alike. The requirements of Section 4.4 do not apply
|
||||
in the following:
|
||||
|
||||
a. For the avoidance of doubt, You are not required to license
|
||||
Collective Databases under this License if You incorporate this
|
||||
Database or a Derivative Database in the collection, but this License
|
||||
still applies to this Database or a Derivative Database as a part of
|
||||
the Collective Database;
|
||||
|
||||
b. Using this Database, a Derivative Database, or this Database as
|
||||
part of a Collective Database to create a Produced Work does not
|
||||
create a Derivative Database for purposes of Section 4.4; and
|
||||
|
||||
c. Use of a Derivative Database internally within an organisation is
|
||||
not to the public and therefore does not fall under the requirements
|
||||
of Section 4.4.
|
||||
|
||||
4.6 Access to Derivative Databases. If You Publicly Use a Derivative
|
||||
Database or a Produced Work from a Derivative Database, You must also
|
||||
offer to recipients of the Derivative Database or Produced Work a copy
|
||||
in a machine readable form of:
|
||||
|
||||
a. The entire Derivative Database; or
|
||||
|
||||
b. A file containing all of the alterations made to the Database or
|
||||
the method of making the alterations to the Database (such as an
|
||||
algorithm), including any additional Contents, that make up all the
|
||||
differences between the Database and the Derivative Database.
|
||||
|
||||
The Derivative Database (under a.) or alteration file (under b.) must be
|
||||
available at no more than a reasonable production cost for physical
|
||||
distributions and free of charge if distributed over the internet.
|
||||
|
||||
4.7 Technological measures and additional terms
|
||||
|
||||
a. This License does not allow You to impose (except subject to
|
||||
Section 4.7 b.) any terms or any technological measures on the
|
||||
Database, a Derivative Database, or the whole or a Substantial part of
|
||||
the Contents that alter or restrict the terms of this License, or any
|
||||
rights granted under it, or have the effect or intent of restricting
|
||||
the ability of any person to exercise those rights.
|
||||
|
||||
b. Parallel distribution. You may impose terms or technological
|
||||
measures on the Database, a Derivative Database, or the whole or a
|
||||
Substantial part of the Contents (a "Restricted Database") in
|
||||
contravention of Section 4.74 a. only if You also make a copy of the
|
||||
Database or a Derivative Database available to the recipient of the
|
||||
Restricted Database:
|
||||
|
||||
i. That is available without additional fee;
|
||||
|
||||
ii. That is available in a medium that does not alter or restrict
|
||||
the terms of this License, or any rights granted under it, or have
|
||||
the effect or intent of restricting the ability of any person to
|
||||
exercise those rights (an "Unrestricted Database"); and
|
||||
|
||||
iii. The Unrestricted Database is at least as accessible to the
|
||||
recipient as a practical matter as the Restricted Database.
|
||||
|
||||
c. For the avoidance of doubt, You may place this Database or a
|
||||
Derivative Database in an authenticated environment, behind a
|
||||
password, or within a similar access control scheme provided that You
|
||||
do not alter or restrict the terms of this License or any rights
|
||||
granted under it or have the effect or intent of restricting the
|
||||
ability of any person to exercise those rights.
|
||||
|
||||
4.8 Licensing of others. You may not sublicense the Database. Each time
|
||||
You communicate the Database, the whole or Substantial part of the
|
||||
Contents, or any Derivative Database to anyone else in any way, the
|
||||
Licensor offers to the recipient a license to the Database on the same
|
||||
terms and conditions as this License. You are not responsible for
|
||||
enforcing compliance by third parties with this License, but You may
|
||||
enforce any rights that You have over a Derivative Database. You are
|
||||
solely responsible for any modifications of a Derivative Database made
|
||||
by You or another Person at Your direction. You may not impose any
|
||||
further restrictions on the exercise of the rights granted or affirmed
|
||||
under this License.
|
||||
|
||||
### 5.0 Moral rights
|
||||
|
||||
5.1 Moral rights. This section covers moral rights, including any rights
|
||||
to be identified as the author of the Database or to object to treatment
|
||||
that would otherwise prejudice the author's honour and reputation, or
|
||||
any other derogatory treatment:
|
||||
|
||||
a. For jurisdictions allowing waiver of moral rights, Licensor waives
|
||||
all moral rights that Licensor may have in the Database to the fullest
|
||||
extent possible by the law of the relevant jurisdiction under Section
|
||||
10.4;
|
||||
|
||||
b. If waiver of moral rights under Section 5.1 a in the relevant
|
||||
jurisdiction is not possible, Licensor agrees not to assert any moral
|
||||
rights over the Database and waives all claims in moral rights to the
|
||||
fullest extent possible by the law of the relevant jurisdiction under
|
||||
Section 10.4; and
|
||||
|
||||
c. For jurisdictions not allowing waiver or an agreement not to assert
|
||||
moral rights under Section 5.1 a and b, the author may retain their
|
||||
moral rights over certain aspects of the Database.
|
||||
|
||||
Please note that some jurisdictions do not allow for the waiver of moral
|
||||
rights, and so moral rights may still subsist over the Database in some
|
||||
jurisdictions.
|
||||
|
||||
### 6.0 Fair dealing, Database exceptions, and other rights not affected
|
||||
|
||||
6.1 This License does not affect any rights that You or anyone else may
|
||||
independently have under any applicable law to make any use of this
|
||||
Database, including without limitation:
|
||||
|
||||
a. Exceptions to the Database Right including: Extraction of Contents
|
||||
from non-electronic Databases for private purposes, Extraction for
|
||||
purposes of illustration for teaching or scientific research, and
|
||||
Extraction or Re-utilisation for public security or an administrative
|
||||
or judicial procedure.
|
||||
|
||||
b. Fair dealing, fair use, or any other legally recognised limitation
|
||||
or exception to infringement of copyright or other applicable laws.
|
||||
|
||||
6.2 This License does not affect any rights of lawful users to Extract
|
||||
and Re-utilise insubstantial parts of the Contents, evaluated
|
||||
quantitatively or qualitatively, for any purposes whatsoever, including
|
||||
creating a Derivative Database (subject to other rights over the
|
||||
Contents, see Section 2.4). The repeated and systematic Extraction or
|
||||
Re-utilisation of insubstantial parts of the Contents may however amount
|
||||
to the Extraction or Re-utilisation of a Substantial part of the
|
||||
Contents.
|
||||
|
||||
### 7.0 Warranties and Disclaimer
|
||||
|
||||
7.1 The Database is licensed by the Licensor "as is" and without any
|
||||
warranty of any kind, either express, implied, or arising by statute,
|
||||
custom, course of dealing, or trade usage. Licensor specifically
|
||||
disclaims any and all implied warranties or conditions of title,
|
||||
non-infringement, accuracy or completeness, the presence or absence of
|
||||
errors, fitness for a particular purpose, merchantability, or otherwise.
|
||||
Some jurisdictions do not allow the exclusion of implied warranties, so
|
||||
this exclusion may not apply to You.
|
||||
|
||||
### 8.0 Limitation of liability
|
||||
|
||||
8.1 Subject to any liability that may not be excluded or limited by law,
|
||||
the Licensor is not liable for, and expressly excludes, all liability
|
||||
for loss or damage however and whenever caused to anyone by any use
|
||||
under this License, whether by You or by anyone else, and whether caused
|
||||
by any fault on the part of the Licensor or not. This exclusion of
|
||||
liability includes, but is not limited to, any special, incidental,
|
||||
consequential, punitive, or exemplary damages such as loss of revenue,
|
||||
data, anticipated profits, and lost business. This exclusion applies
|
||||
even if the Licensor has been advised of the possibility of such
|
||||
damages.
|
||||
|
||||
8.2 If liability may not be excluded by law, it is limited to actual and
|
||||
direct financial loss to the extent it is caused by proved negligence on
|
||||
the part of the Licensor.
|
||||
|
||||
### 9.0 Termination of Your rights under this License
|
||||
|
||||
9.1 Any breach by You of the terms and conditions of this License
|
||||
automatically terminates this License with immediate effect and without
|
||||
notice to You. For the avoidance of doubt, Persons who have received the
|
||||
Database, the whole or a Substantial part of the Contents, Derivative
|
||||
Databases, or the Database as part of a Collective Database from You
|
||||
under this License will not have their licenses terminated provided
|
||||
their use is in full compliance with this License or a license granted
|
||||
under Section 4.8 of this License. Sections 1, 2, 7, 8, 9 and 10 will
|
||||
survive any termination of this License.
|
||||
|
||||
9.2 If You are not in breach of the terms of this License, the Licensor
|
||||
will not terminate Your rights under it.
|
||||
|
||||
9.3 Unless terminated under Section 9.1, this License is granted to You
|
||||
for the duration of applicable rights in the Database.
|
||||
|
||||
9.4 Reinstatement of rights. If you cease any breach of the terms and
|
||||
conditions of this License, then your full rights under this License
|
||||
will be reinstated:
|
||||
|
||||
a. Provisionally and subject to permanent termination until the 60th
|
||||
day after cessation of breach;
|
||||
|
||||
b. Permanently on the 60th day after cessation of breach unless
|
||||
otherwise reasonably notified by the Licensor; or
|
||||
|
||||
c. Permanently if reasonably notified by the Licensor of the
|
||||
violation, this is the first time You have received notice of
|
||||
violation of this License from the Licensor, and You cure the
|
||||
violation prior to 30 days after your receipt of the notice.
|
||||
|
||||
Persons subject to permanent termination of rights are not eligible to
|
||||
be a recipient and receive a license under Section 4.8.
|
||||
|
||||
9.5 Notwithstanding the above, Licensor reserves the right to release
|
||||
the Database under different license terms or to stop distributing or
|
||||
making available the Database. Releasing the Database under different
|
||||
license terms or stopping the distribution of the Database will not
|
||||
withdraw this License (or any other license that has been, or is
|
||||
required to be, granted under the terms of this License), and this
|
||||
License will continue in full force and effect unless terminated as
|
||||
stated above.
|
||||
|
||||
### 10.0 General
|
||||
|
||||
10.1 If any provision of this License is held to be invalid or
|
||||
unenforceable, that must not affect the validity or enforceability of
|
||||
the remainder of the terms and conditions of this License and each
|
||||
remaining provision of this License shall be valid and enforced to the
|
||||
fullest extent permitted by law.
|
||||
|
||||
10.2 This License is the entire agreement between the parties with
|
||||
respect to the rights granted here over the Database. It replaces any
|
||||
earlier understandings, agreements or representations with respect to
|
||||
the Database.
|
||||
|
||||
10.3 If You are in breach of the terms of this License, You will not be
|
||||
entitled to rely on the terms of this License or to complain of any
|
||||
breach by the Licensor.
|
||||
|
||||
10.4 Choice of law. This License takes effect in and will be governed by
|
||||
the laws of the relevant jurisdiction in which the License terms are
|
||||
sought to be enforced. If the standard suite of rights granted under
|
||||
applicable copyright law and Database Rights in the relevant
|
||||
jurisdiction includes additional rights not granted under this License,
|
||||
these additional rights are granted in this License in order to meet the
|
||||
terms of this License.
|
@ -2,7 +2,6 @@
|
||||
title: SIL Open Font License 1.1
|
||||
spdx-id: OFL-1.1
|
||||
redirect_from: /licenses/ofl/
|
||||
source: http://scripts.sil.org/OFL_web
|
||||
|
||||
description: The Open Font License (OFL) is maintained by SIL International. It attempts to be a compromise between the values of the free software and typeface design communities. It is used for almost all open source font projects, including those by Adobe, Google and Mozilla.
|
||||
|
||||
|
@ -1,13 +1,12 @@
|
||||
---
|
||||
title: Open Software License 3.0
|
||||
spdx-id: OSL-3.0
|
||||
source: https://opensource.org/licenses/OSL-3.0
|
||||
|
||||
description: OSL 3.0 is a copyleft license that does not require reciprocal licensing on linked works. It also provides an express grant of patent rights from contributors to users, with a termination clause triggered if a user files a patent infringement lawsuit.
|
||||
|
||||
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. Files licensed under OSL 3.0 must also include the notice "Licensed under the Open Software License version 3.0" adjacent to the copyright notice.
|
||||
|
||||
note: OSL 3.0's author has <a href="http://rosenlaw.com/OSL3.0-explained.htm">provided an explanation</a> behind the creation of the license.
|
||||
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
|
||||
@ -35,7 +34,7 @@ limitations:
|
||||
|
||||
---
|
||||
|
||||
Open Software License ("OSL") v 3.0
|
||||
Open Software License ("OSL") v. 3.0
|
||||
|
||||
This Open Software License (the "License") applies to any original work of
|
||||
authorship (the "Original Work") whose owner (the "Licensor") has placed the
|
||||
|
@ -1,16 +1,15 @@
|
||||
---
|
||||
title: PostgreSQL License
|
||||
spdx-id: PostgreSQL
|
||||
source: https://opensource.org/licenses/PostgreSQL
|
||||
|
||||
description: A very short, BSD-style license, used specifically for PostgreSQL.
|
||||
|
||||
how: To use it, say that it is The PostgreSQL License, and then substitute the copyright year and name of the copyright holder into the body of the license. Then put the license into a prominent file ("COPYRIGHT", "LICENSE" or "COPYING" are common names for this file) in your software distribution.
|
||||
|
||||
using:
|
||||
- pgBadger: https://github.com/dalibo/pgbadger/blob/master/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/dev/LICENSE.txt
|
||||
- .NET Access to PostgreSQL: https://github.com/npgsql/npgsql/blob/dev/LICENSE
|
||||
|
||||
permissions:
|
||||
- commercial-use
|
||||
@ -27,7 +26,7 @@ limitations:
|
||||
|
||||
---
|
||||
|
||||
PostgreSQL Licence
|
||||
PostgreSQL License
|
||||
|
||||
Copyright (c) [year], [fullname]
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: The Unlicense
|
||||
spdx-id: Unlicense
|
||||
source: https://unlicense.org/UNLICENSE
|
||||
hidden: false
|
||||
|
||||
description: A license with no conditions whatsoever which dedicates works to the public domain. Unlicensed works, modifications, and larger works may be distributed under different terms and without source code.
|
||||
@ -50,4 +49,4 @@ 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.
|
||||
|
||||
For more information, please refer to <http://unlicense.org>
|
||||
For more information, please refer to <https://unlicense.org>
|
||||
|
66
_licenses/upl-1.0.txt
Normal file
66
_licenses/upl-1.0.txt
Normal file
@ -0,0 +1,66 @@
|
||||
---
|
||||
title: Universal Permissive License v1.0
|
||||
spdx-id: UPL-1.0
|
||||
|
||||
description: A permissive, OSI and FSF approved, GPL compatible license, expressly allowing attribution with just a copyright notice and a short form link rather than the full text of the license. Includes an express grant of patent rights. Licensed works and modifications may be distributed under different terms and without source code, and the patent grant may also optionally be expanded to larger works to permit use as a contributor license agreement.
|
||||
|
||||
how: Insert the license or a link to it along with a copyright notice into your source file(s), and/or create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license and your copyright notice into the file.
|
||||
|
||||
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 Boxes for Vagrant: https://github.com/oracle/vagrant-boxes/blob/master/LICENSE
|
||||
- Oracle Product Images for Docker: https://github.com/oracle/docker-images/blob/master/LICENSE
|
||||
- Skater: https://github.com/oracle/Skater/blob/master/LICENSE
|
||||
|
||||
permissions:
|
||||
- commercial-use
|
||||
- modifications
|
||||
- distribution
|
||||
- patent-use
|
||||
- private-use
|
||||
|
||||
conditions:
|
||||
- include-copyright
|
||||
|
||||
limitations:
|
||||
- liability
|
||||
- warranty
|
||||
|
||||
---
|
||||
|
||||
Copyright (c) [year] [fullname]
|
||||
|
||||
The Universal Permissive License (UPL), Version 1.0
|
||||
|
||||
Subject to the condition set forth below, permission is hereby granted to any
|
||||
person obtaining a copy of this software, associated documentation and/or data
|
||||
(collectively the "Software"), free of charge and under any and all copyright
|
||||
rights in the Software, and any and all patent rights owned or freely
|
||||
licensable by each licensor hereunder covering either (i) the unmodified
|
||||
Software as contributed to or provided by such licensor, or (ii) the Larger
|
||||
Works (as defined below), to deal in both
|
||||
|
||||
(a) the Software, and
|
||||
(b) any piece of software and/or hardware listed in the lrgrwrks.txt file if
|
||||
one is included with the Software (each a “Larger Work” to which the Software
|
||||
is contributed by such licensors),
|
||||
|
||||
without restriction, including without limitation the rights to copy, create
|
||||
derivative works of, display, perform, and distribute the Software and make,
|
||||
use, sell, offer for sale, import, export, have made, and have sold the
|
||||
Software and the Larger Work(s), and to sublicense the foregoing rights on
|
||||
either these or other terms.
|
||||
|
||||
This license is subject to the following condition:
|
||||
The above copyright notice and either this complete permission notice or at
|
||||
a minimum a reference to the UPL must be included in all copies or
|
||||
substantial portions of the Software.
|
||||
|
||||
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.
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "Do What The F*ck You Want To Public License"
|
||||
spdx-id: WTFPL
|
||||
source: http://www.wtfpl.net/txt/copying/
|
||||
|
||||
description: The easiest license out there. It gives the user permissions to do whatever they want with your code.
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: zlib License
|
||||
spdx-id: Zlib
|
||||
source: https://opensource.org/licenses/Zlib
|
||||
|
||||
description: A short permissive license, compatible with GPL. Requires altered source versions to be documented as such.
|
||||
|
||||
|
15
about.md
15
about.md
@ -6,28 +6,27 @@ title: "What's this about?"
|
||||
|
||||
GitHub wants to help developers choose an open source license for their source code.
|
||||
|
||||
If you already know what you're doing and have a license you prefer to use, that's great! We're not here to change your mind. But if you are bewildered by the large number of open source license choices, maybe we can help.
|
||||
If you already know what you're doing and have a license you prefer to use, that's great! We're not here to change your mind. But if you are bewildered by the large number of choices, maybe we can help.
|
||||
|
||||
## Not comprehensive
|
||||
|
||||
This site is not a comprehensive directory of open source licenses. We think there are too many options, which adds to the confusion. On the [homepage](/), we break it down into just three licenses. The vast majority of projects will likely be fine choosing from one of these three. Just in case you have specific needs not covered by those three, we also highlight a [few other licenses to consider](/licenses/), and have a page about [licenses for non-software projects](/non-software/).
|
||||
This site is not a comprehensive directory of open source licenses. The vast majority of projects will likely be well served by one of the three options highlighted on the [homepage](/) — choosing the license [preferred](/community/) by projects similar to yours, or the most popular permissive license ([MIT](/licenses/mit/)), or the most popular copyleft license ([GNU GPLv3](/licenses/gpl-3.0/)). Just in case you have specific needs not covered by these, we also highlight a [few other licenses to consider](/licenses/) and have a page about [licenses for non-software projects](/non-software/).
|
||||
|
||||
See our [appendix](/appendix) for a table of all of the licenses cataloged in the choosealicense.com repository and the links below for *even more licenses* that you **do not** need to learn about when choosing a license for your project.
|
||||
See our [appendix](/appendix/) for a table of every license cataloged in the [choosealicense.com repository](https://github.com/github/choosealicense.com) and the links below for *even more* licenses that you **do not** need to learn about to still choose a great license for your project.
|
||||
|
||||
### Additional resources
|
||||
|
||||
{: .bullets}
|
||||
|
||||
* Open Source Initiative's FAQ on [Which Open Source license should I choose to release my software under?](https://opensource.org/faq#which-license)
|
||||
* Free Software Foundation's [advice on how to choose a license](https://www.gnu.org/licenses/license-recommendations.en.html)
|
||||
* [License differentiator](http://www.oss-watch.ac.uk/apps/licdiff/) ([source](https://github.com/ox-it/licdiff)) from [OSS Watch](http://www.oss-watch.ac.uk/)
|
||||
* [Free/Libre/Open Source license selection wizard](http://vrici.lojban.org/~cowan/floss/) by John Cowan
|
||||
* Free Software Foundation's [advice on how to choose a license](https://www.gnu.org/licenses/license-recommendations.html)
|
||||
* [Joinup Licensing Assistant](https://joinup.ec.europa.eu/collection/eupl/joinup-licensing-assistant-jla), an interactive license chooser from the European Commission
|
||||
* [The Legal Side of Open Source](https://opensource.guide/legal/), an Open Source Guide covering licensing and related issues
|
||||
|
||||
## Help us improve it
|
||||
|
||||
Choosealicense.com isn't just about open source, the site itself is open source as well. See something you think could be done better? Feel free to [fork the project](https://github.com/github/choosealicense.com) on GitHub and submit a pull request. We'd welcome your improvements.
|
||||
Choosealicense.com isn't just about open source; the site itself is open source as well. See something you think could be done better? Feel free to [fork the project](https://github.com/github/choosealicense.com) on GitHub and submit a pull request. We welcome your improvements.
|
||||
|
||||
## Disclaimer
|
||||
|
||||
We are not lawyers. Well, most of us anyway. It is not the goal of this site to provide legal advice. The goal of this site is to provide a starting point to help you make an informed choice by providing information on popular open source licenses. If you have any questions regarding the right license for your code or any other legal issues relating to it, it's up to you to do further research or consult with a professional.
|
||||
We are not lawyers. Well, most of us anyway. It is not the goal of this site to provide legal advice. The goal of this site is to provide a starting point to help you make an informed choice by providing information on popular open source licenses in a simplified fashion. If you have any questions regarding the best license for your code or any other legal issues relating to it, it's your responsibility to do further research or consult with a professional.
|
||||
|
@ -5,7 +5,7 @@ title: Appendix
|
||||
class: license-types
|
||||
---
|
||||
|
||||
For reference, all licenses described in the choosealicense.com [repository](https://github.com/github/choosealicense.com), in a table.
|
||||
For reference, here is a table of every license described in the [choosealicense.com repository](https://github.com/github/choosealicense.com).
|
||||
|
||||
If you're here to choose a license, **[start from the home page](/)** to see a few licenses that will work for most cases.
|
||||
|
||||
@ -61,11 +61,11 @@ If you're here to choose a license, **[start from the home page](/)** to see a f
|
||||
|
||||
## Legend
|
||||
|
||||
<p>Open source licenses grant to the public <span class="license-permissions"><span class="license-sprite"></span></span> <b>permissions</b> to do things with licensed works copyright or other "intellectual property" laws might otherwise disallow.</p>
|
||||
<p>Open source licenses grant to the public <span class="license-permissions"><span class="license-sprite"></span></span> <b>permissions</b> to do things with licensed works which copyright or other "intellectual property" laws might otherwise disallow.</p>
|
||||
|
||||
<p>Most open source licenses' grants of permissions are subject to compliance with <span class="license-conditions"><span class="license-sprite"></span></span> <b>conditions</b>.</p>
|
||||
|
||||
<p>Most open source licenses also have <span class="license-limitations"><span class="license-sprite"></span></span> <b>limitations</b> that usually disclaim warranty and liability and sometimes expressly exclude patent or trademark from licenses' grants.</p>
|
||||
<p>Most open source licenses also have <span class="license-limitations"><span class="license-sprite"></span></span> <b>limitations</b> that usually disclaim warranty and liability, and sometimes expressly exclude patents or trademarks from licenses' grants.</p>
|
||||
|
||||
<dl>
|
||||
{% assign seen_tags = '' %}
|
||||
|
@ -125,6 +125,10 @@ strong {
|
||||
width: 220px;
|
||||
}
|
||||
|
||||
.situations .existing {
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
.situations .whatever {
|
||||
margin-top: 16px;
|
||||
}
|
||||
@ -143,9 +147,9 @@ strong {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.three-arrows { background-position: 0 0; width: 72px; height: 57px; }
|
||||
.lightbulb { background-position: 0 -57px; width: 43px; height: 72px; }
|
||||
.circular { background-position: 0 -129px; width: 72px; height: 69px; }
|
||||
.three-arrows { background-position: 0 0; width: 72px; height: 56px; }
|
||||
.community { background-position: 0 -57px; width: 72px; height: 56px; }
|
||||
.circular { background-position: 0 -115px; width: 72px; height: 68px; }
|
||||
|
||||
|
||||
.license-overview {
|
||||
@ -290,6 +294,43 @@ strong {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.sidebar input#repository-url {
|
||||
width: 100%;
|
||||
padding: 5px 20px 5px 10px;
|
||||
box-sizing: border-box;
|
||||
margin-right: 12px;
|
||||
}
|
||||
|
||||
.input-wrapper {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.input-wrapper .status-indicator {
|
||||
position: absolute;
|
||||
right: 5px;
|
||||
top: 6px;
|
||||
height: 8px;
|
||||
width: 8px;
|
||||
border-radius: 50%;
|
||||
background: #fff;
|
||||
animation: none;
|
||||
border: 4px solid #ddd;
|
||||
}
|
||||
|
||||
.input-wrapper .status-indicator.fetching {
|
||||
border-right-color: transparent;
|
||||
animation: rotate 0.8s infinite linear;
|
||||
}
|
||||
|
||||
.input-wrapper .status-indicator.error {
|
||||
border: 4px solid #c6403d;
|
||||
}
|
||||
|
||||
@keyframes rotate {
|
||||
0% { transform: rotate(0deg); }
|
||||
100% { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
.note {
|
||||
color: #687072;
|
||||
}
|
||||
@ -382,7 +423,9 @@ strong {
|
||||
|
||||
.qtip-conditions,
|
||||
.qtip-permissions,
|
||||
.qtip-limitations {
|
||||
.qtip-limitations,
|
||||
.qtip-fetching,
|
||||
.qtip-error {
|
||||
font-size: 12px;
|
||||
line-height: 1.3;
|
||||
}
|
||||
@ -398,23 +441,27 @@ strong {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.qtip-fetching,
|
||||
.qtip-permissions {
|
||||
background-color: #d8f4d7;
|
||||
border-color: #3dc637;
|
||||
color: #298625;
|
||||
}
|
||||
|
||||
.qtip-fetching .qtip-titlebar,
|
||||
.qtip-permissions .qtip-titlebar {
|
||||
background-color: #3dc637;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.qtip-error,
|
||||
.qtip-limitations {
|
||||
background-color: #f4d9d8;
|
||||
border-color: #c6403d;
|
||||
color: #812a28;
|
||||
}
|
||||
|
||||
.qtip-error .qtip-titlebar,
|
||||
.qtip-limitations .qtip-titlebar {
|
||||
background-color: #c6403d;
|
||||
color: #fff;
|
||||
@ -438,12 +485,12 @@ strong {
|
||||
only screen and (-o-min-device-pixel-ratio: 200/100),
|
||||
only screen and (min-device-pixel-ratio: 2.0) {
|
||||
.three-arrows,
|
||||
.lightbulb,
|
||||
.community,
|
||||
.circular {
|
||||
background-image: url(../img/home-sprite@2x.png);
|
||||
-webkit-background-size: 72px 198px;
|
||||
-moz-background-size: 72px 198px;
|
||||
background-size: 72px 198px;
|
||||
-webkit-background-size: 72px 182px;
|
||||
-moz-background-size: 72px 182px;
|
||||
background-size: 72px 182px;
|
||||
}
|
||||
|
||||
.license-sprite {
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.3 KiB |
Binary file not shown.
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 2.8 KiB |
@ -31,6 +31,7 @@ class Choosealicense
|
||||
constructor: ->
|
||||
@initTooltips()
|
||||
@initClipboard()
|
||||
@initLicenseSuggestion()
|
||||
|
||||
# Init tooltip action
|
||||
initTooltips: ->
|
||||
@ -70,6 +71,111 @@ class Choosealicense
|
||||
# Post-copy user feedback callback
|
||||
clipboardComplete: (client, args) ->
|
||||
@textContent = "Copied!"
|
||||
|
||||
# Initializes the repository suggestion feature
|
||||
initLicenseSuggestion: ->
|
||||
inputEl = $("#repository-url")
|
||||
licenseId = inputEl.attr("data-license-id")
|
||||
statusIndicator = $(".status-indicator")
|
||||
new LicenseSuggestion(inputEl, licenseId, statusIndicator)
|
||||
|
||||
class LicenseSuggestion
|
||||
constructor: (@inputEl, @licenseId, @statusIndicator) ->
|
||||
@setupTooltips()
|
||||
@bindEventHandlers()
|
||||
|
||||
# Initializes tooltips on the input element
|
||||
setupTooltips: =>
|
||||
@inputEl.qtip
|
||||
content:
|
||||
text: false
|
||||
title:
|
||||
text: "message"
|
||||
show: false
|
||||
hide: false
|
||||
position:
|
||||
my: "top center"
|
||||
at: "bottom center"
|
||||
style:
|
||||
classes: "qtip-shadow"
|
||||
|
||||
# Main event handlers for user input
|
||||
bindEventHandlers: =>
|
||||
@inputEl.on "input", (event) =>
|
||||
@setStatus ""
|
||||
.on "keyup", (event) =>
|
||||
if event.keyCode == 13 and event.target.value
|
||||
# Validate the user input first
|
||||
try
|
||||
repositoryFullName = @parseUserInput event.target.value
|
||||
catch
|
||||
@setStatus "Error", "Invalid URL."
|
||||
return
|
||||
|
||||
@setStatus "Fetching"
|
||||
@fetchInfoFromGithubAPI repositoryFullName, (err, repositoryInfo=null) =>
|
||||
if (err)
|
||||
@setStatus "Error", err.message
|
||||
return
|
||||
if repositoryInfo.license # The repository already has a license
|
||||
license = repositoryInfo.license
|
||||
@setStatus "Error", @repositoryLicense repositoryFullName, license
|
||||
else # The repository is not licensed
|
||||
licenseUrl = encodeURIComponent "https://github.com/#{repositoryFullName}/community/license/new?template=#{@licenseId}"
|
||||
# Provide the chance to the user log-in, since the URL to suggest a license is restricted
|
||||
window.location.href = "https://github.com/login?return_to=#{licenseUrl}"
|
||||
@setStatus ""
|
||||
@inputEl.val("")
|
||||
|
||||
# Try to extract the repository full name from the user input
|
||||
parseUserInput: (userInput) ->
|
||||
repository = /https?:\/\/github\.com\/(.*?)\/(.+)(\.git)?$/.exec userInput
|
||||
[_, username, project] = repository
|
||||
project = project
|
||||
.split /\/|\.git/
|
||||
.filter (str) -> str
|
||||
.slice 0, 1
|
||||
.join ""
|
||||
return username + '/' + project
|
||||
|
||||
# Displays an indicator and tooltips to the user about the current status
|
||||
setStatus: (status="", message="") =>
|
||||
statusClass = status.toLowerCase()
|
||||
displayQtip = (status, message) =>
|
||||
@inputEl.qtip("api")
|
||||
.set("content.text", message)
|
||||
.set("content.title", status)
|
||||
.set("style.classes", "qtip-shadow qtip-#{statusClass}")
|
||||
.show()
|
||||
|
||||
switch status
|
||||
when "Fetching"
|
||||
@statusIndicator.removeClass('error').addClass(statusClass)
|
||||
when "Error"
|
||||
@statusIndicator.removeClass('fetching').addClass(statusClass)
|
||||
displayQtip status, message
|
||||
else
|
||||
@inputEl.qtip("api").hide()
|
||||
@statusIndicator.removeClass('fetching error')
|
||||
|
||||
# Fetches information about a repository from the Github API
|
||||
fetchInfoFromGithubAPI: (repositoryFullName, callback) ->
|
||||
$.getJSON "https://api.github.com/repos/"+repositoryFullName, (info) ->
|
||||
callback null, info
|
||||
.fail (e) ->
|
||||
if e.status == 404
|
||||
callback new Error "Repository <b>#{repositoryFullName}</b> not found."
|
||||
else
|
||||
callback new Error "Network error when trying to get information about <b>#{repositoryFullName}</b>."
|
||||
|
||||
# Generates a message showing that a repository is already licensed
|
||||
repositoryLicense: (repositoryFullName, license) ->
|
||||
foundLicense = window.licenses.find (lic) -> lic.spdx_id == license.spdx_id
|
||||
if foundLicense # Links the license to its page on this site
|
||||
"The repository <b> #{repositoryFullName}</b> is already licensed under the
|
||||
<a href='/licenses/#{foundLicense.spdx_id.toLowerCase()}'><b>#{foundLicense.title}</b></a>."
|
||||
else
|
||||
"The repository <b> #{repositoryFullName}</b> is already licensed."
|
||||
|
||||
$ ->
|
||||
new Choosealicense()
|
||||
|
24
community.md
Normal file
24
community.md
Normal file
@ -0,0 +1,24 @@
|
||||
---
|
||||
layout: default
|
||||
permalink: /community/
|
||||
redirect_from: /existing/
|
||||
title: Existing projects and communities
|
||||
---
|
||||
|
||||
If you're contributing to or extending an existing project, it's almost always easiest to continue using that project's license. To find its license, look for a file called `LICENSE` or `COPYING`, and skim the project's `README`. If you can't find a license, [ask the maintainers](/no-permission/#for-users).
|
||||
|
||||
Depending on the original project's license, using the same license might be a requirement, not just the easiest thing to do. (See the "same license" condition of [some licenses](/licenses/).)
|
||||
|
||||
Some communities have strong preferences for particular licenses. If you want to participate in one of these, it will be easier to use their preferred license, even if you're starting a brand new project with no existing dependencies. Some examples include:
|
||||
|
||||
{: .bullets}
|
||||
|
||||
* [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
|
||||
* [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)
|
||||
|
||||
Communities come in all shapes and sizes, and more than one community might be pertinent (e.g., keep in mind [your company](https://opensource.guide/legal/#what-does-my-companys-legal-team-need-to-know) if you work for one). The examples above are *very* well established. If the community you're building a project for doesn't have set-in-stone licensing traditions, or you don't see your project as part of any particular community, that's fine: [make your own choice of an open source license](/).
|
19
existing.md
19
existing.md
@ -1,19 +0,0 @@
|
||||
---
|
||||
layout: default
|
||||
permalink: /existing/
|
||||
title: Existing projects and communities
|
||||
---
|
||||
|
||||
If you're contributing to or extending an existing project, it's almost always easiest to continue using that project's license. Look for a file called `LICENSE` or `COPYING`, or a notice in the project's `README` to find out what that license is. If you can't find a license, [ask](/no-permission/#for-users).
|
||||
|
||||
Depending on how you're building on an existing project and what its license is, using the existing project's license for your own might not just be the easiest thing to do, but a condition on which your permission to build on the existing project rests: see the "same license" condition of [some licenses](/licenses/).
|
||||
|
||||
Some communities have strong preferences for particular licenses. If you want to participate in one of these, it will be easier to use the preferred license even if you're starting a brand new project with no existing dependencies. A few examples:
|
||||
|
||||
{: .bullets}
|
||||
|
||||
* [Apache](https://www.apache.org/licenses/) requires [Apache License 2.0](/licenses/apache-2.0/)
|
||||
* [GNU](https://www.gnu.org/licenses/license-recommendations.html) recommends [GNU GPLv3](/licenses/gpl-3.0/) for most programs
|
||||
* [OpenBSD](https://www.openbsd.org/policy.html) prefers [ISC](/licenses/isc/)
|
||||
|
||||
Communities come in all shapes and sizes. The examples above are *very* well established. If the community you see your project as a part of doesn't have set-in-stone licensing traditions, or you don't see your project as part of any particular community, that's just fine: [make your own choice of an open source license](/).
|
38
index.html
38
index.html
@ -6,43 +6,45 @@ title: Choose an open source license
|
||||
permalink: /
|
||||
---
|
||||
|
||||
<p>An open source license protects contributors and users. Businesses and savvy developers won’t touch a project without this protection.</p>
|
||||
|
||||
<h2>
|
||||
<span>{</span>
|
||||
Which of the following best describes your situation?
|
||||
<span>}</span>
|
||||
</h2>
|
||||
<ul class="triptych situations clearfix">
|
||||
<li class="existing">
|
||||
<a href="community/">
|
||||
<span class="triptych-sprite community"></span>
|
||||
<h3>I need to work in a community.</h3>
|
||||
</a>
|
||||
<p>
|
||||
Use the <a href="community/">license preferred by the community</a> you’re contributing to or depending on. Your project will fit right in.
|
||||
</p>
|
||||
<p>
|
||||
If you have a dependency that doesn’t have a license, ask its maintainers to <a href="no-permission/#for-users">add a license</a>.
|
||||
</p>
|
||||
</li>
|
||||
<li class="whatever">
|
||||
<a href="licenses/mit">
|
||||
<a href="licenses/mit/">
|
||||
<span class="triptych-sprite three-arrows"></span>
|
||||
<h3>I want it simple and permissive.</h3>
|
||||
</a>
|
||||
<p>
|
||||
The <a href="licenses/mit">MIT License</a> is a permissive license that is short and to the point. It lets people do anything they want with your code as long as they provide attribution back to you and don’t hold you liable.
|
||||
The <a href="licenses/mit/">MIT License</a> is short and to the point. It lets people do almost anything they want with your project, like making and distributing closed source versions.
|
||||
</p>
|
||||
<p>
|
||||
{% include using-sentence.html license-id="mit" %}
|
||||
</p>
|
||||
</li>
|
||||
<li class="patents">
|
||||
<a href="licenses/apache-2.0/">
|
||||
<span class="triptych-sprite lightbulb"></span>
|
||||
<h3>I’m concerned about patents.</h3>
|
||||
</a>
|
||||
<p>
|
||||
The <a href="licenses/apache-2.0/">Apache License 2.0</a> is a permissive license similar to the MIT License, but also provides an express grant of patent rights from contributors to users.
|
||||
</p>
|
||||
<p>
|
||||
{% include using-sentence.html license-id="apache-2.0" %}
|
||||
</p>
|
||||
</li>
|
||||
<li class="copyleft">
|
||||
<a href="licenses/gpl-3.0/">
|
||||
<span class="triptych-sprite circular"></span>
|
||||
<h3>I care about sharing improvements.</h3>
|
||||
</a>
|
||||
<p>
|
||||
The <a href="licenses/gpl-3.0/">GNU GPLv3</a> is a copyleft license that requires anyone who distributes your code or a derivative work to make the source available under the same terms, and also provides an express grant of patent rights from contributors to users.
|
||||
The <a href="licenses/gpl-3.0/">GNU GPLv3</a> also lets people do almost anything they want with your project, <em>except</em> distributing closed source versions.
|
||||
</p>
|
||||
<p>
|
||||
{% include using-sentence.html license-id="gpl-3.0" %}
|
||||
@ -58,19 +60,19 @@ permalink: /
|
||||
<li>
|
||||
<h3>My project isn’t software.</h3>
|
||||
<p>
|
||||
<a href="non-software">There are licenses for that</a>.
|
||||
<a href="non-software/">There are licenses for that</a>.
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<h3>I want more choices.</h3>
|
||||
<p>
|
||||
<a href="licenses">More licenses are available</a>.
|
||||
<a href="licenses/">More licenses are available</a>.
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<h3>I don’t want to choose a license.</h3>
|
||||
<p>
|
||||
<a href="no-permission">You don’t have to</a>.
|
||||
<a href="no-permission/">Here’s what happens if you don’t</a>.
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -5,8 +5,8 @@ class: license-types
|
||||
title: Licenses
|
||||
---
|
||||
|
||||
<p>Open source licenses grant permission to everyone 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 arranged from one with the strongest of these conditions (GNU AGPLv3) to one with no conditions (Unlicense). Notice that the popular licenses featured on the <a href="/">home page</a> (GNU GPLv3, Apache License 2.0, and MIT License) fall within this spectrum.</p>
|
||||
<p style="font-size:small; margin-bottom: 40px">If you were looking for a reference table of all of the licenses on choosealicense.com, see the <a href="/appendix">appendix</a>.</p>
|
||||
<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>
|
||||
|
||||
{% include license-overview.html license-id="agpl-3.0" %}
|
||||
{% include license-overview.html license-id="gpl-3.0" %}
|
||||
|
@ -8,13 +8,13 @@ title: No License
|
||||
description: "You're under no obligation to choose a license and it's your right not to include one with your code or project. But please note that opting out of open source licenses doesn't mean you're opting out of copyright law."
|
||||
---
|
||||
|
||||
When you make a creative work (which includes code), the work is under exclusive copyright by default. Unless you include a license that specifies otherwise, nobody else can use, copy, distribute, or modify your work without being at risk of take-downs, shake-downs, or litigation. Once the work has other contributors (each a copyright holder), “nobody” starts including you.
|
||||
When you make a creative work (which includes code), the work is under exclusive copyright by default. Unless you include a license that specifies otherwise, nobody else can copy, distribute, or modify your work without being at risk of take-downs, shake-downs, or litigation. Once the work has other contributors (each a copyright holder), “nobody” starts including you.
|
||||
|
||||
Even in the absence of a license file, you may grant some rights in cases where you publish your source code to a site that requires accepting terms of service. For example, if you publish your source code in a public repository on GitHub, you have accepted the [Terms of Service](https://help.github.com/articles/github-terms-of-service), by which you allow others to view and fork your repository. Others may not need your permission if [limitations and exceptions to copyright](https://en.wikipedia.org/wiki/Limitations_and_exceptions_to_copyright) apply to their particular situation. Neither site terms nor jurisdiction-specific copyright limitations are sufficient for the kinds of collaboration that people usually seek on a public code host, such as experimentation, modification, and sharing as fostered by an open source license.
|
||||
|
||||
You don't have to do anything to not offer a license. You may however wish to add a copyright notice and statement that you are not offering any license in a prominent place (e.g., your project's README) so that [users](#for-users) don't assume you made an oversight. If you're going to accept others' contributions to your non-licensed project, you may wish to explore with your lawyer adding a contributor agreement to your project so that you maintain copyright permission from contributors, even though you're not granting the same.
|
||||
You don't have to do anything to *not* offer a license. You may, however, wish to add a copyright notice and statement that you are not offering any license in a prominent place (e.g., your project's README) so that [users](#for-users) don't assume you made an oversight. If you're going to accept others' contributions to your non-licensed project, you may wish to explore adding a contributor agreement to your project with your lawyer so that you maintain copyright permission from contributors, even though you're not granting the same.
|
||||
|
||||
Disallowing use of your code might not be what you intend by "no license." An [open-source license](/) allows reuse of your code while retaining copyright. If your goal is to completely opt-out of copyright restrictions, try a [public domain dedication](/licenses/#unlicense).
|
||||
Disallowing use of your code might not be what you intend by "no license." An [open source license](/) allows reuse of your code while retaining copyright. If your goal is to completely opt-out of copyright restrictions, try a [public domain dedication](/licenses/#unlicense) instead.
|
||||
|
||||
## For users
|
||||
|
||||
@ -22,8 +22,8 @@ If you find software that doesn't have a license, that generally means you have
|
||||
|
||||
Your options:
|
||||
|
||||
**Ask the maintainers nicely to add a license.** Unless the software includes strong indications to the contrary, lack of a license is probably an oversight. If the software is hosted on a site like GitHub, open an issue requesting a license and include a link to this site, or if you're bold and it's fairly obvious what license is most appropriate, open a pull request to add a license.
|
||||
{: .bullets}
|
||||
|
||||
**Don't use the software.** Find or create an alternative that is under an open source license.
|
||||
|
||||
**Negotiate a private license.** Bring your lawyer.
|
||||
- **Ask the maintainers nicely to add a license.** Unless the software includes strong indications to the contrary, lack of a license is probably an oversight. If the software is hosted on a site like GitHub, open an issue requesting a license and include a link to this site. If you're bold and it's fairly obvious what license is most appropriate, open a pull request to add a license – see "suggest this license" in the sidebar of the page for each license on this site (e.g., [MIT](/licenses/mit/#suggest-this-license)).
|
||||
- **Don't use the software.** Find or create an alternative that is under an open source license.
|
||||
- **Negotiate a private license.** Bring your lawyer.
|
||||
|
@ -4,15 +4,15 @@ layout: default
|
||||
permalink: /non-software/
|
||||
---
|
||||
|
||||
Open source software licenses can be used for non-software works, and often are the best choice. This is particularly the case when the works in question can be edited and versioned as source, e.g., [open source hardware](https://www.oshwa.org/definition/) designs. Choose an [open source license](/licenses/).
|
||||
Open source software licenses can be also used for non-software works and are often the best choice, especially when the works in question can be edited and versioned as source (e.g., [open source hardware](https://www.oshwa.org/definition/) designs). [Choose an open source license here.](/licenses/)
|
||||
|
||||
### Data, media, etc.
|
||||
|
||||
[CC0-1.0](/licenses/cc0-1.0/), [CC-BY-4.0](/licenses/cc-by-4.0/), and [CC-BY-SA-4.0](/licenses/cc-by-sa-4.0/) are [open](http://opendefinition.org) licenses used for non-software material ranging from datasets to videos. Note that CC-BY-4.0 and CC-BY-SA-4.0 should [not be used for software](https://creativecommons.org/faq/#can-i-apply-a-creative-commons-license-to-software).
|
||||
[CC0-1.0](/licenses/cc0-1.0/), [CC-BY-4.0](/licenses/cc-by-4.0/), and [CC-BY-SA-4.0](/licenses/cc-by-sa-4.0/) are [open](https://opendefinition.org) licenses used for non-software material ranging from datasets to videos. Note that CC-BY-4.0 and CC-BY-SA-4.0 should [not be used for software](https://creativecommons.org/faq/#can-i-apply-a-creative-commons-license-to-software).
|
||||
|
||||
### Documentation
|
||||
|
||||
Any open source software license or open license for media (see [above](#data-media-etc)) is applicable to software documentation. If you use different licenses for your software and its documentation, you may wish to take care that source code examples in the documentation are also licensed under the software license.
|
||||
Any open source software license or open license for media (see [above](#data-media-etc)) also applies to software documentation. If you use different licenses for your software and its documentation, be sure to specify that source code examples in the documentation are also licensed under the software license.
|
||||
|
||||
### Fonts
|
||||
|
||||
@ -20,4 +20,4 @@ The [SIL Open Font License 1.1](/licenses/ofl-1.1/) keeps fonts open but allows
|
||||
|
||||
### 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 what parts of the project. See [the license notice for this site](https://github.com/github/choosealicense.com#license) as an example.
|
||||
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.
|
||||
|
@ -11,9 +11,7 @@ require 'colored'
|
||||
require 'fuzzy_match'
|
||||
|
||||
# Display usage instructions
|
||||
if ARGV.count != 1
|
||||
puts File.open(__FILE__).read.scan(/^# .*/)[0...3].join("\n").gsub(/^# /, '')
|
||||
end
|
||||
puts File.open(__FILE__).read.scan(/^# .*/)[0...3].join("\n").gsub(/^# /, '') if ARGV.count != 1
|
||||
|
||||
class TrueClass
|
||||
def to_s
|
||||
|
@ -7,7 +7,7 @@ describe 'byte order marks' do
|
||||
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")
|
||||
msg = 'License file begins with a Byte Order Mark. See http://stackoverflow.com/a/1068700.'
|
||||
msg = 'License file begins with a Byte Order Mark. See https://stackoverflow.com/a/1068700.'
|
||||
expect(bom).to eql(false), msg
|
||||
end
|
||||
end
|
||||
|
@ -26,8 +26,6 @@ describe 'license meta' do
|
||||
'afl-3.0',
|
||||
'agpl-3.0',
|
||||
'artistic-2.0',
|
||||
'bsd-2-clause',
|
||||
'bsd-3-clause',
|
||||
'bsd-3-clause-clear',
|
||||
'bsl-1.0',
|
||||
'cc0-1.0',
|
||||
@ -58,7 +56,7 @@ describe 'license meta' do
|
||||
let(:detected) { Licensee::ProjectFiles::LicenseFile.new(content, 'LICENSE').license }
|
||||
|
||||
if example_url.start_with?('https://github.com/')
|
||||
example_url.gsub!(%r{\Ahttps://github.com/([\w-]+/[\w-]+)/blob/([\w-]+/\S+)\z}, 'https://raw.githubusercontent.com/\1/\2')
|
||||
example_url.gsub!(%r{\Ahttps://github.com/([\w-]+/[\w\.-]+)/blob/(\S+)\z}, 'https://raw.githubusercontent.com/\1/\2')
|
||||
elsif example_url.start_with?('https://git.savannah.gnu.org/', 'https://git.gnome.org/')
|
||||
example_url.gsub!(%r{/tree/}, '/plain/')
|
||||
elsif example_url.start_with?('https://bitbucket.org/')
|
||||
|
@ -104,8 +104,9 @@ def fsf_approved_licenses
|
||||
url = 'https://wking.github.io/fsf-api/licenses-full.json'
|
||||
object = JSON.parse(OpenURI.open_uri(url).read)
|
||||
licenses = {}
|
||||
object.each_value do |meta|
|
||||
object['licenses'].each_value do |meta|
|
||||
next unless (meta.include? 'identifiers') && (meta['identifiers'].include? 'spdx') && (meta.include? 'tags') && (meta['tags'].include? 'libre')
|
||||
|
||||
meta['identifiers']['spdx'].each do |identifier|
|
||||
licenses[identifier.downcase] = meta['name']
|
||||
end
|
||||
@ -116,7 +117,7 @@ end
|
||||
|
||||
def od_approved_licenses
|
||||
SpecHelper.od_approved_licenses ||= begin
|
||||
url = 'http://licenses.opendefinition.org/licenses/groups/od.json'
|
||||
url = 'https://licenses.opendefinition.org/licenses/groups/od.json'
|
||||
data = OpenURI.open_uri(url).read
|
||||
data = JSON.parse(data)
|
||||
licenses = {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user