1
0
mirror of https://github.com/github/choosealicense.com synced 2024-06-09 12:47:49 +02:00

Merge branch 'gh-pages' into patch-1

This commit is contained in:
Mike Linksvayer 2023-07-08 12:38:44 -07:00 committed by GitHub
commit d155b005f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
24 changed files with 1415 additions and 82 deletions

View File

@ -19,7 +19,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7.3
ruby-version: 2.7.4
bundler-cache: true
- name: Run tests

View File

@ -17,7 +17,9 @@ task :test do
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/}],
url_ignore: [%r{https://github.com/github/choosealicense.com/edit/gh-pages/_licenses/},
%r{https://help.github.com},
%r{https://opensource.org}],
hydra: { max_concurrency: 10 },
check_img_http: true).run
end

View File

@ -15,20 +15,21 @@
<div class="how-to-apply">
<h3 id="how-to-apply">How to apply this license</h3>
<p>
{{ page.how | markdownify | remove: '<p>' | remove: '</p>' }}
{{ page.how }}
</p>
<div class="note">
<h4 id="optional-steps">Optional steps</h4>
{% if page.note %}
<p>
{{ page.note | markdownify | remove: '<p>' | remove: '</p>' }}
{{ page.note }}
</p>
{% endif %}
{% assign xgpl = false %}
{% if page.spdx-id contains 'GPL' %}{% assign xgpl = true %}{% endif %}
{% assign lateronly = false %}
{% if page.spdx-id contains 'GPL' %}{% assign lateronly = true %}
{% elsif page.spdx-id contains 'GFDL' %}{% assign lateronly = true %}{% endif %}
{% assign ofl = false %}
{% if page.spdx-id contains 'OFL-1' %}{% assign ofl = true %}{% endif %}
<p id="package-metadata">Add <strong><code>{{ page.spdx-id }}{% if xgpl %}-or-later{% endif %}{% if ofl %}-no-RFN{% endif %}</code></strong>{% if xgpl %} (or <strong><code>{{ page.spdx-id }}-only</code></strong> to disallow future versions){% endif %}{% if ofl %} (or <strong><code>{{ page.spdx-id }}-RFN</code></strong> if a Reserved Font Name is specified after the copyright statement){% endif %} to your projects package description, if applicable (e.g., <a href="https://docs.npmjs.com/cli/v7/configuring-npm/package-json#license">Node.js</a>, <a href="https://guides.rubygems.org/specification-reference/#license=">Ruby</a>, and <a href="https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields">Rust</a>). This will ensure the license is displayed in package directories.</p>
<p id="package-metadata">Add <strong><code>{{ page.spdx-id }}{% if lateronly %}-or-later{% endif %}{% if ofl %}-no-RFN{% endif %}</code></strong>{% if lateronly %} (or <strong><code>{{ page.spdx-id }}-only</code></strong> to disallow future versions){% endif %}{% if ofl %} (or <strong><code>{{ page.spdx-id }}-RFN</code></strong> if a Reserved Font Name is specified after the copyright statement){% endif %} to your projects package description, if applicable (e.g., <a href="https://docs.npmjs.com/cli/v7/configuring-npm/package-json#license">Node.js</a>, <a href="https://guides.rubygems.org/specification-reference/#license=">Ruby</a>, and <a href="https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields">Rust</a>). This will ensure the license is displayed in package directories.</p>
{% if page.spdx-id contains 'GPL-2' %}
<p id="gplcc">If you would like your project to adopt the GPL-3.0s cure provision, add the <a href="https://github.com/gplcc/gplcc/blob/master/Project/COMMITMENT">text</a> of the <a href="https://gplcc.github.io/gplcc/">GPL Cooperation Commitment</a> to a file named <code>COMMITMENT</code> in the same directory as your {{ page.spdx-id }} license file.</p>
{% endif %}
@ -36,7 +37,7 @@
</div>
<div class="source">
<a href="https://spdx.org/licenses/{{ page.spdx-id }}{% if xgpl %}-or-later{% endif %}.html">
<a href="https://spdx.org/licenses/{{ page.spdx-id }}{% if lateronly %}-or-later{% endif %}.html">
<span class="license-sprite"></span>
Source
</a>

View File

@ -12,6 +12,9 @@ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of
note: The Free Software Foundation recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at the end of the license.
using:
Grafana: https://github.com/grafana/grafana/blob/main/LICENSE
Mastodon: https://github.com/mastodon/mastodon/blob/main/LICENSE
Nextcloud Server: https://github.com/nextcloud/server/blob/master/COPYING
permissions:
- commercial-use

View File

@ -9,7 +9,7 @@ description: A permissive license whose main conditions require preservation of
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: The Apache Foundation recommends taking the additional step of adding a boilerplate notice to the header of each source file. You can find the notice in the appendix at the very end of the license text.
note: The Apache Software Foundation <a href="https://apache.org/foundation/license-faq.html#Apply-My-Software">recommends</a> taking the additional step of adding a boilerplate notice to the header of each source file. You can find the notice in the appendix at the very end of the license text.
using:
Kubernetes: https://github.com/kubernetes/kubernetes/blob/master/LICENSE

View File

@ -1,6 +1,7 @@
---
title: BSD 3-Clause "New" or "Revised" License
spdx-id: BSD-3-Clause
nickname: Modified BSD License
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 copyright holder or its contributors to promote derived products without written consent.

View File

@ -7,7 +7,7 @@ description: A simple permissive license only requiring preservation of copyrigh
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](https://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 <a href="https://www.boost.org/users/license.html#FAQ">Boost Software License FAQ</a>.
using:
Boost: https://github.com/boostorg/boost/blob/master/LICENSE_1_0.txt

View File

@ -20,6 +20,7 @@ permissions:
conditions:
- include-copyright
- network-use-disclose
- disclose-source
- same-license

View File

@ -0,0 +1,216 @@
---
title: CERN Open Hardware Licence Version 2 - Permissive
spdx-id: CERN-OHL-P-2.0
nickname: CERN OHL v2 Permissive
description: A permissive license for hardware designs, with conditions only requiring preservation of notices. Contributors provide an express grant of patent rights. Licensed works, modifications, and larger works may be distributed under different terms and without sources.
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: 'CERN <a href="https://ohwr.org/project/cernohl/wikis/uploads/8a6b5d01f71c207c49493e4d114d61e6/cern_ohl_p_v2_howto.pdf">recommends</a> adding the following information in the source files: copyright and license notice, a disclaimer of warranties and a source location. You can also include the source location in a part of the design which will be visible in the end product.'
using:
tedium: https://github.com/jboone/tedium/blob/master/LICENSE-CERN-OHL-P-v2
LEDEAF: https://github.com/adamgreig/ledeaf/blob/master/LICENSE_CERN_OHL_P_v2.txt
Open source controller board for ventilators: https://github.com/CV19CO/open_controller_for_ventilator/blob/master/LICENSE
permissions:
- commercial-use
- modifications
- distribution
- private-use
- patent-use
conditions:
- include-copyright
- document-changes
limitations:
- liability
- warranty
---
CERN Open Hardware Licence Version 2 - Permissive
Preamble
CERN has developed this licence to promote collaboration among hardware
designers and to provide a legal tool which supports the freedom to use,
study, modify, share and distribute hardware designs and products based on
those designs. Version 2 of the CERN Open Hardware Licence comes in three
variants: this licence, CERN-OHL-P (permissive); and two reciprocal licences:
CERN-OHL-W (weakly reciprocal) and CERN-OHL-S (strongly reciprocal).
The CERN-OHL-P is copyright CERN 2020. Anyone is welcome to use it, in
unmodified form only.
Use of this Licence does not imply any endorsement by CERN of any Licensor or
their designs nor does it imply any involvement by CERN in their development.
1 Definitions
1.1 'Licence' means this CERN-OHL-P.
1.2 'Source' means information such as design materials or digital code
which can be applied to Make or test a Product or to prepare a Product
for use, Conveyance or sale, regardless of its medium or how it is
expressed. It may include Notices.
1.3 'Covered Source' means Source that is explicitly made available under
this Licence.
1.4 'Product' means any device, component, work or physical object, whether
in finished or intermediate form, arising from the use, application or
processing of Covered Source.
1.5 'Make' means to create or configure something, whether by manufacture,
assembly, compiling, loading or applying Covered Source or another
Product or otherwise.
1.6 'Notice' means copyright, acknowledgement and trademark notices,
references to the location of any Notices, modification notices
(subsection 3.3(b)) and all notices that refer to this Licence and to
the disclaimer of warranties that are included in the Covered Source.
1.7 'Licensee' or 'You' means any person exercising rights under this
Licence.
1.8 'Licensor' means a person who creates Source or modifies Covered Source
and subsequently Conveys the resulting Covered Source under the terms
and conditions of this Licence. A person may be a Licensee and a
Licensor at the same time.
1.9 'Convey' means to communicate to the public or distribute.
2 Applicability
2.1 This Licence governs the use, copying, modification, Conveying of
Covered Source and Products, and the Making of Products. By exercising
any right granted under this Licence, You irrevocably accept these terms
and conditions.
2.2 This Licence is granted by the Licensor directly to You, and shall apply
worldwide and without limitation in time.
2.3 You shall not attempt to restrict by contract or otherwise the rights
granted under this Licence to other Licensees.
2.4 This Licence is not intended to restrict fair use, fair dealing, or any
other similar right.
3 Copying, Modifying and Conveying Covered Source
3.1 You may copy and Convey verbatim copies of Covered Source, in any
medium, provided You retain all Notices.
3.2 You may modify Covered Source, other than Notices.
You may only delete Notices if they are no longer applicable to the
corresponding Covered Source as modified by You and You may add
additional Notices applicable to Your modifications.
3.3 You may Convey modified Covered Source (with the effect that You shall
also become a Licensor) provided that You:
a) retain Notices as required in subsection 3.2; and
b) add a Notice to the modified Covered Source stating that You have
modified it, with the date and brief description of how You have
modified it.
3.4 You may Convey Covered Source or modified Covered Source under licence
terms which differ from the terms of this Licence provided that You:
a) comply at all times with subsection 3.3; and
b) provide a copy of this Licence to anyone to whom You Convey Covered
Source or modified Covered Source.
4 Making and Conveying Products
You may Make Products, and/or Convey them, provided that You ensure that the
recipient of the Product has access to any Notices applicable to the Product.
5 DISCLAIMER AND LIABILITY
5.1 DISCLAIMER OF WARRANTY -- The Covered Source and any Products are
provided 'as is' and any express or implied warranties, including, but
not limited to, implied warranties of merchantability, of satisfactory
quality, non-infringement of third party rights, and fitness for a
particular purpose or use are disclaimed in respect of any Source or
Product to the maximum extent permitted by law. The Licensor makes no
representation that any Source or Product does not or will not infringe
any patent, copyright, trade secret or other proprietary right. The
entire risk as to the use, quality, and performance of any Source or
Product shall be with You and not the Licensor. This disclaimer of
warranty is an essential part of this Licence and a condition for the
grant of any rights granted under this Licence.
5.2 EXCLUSION AND LIMITATION OF LIABILITY -- The Licensor shall, to the
maximum extent permitted by law, have no liability for direct, indirect,
special, incidental, consequential, exemplary, punitive or other damages
of any character including, without limitation, procurement of
substitute goods or services, loss of use, data or profits, or business
interruption, however caused and on any theory of contract, warranty,
tort (including negligence), product liability or otherwise, arising in
any way in relation to the Covered Source, modified Covered Source
and/or the Making or Conveyance of a Product, even if advised of the
possibility of such damages, and You shall hold the Licensor(s) free and
harmless from any liability, costs, damages, fees and expenses,
including claims by third parties, in relation to such use.
6 Patents
6.1 Subject to the terms and conditions of this Licence, each Licensor
hereby grants to You a perpetual, worldwide, non-exclusive, no-charge,
royalty-free, irrevocable (except as stated in this section 6, or where
terminated by the Licensor for cause) patent licence to Make, have Made,
use, offer to sell, sell, import, and otherwise transfer the Covered
Source and Products, where such licence applies only to those patent
claims licensable by such Licensor that are necessarily infringed by
exercising rights under the Covered Source as Conveyed by that Licensor.
6.2 If You institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Covered
Source or a Product constitutes direct or contributory patent
infringement, or You seek any declaration that a patent licensed to You
under this Licence is invalid or unenforceable then any rights granted
to You under this Licence shall terminate as of the date such process is
initiated.
7 General
7.1 If any provisions of this Licence are or subsequently become invalid or
unenforceable for any reason, the remaining provisions shall remain
effective.
7.2 You shall not use any of the name (including acronyms and
abbreviations), image, or logo by which the Licensor or CERN is known,
except where needed to comply with section 3, or where the use is
otherwise allowed by law. Any such permitted use shall be factual and
shall not be made so as to suggest any kind of endorsement or
implication of involvement by the Licensor or its personnel.
7.3 CERN may publish updated versions and variants of this Licence which it
considers to be in the spirit of this version, but may differ in detail
to address new problems or concerns. New versions will be published with
a unique version number and a variant identifier specifying the variant.
If the Licensor has specified that a given variant applies to the
Covered Source without specifying a version, You may treat that Covered
Source as being released under any version of the CERN-OHL with that
variant. If no variant is specified, the Covered Source shall be treated
as being released under CERN-OHL-S. The Licensor may also specify that
the Covered Source is subject to a specific version of the CERN-OHL or
any later version in which case You may apply this or any later version
of CERN-OHL with the same variant identifier published by CERN.
7.4 This Licence shall not be enforceable except by a Licensor acting as
such, and third party beneficiary rights are specifically excluded.

View File

@ -0,0 +1,299 @@
---
title: CERN Open Hardware Licence Version 2 - Strongly Reciprocal
spdx-id: CERN-OHL-S-2.0
nickname: CERN OHL v2 Strongly Reciprocal
description: Permissions of this strongly reciprocal license for hardware designs are conditioned on making available complete sources of licensed works and modifications, which include larger works using a licensed work, under the same 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.
note: 'CERN <a href="https://ohwr.org/project/cernohl/wikis/uploads/cf37727497ca2b5295a7ab83a40fcf5a/cern_ohl_s_v2_user_guide.pdf">recommends</a> adding the following information in the source files: copyright and license notice, a disclaimer of warranties and a source location. You can also include the source location in a part of the design which will be visible in the end product.'
using:
USB Armory: https://github.com/f-secure-foundry/usbarmory/blob/master/hardware/mark-two/LICENSE
waffling60: https://github.com/4pplet/waffling60/blob/master/LICENCE.md
Passport Electronics: https://github.com/Foundation-Devices/passport-electronics/blob/master/LICENSE.txt
permissions:
- commercial-use
- modifications
- distribution
- private-use
- patent-use
conditions:
- include-copyright
- document-changes
- disclose-source
- same-license
limitations:
- liability
- warranty
---
CERN Open Hardware Licence Version 2 - Strongly Reciprocal
Preamble
CERN has developed this licence to promote collaboration among hardware
designers and to provide a legal tool which supports the freedom to use,
study, modify, share and distribute hardware designs and products based on
those designs. Version 2 of the CERN Open Hardware Licence comes in three
variants: CERN-OHL-P (permissive); and two reciprocal licences: CERN-OHL-W
(weakly reciprocal) and this licence, CERN-OHL-S (strongly reciprocal).
The CERN-OHL-S is copyright CERN 2020. Anyone is welcome to use it, in
unmodified form only.
Use of this Licence does not imply any endorsement by CERN of any Licensor or
their designs nor does it imply any involvement by CERN in their development.
1 Definitions
1.1 'Licence' means this CERN-OHL-S.
1.2 'Compatible Licence' means
a) any earlier version of the CERN Open Hardware licence, or
b) any version of the CERN-OHL-S, or
c) any licence which permits You to treat the Source to which it
applies as licensed under CERN-OHL-S provided that on Conveyance of
any such Source, or any associated Product You treat the Source in
question as being licensed under CERN-OHL-S.
1.3 'Source' means information such as design materials or digital code
which can be applied to Make or test a Product or to prepare a Product
for use, Conveyance or sale, regardless of its medium or how it is
expressed. It may include Notices.
1.4 'Covered Source' means Source that is explicitly made available under
this Licence.
1.5 'Product' means any device, component, work or physical object, whether
in finished or intermediate form, arising from the use, application or
processing of Covered Source.
1.6 'Make' means to create or configure something, whether by manufacture,
assembly, compiling, loading or applying Covered Source or another
Product or otherwise.
1.7 'Available Component' means any part, sub-assembly, library or code
which:
a) is licensed to You as Complete Source under a Compatible Licence; or
b) is available, at the time a Product or the Source containing it is
first Conveyed, to You and any other prospective licensees
i) as a physical part with sufficient rights and information
(including any configuration and programming files and
information about its characteristics and interfaces) to enable
it either to be Made itself, or to be sourced and used to Make
the Product; or
ii) as part of the normal distribution of a tool used to design or
Make the Product.
1.8 'Complete Source' means the set of all Source necessary to Make a
Product, in the preferred form for making modifications, including
necessary installation and interfacing information both for the Product,
and for any included Available Components. If the format is
proprietary, it must also be made available in a format (if the
proprietary tool can create it) which is viewable with a tool available
to potential licensees and licensed under a licence approved by the Free
Software Foundation or the Open Source Initiative. Complete Source need
not include the Source of any Available Component, provided that You
include in the Complete Source sufficient information to enable a
recipient to Make or source and use the Available Component to Make the
Product.
1.9 'Source Location' means a location where a Licensor has placed Covered
Source, and which that Licensor reasonably believes will remain easily
accessible for at least three years for anyone to obtain a digital copy.
1.10 'Notice' means copyright, acknowledgement and trademark notices, Source
Location references, modification notices (subsection 3.3(b)) and all
notices that refer to this Licence and to the disclaimer of warranties
that are included in the Covered Source.
1.11 'Licensee' or 'You' means any person exercising rights under this
Licence.
1.12 'Licensor' means a natural or legal person who creates or modifies
Covered Source. A person may be a Licensee and a Licensor at the same
time.
1.13 'Convey' means to communicate to the public or distribute.
2 Applicability
2.1 This Licence governs the use, copying, modification, Conveying of
Covered Source and Products, and the Making of Products. By exercising
any right granted under this Licence, You irrevocably accept these terms
and conditions.
2.2 This Licence is granted by the Licensor directly to You, and shall apply
worldwide and without limitation in time.
2.3 You shall not attempt to restrict by contract or otherwise the rights
granted under this Licence to other Licensees.
2.4 This Licence is not intended to restrict fair use, fair dealing, or any
other similar right.
3 Copying, Modifying and Conveying Covered Source
3.1 You may copy and Convey verbatim copies of Covered Source, in any
medium, provided You retain all Notices.
3.2 You may modify Covered Source, other than Notices, provided that You
irrevocably undertake to make that modified Covered Source available
from a Source Location should You Convey a Product in circumstances
where the recipient does not otherwise receive a copy of the modified
Covered Source. In each case subsection 3.3 shall apply.
You may only delete Notices if they are no longer applicable to the
corresponding Covered Source as modified by You and You may add
additional Notices applicable to Your modifications. Including Covered
Source in a larger work is modifying the Covered Source, and the larger
work becomes modified Covered Source.
3.3 You may Convey modified Covered Source (with the effect that You shall
also become a Licensor) provided that You:
a) retain Notices as required in subsection 3.2;
b) add a Notice to the modified Covered Source stating that You have
modified it, with the date and brief description of how You have
modified it;
c) add a Source Location Notice for the modified Covered Source if You
Convey in circumstances where the recipient does not otherwise
receive a copy of the modified Covered Source; and
d) license the modified Covered Source under the terms and conditions
of this Licence (or, as set out in subsection 8.3, a later version,
if permitted by the licence of the original Covered Source). Such
modified Covered Source must be licensed as a whole, but excluding
Available Components contained in it, which remain licensed under
their own applicable licences.
4 Making and Conveying Products
You may Make Products, and/or Convey them, provided that You either provide
each recipient with a copy of the Complete Source or ensure that each
recipient is notified of the Source Location of the Complete Source. That
Complete Source is Covered Source, and You must accordingly satisfy Your
obligations set out in subsection 3.3. If specified in a Notice, the Product
must visibly and securely display the Source Location on it or its packaging
or documentation in the manner specified in that Notice.
5 Research and Development
You may Convey Covered Source, modified Covered Source or Products to a legal
entity carrying out development, testing or quality assurance work on Your
behalf provided that the work is performed on terms which prevent the entity
from both using the Source or Products for its own internal purposes and
Conveying the Source or Products or any modifications to them to any person
other than You. Any modifications made by the entity shall be deemed to be
made by You pursuant to subsection 3.2.
6 DISCLAIMER AND LIABILITY
6.1 DISCLAIMER OF WARRANTY -- The Covered Source and any Products are
provided 'as is' and any express or implied warranties, including, but
not limited to, implied warranties of merchantability, of satisfactory
quality, non-infringement of third party rights, and fitness for a
particular purpose or use are disclaimed in respect of any Source or
Product to the maximum extent permitted by law. The Licensor makes no
representation that any Source or Product does not or will not infringe
any patent, copyright, trade secret or other proprietary right. The
entire risk as to the use, quality, and performance of any Source or
Product shall be with You and not the Licensor. This disclaimer of
warranty is an essential part of this Licence and a condition for the
grant of any rights granted under this Licence.
6.2 EXCLUSION AND LIMITATION OF LIABILITY -- The Licensor shall, to the
maximum extent permitted by law, have no liability for direct, indirect,
special, incidental, consequential, exemplary, punitive or other damages
of any character including, without limitation, procurement of
substitute goods or services, loss of use, data or profits, or business
interruption, however caused and on any theory of contract, warranty,
tort (including negligence), product liability or otherwise, arising in
any way in relation to the Covered Source, modified Covered Source
and/or the Making or Conveyance of a Product, even if advised of the
possibility of such damages, and You shall hold the Licensor(s) free and
harmless from any liability, costs, damages, fees and expenses,
including claims by third parties, in relation to such use.
7 Patents
7.1 Subject to the terms and conditions of this Licence, each Licensor
hereby grants to You a perpetual, worldwide, non-exclusive, no-charge,
royalty-free, irrevocable (except as stated in subsections 7.2 and 8.4)
patent licence to Make, have Made, use, offer to sell, sell, import, and
otherwise transfer the Covered Source and Products, where such licence
applies only to those patent claims licensable by such Licensor that are
necessarily infringed by exercising rights under the Covered Source as
Conveyed by that Licensor.
7.2 If You institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Covered
Source or a Product constitutes direct or contributory patent
infringement, or You seek any declaration that a patent licensed to You
under this Licence is invalid or unenforceable then any rights granted
to You under this Licence shall terminate as of the date such process is
initiated.
8 General
8.1 If any provisions of this Licence are or subsequently become invalid or
unenforceable for any reason, the remaining provisions shall remain
effective.
8.2 You shall not use any of the name (including acronyms and
abbreviations), image, or logo by which the Licensor or CERN is known,
except where needed to comply with section 3, or where the use is
otherwise allowed by law. Any such permitted use shall be factual and
shall not be made so as to suggest any kind of endorsement or
implication of involvement by the Licensor or its personnel.
8.3 CERN may publish updated versions and variants of this Licence which it
considers to be in the spirit of this version, but may differ in detail
to address new problems or concerns. New versions will be published with
a unique version number and a variant identifier specifying the variant.
If the Licensor has specified that a given variant applies to the
Covered Source without specifying a version, You may treat that Covered
Source as being released under any version of the CERN-OHL with that
variant. If no variant is specified, the Covered Source shall be treated
as being released under CERN-OHL-S. The Licensor may also specify that
the Covered Source is subject to a specific version of the CERN-OHL or
any later version in which case You may apply this or any later version
of CERN-OHL with the same variant identifier published by CERN.
8.4 This Licence shall terminate with immediate effect if You fail to comply
with any of its terms and conditions.
8.5 However, if You cease all breaches of this Licence, then Your Licence
from any Licensor is reinstated unless such Licensor has terminated this
Licence by giving You, while You remain in breach, a notice specifying
the breach and requiring You to cure it within 30 days, and You have
failed to come into compliance in all material respects by the end of
the 30 day period. Should You repeat the breach after receipt of a cure
notice and subsequent reinstatement, this Licence will terminate
immediately and permanently. Section 6 shall continue to apply after any
termination.
8.6 This Licence shall not be enforceable except by a Licensor acting as
such, and third party beneficiary rights are specifically excluded.

View File

@ -0,0 +1,321 @@
---
title: CERN Open Hardware Licence Version 2 - Weakly Reciprocal
spdx-id: CERN-OHL-W-2.0
nickname: CERN OHL v2 Weakly Reciprocal
description: Permissions of this weakly-reciprocal license are conditioned on making available complete sources of licensed works and modifications under the same 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 sources for the larger 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.
note: 'CERN <a href="https://ohwr.org/project/cernohl/wikis/uploads/c2e5e9d297949b5c2d324a6cbf6adda0/cern_ohl_w_v2_howto.pdf">recommends</a> adding the following information in the source files: copyright and license notice, a disclaimer of warranties and a source location. You can also include the source location in a part of the design which will be visible in the end product.'
using:
Simple PCIe FMC carrier: https://ohwr.org/project/spec/blob/master/LICENSES/CERN-OHL-W-2.0.txt
GProcessor8Bits: https://github.com/JonathSpirit/GP8B/blob/master/LICENSE
FPGA Cores: https://github.com/suoto/fpga_cores/blob/master/LICENSE
permissions:
- commercial-use
- modifications
- distribution
- private-use
- patent-use
conditions:
- include-copyright
- document-changes
- disclose-source
- same-license--library
limitations:
- liability
- warranty
---
CERN Open Hardware Licence Version 2 - Weakly Reciprocal
Preamble
CERN has developed this licence to promote collaboration among hardware
designers and to provide a legal tool which supports the freedom to use,
study, modify, share and distribute hardware designs and products based on
those designs. Version 2 of the CERN Open Hardware Licence comes in three
variants: CERN-OHL-P (permissive); and two reciprocal licences: this licence,
CERN-OHL-W (weakly reciprocal) and CERN-OHL-S (strongly reciprocal).
The CERN-OHL-W is copyright CERN 2020. Anyone is welcome to use it, in
unmodified form only.
Use of this Licence does not imply any endorsement by CERN of any Licensor or
their designs nor does it imply any involvement by CERN in their development.
1 Definitions
1.1 'Licence' means this CERN-OHL-W.
1.2 'Compatible Licence' means
a) any earlier version of the CERN Open Hardware licence, or
b) any version of the CERN-OHL-S or the CERN-OHL-W, or
c) any licence which permits You to treat the Source to which it
applies as licensed under CERN-OHL-S or CERN-OHL-W provided that on
Conveyance of any such Source, or any associated Product You treat
the Source in question as being licensed under CERN-OHL-S or
CERN-OHL-W as appropriate.
1.3 'Source' means information such as design materials or digital code
which can be applied to Make or test a Product or to prepare a Product
for use, Conveyance or sale, regardless of its medium or how it is
expressed. It may include Notices.
1.4 'Covered Source' means Source that is explicitly made available under
this Licence.
1.5 'Product' means any device, component, work or physical object, whether
in finished or intermediate form, arising from the use, application or
processing of Covered Source.
1.6 'Make' means to create or configure something, whether by manufacture,
assembly, compiling, loading or applying Covered Source or another
Product or otherwise.
1.7 'Available Component' means any part, sub-assembly, library or code
which:
a) is licensed to You as Complete Source under a Compatible Licence; or
b) is available, at the time a Product or the Source containing it is
first Conveyed, to You and any other prospective licensees
i) with sufficient rights and information (including any
configuration and programming files and information about its
characteristics and interfaces) to enable it either to be Made
itself, or to be sourced and used to Make the Product; or
ii) as part of the normal distribution of a tool used to design or
Make the Product.
1.8 'External Material' means anything (including Source) which:
a) is only combined with Covered Source in such a way that it
interfaces with the Covered Source using a documented interface
which is described in the Covered Source; and
b) is not a derivative of or contains Covered Source, or, if it is, it
is solely to the extent necessary to facilitate such interfacing.
1.9 'Complete Source' means the set of all Source necessary to Make a
Product, in the preferred form for making modifications, including
necessary installation and interfacing information both for the Product,
and for any included Available Components. If the format is
proprietary, it must also be made available in a format (if the
proprietary tool can create it) which is viewable with a tool available
to potential licensees and licensed under a licence approved by the Free
Software Foundation or the Open Source Initiative. Complete Source need
not include the Source of any Available Component, provided that You
include in the Complete Source sufficient information to enable a
recipient to Make or source and use the Available Component to Make the
Product.
1.10 'Source Location' means a location where a Licensor has placed Covered
Source, and which that Licensor reasonably believes will remain easily
accessible for at least three years for anyone to obtain a digital copy.
1.11 'Notice' means copyright, acknowledgement and trademark notices, Source
Location references, modification notices (subsection 3.3(b)) and all
notices that refer to this Licence and to the disclaimer of warranties
that are included in the Covered Source.
1.12 'Licensee' or 'You' means any person exercising rights under this
Licence.
1.13 'Licensor' means a natural or legal person who creates or modifies
Covered Source. A person may be a Licensee and a Licensor at the same
time.
1.14 'Convey' means to communicate to the public or distribute.
2 Applicability
2.1 This Licence governs the use, copying, modification, Conveying of
Covered Source and Products, and the Making of Products. By exercising
any right granted under this Licence, You irrevocably accept these terms
and conditions.
2.2 This Licence is granted by the Licensor directly to You, and shall apply
worldwide and without limitation in time.
2.3 You shall not attempt to restrict by contract or otherwise the rights
granted under this Licence to other Licensees.
2.4 This Licence is not intended to restrict fair use, fair dealing, or any
other similar right.
3 Copying, Modifying and Conveying Covered Source
3.1 You may copy and Convey verbatim copies of Covered Source, in any
medium, provided You retain all Notices.
3.2 You may modify Covered Source, other than Notices, provided that You
irrevocably undertake to make that modified Covered Source available
from a Source Location should You Convey a Product in circumstances
where the recipient does not otherwise receive a copy of the modified
Covered Source. In each case subsection 3.3 shall apply.
You may only delete Notices if they are no longer applicable to the
corresponding Covered Source as modified by You and You may add
additional Notices applicable to Your modifications.
3.3 You may Convey modified Covered Source (with the effect that You shall
also become a Licensor) provided that You:
a) retain Notices as required in subsection 3.2;
b) add a Notice to the modified Covered Source stating that You have
modified it, with the date and brief description of how You have
modified it;
c) add a Source Location Notice for the modified Covered Source if You
Convey in circumstances where the recipient does not otherwise
receive a copy of the modified Covered Source; and
d) license the modified Covered Source under the terms and conditions
of this Licence (or, as set out in subsection 8.3, a later version,
if permitted by the licence of the original Covered Source). Such
modified Covered Source must be licensed as a whole, but excluding
Available Components contained in it or External Material to which
it is interfaced, which remain licensed under their own applicable
licences.
4 Making and Conveying Products
4.1 You may Make Products, and/or Convey them, provided that You either
provide each recipient with a copy of the Complete Source or ensure that
each recipient is notified of the Source Location of the Complete
Source. That Complete Source includes Covered Source and You must
accordingly satisfy Your obligations set out in subsection 3.3. If
specified in a Notice, the Product must visibly and securely display the
Source Location on it or its packaging or documentation in the manner
specified in that Notice.
4.2 Where You Convey a Product which incorporates External Material, the
Complete Source for that Product which You are required to provide under
subsection 4.1 need not include any Source for the External Material.
4.3 You may license Products under terms of Your choice, provided that such
terms do not restrict or attempt to restrict any recipients' rights
under this Licence to the Covered Source.
5 Research and Development
You may Convey Covered Source, modified Covered Source or Products to a legal
entity carrying out development, testing or quality assurance work on Your
behalf provided that the work is performed on terms which prevent the entity
from both using the Source or Products for its own internal purposes and
Conveying the Source or Products or any modifications to them to any person
other than You. Any modifications made by the entity shall be deemed to be
made by You pursuant to subsection 3.2.
6 DISCLAIMER AND LIABILITY
6.1 DISCLAIMER OF WARRANTY -- The Covered Source and any Products are
provided 'as is' and any express or implied warranties, including, but
not limited to, implied warranties of merchantability, of satisfactory
quality, non-infringement of third party rights, and fitness for a
particular purpose or use are disclaimed in respect of any Source or
Product to the maximum extent permitted by law. The Licensor makes no
representation that any Source or Product does not or will not infringe
any patent, copyright, trade secret or other proprietary right. The
entire risk as to the use, quality, and performance of any Source or
Product shall be with You and not the Licensor. This disclaimer of
warranty is an essential part of this Licence and a condition for the
grant of any rights granted under this Licence.
6.2 EXCLUSION AND LIMITATION OF LIABILITY -- The Licensor shall, to the
maximum extent permitted by law, have no liability for direct, indirect,
special, incidental, consequential, exemplary, punitive or other damages
of any character including, without limitation, procurement of
substitute goods or services, loss of use, data or profits, or business
interruption, however caused and on any theory of contract, warranty,
tort (including negligence), product liability or otherwise, arising in
any way in relation to the Covered Source, modified Covered Source
and/or the Making or Conveyance of a Product, even if advised of the
possibility of such damages, and You shall hold the Licensor(s) free and
harmless from any liability, costs, damages, fees and expenses,
including claims by third parties, in relation to such use.
7 Patents
7.1 Subject to the terms and conditions of this Licence, each Licensor
hereby grants to You a perpetual, worldwide, non-exclusive, no-charge,
royalty-free, irrevocable (except as stated in subsections 7.2 and 8.4)
patent licence to Make, have Made, use, offer to sell, sell, import, and
otherwise transfer the Covered Source and Products, where such licence
applies only to those patent claims licensable by such Licensor that are
necessarily infringed by exercising rights under the Covered Source as
Conveyed by that Licensor.
7.2 If You institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Covered
Source or a Product constitutes direct or contributory patent
infringement, or You seek any declaration that a patent licensed to You
under this Licence is invalid or unenforceable then any rights granted
to You under this Licence shall terminate as of the date such process is
initiated.
8 General
8.1 If any provisions of this Licence are or subsequently become invalid or
unenforceable for any reason, the remaining provisions shall remain
effective.
8.2 You shall not use any of the name (including acronyms and
abbreviations), image, or logo by which the Licensor or CERN is known,
except where needed to comply with section 3, or where the use is
otherwise allowed by law. Any such permitted use shall be factual and
shall not be made so as to suggest any kind of endorsement or
implication of involvement by the Licensor or its personnel.
8.3 CERN may publish updated versions and variants of this Licence which it
considers to be in the spirit of this version, but may differ in detail
to address new problems or concerns. New versions will be published with
a unique version number and a variant identifier specifying the variant.
If the Licensor has specified that a given variant applies to the
Covered Source without specifying a version, You may treat that Covered
Source as being released under any version of the CERN-OHL with that
variant. If no variant is specified, the Covered Source shall be treated
as being released under CERN-OHL-S. The Licensor may also specify that
the Covered Source is subject to a specific version of the CERN-OHL or
any later version in which case You may apply this or any later version
of CERN-OHL with the same variant identifier published by CERN.
You may treat Covered Source licensed under CERN-OHL-W as licensed under
CERN-OHL-S if and only if all Available Components referenced in the
Covered Source comply with the corresponding definition of Available
Component for CERN-OHL-S.
8.4 This Licence shall terminate with immediate effect if You fail to comply
with any of its terms and conditions.
8.5 However, if You cease all breaches of this Licence, then Your Licence
from any Licensor is reinstated unless such Licensor has terminated this
Licence by giving You, while You remain in breach, a notice specifying
the breach and requiring You to cure it within 30 days, and You have
failed to come into compliance in all material respects by the end of
the 30 day period. Should You repeat the breach after receipt of a cure
notice and subsequent reinstatement, this Licence will terminate
immediately and permanently. Section 6 shall continue to apply after any
termination.
8.6 This Licence shall not be enforceable except by a Licensor acting as
such, and third party beneficiary rights are specifically excluded.

View File

@ -7,7 +7,7 @@ description: The “European Union Public Licence” (EUPL) is a copyleft free/o
how: Create a text file (typically named COPYING or LICENCE.txt) in the root of your source code and copy the text of the license into the file.
note: The European Commission recommends taking the additional step of adding a [boilerplate notice](https://joinup.ec.europa.eu/sites/default/files/ckeditor_files/files/EUPL%201_1%20Guidelines%20EN%20Joinup.pdf#page=17) to the top of each file.
note: The European Commission recommends taking the additional step of adding a <a href="https://joinup.ec.europa.eu/sites/default/files/inline-files/EUPL%201_1%20Guidelines%20EN%20Joinup.pdf#page=17">boilerplate notice</a> to the top of each file.
using:

483
_licenses/gfdl-1.3.txt Normal file
View File

@ -0,0 +1,483 @@
---
title: GNU Free Documentation License v1.3
spdx-id: GFDL-1.3
description: A copyleft license for software documentation.
how: Create a text file (typically named COPYING, as per GNU conventions) in the root of your source code and copy the text of the license into the file.
note: The Free Software Foundation recommends taking the additional step of adding a boilerplate notice after the title of a licensed document. The boilerplate can be found at the "addendum" part of the license.
using:
GNU LilyPond (Documentation): https://git.savannah.gnu.org/cgit/lilypond.git/tree/COPYING.FDL
GNU Scientific Library (Documentation): https://git.savannah.gnu.org/cgit/gsl.git/tree/doc/_static/fdl.txt
Qt (Documentation): https://code.qt.io/cgit/qt/qt.git/tree/LICENSE.FDL
permissions:
- commercial-use
- modifications
- distribution
- private-use
conditions:
- include-copyright
- disclose-source
- same-license
- document-changes
limitations:
- liability
- warranty
---
GNU Free Documentation License
Version 1.3, 3 November 2008
Copyright (C) 2000, 2001, 2002, 2007, 2008 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.
0. PREAMBLE
The purpose of this License is to make a manual, textbook, or other
functional and useful document "free" in the sense of freedom: to
assure everyone the effective freedom to copy and redistribute it,
with or without modifying it, either commercially or noncommercially.
Secondarily, this License preserves for the author and publisher a way
to get credit for their work, while not being considered responsible
for modifications made by others.
This License is a kind of "copyleft", which means that derivative
works of the document must themselves be free in the same sense. It
complements the GNU General Public License, which is a copyleft
license designed for free software.
We have designed this License in order to use it for manuals for free
software, because free software needs free documentation: a free
program should come with manuals providing the same freedoms that the
software does. But this License is not limited to software manuals;
it can be used for any textual work, regardless of subject matter or
whether it is published as a printed book. We recommend this License
principally for works whose purpose is instruction or reference.
1. APPLICABILITY AND DEFINITIONS
This License applies to any manual or other work, in any medium, that
contains a notice placed by the copyright holder saying it can be
distributed under the terms of this License. Such a notice grants a
world-wide, royalty-free license, unlimited in duration, to use that
work under the conditions stated herein. The "Document", below,
refers to any such manual or work. Any member of the public is a
licensee, and is addressed as "you". You accept the license if you
copy, modify or distribute the work in a way requiring permission
under copyright law.
A "Modified Version" of the Document means any work containing the
Document or a portion of it, either copied verbatim, or with
modifications and/or translated into another language.
A "Secondary Section" is a named appendix or a front-matter section of
the Document that deals exclusively with the relationship of the
publishers or authors of the Document to the Document's overall
subject (or to related matters) and contains nothing that could fall
directly within that overall subject. (Thus, if the Document is in
part a textbook of mathematics, a Secondary Section may not explain
any mathematics.) The relationship could be a matter of historical
connection with the subject or with related matters, or of legal,
commercial, philosophical, ethical or political position regarding
them.
The "Invariant Sections" are certain Secondary Sections whose titles
are designated, as being those of Invariant Sections, in the notice
that says that the Document is released under this License. If a
section does not fit the above definition of Secondary then it is not
allowed to be designated as Invariant. The Document may contain zero
Invariant Sections. If the Document does not identify any Invariant
Sections then there are none.
The "Cover Texts" are certain short passages of text that are listed,
as Front-Cover Texts or Back-Cover Texts, in the notice that says that
the Document is released under this License. A Front-Cover Text may
be at most 5 words, and a Back-Cover Text may be at most 25 words.
A "Transparent" copy of the Document means a machine-readable copy,
represented in a format whose specification is available to the
general public, that is suitable for revising the document
straightforwardly with generic text editors or (for images composed of
pixels) generic paint programs or (for drawings) some widely available
drawing editor, and that is suitable for input to text formatters or
for automatic translation to a variety of formats suitable for input
to text formatters. A copy made in an otherwise Transparent file
format whose markup, or absence of markup, has been arranged to thwart
or discourage subsequent modification by readers is not Transparent.
An image format is not Transparent if used for any substantial amount
of text. A copy that is not "Transparent" is called "Opaque".
Examples of suitable formats for Transparent copies include plain
ASCII without markup, Texinfo input format, LaTeX input format, SGML
or XML using a publicly available DTD, and standard-conforming simple
HTML, PostScript or PDF designed for human modification. Examples of
transparent image formats include PNG, XCF and JPG. Opaque formats
include proprietary formats that can be read and edited only by
proprietary word processors, SGML or XML for which the DTD and/or
processing tools are not generally available, and the
machine-generated HTML, PostScript or PDF produced by some word
processors for output purposes only.
The "Title Page" means, for a printed book, the title page itself,
plus such following pages as are needed to hold, legibly, the material
this License requires to appear in the title page. For works in
formats which do not have any title page as such, "Title Page" means
the text near the most prominent appearance of the work's title,
preceding the beginning of the body of the text.
The "publisher" means any person or entity that distributes copies of
the Document to the public.
A section "Entitled XYZ" means a named subunit of the Document whose
title either is precisely XYZ or contains XYZ in parentheses following
text that translates XYZ in another language. (Here XYZ stands for a
specific section name mentioned below, such as "Acknowledgements",
"Dedications", "Endorsements", or "History".) To "Preserve the Title"
of such a section when you modify the Document means that it remains a
section "Entitled XYZ" according to this definition.
The Document may include Warranty Disclaimers next to the notice which
states that this License applies to the Document. These Warranty
Disclaimers are considered to be included by reference in this
License, but only as regards disclaiming warranties: any other
implication that these Warranty Disclaimers may have is void and has
no effect on the meaning of this License.
2. VERBATIM COPYING
You may copy and distribute the Document in any medium, either
commercially or noncommercially, provided that this License, the
copyright notices, and the license notice saying this License applies
to the Document are reproduced in all copies, and that you add no
other conditions whatsoever to those of this License. You may not use
technical measures to obstruct or control the reading or further
copying of the copies you make or distribute. However, you may accept
compensation in exchange for copies. If you distribute a large enough
number of copies you must also follow the conditions in section 3.
You may also lend copies, under the same conditions stated above, and
you may publicly display copies.
3. COPYING IN QUANTITY
If you publish printed copies (or copies in media that commonly have
printed covers) of the Document, numbering more than 100, and the
Document's license notice requires Cover Texts, you must enclose the
copies in covers that carry, clearly and legibly, all these Cover
Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
the back cover. Both covers must also clearly and legibly identify
you as the publisher of these copies. The front cover must present
the full title with all words of the title equally prominent and
visible. You may add other material on the covers in addition.
Copying with changes limited to the covers, as long as they preserve
the title of the Document and satisfy these conditions, can be treated
as verbatim copying in other respects.
If the required texts for either cover are too voluminous to fit
legibly, you should put the first ones listed (as many as fit
reasonably) on the actual cover, and continue the rest onto adjacent
pages.
If you publish or distribute Opaque copies of the Document numbering
more than 100, you must either include a machine-readable Transparent
copy along with each Opaque copy, or state in or with each Opaque copy
a computer-network location from which the general network-using
public has access to download using public-standard network protocols
a complete Transparent copy of the Document, free of added material.
If you use the latter option, you must take reasonably prudent steps,
when you begin distribution of Opaque copies in quantity, to ensure
that this Transparent copy will remain thus accessible at the stated
location until at least one year after the last time you distribute an
Opaque copy (directly or through your agents or retailers) of that
edition to the public.
It is requested, but not required, that you contact the authors of the
Document well before redistributing any large number of copies, to
give them a chance to provide you with an updated version of the
Document.
4. MODIFICATIONS
You may copy and distribute a Modified Version of the Document under
the conditions of sections 2 and 3 above, provided that you release
the Modified Version under precisely this License, with the Modified
Version filling the role of the Document, thus licensing distribution
and modification of the Modified Version to whoever possesses a copy
of it. In addition, you must do these things in the Modified Version:
A. Use in the Title Page (and on the covers, if any) a title distinct
from that of the Document, and from those of previous versions
(which should, if there were any, be listed in the History section
of the Document). You may use the same title as a previous version
if the original publisher of that version gives permission.
B. List on the Title Page, as authors, one or more persons or entities
responsible for authorship of the modifications in the Modified
Version, together with at least five of the principal authors of the
Document (all of its principal authors, if it has fewer than five),
unless they release you from this requirement.
C. State on the Title page the name of the publisher of the
Modified Version, as the publisher.
D. Preserve all the copyright notices of the Document.
E. Add an appropriate copyright notice for your modifications
adjacent to the other copyright notices.
F. Include, immediately after the copyright notices, a license notice
giving the public permission to use the Modified Version under the
terms of this License, in the form shown in the Addendum below.
G. Preserve in that license notice the full lists of Invariant Sections
and required Cover Texts given in the Document's license notice.
H. Include an unaltered copy of this License.
I. Preserve the section Entitled "History", Preserve its Title, and add
to it an item stating at least the title, year, new authors, and
publisher of the Modified Version as given on the Title Page. If
there is no section Entitled "History" in the Document, create one
stating the title, year, authors, and publisher of the Document as
given on its Title Page, then add an item describing the Modified
Version as stated in the previous sentence.
J. Preserve the network location, if any, given in the Document for
public access to a Transparent copy of the Document, and likewise
the network locations given in the Document for previous versions
it was based on. These may be placed in the "History" section.
You may omit a network location for a work that was published at
least four years before the Document itself, or if the original
publisher of the version it refers to gives permission.
K. For any section Entitled "Acknowledgements" or "Dedications",
Preserve the Title of the section, and preserve in the section all
the substance and tone of each of the contributor acknowledgements
and/or dedications given therein.
L. Preserve all the Invariant Sections of the Document,
unaltered in their text and in their titles. Section numbers
or the equivalent are not considered part of the section titles.
M. Delete any section Entitled "Endorsements". Such a section
may not be included in the Modified Version.
N. Do not retitle any existing section to be Entitled "Endorsements"
or to conflict in title with any Invariant Section.
O. Preserve any Warranty Disclaimers.
If the Modified Version includes new front-matter sections or
appendices that qualify as Secondary Sections and contain no material
copied from the Document, you may at your option designate some or all
of these sections as invariant. To do this, add their titles to the
list of Invariant Sections in the Modified Version's license notice.
These titles must be distinct from any other section titles.
You may add a section Entitled "Endorsements", provided it contains
nothing but endorsements of your Modified Version by various
parties--for example, statements of peer review or that the text has
been approved by an organization as the authoritative definition of a
standard.
You may add a passage of up to five words as a Front-Cover Text, and a
passage of up to 25 words as a Back-Cover Text, to the end of the list
of Cover Texts in the Modified Version. Only one passage of
Front-Cover Text and one of Back-Cover Text may be added by (or
through arrangements made by) any one entity. If the Document already
includes a cover text for the same cover, previously added by you or
by arrangement made by the same entity you are acting on behalf of,
you may not add another; but you may replace the old one, on explicit
permission from the previous publisher that added the old one.
The author(s) and publisher(s) of the Document do not by this License
give permission to use their names for publicity for or to assert or
imply endorsement of any Modified Version.
5. COMBINING DOCUMENTS
You may combine the Document with other documents released under this
License, under the terms defined in section 4 above for modified
versions, provided that you include in the combination all of the
Invariant Sections of all of the original documents, unmodified, and
list them all as Invariant Sections of your combined work in its
license notice, and that you preserve all their Warranty Disclaimers.
The combined work need only contain one copy of this License, and
multiple identical Invariant Sections may be replaced with a single
copy. If there are multiple Invariant Sections with the same name but
different contents, make the title of each such section unique by
adding at the end of it, in parentheses, the name of the original
author or publisher of that section if known, or else a unique number.
Make the same adjustment to the section titles in the list of
Invariant Sections in the license notice of the combined work.
In the combination, you must combine any sections Entitled "History"
in the various original documents, forming one section Entitled
"History"; likewise combine any sections Entitled "Acknowledgements",
and any sections Entitled "Dedications". You must delete all sections
Entitled "Endorsements".
6. COLLECTIONS OF DOCUMENTS
You may make a collection consisting of the Document and other
documents released under this License, and replace the individual
copies of this License in the various documents with a single copy
that is included in the collection, provided that you follow the rules
of this License for verbatim copying of each of the documents in all
other respects.
You may extract a single document from such a collection, and
distribute it individually under this License, provided you insert a
copy of this License into the extracted document, and follow this
License in all other respects regarding verbatim copying of that
document.
7. AGGREGATION WITH INDEPENDENT WORKS
A compilation of the Document or its derivatives with other separate
and independent documents or works, in or on a volume of a storage or
distribution medium, is called an "aggregate" if the copyright
resulting from the compilation is not used to limit the legal rights
of the compilation's users beyond what the individual works permit.
When the Document is included in an aggregate, this License does not
apply to the other works in the aggregate which are not themselves
derivative works of the Document.
If the Cover Text requirement of section 3 is applicable to these
copies of the Document, then if the Document is less than one half of
the entire aggregate, the Document's Cover Texts may be placed on
covers that bracket the Document within the aggregate, or the
electronic equivalent of covers if the Document is in electronic form.
Otherwise they must appear on printed covers that bracket the whole
aggregate.
8. TRANSLATION
Translation is considered a kind of modification, so you may
distribute translations of the Document under the terms of section 4.
Replacing Invariant Sections with translations requires special
permission from their copyright holders, but you may include
translations of some or all Invariant Sections in addition to the
original versions of these Invariant Sections. You may include a
translation of this License, and all the license notices in the
Document, and any Warranty Disclaimers, provided that you also include
the original English version of this License and the original versions
of those notices and disclaimers. In case of a disagreement between
the translation and the original version of this License or a notice
or disclaimer, the original version will prevail.
If a section in the Document is Entitled "Acknowledgements",
"Dedications", or "History", the requirement (section 4) to Preserve
its Title (section 1) will typically require changing the actual
title.
9. TERMINATION
You may not copy, modify, sublicense, or distribute the Document
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense, or distribute it is void, and
will automatically terminate your rights under this License.
However, if you cease all violation of this License, then your license
from a particular copyright holder is reinstated (a) provisionally,
unless and until the copyright holder explicitly and finally
terminates your license, and (b) permanently, if the copyright holder
fails to notify you of the violation by some reasonable means prior to
60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, receipt of a copy of some or all of the same material does
not give you any rights to use it.
10. FUTURE REVISIONS OF THIS LICENSE
The Free Software Foundation may publish new, revised versions of the
GNU Free Documentation License from time to time. Such new versions
will be similar in spirit to the present version, but may differ in
detail to address new problems or concerns. See
https://www.gnu.org/licenses/.
Each version of the License is given a distinguishing version number.
If the Document specifies that a particular numbered version of this
License "or any later version" applies to it, you have the option of
following the terms and conditions either of that specified version or
of any later version that has been published (not as a draft) by the
Free Software Foundation. If the Document does not specify a version
number of this License, you may choose any version ever published (not
as a draft) by the Free Software Foundation. If the Document
specifies that a proxy can decide which future versions of this
License can be used, that proxy's public statement of acceptance of a
version permanently authorizes you to choose that version for the
Document.
11. RELICENSING
"Massive Multiauthor Collaboration Site" (or "MMC Site") means any
World Wide Web server that publishes copyrightable works and also
provides prominent facilities for anybody to edit those works. A
public wiki that anybody can edit is an example of such a server. A
"Massive Multiauthor Collaboration" (or "MMC") contained in the site
means any set of copyrightable works thus published on the MMC site.
"CC-BY-SA" means the Creative Commons Attribution-Share Alike 3.0
license published by Creative Commons Corporation, a not-for-profit
corporation with a principal place of business in San Francisco,
California, as well as future copyleft versions of that license
published by that same organization.
"Incorporate" means to publish or republish a Document, in whole or in
part, as part of another Document.
An MMC is "eligible for relicensing" if it is licensed under this
License, and if all works that were first published under this License
somewhere other than this MMC, and subsequently incorporated in whole or
in part into the MMC, (1) had no cover texts or invariant sections, and
(2) were thus incorporated prior to November 1, 2008.
The operator of an MMC Site may republish an MMC contained in the site
under CC-BY-SA on the same site at any time before August 1, 2009,
provided the MMC is eligible for relicensing.
ADDENDUM: How to use this License for your documents
To use this License in a document you have written, include a copy of
the License in the document and put the following copyright and
license notices just after the title page:
Copyright (c) YEAR YOUR NAME.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3
or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included in the section entitled "GNU
Free Documentation License".
If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
replace the "with...Texts." line with this:
with the Invariant Sections being LIST THEIR TITLES, with the
Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
If you have Invariant Sections without Cover Texts, or some other
combination of the three, merge those two alternatives to suit the
situation.
If your document contains nontrivial examples of program code, we
recommend releasing these examples in parallel under your choice of
free software license, such as the GNU General Public License,
to permit their use in free software.

View File

@ -10,7 +10,7 @@ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of
using:
Babel: https://github.com/babel/babel/blob/master/LICENSE
.NET Core: https://github.com/dotnet/runtime/blob/master/LICENSE.TXT
.NET: https://github.com/dotnet/runtime/blob/main/LICENSE.TXT
Rails: https://github.com/rails/rails/blob/master/MIT-LICENSE
permissions:

View File

@ -102,14 +102,13 @@ limitations:
Copyright (c) [Year] [name of copyright holder]
[Software Name] is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan
You can use this software according to the terms and conditions of the Mulan
PSL v2.
You may obtain a copy of Mulan PSL v2 at:
http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details.
Mulan Permissive Software LicenseVersion 2
@ -118,109 +117,109 @@ Mulan Permissive Software LicenseVersion 2 (Mulan PSL v2)
January 2020 http://license.coscl.org.cn/MulanPSL2
Your reproduction, use, modification and distribution of the Software shall
be subject to Mulan PSL v2 (this License) with the following terms and
Your reproduction, use, modification and distribution of the Software shall
be subject to Mulan PSL v2 (this License) with the following terms and
conditions:
0. Definition
Software means the program and related documents which are licensed under
Software means the program and related documents which are licensed under
this License and comprise all Contribution(s).
Contribution means the copyrightable work licensed by a particular
Contribution means the copyrightable work licensed by a particular
Contributor under this License.
Contributor means the Individual or Legal Entity who licenses its
Contributor means the Individual or Legal Entity who licenses its
copyrightable work under this License.
Legal Entity means the entity making a Contribution and all its
Legal Entity means the entity making a Contribution and all its
Affiliates.
Affiliates means entities that control, are controlled by, or are under
common control with the acting entity under this License, control means
direct or indirect ownership of at least fifty percent (50%) of the voting
power, capital or other securities of controlled or commonly controlled
Affiliates means entities that control, are controlled by, or are under
common control with the acting entity under this License, control means
direct or indirect ownership of at least fifty percent (50%) of the voting
power, capital or other securities of controlled or commonly controlled
entity.
1. Grant of Copyright License
Subject to the terms and conditions of this License, each Contributor hereby
grants to you a perpetual, worldwide, royalty-free, non-exclusive,
irrevocable copyright license to reproduce, use, modify, or distribute its
Subject to the terms and conditions of this License, each Contributor hereby
grants to you a perpetual, worldwide, royalty-free, non-exclusive,
irrevocable copyright license to reproduce, use, modify, or distribute its
Contribution, with modification or not.
2. Grant of Patent License
Subject to the terms and conditions of this License, each Contributor hereby
grants to you a perpetual, worldwide, royalty-free, non-exclusive,
irrevocable (except for revocation under this Section) patent license to
make, have made, use, offer for sale, sell, import or otherwise transfer its
Contribution, where such patent license is only limited to the patent claims
owned or controlled by such Contributor now or in future which will be
necessarily infringed by its Contribution alone, or by combination of the
Contribution with the Software to which the Contribution was contributed.
The patent license shall not apply to any modification of the Contribution,
and any other combination which includes the Contribution. If you or your
Affiliates directly or indirectly institute patent litigation (including a
cross claim or counterclaim in a litigation) or other patent enforcement
activities against any individual or entity by alleging that the Software or
any Contribution in it infringes patents, then any patent license granted to
you under this License for the Software shall terminate as of the date such
Subject to the terms and conditions of this License, each Contributor hereby
grants to you a perpetual, worldwide, royalty-free, non-exclusive,
irrevocable (except for revocation under this Section) patent license to
make, have made, use, offer for sale, sell, import or otherwise transfer its
Contribution, where such patent license is only limited to the patent claims
owned or controlled by such Contributor now or in future which will be
necessarily infringed by its Contribution alone, or by combination of the
Contribution with the Software to which the Contribution was contributed.
The patent license shall not apply to any modification of the Contribution,
and any other combination which includes the Contribution. If you or your
Affiliates directly or indirectly institute patent litigation (including a
cross claim or counterclaim in a litigation) or other patent enforcement
activities against any individual or entity by alleging that the Software or
any Contribution in it infringes patents, then any patent license granted to
you under this License for the Software shall terminate as of the date such
litigation or activity is filed or taken.
3. No Trademark License
No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements in section 4.
4. Distribution Restriction
You may distribute the Software in any medium with or without modification,
whether in source or executable forms, provided that you provide recipients
with a copy of this License and retain copyright, patent, trademark and
You may distribute the Software in any medium with or without modification,
whether in source or executable forms, provided that you provide recipients
with a copy of this License and retain copyright, patent, trademark and
disclaimer statements in the Software.
5. Disclaimer of Warranty and Limitation of Liability
THE SOFTWARE AND CONTRIBUTION IN IT ARE PROVIDED WITHOUT WARRANTIES OF ANY
KIND, EITHER EXPRESS OR IMPLIED. IN NO EVENT SHALL ANY CONTRIBUTOR OR
COPYRIGHT HOLDER BE LIABLE TO YOU FOR ANY DAMAGES, INCLUDING, BUT NOT
LIMITED TO ANY DIRECT, OR INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING
FROM YOUR USE OR INABILITY TO USE THE SOFTWARE OR THE CONTRIBUTION IN IT, NO
MATTER HOW ITS CAUSED OR BASED ON WHICH LEGAL THEORY, EVEN IF ADVISED OF
THE SOFTWARE AND CONTRIBUTION IN IT ARE PROVIDED WITHOUT WARRANTIES OF ANY
KIND, EITHER EXPRESS OR IMPLIED. IN NO EVENT SHALL ANY CONTRIBUTOR OR
COPYRIGHT HOLDER BE LIABLE TO YOU FOR ANY DAMAGES, INCLUDING, BUT NOT
LIMITED TO ANY DIRECT, OR INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING
FROM YOUR USE OR INABILITY TO USE THE SOFTWARE OR THE CONTRIBUTION IN IT, NO
MATTER HOW ITS CAUSED OR BASED ON WHICH LEGAL THEORY, EVEN IF ADVISED OF
THE POSSIBILITY OF SUCH DAMAGES.
6. Language
THIS LICENSE IS WRITTEN IN BOTH CHINESE AND ENGLISH, AND THE CHINESE VERSION
AND ENGLISH VERSION SHALL HAVE THE SAME LEGAL EFFECT. IN THE CASE OF
DIVERGENCE BETWEEN THE CHINESE AND ENGLISH VERSIONS, THE CHINESE VERSION
THIS LICENSE IS WRITTEN IN BOTH CHINESE AND ENGLISH, AND THE CHINESE VERSION
AND ENGLISH VERSION SHALL HAVE THE SAME LEGAL EFFECT. IN THE CASE OF
DIVERGENCE BETWEEN THE CHINESE AND ENGLISH VERSIONS, THE CHINESE VERSION
SHALL PREVAIL.
END OF THE TERMS AND CONDITIONS
How to Apply the Mulan Permissive Software LicenseVersion 2
How to Apply the Mulan Permissive Software LicenseVersion 2
(Mulan PSL v2) to Your Software
To apply the Mulan PSL v2 to your work, for easy identification by
To apply the Mulan PSL v2 to your work, for easy identification by
recipients, you are suggested to complete following three steps:
i. Fill in the blanks in following statement, including insert your software
name, the year of the first publication of your software, and your name
i. Fill in the blanks in following statement, including insert your software
name, the year of the first publication of your software, and your name
identified as the copyright owner;
ii. Create a file named "LICENSE" which contains the whole context of this
ii. Create a file named "LICENSE" which contains the whole context of this
License in the first directory of your software package;
iii. Attach the statement to the appropriate annotated syntax at the
iii. Attach the statement to the appropriate annotated syntax at the
beginning of each source file.
Copyright (c) [Year] [name of copyright holder]
[Software Name] is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan
You can use this software according to the terms and conditions of the Mulan
PSL v2.
You may obtain a copy of Mulan PSL v2 at:
http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details.

View File

@ -10,7 +10,7 @@ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of
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/main/LICENSE.md
Public Zone Database: https://github.com/zonedb/zonedb/blob/main/LICENSE-DATA.md
permissions:
- commercial-use

View File

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

View File

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

View File

@ -9,9 +9,9 @@ For reference, here is a table of every license described in the [choosealicense
If you're here to choose a license, **[start from the home page](/)** to see a few licenses that will work for most cases.
<table border style="font-size: xx-small">
<table border style="font-size: xx-small; position: relative">
{% assign types = "permissions|conditions|limitations" | split: "|" %}
<tr>
<tr style="position: sticky; top: 0">
<th scope="col" style="text-align: center">License</th>
{% assign seen_tags = '' %}
{% for type in types %}

View File

@ -108,6 +108,7 @@ strong {
:target {
background-color: yellow;
color: #444 !important;
}
.container {

View File

@ -14,11 +14,12 @@ Some communities have strong preferences for particular licenses. If you want to
{: .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
* [Cloud Native Computing Foundation](https://github.com/cncf/foundation/blob/main/charter.md#11-ip-policy) 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
* [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)
* [Joomla](https://tm.joomla.org/joomla-license-faq.html#can-i-release-an-extension-under-a-non-gpl-license) extensions and templates must be [GNU GPLv2](/licenses/gpl-2.0/) for the PHP code.
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](/).

View File

@ -4,11 +4,11 @@ layout: default
permalink: /non-software/
---
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/)
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. [Choose an open source license](/).
### 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](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).
[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 Creative Commons does [not recommend its licenses be used for software](https://creativecommons.org/faq/#can-i-apply-a-creative-commons-license-to-software) or hardware.
### Documentation
@ -18,6 +18,10 @@ Any open source software license or open license for media (see [above](#data-me
The [SIL Open Font License 1.1](/licenses/ofl-1.1/) keeps fonts open, allowing them to be freely used in other works.
### Hardware
Designs for [open source hardware](https://www.oshwa.org/definition/) ranging from furniture to [FPGAs](https://www.oshwa.org/best-practices-for-sharing-fpga-designs-2/) are covered by CERN Open Hardware licenses: [CERN-OHL-P-2.0](/licenses/cern-ohl-p-2.0/) (permissive), [CERN-OHL-W-2.0](/licenses/cern-ohl-w-2.0/) (weakly reciprocal), and [CERN-OHL-S-2.0](/licenses/cern-ohl-s-2.0/) (strongly reciprocal).
### Mixed projects
If your project contains a mix of software and other material, you can include multiple licenses, as long as you are explicit about which license applies to each part of the project. See [the license notice for this site](https://github.com/github/choosealicense.com#license) as an example.
If your project contains a mix of different types of material, you can include multiple licenses, as long as you are explicit about which license applies to each part of the project. See [the license notice for this site](https://github.com/github/choosealicense.com#license) as an example.

View File

@ -24,7 +24,6 @@ describe 'license meta' do
it 'using contains 3 examples' do
legacy = [
'afl-3.0',
'agpl-3.0',
'artistic-2.0',
'bsd-3-clause-clear',
'eupl-1.1',
@ -49,10 +48,12 @@ describe 'license meta' do
if example_url.start_with?('https://github.com/')
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/')
elsif example_url.start_with?('https://git.savannah.gnu.org/', 'https://git.gnome.org/', 'https://code.qt.io')
example_url.gsub!(%r{/tree/}, '/plain/')
elsif example_url.start_with?('https://bitbucket.org/')
example_url.gsub!(%r{/src/}, '/raw/')
elsif example_url.start_with?('https://ohwr.org/')
example_url.gsub!(%r{/blob/}, '/raw/')
end
it "is a #{slug} license" do

View File

@ -28,7 +28,7 @@ describe 'licenses' do
context 'industry approval' do
it 'should be approved by OSI or FSF or OD' do
expect(approved_licenses).to include(spdx_lcase), 'See https://git.io/vzCTV.'
expect(approved_licenses).to include(spdx_lcase), 'See https://github.com/github/choosealicense.com/blob/gh-pages/CONTRIBUTING.md#adding-new-licenses.'
end
end