Skip to content

Commit bcdc738

Browse files
authored
Merge branch 'gh-pages' into only-or-later
2 parents f3988a7 + c883377 commit bcdc738

10 files changed

Lines changed: 340 additions & 21 deletions

File tree

Gemfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ end
1717
group :test do
1818
gem 'html-proofer', '~> 3.0'
1919
gem 'licensee'
20-
gem 'nokogiri'
2120
gem 'rake'
2221
gem 'rspec'
2322
gem 'rubocop'

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2013-2017 GitHub, Inc. and contributors
1+
Copyright (c) 2013-2018 GitHub, Inc. and contributors
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy
44
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ The licenses on choosealicense.com are regularly imported to GitHub.com to be us
6969
* `project` - The repository name
7070
* `description` - The description of the repository
7171
* `year` - The current year
72+
* `projecturl` - The repository URL or other project website
7273

7374
## License properties
7475

_data/fields.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,6 @@
2121

2222
- name: year
2323
description: The current year
24+
25+
- name: projecturl
26+
description: The repository URL or other project website

_includes/sidebar.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ <h3>How to apply this license</h3>
1414
{% endif %}
1515
{% assign xgpl = false %}
1616
{% if page.spdx-id contains 'GPL' %}{% assign xgpl = true %}{% endif %}
17-
<p class="note"><strong>Optional: </strong> 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="http://guides.rubygems.org/specification-reference/#license=">Ruby</a>, and <a href="http://doc.crates.io/manifest.html#package-metadata">Rust</a>). This will ensure the license is displayed in package directories.</p>
17+
<p class="note"><strong>Optional: </strong> 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="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>
1818
</div>
1919

2020
{% if page.source %}

_licenses/eupl-1.2.txt

Lines changed: 309 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,309 @@
1+
---
2+
title: European Union Public License 1.2
3+
spdx-id: EUPL-1.2
4+
source: http://eur-lex.europa.eu/legal-content/TXT/?uri=CELEX%3A32017D0863
5+
6+
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.
7+
8+
how: Indicate “Licensed under the EUPL” following the copyright notice of your source code, for example in a README file or directly in a source code file as a comment.
9+
10+
using:
11+
- AethysRotation: https://github.com/SimCMinMax/AethysRotation/blob/master/LICENSE
12+
- WildDuck: https://github.com/nodemailer/wildduck/blob/master/LICENSE
13+
- ZoneMTA: https://github.com/zone-eu/zone-mta/blob/master/LICENSE
14+
15+
permissions:
16+
- commercial-use
17+
- modifications
18+
- distribution
19+
- patent-use
20+
- private-use
21+
22+
conditions:
23+
- include-copyright
24+
- disclose-source
25+
- document-changes
26+
- network-use-disclose
27+
- same-license
28+
29+
limitations:
30+
- liability
31+
- trademark-use
32+
- warranty
33+
34+
---
35+
36+
European Union Public Licence
37+
V. 1.2
38+
39+
EUPL © the European Union 2007, 2016
40+
41+
This European Union Public Licence (the ‘EUPL’) applies to the Work (as
42+
defined below) which is provided under the terms of this Licence. Any use of
43+
the Work, other than as authorised under this Licence is prohibited (to the
44+
extent such use is covered by a right of the copyright holder of the Work).
45+
46+
The Work is provided under the terms of this Licence when the Licensor (as
47+
defined below) has placed the following notice immediately following the
48+
copyright notice for the Work: “Licensed under the EUPL”, or has expressed by
49+
any other means his willingness to license under the EUPL.
50+
51+
1. Definitions
52+
53+
In this Licence, the following terms have the following meaning:
54+
— ‘The Licence’: this Licence.
55+
— ‘The Original Work’: the work or software distributed or communicated by the
56+
‘Licensor under this Licence, available as Source Code and also as
57+
‘Executable Code as the case may be.
58+
— ‘Derivative Works’: the works or software that could be created by the
59+
‘Licensee, based upon the Original Work or modifications thereof. This
60+
‘Licence does not define the extent of modification or dependence on the
61+
‘Original Work required in order to classify a work as a Derivative Work;
62+
‘this extent is determined by copyright law applicable in the country
63+
‘mentioned in Article 15.
64+
— ‘The Work’: the Original Work or its Derivative Works.
65+
— ‘The Source Code’: the human-readable form of the Work which is the most
66+
convenient for people to study and modify.
67+
68+
— ‘The Executable Code’: any code which has generally been compiled and which
69+
is meant to be interpreted by a computer as a program.
70+
— ‘The Licensor’: the natural or legal person that distributes or communicates
71+
the Work under the Licence.
72+
— ‘Contributor(s)’: any natural or legal person who modifies the Work under
73+
the Licence, or otherwise contributes to the creation of a Derivative Work.
74+
— ‘The Licensee’ or ‘You’: any natural or legal person who makes any usage of
75+
the Work under the terms of the Licence.
76+
— ‘Distribution’ or ‘Communication’: any act of selling, giving, lending,
77+
renting, distributing, communicating, transmitting, or otherwise making
78+
available, online or offline, copies of the Work or providing access to its
79+
essential functionalities at the disposal of any other natural or legal
80+
person.
81+
82+
2. Scope of the rights granted by the Licence
83+
84+
The Licensor hereby grants You a worldwide, royalty-free, non-exclusive,
85+
sublicensable licence to do the following, for the duration of copyright
86+
vested in the Original Work:
87+
88+
— use the Work in any circumstance and for all usage,
89+
— reproduce the Work,
90+
— modify the Work, and make Derivative Works based upon the Work,
91+
— communicate to the public, including the right to make available or display
92+
the Work or copies thereof to the public and perform publicly, as the case
93+
may be, the Work,
94+
— distribute the Work or copies thereof,
95+
— lend and rent the Work or copies thereof,
96+
— sublicense rights in the Work or copies thereof.
97+
98+
Those rights can be exercised on any media, supports and formats, whether now
99+
known or later invented, as far as the applicable law permits so.
100+
101+
In the countries where moral rights apply, the Licensor waives his right to
102+
exercise his moral right to the extent allowed by law in order to make
103+
effective the licence of the economic rights here above listed.
104+
105+
The Licensor grants to the Licensee royalty-free, non-exclusive usage rights
106+
to any patents held by the Licensor, to the extent necessary to make use of
107+
the rights granted on the Work under this Licence.
108+
109+
3. Communication of the Source Code
110+
111+
The Licensor may provide the Work either in its Source Code form, or as
112+
Executable Code. If the Work is provided as Executable Code, the Licensor
113+
provides in addition a machine-readable copy of the Source Code of the Work
114+
along with each copy of the Work that the Licensor distributes or indicates,
115+
in a notice following the copyright notice attached to the Work, a repository
116+
where the Source Code is easily and freely accessible for as long as the
117+
Licensor continues to distribute or communicate the Work.
118+
119+
4. Limitations on copyright
120+
121+
Nothing in this Licence is intended to deprive the Licensee of the benefits
122+
from any exception or limitation to the exclusive rights of the rights owners
123+
in the Work, of the exhaustion of those rights or of other applicable
124+
limitations thereto.
125+
126+
5. Obligations of the Licensee
127+
128+
The grant of the rights mentioned above is subject to some restrictions and
129+
obligations imposed on the Licensee. Those obligations are the following:
130+
131+
Attribution right: The Licensee shall keep intact all copyright, patent or
132+
trademarks notices and all notices that refer to the Licence and to the
133+
disclaimer of warranties. The Licensee must include a copy of such notices and
134+
a copy of the Licence with every copy of the Work he/she distributes or
135+
communicates. The Licensee must cause any Derivative Work to carry prominent
136+
notices stating that the Work has been modified and the date of modification.
137+
138+
Copyleft clause: If the Licensee distributes or communicates copies of the
139+
Original Works or Derivative Works, this Distribution or Communication will be
140+
done under the terms of this Licence or of a later version of this Licence
141+
unless the Original Work is expressly distributed only under this version of
142+
the Licence — for example by communicating ‘EUPL v. 1.2 only’. The Licensee
143+
(becoming Licensor) cannot offer or impose any additional terms or conditions
144+
on the Work or Derivative Work that alter or restrict the terms of the
145+
Licence.
146+
147+
Compatibility clause: If the Licensee Distributes or Communicates Derivative
148+
Works or copies thereof based upon both the Work and another work licensed
149+
under a Compatible Licence, this Distribution or Communication can be done
150+
under the terms of this Compatible Licence. For the sake of this clause,
151+
‘Compatible Licence’ refers to the licences listed in the appendix attached to
152+
this Licence. Should the Licensee's obligations under the Compatible Licence
153+
conflict with his/her obligations under this Licence, the obligations of the
154+
Compatible Licence shall prevail.
155+
156+
Provision of Source Code: When distributing or communicating copies of the
157+
Work, the Licensee will provide a machine-readable copy of the Source Code or
158+
indicate a repository where this Source will be easily and freely available
159+
for as long as the Licensee continues to distribute or communicate the Work.
160+
161+
Legal Protection: This Licence does not grant permission to use the trade
162+
names, trademarks, service marks, or names of the Licensor, except as required
163+
for reasonable and customary use in describing the origin of the Work and
164+
reproducing the content of the copyright notice.
165+
166+
6. Chain of Authorship
167+
168+
The original Licensor warrants that the copyright in the Original Work granted
169+
hereunder is owned by him/her or licensed to him/her and that he/she has the
170+
power and authority to grant the Licence.
171+
172+
Each Contributor warrants that the copyright in the modifications he/she
173+
brings to the Work are owned by him/her or licensed to him/her and that he/she
174+
has the power and authority to grant the Licence.
175+
176+
Each time You accept the Licence, the original Licensor and subsequent
177+
Contributors grant You a licence to their contributions to the Work, under the
178+
terms of this Licence.
179+
180+
7. Disclaimer of Warranty
181+
182+
The Work is a work in progress, which is continuously improved by numerous
183+
Contributors. It is not a finished work and may therefore contain defects or
184+
‘bugs’ inherent to this type of development.
185+
186+
For the above reason, the Work is provided under the Licence on an ‘as is’
187+
basis and without warranties of any kind concerning the Work, including
188+
without limitation merchantability, fitness for a particular purpose, absence
189+
of defects or errors, accuracy, non-infringement of intellectual property
190+
rights other than copyright as stated in Article 6 of this Licence.
191+
192+
This disclaimer of warranty is an essential part of the Licence and a
193+
condition for the grant of any rights to the Work.
194+
195+
8. Disclaimer of Liability
196+
197+
Except in the cases of wilful misconduct or damages directly caused to natural
198+
persons, the Licensor will in no event be liable for any direct or indirect,
199+
material or moral, damages of any kind, arising out of the Licence or of the
200+
use of the Work, including without limitation, damages for loss of goodwill,
201+
work stoppage, computer failure or malfunction, loss of data or any commercial
202+
damage, even if the Licensor has been advised of the possibility of such
203+
damage. However, the Licensor will be liable under statutory product liability
204+
laws as far such laws apply to the Work.
205+
206+
9. Additional agreements
207+
208+
While distributing the Work, You may choose to conclude an additional
209+
agreement, defining obligations or services consistent with this Licence.
210+
However, if accepting obligations, You may act only on your own behalf and on
211+
your sole responsibility, not on behalf of the original Licensor or any other
212+
Contributor, and only if You agree to indemnify, defend, and hold each
213+
Contributor harmless for any liability incurred by, or claims asserted against
214+
such Contributor by the fact You have accepted any warranty or additional
215+
liability.
216+
217+
10. Acceptance of the Licence
218+
219+
The provisions of this Licence can be accepted by clicking on an icon ‘I
220+
agree’ placed under the bottom of a window displaying the text of this Licence
221+
or by affirming consent in any other similar way, in accordance with the rules
222+
of applicable law. Clicking on that icon indicates your clear and irrevocable
223+
acceptance of this Licence and all of its terms and conditions.
224+
225+
Similarly, you irrevocably accept this Licence and all of its terms and
226+
conditions by exercising any rights granted to You by Article 2 of this
227+
Licence, such as the use of the Work, the creation by You of a Derivative Work
228+
or the Distribution or Communication by You of the Work or copies thereof.
229+
230+
11. Information to the public
231+
232+
In case of any Distribution or Communication of the Work by means of
233+
electronic communication by You (for example, by offering to download the Work
234+
from a remote location) the distribution channel or media (for example, a
235+
website) must at least provide to the public the information requested by the
236+
applicable law regarding the Licensor, the Licence and the way it may be
237+
accessible, concluded, stored and reproduced by the Licensee.
238+
239+
12. Termination of the Licence
240+
241+
The Licence and the rights granted hereunder will terminate automatically upon
242+
any breach by the Licensee of the terms of the Licence. Such a termination
243+
will not terminate the licences of any person who has received the Work from
244+
the Licensee under the Licence, provided such persons remain in full
245+
compliance with the Licence.
246+
247+
13. Miscellaneous
248+
249+
Without prejudice of Article 9 above, the Licence represents the complete
250+
agreement between the Parties as to the Work.
251+
252+
If any provision of the Licence is invalid or unenforceable under applicable
253+
law, this will not affect the validity or enforceability of the Licence as a
254+
whole. Such provision will be construed or reformed so as necessary to make it
255+
valid and enforceable.
256+
257+
The European Commission may publish other linguistic versions or new versions
258+
of this Licence or updated versions of the Appendix, so far this is required
259+
and reasonable, without reducing the scope of the rights granted by the
260+
Licence. New versions of the Licence will be published with a unique version
261+
number.
262+
263+
All linguistic versions of this Licence, approved by the European Commission,
264+
have identical value. Parties can take advantage of the linguistic version of
265+
their choice.
266+
267+
14. Jurisdiction
268+
269+
Without prejudice to specific agreement between parties,
270+
— any litigation resulting from the interpretation of this License, arising
271+
between the European Union institutions, bodies, offices or agencies, as a
272+
Licensor, and any Licensee, will be subject to the jurisdiction of the Court
273+
of Justice of the European Union, as laid down in article 272 of the Treaty
274+
on the Functioning of the European Union,
275+
— any litigation arising between other parties and resulting from the
276+
interpretation of this License, will be subject to the exclusive
277+
jurisdiction of the competent court where the Licensor resides or conducts
278+
its primary business.
279+
280+
15. Applicable Law
281+
282+
Without prejudice to specific agreement between parties,
283+
— this Licence shall be governed by the law of the European Union Member State
284+
where the Licensor has his seat, resides or has his registered office,
285+
— this licence shall be governed by Belgian law if the Licensor has no seat,
286+
residence or registered office inside a European Union Member State.
287+
288+
Appendix
289+
290+
‘Compatible Licences’ according to Article 5 EUPL are:
291+
— GNU General Public License (GPL) v. 2, v. 3
292+
— GNU Affero General Public License (AGPL) v. 3
293+
— Open Software License (OSL) v. 2.1, v. 3.0
294+
— Eclipse Public License (EPL) v. 1.0
295+
— CeCILL v. 2.0, v. 2.1
296+
— Mozilla Public Licence (MPL) v. 2
297+
— GNU Lesser General Public Licence (LGPL) v. 2.1, v. 3
298+
— Creative Commons Attribution-ShareAlike v. 3.0 Unported (CC BY-SA 3.0) for
299+
works other than software
300+
— European Union Public Licence (EUPL) v. 1.1, v. 1.2
301+
— Québec Free and Open-Source Licence — Reciprocity (LiLiQ-R) or
302+
Strong Reciprocity (LiLiQ-R+)
303+
304+
— The European Commission may update this Appendix to later versions of the
305+
above licences without producing a new version of the EUPL, as long as they
306+
provide the rights granted in Article 2 of this Licence and protect the
307+
covered Source Code from exclusive appropriation.
308+
— All other changes or additions to this Appendix require the production of a
309+
new EUPL version.

_licenses/ncsa.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Copyright (c) [year] [fullname]. All rights reserved.
3434

3535
Developed by: [project]
3636
[fullname]
37-
[project_url]
37+
[projecturl]
3838

3939
Permission is hereby granted, free of charge, to any person
4040
obtaining a copy of this software and associated documentation files

script/check-approval

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ approvals.each do |approver, licenses|
5252
rows << ["#{approver} approved", licenses.include?(license)]
5353
end
5454

55+
license_ids = licenses.map { |l| l['id'] }
5556
current = license_ids.include?(license)
5657
rows << ['Current license', current]
5758

spec/license_fields_spec.rb

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# frozen_string_literal: true
2+
3+
require 'spec_helper'
4+
5+
describe 'license fillable fields' do
6+
licenses.each do |license|
7+
context "The #{license['title']} license" do
8+
it 'should only contain supported fillable fields' do
9+
matches = license['content'][1, 1000].scan(/\s+\[([a-z_]+)\]/)
10+
extra_fields = matches.flatten - (fields.map { |f| f['name'] })
11+
expect(extra_fields).to be_empty
12+
end
13+
end
14+
end
15+
end

0 commit comments

Comments
 (0)