Skip to content

Commit b9905b1

Browse files
authored
Merge branch 'gh-pages' into home-reform
2 parents 8561104 + c43ee38 commit b9905b1

37 files changed

Lines changed: 241 additions & 162 deletions

CONTRIBUTING.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ get. But first, please make sure you understand what
1212

1313
## Adding a license
1414

15-
Choosealicense.com is intended to demystify license choices, not present all of them. As such, there are several requirements for a license to be listed on the site:
15+
Choosealicense.com is intended to demystify license choices, not present or catalog all of them. As such, only a small number are highlighted on the home page or <http://choosealicense.com/licenses>, and there are several requirements for a license to be [cataloged](http://choosealicense.com/appendix/) on the site:
1616

1717
1. The license must have [an SPDX identifier](https://spdx.org/licenses/). If your license isn't registered with SPDX, please [request that it be added](https://spdx.org/spdx-license-list/request-new-license-or-exception).
1818
2. The license must be listed on one of the following approved lists of licenses:
@@ -23,6 +23,7 @@ Choosealicense.com is intended to demystify license choices, not present all of
2323

2424
If your proposed license meets the above criteria, here's a few other things to keep in mind as you propose the license's addition:
2525

26+
* Is the license already cataloged? See <http://choosealicense.com/appendix/> for a list of all of the licenses known by the site.
2627
* Licenses live in the `/_licenses` folder.
2728
* The license files should be in the format of `_licenses/[lowercased-spdx-id].txt` (e.g., `_licenses/mit.txt`)
2829
* Each license has both [required and optional metadata](https://github.com/github/choosealicense.com#license-metadata) that should be included.
@@ -40,6 +41,8 @@ find it in the GitHub repository. Then click the `Edit` button. Make your
4041
changes, type in a commit message, and click the `Propose File Change` button.
4142
That’s it!
4243

44+
You will be asked to sign the [GitHub Contributor License Agreement](https://cla.github.com/) for this project when you make your first pull request.
45+
4346
For more advanced changes, check out [the bootstrap instructions](https://github.com/github/choosealicense.com#run-it-on-your-machine) in the [project's readme](/README.md).
4447

4548
## Testing

Gemfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ gem 'github-pages', versions['github-pages']
88

99
group :development do
1010
gem 'colored'
11-
gem 'terminal-table'
1211
gem 'fuzzy_match'
12+
gem 'terminal-table'
1313
end
1414

1515
group :test do
1616
gem 'html-proofer', '~> 3.0'
17+
gem 'nokogiri'
1718
gem 'rake'
1819
gem 'rspec'
19-
gem 'nokogiri'
2020
gem 'rubocop'
2121
end

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Licenses sit in the `/_licenses` folder. Each license has YAML front matter desc
5151
#### Optional fields
5252

5353
* `featured` - Whether the license should be featured on the main page (defaults to false)
54-
* `hidden` - Whether the license is hidden from the license list (defaults to true)
54+
* `hidden` - Whether the license is neither [popular](https://opensource.org/licenses) nor fills out the [spectrum of licenses](http://choosealicense.com/licenses/) from strongly conditional to unconditional (defaults to true)
5555
* `nickname` - Customary short name if applicable (e.g, GPLv3)
5656
* `note` - Additional information about the licenses
5757
* `using` - A list of up to 3 notable projects using the license with straightforward LICENSE files which serve as examples newcomers can follow and that can be detected by [licensee](https://github.com/benbalter/licensee) in the form of `project_name: license_file_url`

_data/meta.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
required: false
4141

4242
- name: hidden
43-
description: Whether the license is hidden from the license list (defaults to true)
43+
description: Whether the license is neither [popular](https://opensource.org/licenses) nor fills out the [spectrum of licenses](http://choosealicense.com/licenses/) from strongly conditional to unconditional (defaults to true)
4444
required: false
4545

4646
- name: nickname

_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
@@ -16,20 +16,21 @@ using:
1616
- Apache: https://svn.apache.org/viewvc/httpd/httpd/trunk/LICENSE?view=markup
1717
- Swift: https://github.com/apple/swift/blob/master/LICENSE.txt
1818

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

26+
conditions:
27+
- include-copyright
28+
- document-changes
29+
3030
limitations:
3131
- trademark-use
3232
- no-liability
33+
3334
---
3435

3536
Apache License

_licenses/artistic-2.0.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,7 @@ source: http://www.perlfoundation.org/attachment/legal/artistic-2_0.txt
66

77
description: Heavily favored by the Perl community, the Artistic license requires that modified versions of the software do not prevent users from running the standard version.
88

9-
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.
10-
11-
conditions:
12-
- include-copyright
13-
- document-changes
9+
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.
1410

1511
permissions:
1612
- commercial-use
@@ -19,9 +15,14 @@ permissions:
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: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,24 @@ title: BSD 2-clause "Simplified" License
33
spdx-id: BSD-2-Clause
44
redirect_from: /licenses/bsd/
55
source: http://opensource.org/licenses/BSD-2-Clause
6+
hidden: false
67

78
description: A permissive license that comes in two variants, the <a href="/licenses/bsd-2-clause/">BSD 2-Clause</a> and <a href="/licenses/bsd-3-clause/">BSD 3-Clause</a>. Both have very minute differences to the MIT license.
89

910
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.
1011

11-
conditions:
12-
- include-copyright
13-
1412
permissions:
1513
- commercial-use
1614
- modifications
1715
- distribution
1816
- private-use
1917

18+
conditions:
19+
- include-copyright
20+
2021
limitations:
2122
- no-liability
23+
2224
---
2325

2426
BSD 2-Clause License

0 commit comments

Comments
 (0)