Skip to content

Commit b0af73c

Browse files
authored
Merge pull request #447 from waldyrious/patch-2
sort license properties as permissions > conditions > limitations (fixes #387)
2 parents 4bebeef + 9e6528c commit b0af73c

28 files changed

Lines changed: 156 additions & 136 deletions

_data/rules.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,3 @@
1-
conditions:
2-
- description: Include a copy of the license and copyright notice with the code.
3-
label: License and Copyright Notice
4-
tag: include-copyright
5-
- description: Indicate changes made to the code.
6-
label: State Changes
7-
tag: document-changes
8-
- description: Source code must be made available when distributing the software.
9-
label: Disclose Source
10-
tag: disclose-source
11-
- description: Users who interact with the software via network are given the right to receive a copy of the corresponding source code.
12-
label: Network Use is Distribution
13-
tag: network-use-disclose
14-
- description: Modifications must be released under the same license when distributing the software. In some cases a similar or related license may be used.
15-
label: Same License
16-
tag: same-license
17-
181
permissions:
192
- description: This software and derivatives may be used for commercial purposes.
203
label: Commercial Use
@@ -32,6 +15,23 @@ permissions:
3215
label: Patent Use
3316
tag: patent-use
3417

18+
conditions:
19+
- description: Include a copy of the license and copyright notice with the code.
20+
label: License and Copyright Notice
21+
tag: include-copyright
22+
- description: Indicate changes made to the code.
23+
label: State Changes
24+
tag: document-changes
25+
- description: Source code must be made available when distributing the software.
26+
label: Disclose Source
27+
tag: disclose-source
28+
- description: Users who interact with the software via network are given the right to receive a copy of the corresponding source code.
29+
label: Network Use is Distribution
30+
tag: network-use-disclose
31+
- description: Modifications must be released under the same license when distributing the software. In some cases a similar or related license may be used.
32+
label: Same License
33+
tag: same-license
34+
3535
limitations:
3636
- description: This license explicitly states that it does NOT grant you trademark rights, even though licenses without such a statement probably do not grant you any implicit trademark rights.
3737
label: Trademark Use

_licenses/afl-3.0.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,23 @@ description: The Academic Free License is a variant of the Open Software License
77

88
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Files licensed under AFL 3.0 must also include the notice "Licensed under the Academic Free License version 3.0" adjacent to the copyright notice.
99

10-
conditions:
11-
- include-copyright
12-
- document-changes
13-
1410
permissions:
1511
- commercial-use
1612
- modifications
1713
- distribution
1814
- private-use
1915
- patent-use
2016

17+
conditions:
18+
- include-copyright
19+
- document-changes
20+
2121
limitations:
2222
- trademark-use
2323
- no-liability
2424

2525
---
26+
2627
Academic Free License (“AFL”) v. 3.0
2728

2829
This Academic Free License (the "License") applies to any original work of authorship (the "Original Work") whose owner (the "Licensor") has placed the following licensing notice adjacent to the copyright notice for the Original Work:

_licenses/agpl-3.0.txt

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,23 @@ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of
1212

1313
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.
1414

15-
conditions:
16-
- include-copyright
17-
- document-changes
18-
- disclose-source
19-
- network-use-disclose
20-
- same-license
21-
2215
permissions:
2316
- commercial-use
2417
- modifications
2518
- distribution
2619
- patent-use
2720
- private-use
2821

22+
conditions:
23+
- include-copyright
24+
- document-changes
25+
- disclose-source
26+
- network-use-disclose
27+
- same-license
28+
2929
limitations:
3030
- no-liability
31+
3132
---
3233

3334
GNU AFFERO GENERAL PUBLIC LICENSE

_licenses/apache-2.0.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,21 @@ using:
1717
- Apache: https://svn.apache.org/viewvc/httpd/httpd/trunk/LICENSE?view=markup
1818
- Swift: https://github.com/apple/swift/blob/master/LICENSE.txt
1919

20-
conditions:
21-
- include-copyright
22-
- document-changes
23-
2420
permissions:
2521
- commercial-use
2622
- modifications
2723
- distribution
2824
- patent-use
2925
- private-use
3026

27+
conditions:
28+
- include-copyright
29+
- document-changes
30+
3131
limitations:
3232
- trademark-use
3333
- no-liability
34+
3435
---
3536

3637
Apache License

_licenses/artistic-2.0.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,21 @@ description: Heavily favored by the Perl community, the Artistic license require
88

99
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. Do not replace the copyright notice (year, author), which refers to the license itself, not the licensed project.
1010

11-
conditions:
12-
- include-copyright
13-
- document-changes
14-
1511
permissions:
1612
- commercial-use
1713
- modifications
1814
- distribution
1915
- patent-use
2016
- private-use
2117

18+
conditions:
19+
- include-copyright
20+
- document-changes
21+
2222
limitations:
2323
- no-liability
2424
- trademark-use
25+
2526
---
2627

2728
The Artistic License 2.0

_licenses/bsd-2-clause.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,18 @@ description: A permissive license that comes in two variants, the <a href="/lice
88

99
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders.
1010

11-
conditions:
12-
- include-copyright
13-
1411
permissions:
1512
- commercial-use
1613
- modifications
1714
- distribution
1815
- private-use
1916

17+
conditions:
18+
- include-copyright
19+
2020
limitations:
2121
- no-liability
22+
2223
---
2324

2425
BSD 2-Clause License

_licenses/bsd-3-clause-clear.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
---
22
title: BSD 3-clause Clear License
33
spdx-id: BSD-3-Clause-Clear
4+
source: https://spdx.org/licenses/BSD-3-Clause-Clear.html
45

56
description: A variant of the <a href="/licenses/bsd-3-clause/">BSD 3-Clause License</a> that explicitly does not grant any patent rights.
67

78
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders. Replace [project] with the project organization, if any, that sponsors this work.
89

9-
source: https://spdx.org/licenses/BSD-3-Clause-Clear.html
10-
11-
conditions:
12-
- include-copyright
13-
1410
permissions:
1511
- commercial-use
1612
- modifications
1713
- distribution
1814
- private-use
1915

16+
conditions:
17+
- include-copyright
18+
2019
limitations:
2120
- no-liability
2221
- patent-use
22+
2323
---
2424

2525
The Clear BSD License

_licenses/bsd-3-clause.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,18 @@ description: A permissive license similar to the <a href="/licenses/bsd-2-clause
77

88
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders. Replace [project] with the project organization, if any, that sponsors this work.
99

10-
conditions:
11-
- include-copyright
12-
1310
permissions:
1411
- commercial-use
1512
- modifications
1613
- distribution
1714
- private-use
1815

16+
conditions:
17+
- include-copyright
18+
1919
limitations:
2020
- no-liability
21+
2122
---
2223

2324
BSD 3-Clause License

_licenses/cc-by-4.0.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,21 @@ description: Permits almost any use subject to providing credit and license noti
77

88
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. It is also acceptable to soley supply a link to a copy of the license, usually to the <a href='https://creativecommons.org/licenses/by/4.0/'>canonical URL for the license</a>.
99

10-
conditions:
11-
- include-copyright
12-
- document-changes
13-
1410
permissions:
1511
- commercial-use
1612
- modifications
1713
- distribution
1814
- private-use
1915

16+
conditions:
17+
- include-copyright
18+
- document-changes
19+
2020
limitations:
2121
- no-liability
2222
- trademark-use
2323
- patent-use
24+
2425
---
2526

2627
Attribution 4.0 International

_licenses/cc-by-sa-4.0.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,22 @@ description: Similar to <a href='/licenses/cc-by-4.0/'>CC-BY-4.0</a> but require
77

88
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. It is also acceptable to soley supply a link to a copy of the license, usually to the <a href='https://creativecommons.org/licenses/by-sa/4.0/'>canonical URL for the license</a>.
99

10-
conditions:
11-
- include-copyright
12-
- document-changes
13-
- same-license
14-
1510
permissions:
1611
- commercial-use
1712
- modifications
1813
- distribution
1914
- private-use
2015

16+
conditions:
17+
- include-copyright
18+
- document-changes
19+
- same-license
20+
2121
limitations:
2222
- no-liability
2323
- trademark-use
2424
- patent-use
25+
2526
---
2627

2728
Attribution-ShareAlike 4.0 International

0 commit comments

Comments
 (0)